Commit graph

38 commits

Author SHA1 Message Date
Sam Hoang Van
c62e8f2ee2
feat @-mention window path style & file with space (#1924)
* feat @-mention window path style & file with space

* Update src/core/mentions/index.ts

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-27 00:10:06 -04:00
Chris Estreich
a414c7d028
Wrangle our settings-related types and add support for settings import / export (#1997)
* Strongly type our settings use composition where possible

* Update src/core/contextProxy.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update src/core/contextProxy.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Add comment, tweak function name

* Add changeset

* Clean up toolGroup types

* Comments tweak

* Remove unused type

* More type safety

* Improve import / export, add translations

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-26 16:29:01 -07:00
Matt Rubens
02081dedf9
Revert "feat(mentions): improve path handling for Windows and escaped spaces" (#1875) 2025-03-21 09:59:16 -04:00
Matt Rubens
f0ac4ab8bf Localize experimental checkboxes 2025-03-16 14:03:01 -04:00
Matt Rubens
00bf91470b Add i18n 2025-03-12 11:23:06 -04:00
Matt Rubens
baa346dc46 Remove preferredLanguage and just rely on VSCode language 2025-03-12 11:23:04 -04:00
axb
8a51a6c0b0 Supports updating multiple locations of a file in one call of the apply_diff tool 2025-03-04 21:44:05 +08:00
sam hoang
41a1c82fc5 add test from pr comment 2025-03-03 22:59:13 +07:00
sam hoang
dd961d18a8 feat(mentions): improve path handling for Windows and escaped spaces
Enhance the mention regex to properly support:
- Windows paths with drive letters (C:\folder\file.txt)
- Windows network shares (\\server\share\file.txt)
- Windows relative paths (folder\file.txt)
- Paths with escaped spaces in both Unix and Windows formats
- Maintain compatibility with existing URL, git hash, and keyword patterns
- Add comprehensive test suite with 200+ test cases validating all path formats
and edge cases to ensure reliable pattern matching across platforms.
2025-03-02 23:56:35 +07:00
cte
8cbce2ded0 Add provider-agnostic modelMaxThinkingTokens setting 2025-02-27 16:06:47 -08:00
cte
09902904f3 Persist anthropicThinking 2025-02-24 22:08:14 -08:00
Matt Rubens
08aa911e13 Revert "Merge pull request #1125 from hannesrudolph/change_order_apply_diff"
This reverts commit dddac90721, reversing
changes made to 1c9dcaddc4.
2025-02-24 13:25:33 -06:00
Matt Rubens
5a6ca2bef1
Revert "Include the original task in the power steering content" 2025-02-23 23:04:22 -06:00
Matt Rubens
86896a8865 Include the original task in the power steering content 2025-02-23 22:09:12 -06:00
Roo Code
6225994a7c Rename 'write_to_file' tool to 'create_file' across codebase and fixed tests 2025-02-22 20:02:17 -07:00
Roo Code
e134e544a6 Rename 'apply_diff' tool to 'edit_file' across codebase 2025-02-22 18:30:10 -07:00
Matt Rubens
6e55470155 Tweak the debug prompt 2025-02-22 00:06:48 -05:00
Matt Rubens
c0090952d6
Update experiments.test.ts 2025-02-21 19:53:05 -05:00
Matt Rubens
97b67928f0 Add tests 2025-02-21 19:45:29 -05:00
Matt Rubens
5f3ff25d6b Disable writing in ask mode 2025-02-13 01:09:45 -05:00
sam hoang
91fe764cb8 feat: add Requesty API provider support
- Add RequestyHandler implementation for API integration
- Add RequestyModelPicker component for model selection
- Update shared types and messages for Requesty support
- Update API options to include Requesty provider
2025-02-10 20:13:43 +07:00
Matt Rubens
5297cad5e2 Revert "Merge pull request #764 from RooVetGit/slash_switch_modes"
This reverts commit e3d7f25d26, reversing
changes made to 55e8170369.
2025-02-05 00:09:29 -05:00
Matt Rubens
97128bc144 Slash commands for switching modes 2025-02-04 01:08:53 -05:00
Matt Rubens
d836548c19 insert_code_block -> insert_content 2025-01-28 14:36:12 -05:00
sam hoang
ad552ea026 feat: implement experimental features system
- Add experiments.ts to manage experimental features
- Refactor experimental diff strategy into experiments system
- Add UI components for managing experimental features
- Add tests for experimental tools
- Update system prompts to handle experiments
2025-01-28 21:06:33 +07:00
Matt Rubens
5d20477785 Throw FileRestrictionErrors sooner 2025-01-26 02:44:59 -05:00
Matt Rubens
5f8a8887fb Validation fixes 2025-01-24 12:46:10 -05:00
Matt Rubens
6c3c216034 Add test to confirm this works with custom modes 2025-01-24 00:30:24 -05:00
Matt Rubens
7413d6494e Let ask mode write markdown too 2025-01-23 23:48:38 -05:00
Matt Rubens
4e77fb93bb Allow architect mode to write md files 2025-01-23 23:41:47 -05:00
sam hoang
f86e96d157 refactor: separate mode and support prompts
- Rename customPrompts to customModePrompts for mode-specific prompts
- Add new customSupportPrompts type for support action prompts
- Update types to be more specific (CustomModePrompts and CustomSupportPrompts)
- Fix all related tests and component implementations
2025-01-24 01:46:33 +07:00
sam hoang
085d42873c refactor: generalize prompt enhancement into single completion handler
- Rename enhance-prompt.ts to single-completion-handler.ts for better clarity
- Refactor enhancement logic to be more generic and reusable
- Update prompt template handling to use template literals
- Adjust tests and imports accordingly
2025-01-24 01:14:48 +07:00
sam hoang
55a5a97d8b refactor: consolidate code action and enhance prompts into unified support prompts system
- Rename codeActionPrompt to supportPrompt for better clarity
- Move enhance prompt functionality into support prompts system
- Add ENHANCE tab alongside other support prompt types
- Update UI to show enhancement configuration in ENHANCE tab
- Update tests to reflect new unified structure

This change simplifies the prompt system by treating enhancement as another type of support prompt rather than a separate system.
2025-01-24 00:46:20 +07:00
sam hoang
22907a0578 refactor: consolidate prompt functionality into support-prompt module
- Move code action prompts from core/prompts to shared/support-prompt
- Migrate enhance prompt functionality from modes to support-prompt
- Add UI for managing code action prompts in PromptsView
- Update types and interfaces for better prompt management
2025-01-24 00:46:19 +07:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Saoud Rizwan
077fa84374 Add Mistral API provider 2025-01-17 01:11:16 -05:00
Matt Rubens
382d467e64 Add test 2025-01-09 00:21:15 -05:00
Matt Rubens
d1c39c17e9 Add tests 2025-01-08 17:59:22 -05:00