Repository navigation
Commit fe4689a
committed
Rename applyResponse command to applyFromClipboard and extract core logic into a feature module
- 'apply response' should not be a command, but a feature in `apps/editor/src/features`. in its place should create 'apply from clipboard' command.
├── README.md
├── apps
│ ├── browser
│ │ └── README.md
│ └── editor
│ ├── package.json
│ ├── package.nls.bg.json
│ ├── package.nls.cs.json
│ ├── package.nls.de.json
│ ├── package.nls.es.json
│ ├── package.nls.fr.json
│ ├── package.nls.hu.json
│ ├── package.nls.it.json
│ ├── package.nls.ja.json
│ ├── package.nls.json
│ ├── package.nls.ko.json
│ ├── package.nls.pl.json
│ ├── package.nls.pt-br.json
│ ├── package.nls.ru.json
│ ├── package.nls.tr.json
│ ├── package.nls.zh-cn.json
│ ├── package.nls.zh-tw.json
│ └── src
│ ├── commands
│ │ ├── apply-from-clipboard-command
│ │ │ ├── apply-from-clipboard-command.ts
│ │ │ └── index.ts
│ │ ├── apply-from-terminal-command
│ │ │ └── apply-from-terminal-command.ts
│ │ ├── generate-commit-message-commands
│ │ │ └── actions
│ │ │ └── run-generate-action.ts
│ │ ├── history-command
│ │ │ ├── actions
│ │ │ │ └── restore-checkpoint.ts
│ │ │ └── history-command.ts
│ │ └── index.ts
│ ├── extension.ts
│ ├── features
│ │ ├── apply-response
│ │ │ ├── apply-response.ts
│ │ │ ├── index.ts
│ │ │ ├── response-processor
│ │ │ │ ├── handlers
│ │ │ │ │ ├── diff-handler.ts
│ │ │ │ │ ├── fast-replace-handler.ts
│ │ │ │ │ ├── patch-repair-handler.ts
│ │ │ │ │ ├── restore-preview-handler.ts
│ │ │ │ │ ├── search-replace-handler.ts
│ │ │ │ │ └── truncated-handler.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── response-processor.ts
│ │ │ ├── types
│ │ │ │ └── original-file-state.ts
│ │ │ └── utils
│ │ │ ├── file-checks.ts
│ │ │ ├── file-operations
│ │ │ │ ├── apply-file-content.ts
│ │ │ │ ├── apply-file-relocations.ts
│ │ │ │ ├── cleanup-rename-source.ts
│ │ │ │ ├── close-file-tabs.ts
│ │ │ │ ├── create-file-if-needed.ts
│ │ │ │ ├── ensure-directory.ts
│ │ │ │ ├── get-rename-source-info.ts
│ │ │ │ ├── handle-deleted-file-item.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── prepare-rename-operation.ts
│ │ │ │ ├── preserve-newline.ts
│ │ │ │ ├── read-rename-source-file.ts
│ │ │ │ ├── relocate-file.ts
│ │ │ │ ├── remove-directory-if-empty.ts
│ │ │ │ ├── undo-files.ts
│ │ │ │ └── uri-exists.ts
│ │ │ ├── preview
│ │ │ │ ├── build-history-files.ts
│ │ │ │ ├── diff-utils.ts
│ │ │ │ ├── file-preparer.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── preview.ts
│ │ │ │ ├── temp-file-manager.ts
│ │ │ │ ├── types.ts
│ │ │ │ ├── virtual-document-provider.ts
│ │ │ │ ├── vscode-ui.ts
│ │ │ │ └── workspace-listener.ts
│ │ │ ├── preview-handler.ts
│ │ │ ├── response-parser
│ │ │ │ ├── index.ts
│ │ │ │ ├── parsers
│ │ │ │ │ ├── code-at-cursor-parser
│ │ │ │ │ │ ├── code-at-cursor-parser.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── code-at-cursor-parser.spec.ts
│ │ │ │ │ ├── commit-message-parser
│ │ │ │ │ │ ├── commit-message-parser.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── commit-message-parser.spec.ts
│ │ │ │ │ ├── diff-parser
│ │ │ │ │ │ ├── diff-parser.ts
│ │ │ │ │ │ ├── helpers
│ │ │ │ │ │ │ ├── block-utils.ts
│ │ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ │ ├── patch-utils.ts
│ │ │ │ │ │ │ └── path-utils.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── diff-parser.spec.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── intelligent-file-search-results-parser
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── intelligent-file-search-results-parser.ts
│ │ │ │ │ ├── patch-repair-parser
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ ├── patch-repair-parser.ts
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── patch-repair-parser.spec.ts
│ │ │ │ │ └── standard-parser
│ │ │ │ │ ├── helpers
│ │ │ │ │ │ ├── create-or-update-file-item.ts
│ │ │ │ │ │ ├── extract-and-set-workspace-path.ts
│ │ │ │ │ │ ├── flush-text-block.ts
│ │ │ │ │ │ └── process-conflict-markers.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── standard-parser.ts
│ │ │ │ │ └── test
│ │ │ │ │ └── standard-parser.spec.ts
│ │ │ │ └── response-parser.ts
│ │ │ ├── state-manager.ts
│ │ │ ├── tab-group-manager.ts
│ │ │ └── workspace.ts
│ │ └── checkpoints
│ │ └── actions
│ │ └── create-checkpoint.ts
│ ├── i18n
│ │ └── translations
│ │ └── commands
│ │ ├── apply-response-command.ts
│ │ └── index.ts
│ ├── services
│ │ └── websocket-manager.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ └── message-handlers
│ │ ├── handle-apply-response-from-history.ts
│ │ ├── handle-discard-user-changes-in-preview.ts
│ │ ├── handle-focus-on-file-in-preview.ts
│ │ ├── handle-invoke-agentic-cli.ts
│ │ ├── handle-make-api-call.ts
│ │ ├── handle-patch-repair.ts
│ │ ├── handle-request-can-undo.ts
│ │ ├── handle-response-preview.ts
│ │ ├── handle-toggle-file-in-preview.ts
│ │ └── handle-undo.ts
│ └── frontend
│ └── Prompt.tsx
└── media
└── README.md1 parent 81a34d2 commit fe4689a
111 files changed
Lines changed: 617 additions & 561 deletions
File tree
- apps/editor
- src
- commands
- apply-from-clipboard-command
- apply-from-terminal-command
- apply-response-command
- generate-commit-message-commands/actions
- history-command
- actions
- features
- apply-response
- response-processor
- handlers
- types
- utils
- file-operations
- preview
- response-parser
- parsers
- code-at-cursor-parser
- test
- commit-message-parser
- test
- diff-parser
- helpers
- test
- intelligent-file-search-results-parser
- patch-repair-parser
- test
- standard-parser
- helpers
- test
- checkpoints/actions
- i18n/translations/commands
- services
- views/prompt
- backend/message-handlers
- frontend
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments