Repository navigation
Commit 22cc637
committed
Extract bullet list path parsing into a shared utility function for reuse across search modes
- in `apps/editor/src/features/search-files/search-modes/perform-agent-search-mode`, don't use #Fragment(apps/editor/src/features/search-files/search-modes/perform-agent-search-mode/perform-agent-search-mode.ts:11:10-11:33), instead extract from a bullet list, ideally create a shared util with the command that also extracts from bullet list
- paths returned by agent in `apps/editor/src/features/search-files/search-modes/perform-agent-search-mode/perform-agent-search-mode.ts` never include root-folder name prefix
- add missing translations #Fragment(apps/editor/src/i18n/translations/features/search-files.ts:1262:3-1266:4)
└── apps
└── editor
└── src
├── commands
│ └── apply-response-command
│ ├── apply-response-command.ts
│ ├── response-processor.ts
│ └── utils
│ └── response-parser
│ ├── index.ts
│ ├── parsers
│ │ ├── index.ts
│ │ └── intelligent-file-search-results-parser
│ │ ├── index.ts
│ │ └── intelligent-file-search-results-parser.ts
│ └── response-parser.ts
├── features
│ └── search-files
│ └── search-modes
│ └── perform-agent-search-mode
│ ├── agents
│ │ ├── antigravity.ts
│ │ ├── claude.ts
│ │ ├── codex.ts
│ │ ├── cursor.ts
│ │ ├── grok.ts
│ │ ├── muse.ts
│ │ └── opencode.ts
│ ├── index.ts
│ ├── perform-agent-search-mode.ts
│ ├── types.ts
│ └── utils.ts
├── i18n
│ └── translations
│ └── features
│ └── search-files.ts
└── utils
├── extract-paths-from-bullet-list.ts
└── is-binary.ts1 parent d431ed2 commit 22cc637
5 files changed
Lines changed: 790 additions & 788 deletions
File tree
- apps/editor/src
- commands/apply-response-command/utils/response-parser/parsers/intelligent-file-search-results-parser
- features/search-files/search-modes/perform-agent-search-mode
- i18n/translations/features
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
86 | 38 | | |
87 | 39 | | |
88 | 40 | | |
| |||
0 commit comments