Repository navigation
Commit edc9301
committed
Migrate webpack configuration to esbuild loader and introduce diff placeholders
- make builds faster
- it's been reported that changes made to files like pnpm-lock.yaml are attached in files section of commit message prompt, these are very very heavy
- no need to use code block for texts like "File modified"
- define [Pasted text] in a single place
├── apps
│ ├── browser
│ │ ├── package.json
│ │ └── webpack.config.ts
│ └── editor
│ ├── package.json
│ ├── src
│ │ ├── commands
│ │ │ ├── apply-response-command
│ │ │ │ └── utils
│ │ │ │ └── preview
│ │ │ │ ├── index.ts
│ │ │ │ └── vscode-ui.ts
│ │ │ ├── code-at-cursor-command
│ │ │ │ └── utils
│ │ │ │ └── perform-code-at-cursor.ts
│ │ │ ├── copy-markdown-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
│ │ ├── constants
│ │ │ ├── edit-format-instructions.ts
│ │ │ ├── ignored-lock-files.ts
│ │ │ ├── instructions.ts
│ │ │ ├── providers.ts
│ │ │ ├── secret-storage-keys.ts
│ │ │ ├── state-keys.ts
│ │ │ └── values.ts
│ │ ├── context
│ │ │ ├── context-initialization.ts
│ │ │ ├── helpers
│ │ │ │ ├── get-all-workspace-files.ts
│ │ │ │ └── get-selected-files.ts
│ │ │ ├── providers
│ │ │ │ ├── open-editors
│ │ │ │ │ └── open-editors-provider.ts
│ │ │ │ ├── selected-files
│ │ │ │ │ └── selected-files-provider.ts
│ │ │ │ └── workspace
│ │ │ │ ├── modules
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── token-calculator.ts
│ │ │ │ └── workspace-provider.ts
│ │ │ ├── shared-context-state.ts
│ │ │ └── utils
│ │ │ └── shrink-file
│ │ │ ├── index.ts
│ │ │ ├── languages
│ │ │ │ ├── c-style.ts
│ │ │ │ ├── css.ts
│ │ │ │ ├── html.ts
│ │ │ │ ├── jsx.ts
│ │ │ │ ├── python.ts
│ │ │ │ ├── ruby.ts
│ │ │ │ └── sql.ts
│ │ │ ├── shrink-file.spec.ts
│ │ │ ├── shrink-file.ts
│ │ │ └── test-cases
│ │ │ ├── c-style
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── css
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── html
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── jsx
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── python
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── ruby
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ ├── scss
│ │ │ │ ├── input.txt
│ │ │ │ └── output.txt
│ │ │ └── sql
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── extension.ts
│ │ ├── features
│ │ │ └── checkpoints
│ │ │ └── actions
│ │ │ ├── create-checkpoint.ts
│ │ │ └── index.ts
│ │ ├── i18n
│ │ │ └── index.ts
│ │ ├── services
│ │ │ ├── providers-manager.ts
│ │ │ └── websocket-manager.ts
│ │ ├── utils
│ │ │ ├── apply-reasoning-effort.ts
│ │ │ ├── ascii-tree
│ │ │ │ ├── ascii-tree.ts
│ │ │ │ └── index.ts
│ │ │ ├── commit-message-details.ts
│ │ │ ├── files-collector.ts
│ │ │ ├── git-repository-utils.ts
│ │ │ ├── normalize-path.ts
│ │ │ ├── prompt-builder.ts
│ │ │ ├── send-llm-message.ts
│ │ │ ├── show-configurations-quick-pick.ts
│ │ │ ├── show-missing-configuration-notification.ts
│ │ │ └── web-configuration-format-converters.ts
│ │ └── views
│ │ └── prompt
│ │ └── backend
│ │ ├── message-handlers
│ │ │ ├── handle-autofill.ts
│ │ │ ├── handle-copy-prompt.ts
│ │ │ ├── handle-make-api-call.ts
│ │ │ ├── handle-preview-prompt.ts
│ │ │ └── handle-preview-web-configuration.ts
│ │ └── prompt-view-provider.ts
│ └── webpack.config.ts
└── packages
└── shared
└── src
└── utils
├── display-token-count.ts
└── logger.ts1 parent 7e0be1a commit edc9301
7 files changed
Lines changed: 3719 additions & 9593 deletions
File tree
- apps/editor
- src
- commands/generate-commit-message-commands/utils
- constants
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | 1213 | | |
1218 | 1214 | | |
1219 | 1215 | | |
| |||
1225 | 1221 | | |
1226 | 1222 | | |
1227 | 1223 | | |
1228 | | - | |
1229 | 1224 | | |
1230 | 1225 | | |
1231 | 1226 | | |
1232 | 1227 | | |
1233 | 1228 | | |
| 1229 | + | |
1234 | 1230 | | |
1235 | 1231 | | |
1236 | 1232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
87 | 105 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
91 | 119 | | |
92 | 120 | | |
93 | 121 | | |
| |||
99 | 127 | | |
100 | 128 | | |
101 | 129 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
254 | | - | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| |||
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
285 | | - | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
288 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
| 193 | + | |
193 | 194 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
204 | 198 | | |
205 | 199 | | |
206 | 200 | | |
| |||
0 commit comments