File tree Expand file tree Collapse file tree
apps/editor/src/constants Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020## Introduction
2121
22- ** CWC** provides developers with a complete and free toolkit for pair programming with AI.
23-
24- ** The static context workflow:**
25-
26- 1 . Ask an agent of choice for task-relevant files
27- 2 . Make your own informed decisions on example inclusion
28- 3 . Prompt surgically for easy to iterate-on and review code
22+ ** CWC** provides developers with a complete and free toolkit for pair programming with AI in all popular VS Code-based code editors.
2923
3024## Privacy
3125
4135
4236### Agentic search
4337
44- Ask your favorite agent for file selection utilizing its one-off prompt (headless) mode.
38+ Query your favorite agent for task-relevant file selection utilizing its one-off prompt (headless) mode.
4539
4640** Supported CLIs:**
4741
@@ -59,11 +53,11 @@ Ask your favorite agent for file selection utilizing its one-off prompt (headles
5953```
6054# Task
6155
62- [INSTRUCTIONS]
56+ In the project, find the complete set of primary and structural files relevant to the query.
6357
6458# Output formatting
6559
66- Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - path/to/file.ext).
60+ Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - ` path/to/file.ext` ).
6761
6862# Query
6963
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ export const intelligent_file_search_format_for_prompt_view = (
6767) => {
6868 const prefix = folder_path && folder_path != '.' ? `${ folder_path } /` : ''
6969 return `Your response must begin with "**Intelligent file search results${
70- metadata || ''
71- } :**", then list paths one under another , followed by a brief explanation. Example:
70+ metadata || ''
71+ } :**", then a bulleted list of file paths , followed by a brief explanation. Example:
7272
7373**Intelligent file search results${ metadata || '' } :**
7474
@@ -82,5 +82,8 @@ These files contain the core greeting logic and module exports.`
8282export const voice_input_instructions =
8383 'Respond with a transcription of the following audio recording or text "INAUDIBLE", and nothing else.'
8484
85- export const agentic_file_search_format_instructions =
86- 'Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - path/to/file.ext).'
85+ export const agentic_file_search_format_instructions = `Output strictly as a bulleted list of file paths without explanations or any other text. Example:
86+
87+ - \`src/index.ts\`
88+ - \`src/greetings/hello.ts\`
89+ - \`src/greetings/welcome.ts\``
You can’t perform that action at this time.
0 commit comments