Repository navigation
Commit f7e33e6
committed
Add diffs only option to commit message generation workflow
- revert all those lint fixes [Changes]
- user should be able to select minimal option that only includes diffs
- rename 'minimal diffs only' to 'Diffs only'. Rename 'Skip' to 'Include files', and the last option to 'Include files and context'. Update variable names as needed (to reflect translations)
- rename 'minimal' to 'diffs only'
- this shows '2k tokens' but the user is asked to select between 'diffs only' and 'include files' in the next step. Should first ask the user about it to have grounds to determine prompt size
└── apps
└── editor
└── src
├── commands
│ ├── apply-response-command
│ │ ├── response-processor
│ │ │ ├── handlers
│ │ │ │ ├── patch-repair-handler.ts
│ │ │ │ └── search-replace-handler.ts
│ │ │ └── response-processor.ts
│ │ └── utils
│ │ ├── file-operations
│ │ │ ├── prepare-rename-operation.ts
│ │ │ └── read-rename-source-file.ts
│ │ └── preview
│ │ ├── build-history-files.ts
│ │ ├── file-preparer.ts
│ │ └── vscode-ui.ts
│ ├── copy-merge-commit-details-command.ts
│ ├── generate-commit-message-commands
│ │ ├── actions
│ │ │ ├── get-prompt-data.ts
│ │ │ └── run-generate-action.ts
│ │ ├── generate-commit-message-commands.ts
│ │ ├── index.ts
│ │ └── utils
│ │ ├── build-commit-message-prompt.ts
│ │ ├── generate-commit-message-with-api.ts
│ │ ├── get-commit-message-config.ts
│ │ └── strip-wrapping-quotes.ts
│ ├── new-folder-command.ts
│ ├── search-files-commands
│ │ └── utils
│ │ └── get-target-folder-path.ts
│ ├── select-files-of-commit-command.ts
│ └── set-ranges-command.ts
├── features
│ └── search-files
│ └── utils
│ └── analyze-files.ts
├── i18n
│ └── translations
│ └── commands
│ └── generate-commit-message-command.ts
├── services
│ └── websocket-manager.ts
├── utils
│ ├── agentic-cli-invocation
│ │ ├── invoke-agentic-cli.ts
│ │ └── utils
│ │ └── check-command-exists.ts
│ ├── git-repository-utils.ts
│ └── path-sanitizer.ts
└── views
├── prompt
│ └── backend
│ ├── message-handlers
│ │ ├── handle-paste-url.ts
│ │ ├── handle-preview-generated-code.ts
│ │ └── utils
│ │ └── build-cli-prompt.ts
│ └── utils
│ ├── persistent-text-storage.ts
│ ├── preview-text-in-temp-file.ts
│ ├── symbols
│ │ ├── fragment
│ │ │ └── replace-fragment-symbol.ts
│ │ ├── image
│ │ │ └── replace-image-symbol.ts
│ │ ├── pasted-text
│ │ │ └── replace-pasted-text-symbol.ts
│ │ └── website
│ │ └── replace-website-symbol.ts
│ └── website-fetcher.ts
├── settings
│ └── backend
│ └── message-handlers
│ ├── add-provider
│ │ └── pick-extended-provider.ts
│ ├── handle-open-allow-patterns-settings.ts
│ └── handle-open-ignore-patterns-settings.ts
└── shared
└── utils
└── hash-sign-quick-pick
└── symbols
├── changes-symbol.ts
└── saved-context-symbol.ts1 parent f2487fe commit f7e33e6
4 files changed
Lines changed: 549 additions & 409 deletions
File tree
- apps/editor/src
- commands/generate-commit-message-commands
- actions
- utils
- i18n/translations/commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
125 | 133 | | |
126 | | - | |
| 134 | + | |
| 135 | + | |
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| |||
149 | 158 | | |
150 | 159 | | |
151 | 160 | | |
| 161 | + | |
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
| |||
0 commit comments