Skip to content

Commit 2da1025

Browse files
committed
Refactor CLI prompt requirements into a bulleted list and sync README examples
- readme uses outdated requirements - some instructions in [Fragment] repeat. you should move them to separate keys in the cli_edit_ask_requirements object. Then, these should be placed as bullet list, not a single sentence. - requirements in readme are outdated ├── .github │ ├── FUNDING.yml │ └── workflows │ ├── deploy-vscode-extension.yml │ └── deploy-website.yml ├── .husky │ └── pre-commit ├── .prettierrc ├── .vscode │ ├── launch.json │ └── settings.json ├── .vscodeignore ├── PRIVACY.md ├── README.md ├── apps │ ├── browser │ │ ├── .eslintrc.json │ │ ├── README.md │ │ ├── create-firefox-build.ts │ │ ├── create-zip-archives.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── background │ │ │ │ ├── clear-chat-init-data.ts │ │ │ │ ├── config.ts │ │ │ │ ├── keep-alive.ts │ │ │ │ ├── main.ts │ │ │ │ ├── message-handler.ts │ │ │ │ └── websocket.ts │ │ │ ├── content-scripts │ │ │ │ └── send-prompt-content-script │ │ │ │ ├── chatbots │ │ │ │ │ ├── ai-studio.ts │ │ │ │ │ ├── arena.ts │ │ │ │ │ ├── chatgpt.ts │ │ │ │ │ ├── claude.ts │ │ │ │ │ ├── copilot.ts │ │ │ │ │ ├── deepseek.ts │ │ │ │ │ ├── doubao.ts │ │ │ │ │ ├── gemini.ts │ │ │ │ │ ├── github-copilot.ts │ │ │ │ │ ├── grok.ts │ │ │ │ │ ├── hugging-chat.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── kimi.ts │ │ │ │ │ ├── meta.ts │ │ │ │ │ ├── mistral.ts │ │ │ │ │ ├── open-webui.ts │ │ │ │ │ ├── openrouter.ts │ │ │ │ │ ├── qwen.ts │ │ │ │ │ ├── together.ts │ │ │ │ │ ├── yuanbao.ts │ │ │ │ │ └── z-ai.ts │ │ │ │ ├── constants │ │ │ │ │ ├── apply-response-icon.ts │ │ │ │ │ └── dictionary.ts │ │ │ │ ├── send-prompt-content-script.ts │ │ │ │ └── utils │ │ │ │ ├── add-apply-response-button.ts │ │ │ │ ├── apply-response-styles.ts │ │ │ │ ├── logger.ts │ │ │ │ ├── report-initialization-error.ts │ │ │ │ └── show-response-ready-notification.ts │ │ │ ├── fonts │ │ │ │ └── Bangers-Regular.ttf │ │ │ ├── icons │ │ │ │ ├── icon-128.png │ │ │ │ ├── icon-16.png │ │ │ │ ├── icon-32.png │ │ │ │ └── icon-48.png │ │ │ ├── manifest.json │ │ │ ├── types │ │ │ │ └── messages.ts │ │ │ ├── utils │ │ │ │ └── is-message.ts │ │ │ └── views │ │ │ └── popup │ │ │ ├── App.tsx │ │ │ ├── Popup.module.scss │ │ │ ├── Popup.tsx │ │ │ ├── index.css │ │ │ ├── index.html │ │ │ ├── use-browser-profile-name.ts │ │ │ └── use-firefox-containers.ts │ │ ├── tsconfig.json │ │ └── webpack.config.ts │ ├── editor │ │ ├── .eslintrc.json │ │ ├── .vscodeignore │ │ ├── LICENSE │ │ ├── jest.config.js │ │ ├── media │ │ │ └── logo.png │ │ ├── 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 │ │ ├── resources │ │ │ ├── Bangers-Regular.ttf │ │ │ └── activity-bar-icon.svg │ │ ├── src │ │ │ ├── commands │ │ │ │ ├── agentic-search-command │ │ │ │ │ ├── agentic-search-command.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── apply-response-command │ │ │ │ │ ├── apply-response-command.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-relocations.ts │ │ │ │ │ │ ├── cleanup-rename-source.ts │ │ │ │ │ │ ├── close-file-tabs.ts │ │ │ │ │ │ ├── create-file-if-needed.ts │ │ │ │ │ │ ├── get-rename-source-info.ts │ │ │ │ │ │ ├── handle-deleted-file-item.ts │ │ │ │ │ │ ├── index.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 │ │ │ │ │ │ │ │ ├── cases │ │ │ │ │ │ │ │ │ ├── standard │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── standard.txt │ │ │ │ │ │ │ │ │ └── with-text │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ ├── 3-text.txt │ │ │ │ │ │ │ │ │ └── with-text.txt │ │ │ │ │ │ │ │ └── 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 │ │ │ │ │ │ │ │ │ └── path-utils.ts │ │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── cases │ │ │ │ │ │ │ │ │ ├── deletion-via-header │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── deletion-via-header.txt │ │ │ │ │ │ │ │ │ ├── deletion-via-redundant-header │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── deletion-via-redundant-header.txt │ │ │ │ │ │ │ │ │ ├── file-deletion │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── file-deletion.txt │ │ │ │ │ │ │ │ │ ├── git-and-hunk-header-same-line │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── git-and-hunk-header-same-line.txt │ │ │ │ │ │ │ │ │ ├── git-broken-hunk-header │ │ │ │ │ │ │ │ │ │ └── 1-file.txt │ │ │ │ │ │ │ │ │ ├── git-two-header-types │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── git-two-header-types.txt │ │ │ │ │ │ │ │ │ ├── ignore-ellipsis │ │ │ │ │ │ │ │ │ │ └── 1-file.txt │ │ │ │ │ │ │ │ │ ├── inner-triple-backticks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── inner-triple-backticks.txt │ │ │ │ │ │ │ │ │ ├── markdown-missing-ending │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── markdown-missing-ending.txt │ │ │ │ │ │ │ │ │ ├── markdown-path-above │ │ │ │ │ │ │ │ │ │ └── markdown-path-above.txt │ │ │ │ │ │ │ │ │ ├── markdown-path-above-no-hunk-header │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── markdown-path-above-no-hunk-header.txt │ │ │ │ │ │ │ │ │ ├── markdown-path-above-with-text-containing-path │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── markdown-path-above-with-text-containing-path.txt │ │ │ │ │ │ │ │ │ ├── markdown-redundant-closing-backticks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── markdown-redundant-closing-backticks.txt │ │ │ │ │ │ │ │ │ ├── markdown-repeated-path-above │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ └── markdown-repeated-path-above.txt │ │ │ │ │ │ │ │ │ ├── markdown-unnecessary-empty-lines │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── markdown-path-above.txt │ │ │ │ │ │ │ │ │ ├── mix-delete-and-new-file │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── mix-delete-and-new-file.txt │ │ │ │ │ │ │ │ │ ├── mix-new-file-from-heading-and-diff │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ ├── 3-file.txt │ │ │ │ │ │ │ │ │ │ └── mix-new-file-from-heading-and-diff.txt │ │ │ │ │ │ │ │ │ ├── mix-new-file-from-xml-tag-heading-and-diff │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 3-file.txt │ │ │ │ │ │ │ │ │ │ └── mix-new-file-from-xml-tag-heading-and-diff.txt │ │ │ │ │ │ │ │ │ ├── mix-new-file-xml-and-diff-variant-1 │ │ │ │ │ │ │ │ │ │ └── mix-new-file-xml-and-diff-variant-1.txt │ │ │ │ │ │ │ │ │ ├── mix-new-file-xml-and-diff-variant-2 │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── mix-new-file-xml-and-diff-variant-2.txt │ │ │ │ │ │ │ │ │ ├── mix-rename-and-update │ │ │ │ │ │ │ │ │ │ └── 1-file.txt │ │ │ │ │ │ │ │ │ ├── mix-rename-one-liner-and-diff │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── mix-rename-one-liner-and-diff.txt │ │ │ │ │ │ │ │ │ ├── multiple-edits-for-the-same-file │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-edits-for-the-same-file.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-git-and-hunk-header-same-line │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-git-and-hunk-header-same-line.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-no-markdown-block │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-no-markdown-block.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-no-prefix-single-markdown-block │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-no-prefix-single-markdown-block.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-same-line-backticks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-same-line-backticks.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-separate-markdown-blocks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-separate-markdown-blocks.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-single-markdown-block │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-single-markdown-block.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-text-between │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ ├── 3-text.txt │ │ │ │ │ │ │ │ │ │ ├── 4-file.txt │ │ │ │ │ │ │ │ │ │ ├── 5-text.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-text-between.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-with-git-headers-no-file-lines │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-with-git-headers-no-file-lines.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-with-git-headers-separate-markdown-blocks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-with-git-headers-separate-markdown-blocks.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-with-quoted-paths │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-files-with-quoted-paths.txt │ │ │ │ │ │ │ │ │ ├── multiple-files-with-timestamps │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── 2-file.txt │ │ │ │ │ │ │ │ │ ├── multiple-new-files-separate-markdown-blocks │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ │ └── multiple-new-files-separate-markdown-blocks.txt │ │ │ │ │ │ │ │ │ ├── new-file-based-on-empty-file │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── new-file-based-on-empty-file.txt │ │ │ │ │ │ │ │ │ ├── new-file-with-git-header │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── new-file-with-git-header.txt │ │ │ │ │ │ │ │ │ ├── no-markdown-or-git-header │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── no-markdown-or-git-header.txt │ │ │ │ │ │ │ │ │ ├── no-prefix │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── no-prefix.txt │ │ │ │ │ │ │ │ │ ├── non-diff-code-blocks │ │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ │ ├── 2-inline-file.txt │ │ │ │ │ │ │ │ │ │ ├── 3-file.txt │ │ │ │ │ │ │ │ │ │ └── non-diff-code-blocks.txt │ │ │ │ │ │ │ │ │ ├── rename │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── rename.txt │ │ │ │ │ │ │ │ │ ├── with-empty-lines-between │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-empty-lines-between.txt │ │ │ │ │ │ │ │ │ ├── with-git-header-no-file-lines │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-git-header-no-file-lines.txt │ │ │ │ │ │ │ │ │ ├── with-git-header-no-markdown │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-git-header-no-markdown.txt │ │ │ │ │ │ │ │ │ ├── with-quoted-paths │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-quoted-paths.txt │ │ │ │ │ │ │ │ │ ├── with-timestamps │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-timestamps.txt │ │ │ │ │ │ │ │ │ ├── with-xml-file-path │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── with-xml-file-path.txt │ │ │ │ │ │ │ │ │ ├── within-xml-tags │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── within-xml-tags.txt │ │ │ │ │ │ │ │ │ ├── within-xml-tags-unquoted-path │ │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ │ └── within-xml-tags-unquoted-path.txt │ │ │ │ │ │ │ │ │ └── within-xml-tags-with-cdata │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── within-xml-tags-with-cdata.txt │ │ │ │ │ │ │ │ └── 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 │ │ │ │ │ │ │ ├── cases │ │ │ │ │ │ │ │ ├── conflict-with-inline-file │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ ├── 2-conflict-with-inline-file.txt │ │ │ │ │ │ │ │ │ └── conflict-with-inline-file.txt │ │ │ │ │ │ │ │ ├── delete-file-header │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ ├── 3-text.txt │ │ │ │ │ │ │ │ │ └── delete-file-header.txt │ │ │ │ │ │ │ │ ├── merge-conflicts-file-path-as-bold-text │ │ │ │ │ │ │ │ │ └── merge-conflicts-file-path-as-bold-text.txt │ │ │ │ │ │ │ │ ├── merge-conflicts-in-separate-code-blocks │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── merge-conflicts-in-separate-code-blocks.txt │ │ │ │ │ │ │ │ ├── merge-conflicts-merge-the-same-file │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ └── merge-conflicts-merge-the-same-file.txt │ │ │ │ │ │ │ │ ├── merge-conflicts-three-dots │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── merge-conflicts-three-dots.txt │ │ │ │ │ │ │ │ ├── multiple-markdowns-with-headings │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ └── multiple-markdowns-with-headings.txt │ │ │ │ │ │ │ │ ├── path-above-code-block │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ └── path-above-code-block.txt │ │ │ │ │ │ │ │ ├── path-above-code-block-bold │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── path-above-code-block-bold.txt │ │ │ │ │ │ │ │ ├── path-above-code-block-raw │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── path-above-code-block-raw.txt │ │ │ │ │ │ │ │ ├── path-above-code-block-renaming │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── path-above-code-block-renaming.txt │ │ │ │ │ │ │ │ ├── path-in-backticks-comment-with-intermediate-text │ │ │ │ │ │ │ │ │ ├── 1-text.txt │ │ │ │ │ │ │ │ │ ├── 2-file.txt │ │ │ │ │ │ │ │ │ └── path-in-backticks-comment-with-intermediate-text.txt │ │ │ │ │ │ │ │ ├── path-in-backticks-no-intermediate-empty-lines │ │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ │ └── path-in-backticks-no-intermediate-empty-lines.txt │ │ │ │ │ │ │ │ └── text-below-code-block │ │ │ │ │ │ │ │ ├── 1-file.txt │ │ │ │ │ │ │ │ ├── 2-text.txt │ │ │ │ │ │ │ │ └── text-below-code-block.txt │ │ │ │ │ │ │ └── standard-parser.spec.ts │ │ │ │ │ │ └── response-parser.ts │ │ │ │ │ ├── state-manager.ts │ │ │ │ │ ├── tab-group-manager.ts │ │ │ │ │ └── workspace.ts │ │ │ │ ├── close-all-editors-command.ts │ │ │ │ ├── close-editor-command.ts │ │ │ │ ├── code-at-cursor-command │ │ │ │ │ ├── code-at-cursor-commands.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── get-code-at-cursor-config.ts │ │ │ │ │ ├── perform-code-at-cursor.ts │ │ │ │ │ └── show-ghost-text.ts │ │ │ │ ├── copy-markdown-command.ts │ │ │ │ ├── copy-merge-commit-details-command.ts │ │ │ │ ├── copy-paths-command.ts │ │ │ │ ├── delete-command.ts │ │ │ │ ├── duplicate-workspace-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 │ │ │ │ ├── history-command │ │ │ │ │ ├── actions │ │ │ │ │ │ ├── clear-all-checkpoints.ts │ │ │ │ │ │ ├── create-temporary-checkpoint.ts │ │ │ │ │ │ ├── delete-checkpoint-with-undo.ts │ │ │ │ │ │ ├── restore-checkpoint.ts │ │ │ │ │ │ ├── sync-workspace-from-dir.ts │ │ │ │ │ │ ├── toggle-checkpoint-pin.ts │ │ │ │ │ │ └── update-checkpoint-description.ts │ │ │ │ │ ├── history-command.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ └── sync-directory.ts │ │ │ │ ├── index.ts │ │ │ │ ├── new-file-command.ts │ │ │ │ ├── new-folder-command.ts │ │ │ │ ├── open-file-from-workspace-command.ts │ │ │ │ ├── open-url-command.ts │ │ │ │ ├── rate-extension-command.ts │ │ │ │ ├── reference-in-prompt-command.ts │ │ │ │ ├── rename-command.ts │ │ │ │ ├── restore-file-selection-command │ │ │ │ │ ├── actions │ │ │ │ │ │ ├── restore-from-json-file.ts │ │ │ │ │ │ └── restore-from-workspace-state.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── restore-file-selection-command.ts │ │ │ │ ├── save-all-command.ts │ │ │ │ ├── save-file-selection-command │ │ │ │ │ ├── actions │ │ │ │ │ │ ├── save-to-json-file.ts │ │ │ │ │ │ └── save-to-workspace-state.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── save-file-selection-command.ts │ │ │ │ ├── search-files-commands │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ └── get-target-folder-path.ts │ │ │ │ ├── select-clipboard-paths-command.ts │ │ │ │ ├── select-definition-file-command.ts │ │ │ │ ├── select-files-of-commit-command.ts │ │ │ │ ├── select-imported-files-commands │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── select-imported-files-commands.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── is-valid-uri.ts │ │ │ │ │ └── prompt-for-imported-files.ts │ │ │ │ ├── select-modified-files-command.ts │ │ │ │ ├── select-parent-folder-command.ts │ │ │ │ ├── select-referencing-files-commands │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── select-referencing-files-commands.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── get-referencing-files-for-position.ts │ │ │ │ │ ├── get-referencing-files-for-uris.ts │ │ │ │ │ └── prompt-for-referencing-files.ts │ │ │ │ ├── select-workspace-file-command.ts │ │ │ │ └── set-ranges-command.ts │ │ │ ├── constants │ │ │ │ ├── agents.ts │ │ │ │ ├── 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 │ │ │ │ │ └── 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 │ │ │ │ │ └── output.txt │ │ │ │ ├── python │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ ├── ruby │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ ├── scss │ │ │ │ │ ├── input.txt │ │ │ │ │ └── output.txt │ │ │ │ └── sql │ │ │ │ └── input.txt │ │ │ ├── extension.ts │ │ │ ├── features │ │ │ │ ├── agentic-search │ │ │ │ │ ├── agentic-search-state.ts │ │ │ │ │ ├── agentic-search.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── build-agent-prompt.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── prompt-for-search-term.ts │ │ │ │ ├── checkpoints │ │ │ │ │ ├── actions │ │ │ │ │ │ ├── accept-checkpoint.ts │ │ │ │ │ │ ├── create-checkpoint.ts │ │ │ │ │ │ ├── delete-checkpoint.ts │ │ │ │ │ │ ├── get-checkpoints.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── types │ │ │ │ │ │ ├── checkpoint.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── copy-optimised-recursively.ts │ │ │ │ │ ├── get-checkpoint-path.ts │ │ │ │ │ ├── get-incremented-description.ts │ │ │ │ │ ├── git-utils.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── context-restoration │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── ask-for-new-context-name.ts │ │ │ │ │ ├── context-file-utils.ts │ │ │ │ │ ├── create-context-description.ts │ │ │ │ │ ├── file-contexts.ts │ │ │ │ │ ├── resolve-context-paths.ts │ │ │ │ │ ├── select-context-paths.ts │ │ │ │ │ └── source-selector.ts │ │ │ │ └── search-files │ │ │ │ ├── index.ts │ │ │ │ ├── search-files.ts │ │ │ │ ├── search-modes │ │ │ │ │ ├── perform-intelligent-search-mode.ts │ │ │ │ │ └── perform-keywords-search-mode.ts │ │ │ │ └── utils │ │ │ │ ├── analyze-files.ts │ │ │ │ ├── check-matches-condition.ts │ │ │ │ ├── prompt-for-config.ts │ │ │ │ ├── prompt-for-intelligent-search-results.ts │ │ │ │ ├── prompt-for-keywords-match-mode.ts │ │ │ │ ├── prompt-for-keywords-target.ts │ │ │ │ ├── prompt-for-search-mode.ts │ │ │ │ ├── prompt-for-search-term.ts │ │ │ │ ├── prompt-for-shrink-mode.ts │ │ │ │ ├── search-files-by-intelligent.ts │ │ │ │ ├── search-files-by-keywords.ts │ │ │ │ ├── search-files-by-phrase.ts │ │ │ │ └── show-search-results-quick-pick.ts │ │ │ ├── i18n │ │ │ │ ├── index.ts │ │ │ │ └── translations │ │ │ │ ├── commands │ │ │ │ │ ├── code-at-cursor-command.ts │ │ │ │ │ ├── copy-markdown-command.ts │ │ │ │ │ ├── copy-merge-commit-details-command.ts │ │ │ │ │ ├── copy-paths-command.ts │ │ │ │ │ ├── generate-commit-message-command.ts │ │ │ │ │ ├── history-command.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── install-browser-extension-command.ts │ │ │ │ │ ├── new-file-command.ts │ │ │ │ │ ├── new-folder-command.ts │ │ │ │ │ ├── rate-extension-command.ts │ │ │ │ │ ├── reference-in-prompt-command.ts │ │ │ │ │ ├── rename-command.ts │ │ │ │ │ ├── restore-file-selection-command.ts │ │ │ │ │ ├── save-file-selection-command.ts │ │ │ │ │ ├── search-files-command.ts │ │ │ │ │ ├── select-clipboard-paths-command.ts │ │ │ │ │ ├── select-definition-file-command.ts │ │ │ │ │ ├── select-files-of-commit-command.ts │ │ │ │ │ ├── select-imported-files-command.ts │ │ │ │ │ ├── select-modified-files-command.ts │ │ │ │ │ ├── select-referencing-files-command.ts │ │ │ │ │ ├── select-workspace-file-command.ts │ │ │ │ │ └── set-ranges-command.ts │ │ │ │ ├── context.ts │ │ │ │ ├── features │ │ │ │ │ ├── checkpoints.ts │ │ │ │ │ ├── context-restoration.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── search-files.ts │ │ │ │ ├── misc.ts │ │ │ │ ├── services │ │ │ │ │ ├── prompt-view-api-calls-manager.ts │ │ │ │ │ └── websocket-manager.ts │ │ │ │ ├── utils │ │ │ │ │ ├── agentic-cli-invocation.ts │ │ │ │ │ ├── git-repository-utils.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── show-missing-configuration-notification.ts │ │ │ │ │ └── show-parent-folder-quick-pick.ts │ │ │ │ └── views │ │ │ │ ├── common │ │ │ │ │ ├── handlers │ │ │ │ │ │ ├── common.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── prompt │ │ │ │ │ ├── handlers │ │ │ │ │ │ ├── handle-agentic-search.ts │ │ │ │ │ │ ├── handle-copy-prompt.ts │ │ │ │ │ │ ├── handle-delete-task.ts │ │ │ │ │ │ ├── handle-hash-sign-quick-pick.ts │ │ │ │ │ │ ├── handle-invoke-agentic-cli.ts │ │ │ │ │ │ ├── handle-make-api-call.ts │ │ │ │ │ │ ├── handle-patch-repair.ts │ │ │ │ │ │ ├── handle-select-edit-format-instructions.ts │ │ │ │ │ │ ├── handle-template-quick-pick.ts │ │ │ │ │ │ ├── handle-undo.ts │ │ │ │ │ │ ├── handle-voice-input.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── utils │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── symbols │ │ │ │ │ │ ├── git │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── replace-git-symbols.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── index.ts │ │ │ │ │ └── symbols │ │ │ │ │ ├── git │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── settings │ │ │ │ │ ├── handlers │ │ │ │ │ │ ├── handle-create-template.ts │ │ │ │ │ │ ├── handle-delete-provider.ts │ │ │ │ │ │ ├── handle-delete-template.ts │ │ │ │ │ │ ├── handle-open-allow-patterns-settings.ts │ │ │ │ │ │ ├── handle-open-ignore-patterns-settings.ts │ │ │ │ │ │ ├── handle-select-default-api-configuration.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── shared │ │ │ │ ├── actions │ │ │ │ │ ├── agent │ │ │ │ │ │ ├── create.ts │ │ │ │ │ │ ├── delete.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── pick-agent.ts │ │ │ │ │ ├── api │ │ │ │ │ │ ├── add-provider.ts │ │ │ │ │ │ ├── common.ts │ │ │ │ │ │ ├── create │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── interactions │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ ├── initial-select-model.ts │ │ │ │ │ │ │ ├── initial-select-provider.ts │ │ │ │ │ │ │ └── verify-model.ts │ │ │ │ │ │ ├── delete.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── pick-extended-provider.ts │ │ │ │ │ │ ├── pick-reasoning-effort.ts │ │ │ │ │ │ └── update │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── interactions │ │ │ │ │ │ ├── edit-model-for-api-config.ts │ │ │ │ │ │ ├── edit-reasoning-effort-for-api-config.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── common.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── web │ │ │ │ │ ├── create.ts │ │ │ │ │ ├── delete.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── pick-chatbot.ts │ │ │ │ │ ├── pick-model.ts │ │ │ │ │ └── update.ts │ │ │ │ └── index.ts │ │ │ ├── migrations │ │ │ │ ├── index.ts │ │ │ │ ├── migrate-clear-all-checkpoints.ts │ │ │ │ ├── migrate-commit-message-details-filename.ts │ │ │ │ ├── migrate-configurations-to-api-configurations.ts │ │ │ │ ├── migrate-edit-context-to-edit-files-system-instructions.ts │ │ │ │ ├── migrate-model-providers-to-providers.ts │ │ │ │ ├── migrate-prompt-templates-suffixes.ts │ │ │ │ ├── migrate-prompt-templates-to-templates.ts │ │ │ │ └── migrate-settings-keys-to-chatbots-and-models.ts │ │ │ ├── services │ │ │ │ ├── git-discard-file-watcher.ts │ │ │ │ ├── model-fetcher.ts │ │ │ │ ├── prompt-view-api-calls-manager.ts │ │ │ │ ├── providers-manager.ts │ │ │ │ ├── websocket-manager.ts │ │ │ │ └── websocket-server-process.ts │ │ │ ├── types │ │ │ │ ├── cli-configuration.ts │ │ │ │ ├── context.ts │ │ │ │ ├── open-router-models-response.ts │ │ │ │ └── web-configuration.ts │ │ │ ├── utils │ │ │ │ ├── agentic-cli-invocation │ │ │ │ │ ├── agents │ │ │ │ │ │ ├── antigravity.ts │ │ │ │ │ │ ├── claude.ts │ │ │ │ │ │ ├── codex.ts │ │ │ │ │ │ ├── cursor.ts │ │ │ │ │ │ ├── grok.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── muse.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── invoke-agentic-cli.ts │ │ │ │ │ ├── types.ts │ │ │ │ │ └── utils │ │ │ │ │ ├── check-command-exists.ts │ │ │ │ │ ├── format-duration.ts │ │ │ │ │ ├── generate-diff-markdown.ts │ │ │ │ │ └── get-progress-dots.ts │ │ │ │ ├── ascii-tree │ │ │ │ │ ├── ascii-tree.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils.ts │ │ │ │ ├── changes-integration │ │ │ │ │ ├── diff-processor │ │ │ │ │ │ ├── diff-processor.spec.ts │ │ │ │ │ │ ├── diff-processor.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── test-cases │ │ │ │ │ │ │ ├── deletion-only │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── empty-file │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── empty-file-2 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── failing │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── failing-2 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-1 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-2 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-3 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-4 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-5 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-6 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-7 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-8 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── generic-9 │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── insert-start-end │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── loose-gap-match │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── multiple-hunks │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── redundant-new-empty-line │ │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ └── same-line-replace │ │ │ │ │ │ │ ├── diff.txt │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ ├── types.ts │ │ │ │ │ │ └── utils │ │ │ │ │ │ ├── apply-blocks.ts │ │ │ │ │ │ ├── empty-file-handler.ts │ │ │ │ │ │ ├── match-blocks.ts │ │ │ │ │ │ ├── normalize.ts │ │ │ │ │ │ └── parse-blocks.ts │ │ │ │ │ ├── search-replace-processor │ │ │ │ │ │ ├── apply-search-replace-to-content │ │ │ │ │ │ │ ├── apply-search-replace-to-content.spec.ts │ │ │ │ │ │ │ ├── apply-search-replace-to-content.ts │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── test-cases │ │ │ │ │ │ │ ├── basic-conflict │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── deletion │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── multiple-conflicts │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── rst-syntax │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ ├── trailing-whitespace │ │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ │ └── whitespace-issues │ │ │ │ │ │ │ ├── expected.txt │ │ │ │ │ │ │ ├── markers.txt │ │ │ │ │ │ │ └── original.txt │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── parse-search-replace-segments.ts │ │ │ │ │ │ └── types.ts │ │ │ │ │ └── truncatio…
1 parent c9c2e72 commit 2da1025

