Commit Graph

2064 Commits

Author SHA1 Message Date
Matt Rubens
f5dfa8a486 Add snapshot tests for system prompts to ensure modifications are intentional 2025-01-09 23:01:12 -05:00
Daniel Riccio
ab31aea551 refactor: enhance context handling and confidence validation in edit strategies
- Improved the applyContextMatching function to better track context lines and handle changes more accurately.
- Updated the applyEdit function to enforce a stricter confidence check, now requiring a confidence level of 1 for successful edits.
- Refined the processing logic for addition and removal changes, ensuring more reliable diff application.
- Enhanced debugging capabilities with clearer logging and validation checks for edit results.
2025-01-09 16:38:32 -05:00
Mike C
bcebba8dd8 Merge pull request #307 from RooVetGit/chore/ovsxPublish
adding ability to publish to OVSX as part of publish workflow
2025-01-09 12:39:49 -06:00
ColemanRoo
1a165522aa adding ability to publish to OVSX as part of publish workflow 2025-01-09 12:34:58 -06:00
Matt Rubens
f7759c1be5 Merge pull request #295 from RooVetGit/add_coverage
Add test coverage
2025-01-09 12:34:05 -05:00
Matt Rubens
0429cc5d97 Merge pull request #304 from RooVetGit/windsurfrules
Read in conventions from .windsurfrules files as well
2025-01-09 12:33:43 -05:00
Daniel Riccio
5351b3d981 refactor: improve the prompt to prevent absurd amounts of context being generated 2025-01-09 12:05:36 -05:00
Matt Rubens
e8b9d90ac8 Merge pull request #306 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-09 10:52:35 -05:00
R00-B0T
16e1191d97 Updating CHANGELOG.md format 2025-01-09 15:49:42 +00:00
github-actions[bot]
4d9aff1e24 changeset version bump 2025-01-09 15:49:02 +00:00
Matt Rubens
748556528a Merge pull request #305 from RooVetGit/only_load_context_in_user_input
Only load context and parse @-mentions in user input
2025-01-09 10:47:56 -05:00
Matt Rubens
48edfe6689 Only load context and parse @-mentions in user input 2025-01-09 10:40:38 -05:00
Matt Rubens
382d467e64 Add test 2025-01-09 00:21:15 -05:00
Matt Rubens
9183244c28 Warnings and error handling 2025-01-09 00:11:53 -05:00
Matt Rubens
d1c39c17e9 Add tests 2025-01-08 17:59:22 -05:00
Matt Rubens
7137f8c528 Spacing adjustments 2025-01-08 17:28:32 -05:00
Daniel Riccio
44dc489e49 revert: lower the confidence levels 2025-01-08 17:18:09 -05:00
Daniel Riccio
9591ae062a Refactor edit strategies and confidence validation in unified diff processing
- Enhanced the applyContextMatching and applyDMP functions to improve handling of context and edit changes.
- Updated confidence validation logic to ensure stricter checks, now requiring a minimum confidence of 1 for successful edits.
- Refined the way changes are processed, including better tracking of removal and addition changes.
- Improved the validation of edit results by incorporating strategy-specific checks and logging for better debugging.
- Adjusted the applyEdit function to ensure strategies are applied in a more robust manner, with clearer handling of debug mode.
2025-01-08 17:13:46 -05:00
RaySinner
d5fd2bbb82 merge: resolve conflicts after upstream merge 2025-01-08 23:47:26 +03:00
Daniel Riccio
995692c48e Improve strategies and confidence system 2025-01-08 12:28:31 -05:00
Matt Rubens
f12c342cf4 Merge pull request #300 from RooVetGit/changeset-release/main
Changeset version bump
2025-01-08 08:58:18 -05:00
R00-B0T
a4b685a8dc Updating CHANGELOG.md format 2025-01-08 13:52:04 +00:00
github-actions[bot]
278017e99e changeset version bump 2025-01-08 13:51:24 +00:00
Matt Rubens
23fd205766 Merge pull request #297 from RooVetGit/api_config
Save different API configurations to quickly switch between providers and settings
2025-01-08 08:50:23 -05:00
Matt Rubens
9d16006af9 Update shiny-seahorses-peel.md 2025-01-08 04:56:47 -05:00
RaySinner
58bc329481 refactor: update API options and remove unused type definitions 2025-01-08 10:36:14 +03:00
Matt Rubens
41beb77451 Read in conventions from .windsurfrules files as well 2025-01-08 01:43:27 -05:00
Matt Rubens
fd075505e6 Disable the API config dropdown in sync with the chat textarea 2025-01-08 00:32:46 -05:00
Matt Rubens
11612caac0 Just make a copy when adding a new profile 2025-01-08 00:01:39 -05:00
Matt Rubens
16495560d7 Add test 2025-01-07 23:42:06 -05:00
Matt Rubens
9e8f8be5e1 Handle image blocks when switching to a model that doesn't support them 2025-01-07 23:36:28 -05:00
Matt Rubens
66055f10a2 Fix issue where MCP toggle turns off other checkboxes 2025-01-07 23:23:26 -05:00
Matt Rubens
5f3ace4379 Minor code cleanup 2025-01-07 22:38:54 -05:00
Matt Rubens
525b7424fe Cleanup the welcome screen to be less Claude focused 2025-01-07 22:31:08 -05:00
Matt Rubens
2cffbc860b Tweak thumbnail display 2025-01-07 20:30:23 -05:00
Matt Rubens
bb774e17eb Release 2025-01-07 20:14:12 -05:00
sam hoang
f39eaa14ff fix: sync model picker search terms with selected models
Added useEffect hooks to GlamaModelPicker, OpenAiModelPicker, and OpenRouterModelPicker components to ensure the search term stays synchronized with the selected model ID from apiConfiguration. This prevents the search term from getting out of sync when the model is changed.
2025-01-07 20:11:26 -05:00
sam hoang
921f8844eb fix: config manager not update when model, key, another optionn... 2025-01-07 20:10:15 -05:00
Matt Rubens
20322af5df Delete confirmation tweak 2025-01-07 20:10:15 -05:00
sam hoang
3346844584 fix: change provider not update without done, update chatbox change provider from MrUbens 2025-01-07 20:10:14 -05:00
Matt Rubens
c3fa10b367 UI cleanup 2025-01-07 20:09:56 -05:00
sam hoang
840276b297 chore: remove verbose log 2025-01-07 20:09:56 -05:00
sam hoang
352f34d8ce feat: config manager using secret store 2025-01-07 20:09:55 -05:00
Daniel Riccio
594481643b Add New Unified Diff Strategy Implementation
- Introduced a new unified diff strategy with support for context matching, DMP, and Git-based edits.
- Implemented helper functions for parsing unified diffs and evaluating similarity.
- Added types for changes, hunks, and diffs to enhance type safety.
- Created a main edit function that applies strategies sequentially based on confidence levels.
- Included detailed descriptions and usage examples for the new strategy.
2025-01-07 19:01:12 -05:00
Daniel Riccio
2857dd4996 Refactor test cases in search-replace and unified strategies to use async/await for applyDiff method, ensuring consistent handling of asynchronous operations across all tests. 2025-01-07 19:00:29 -05:00
Daniel Riccio
70cf27071b Refactor applyDiff methods in search-replace and unified strategies to return Promises for asynchronous handling 2025-01-07 18:59:55 -05:00
Daniel Riccio
420c6c72dd Replace SearchReplaceDiffStrategy with NewUnifiedDiffStrategy in getDiffStrategy function 2025-01-07 18:59:16 -05:00
Daniel Riccio
612d7020f3 Add unit tests for NewUnifiedDiffStrategy 2025-01-07 18:58:23 -05:00
Daniel Riccio
4356cffb0d Refactor applyDiff method to return a Promise and add logging for diff results 2025-01-07 18:57:40 -05:00
Daniel Riccio
6bcde01778 Update package dependencies: add new type definitions and libraries 2025-01-07 18:56:03 -05:00