Repository navigation
Commit a5128de
committed
Remove the without-files prompt mode and related configuration, types, history, and UI support
- remove 'without files' prompt type
- remove 'no context' mode
├── apps
│ └── editor
│ ├── package.json
│ └── src
│ ├── constants
│ │ └── state-keys.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
│ ├── utils
│ │ └── files-collector.ts
│ └── views
│ ├── prompt
│ │ ├── backend
│ │ │ ├── message-handlers
│ │ │ │ ├── handle-autofill.ts
│ │ │ │ ├── handle-copy-prompt.ts
│ │ │ │ ├── handle-get-history.ts
│ │ │ │ ├── handle-get-instructions.ts
│ │ │ │ ├── handle-get-token-count.ts
│ │ │ │ ├── handle-preview-web-configuration.ts
│ │ │ │ ├── handle-save-history.ts
│ │ │ │ ├── handle-save-instructions.ts
│ │ │ │ └── handle-template-quick-pick.ts
│ │ │ └── prompt-view-provider.ts
│ │ ├── frontend
│ │ │ ├── Main
│ │ │ │ ├── Main.tsx
│ │ │ │ └── MainView
│ │ │ │ ├── MainView.tsx
│ │ │ │ └── prompt-type-labels.ts
│ │ │ ├── Prompt.tsx
│ │ │ └── hooks
│ │ │ └── use-prompt
│ │ │ ├── hooks
│ │ │ │ └── use-instructions.ts
│ │ │ └── use-prompt.ts
│ │ └── types
│ │ └── messages.ts
│ └── settings
│ ├── backend
│ │ └── message-handlers
│ │ └── handle-get-templates.ts
│ └── frontend
│ ├── Home
│ │ └── sections
│ │ └── GeneralSection.tsx
│ └── i18n
│ └── translations
│ └── general.ts
└── packages
└── shared
└── src
└── types
└── prompt-types.ts1 parent 5e1aa2e commit a5128de
27 files changed
Lines changed: 45 additions & 245 deletions
File tree
- apps/editor
- src
- constants
- context
- providers
- open-editors
- workspace
- utils
- views
- prompt
- backend
- message-handlers
- frontend
- Main
- MainView
- hooks/use-prompt
- hooks
- types
- settings
- backend/message-handlers
- frontend
- Home/sections
- i18n/translations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | 1136 | | |
1155 | 1137 | | |
1156 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 32 | | |
40 | 33 | | |
41 | 34 | | |
| |||
210 | 203 | | |
211 | 204 | | |
212 | 205 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
218 | 209 | | |
219 | 210 | | |
220 | 211 | | |
| |||
328 | 319 | | |
329 | 320 | | |
330 | 321 | | |
331 | | - | |
| 322 | + | |
332 | 323 | | |
333 | 324 | | |
334 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
| |||
96 | 90 | | |
97 | 91 | | |
98 | 92 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 93 | | |
106 | 94 | | |
107 | 95 | | |
| |||
583 | 571 | | |
584 | 572 | | |
585 | 573 | | |
586 | | - | |
587 | | - | |
588 | | - | |
| 574 | + | |
| 575 | + | |
589 | 576 | | |
590 | 577 | | |
591 | 578 | | |
| |||
598 | 585 | | |
599 | 586 | | |
600 | 587 | | |
601 | | - | |
602 | | - | |
603 | | - | |
| 588 | + | |
604 | 589 | | |
605 | 590 | | |
606 | 591 | | |
| |||
711 | 696 | | |
712 | 697 | | |
713 | 698 | | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | 699 | | |
719 | 700 | | |
720 | 701 | | |
| |||
791 | 772 | | |
792 | 773 | | |
793 | 774 | | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
| 775 | + | |
| 776 | + | |
798 | 777 | | |
799 | 778 | | |
800 | 779 | | |
| |||
1031 | 1010 | | |
1032 | 1011 | | |
1033 | 1012 | | |
1034 | | - | |
| 1013 | + | |
1035 | 1014 | | |
1036 | 1015 | | |
1037 | 1016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 241 | | |
248 | 242 | | |
249 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 21 | | |
29 | 22 | | |
30 | 23 | | |
31 | | - | |
32 | | - | |
| 24 | + | |
33 | 25 | | |
34 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
0 commit comments