3 files changed

Lines changed: 24 additions & 12 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
- Without sessions, there is no context accumulation;
3737
- token spend never skyrocket,
38-
- models *think* less.
38+
- models _think_ less.
3939

4040
## Send prompts with...
4141

@@ -175,7 +175,9 @@ Whenever showing a new, updated, renamed, or deleted file, provide a brief expla
175175
176176
# Requirements
177177
178-
Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them. Then, read potential images from the [task][#task]. You cannot make any other tool calls in this session except creating, deleting or updating listed in [files][#files] paths to complete the [task](#task).
178+
- Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.
179+
- If [task](#task) section includes *.png image paths, read them.
180+
- Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATION, DELETION or UPDATES to complete the [task](#task).
179181
180182
# Task
181183
@@ -213,7 +215,9 @@ _Multi-purpose: explanations, code reviews, you name it._
213215
214216
# Requirements
215217
216-
Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them. Then, read potential images from the [task][#task]. You cannot make any other tool calls in this session except creating, deleting or updating listed in [files][#files] paths to complete the [task](#task).
218+
- Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.
219+
- If [task](#task) section includes *.png image paths, read them.
220+
- Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATION, DELETION or UPDATES to complete the [task](#task).
217221
218222
# Task
219223

‎apps/editor/src/constants/instructions.ts‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ export const voice_input_instructions =
7070
'Respond with a transcription of the following audio recording or text "INAUDIBLE", and nothing else.'
7171

7272
export const cli_edit_ask_requirements = {
73-
preloaded_files:
74-
'All project files necessary for the task were preloaded and are attached in [files](#files). Read potential images from [task][#task], and nothing else. You cannot make any other tool calls in this session except creating, deleting or updating listed in [files][#files] paths to complete the [task](#task).',
73+
preloaded_files: 'All project files are shown in [files](#files) section.',
7574
referenced_files_with_some_preloaded:
76-
"Begin by looking at [files](#files) section for unread files (### Unread file: `[PROJECT-RELATIVE PATH]`) and read them. Then, read potential images from the [task][#task]. You cannot make any other tool calls in this session except creating, deleting or updating listed in [files][#files] paths to complete the [task](#task).",
75+
'Begin by looking at [files](#files) section for unread files (### Unread file: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.',
7776
referenced_files_only:
78-
'Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them. Then, read potential images from the [task][#task]. You cannot make any other tool calls in this session except creating, deleting or updating listed in [files][#files] paths to complete the [task](#task).'
77+
'Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.',
78+
read_images: 'If [task](#task) section includes *.png image paths, read them.',
79+
restrict_tool_calls:
80+
'Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATION, DELETION or UPDATES to complete the [task](#task).'
7981
}

‎apps/editor/src/views/prompt/backend/message-handlers/utils/build-cli-prompt.ts‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,17 @@ export const build_cli_prompt = async (params: {
120120

121121
const output_formatting_section = ''
122122

123-
const requirements = are_all_files_preloaded
124-
? cli_edit_ask_requirements.preloaded_files
125-
: are_any_files_preloaded
126-
? cli_edit_ask_requirements.referenced_files_with_some_preloaded
127-
: cli_edit_ask_requirements.referenced_files_only
123+
const requirements_list = [
124+
are_all_files_preloaded
125+
? cli_edit_ask_requirements.preloaded_files
126+
: are_any_files_preloaded
127+
? cli_edit_ask_requirements.referenced_files_with_some_preloaded
128+
: cli_edit_ask_requirements.referenced_files_only,
129+
cli_edit_ask_requirements.read_images,
130+
cli_edit_ask_requirements.restrict_tool_calls
131+
]
132+
133+
const requirements = requirements_list.map((r) => `- ${r}`).join('\n')
128134

129135
const task_scope_section = `# Requirements\n\n${requirements}`
130136
const task_section = `# Task\n\n${processed_query}`

0 commit comments

Comments
 (0)