Commit graph

69 commits

Author SHA1 Message Date
Nate Sesti
d78fc99087
feat: add Mercury Apply endpoint support to Inception LLM (#7827)
* feat: add Mercury Apply endpoint support to Inception LLM

* refactor: begin to clean up the apply / streamDiff code

* fix: undo commenting out of instant apply

* fix: use underlyingProviderName
2025-09-18 23:44:25 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
1d9a711b4c fix: standardize modelTitle to modelName in VS Code extension
Complete the dev data schema standardization by fixing remaining
references to modelTitle in the VS Code extension:

- VsCodeMessenger.ts: Update editInteraction logging to use modelName
- vertical/manager.ts: Update edit tracking to use modelName
- EditOutcomeTracker.ts: Update interface and logging to use modelName
- QuickEditQuickPick.ts: Fix misleading variable name for consistency

All dev data schemas now consistently use modelName instead of
modelTitle across the entire codebase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 21:26:08 -07:00
uinstinct
02689a7525 fix type 2025-07-01 13:40:01 +05:30
Tomasz Stefaniak
9efd0e128e fix: formatting 2025-06-02 13:51:36 -07:00
Nate
1f5715fb52 lint fix again 2025-06-02 13:04:38 -07:00
Nate
d66bdd9989 npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md
}" --ignore-path .gitignore --ignore-path .prettierignore --write
2025-05-25 18:38:44 -07:00
Dallin Romney
1c44b2549d let -> const 2025-05-02 16:20:26 -07:00
Dallin Romney
c77491aae8 include rules in edit 2025-05-01 12:33:37 -07:00
Dallin Romney
bb2bae3e10 default to current file selection 2025-04-30 00:34:13 -07:00
Nate Sesti
499a8dc567
Merge pull request #4725 from GauravVBhambhani/multiple-range-highlighting
Improved text selection by allowing multiple edit ranges to be highlighted
2025-04-23 16:28:23 -07:00
Dallin Romney
c277890b40 edit prompts 2025-04-10 21:56:04 -07:00
Patrick Erichsen
71ec451899 Update ContextProvidersQuickPick.ts 2025-04-08 22:11:30 -07:00
Patrick Erichsen
ab0e6b22ef Update ContextProvidersQuickPick.ts 2025-04-08 21:42:02 -07:00
Patrick Erichsen
96863db15c remove default model title 2025-04-08 21:35:45 -07:00
Gaurav Bhambhani
8699786d5a Decorate all active edit ranges
If a user selects multiple chunks of code with cmd-I, only the most recent chunk of code is decorated as a selection.

This commit addresses that problem by changing setDecorations to addDecorations, and carefully tracking which ranges are currently active in the EditDecorationManager.

Additionally, overlapping or adjacent ranges are now merged seamlessly to prevent redundant highlights.
2025-03-20 16:15:43 -04:00
Keerthana Panyam
dc33d50c92 edit mode code highlighting fixed to not override cursor selection
When switching to the edit mode and we make a selection of code, it
needs to appear above the highlighting not be obscured by it. In this
fix, instead of using an opaque background colour for the highlighting
decoration, we use a highlighting with opacity so that the selected
code is visible below it
2025-03-06 15:22:28 -05:00
Dallin Romney
1f8cd98bf9 merge staging 2025-02-21 13:53:05 -08:00
Dallin Romney
a0a152e603 fix embed and reranking logic 2025-02-19 12:24:17 -08:00
Dallin Romney
103c685c75 select tab autocomplete model 2025-02-18 23:52:04 -08:00
Dallin Romney
6ccf535ef4 json config roles 2025-02-18 16:11:24 -08:00
Dallin Romney
fd85340cc1 log dev data 2025-01-31 12:17:06 -08:00
Dallin Romney
54a9f24fb0 paths 2025-01-26 16:09:21 -08:00
Dallin Romney
5960d5d32b Data Logger 2025-01-26 15:57:55 -08:00
Nate
9edd5e3e24 Use ConfigResult everywhere 2024-12-24 14:03:23 -05:00
Dallin Romney
25329bbd77 path -> uri continued 2024-12-11 19:15:32 -08:00
Dallin Romney
fe47f45ddf path -> uri extensions/vscode 2024-12-10 21:27:45 -08:00
Dallin Romney
ddfcefa036 path -> ide part 243243 2024-12-10 20:34:21 -08:00
Nate
b155b29397 use custom fetch from separate package 2024-12-08 19:40:59 -08:00
Test
7bffa2dbea feat(gui): improve editor highlights 2024-11-24 20:26:58 -08:00
Dallin Romney
5bb95f5a56 ide -> webview 2024-11-15 12:07:08 -08:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
4cbf0592e4 better file search for prompt files 2024-11-06 11:28:21 -08:00
Nate
3a15607057 esc to exit edit mode 2024-11-01 19:38:02 -07:00
Nate
3d5d43e246 sidebar edit mode! 2024-11-01 19:30:43 -07:00
Nate Sesti
5075c64170
Merge pull request #2576 from kyleli626/log-cmd-I
log quickEdit to devdata
2024-10-25 16:49:50 -07:00
Dallin Romney
b6e6826676 replace tab-autocomplete untrained model error with warning 2024-10-22 15:59:52 +02:00
Kyle Li
7204ea2bd0 log quickEdit 2024-10-18 19:58:09 -07:00
Nate Sesti
43034f81b1
Merge branch 'dev' into tomasz/cmd-i-improvements 2024-10-15 09:03:26 -07:00
Nate
99b767d653 web context provider 2024-10-14 21:14:49 -07:00
tomasz-io
45ca6edd47 clean up code 2024-10-14 17:14:25 +07:00
tomasz-io
fa4d523807 reopen quick accept / reject quick pick when diff exists 2024-10-14 15:56:17 +07:00
tomasz-io
2f5c3a27ce prefill last prompt in the quick pick 2024-10-14 15:07:04 +07:00
Nate
4ad63e04ca fix type error 2024-10-13 11:03:38 -07:00
tomasz-io
0e263a0e02 Improve Cmd + I menu 2024-10-13 21:08:32 +07:00
Nate
55270279f6 apply status and corresponding ui 2024-09-26 20:07:25 -07:00
Test
dd865eadea feat: add "Gathering context..." indicator 2024-09-26 17:02:39 -07:00
Nate
14f936d629 rename verticalPerLineDiff to verticalDiff 2024-09-25 20:38:34 -07:00
Test
158faa1e5e create getModelByRole() util fn 2024-09-19 15:49:25 -07:00
Nate
08b75d52be detect when instant apply allowed 2024-09-18 08:41:39 -07:00