Repository navigation
Commit b712054
committed
Refactor commit message generation flow and tree attachment logic for non-commit actions
- when prompted to generate commit message with cwc, should ask which prompts to include or whether to attach ascii tree
- scenario: all files for the ascii tree are touched by commit. expected behavior: ascii tree is skipped
├── apps
│ └── editor
│ ├── package.nls.json
│ └── src
│ ├── commands
│ │ └── generate-commit-message-command
│ │ └── generate-commit-message-command.ts
│ ├── constants
│ │ ├── state-keys.ts
│ │ └── values.ts
│ ├── context
│ │ └── providers
│ │ └── workspace
│ │ └── workspace-provider.ts
│ ├── extension.ts
│ ├── features
│ │ ├── checkpoints
│ │ │ └── actions
│ │ │ ├── create-checkpoint.ts
│ │ │ └── index.ts
│ │ └── commit-messages
│ │ ├── index.ts
│ │ └── utils
│ │ ├── build-commit-message-prompt.ts
│ │ ├── generate-commit-message-with-api.ts
│ │ └── get-commit-message-config.ts
│ ├── i18n
│ │ └── index.ts
│ ├── utils
│ │ ├── ascii-tree
│ │ │ ├── ascii-tree.ts
│ │ │ └── index.ts
│ │ ├── display-token-count.ts
│ │ ├── git-repository-utils.ts
│ │ └── prompts-for-commit-messages-utils.ts
│ └── views
│ └── prompt
│ └── backend
│ └── prompt-view-provider.ts
└── packages
└── shared
└── src
└── utils
└── simplify-prompt-symbols
├── index.ts
└── simplify-prompt-symbols.ts1 parent 1b94263 commit b712054
1 file changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
212 | 223 | | |
213 | 224 | | |
214 | 225 | | |
| |||
302 | 313 | | |
303 | 314 | | |
304 | 315 | | |
305 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
| |||
433 | 448 | | |
434 | 449 | | |
435 | 450 | | |
436 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
437 | 457 | | |
438 | 458 | | |
439 | 459 | | |
| |||
444 | 464 | | |
445 | 465 | | |
446 | 466 | | |
447 | | - | |
448 | | - | |
449 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
450 | 471 | | |
451 | 472 | | |
452 | 473 | | |
| |||
0 commit comments