Commit graph

219 commits

Author SHA1 Message Date
Dallin Romney
400fefc1e3 fix: prevent security file reads cleanup 2025-08-21 14:18:53 -07:00
Dallin Romney
30c4cc1469 feat: prevent unsafe file reads 2025-08-21 13:40:03 -07:00
Jacob Kim
83b5a3c14f
feat: wrap each recently viewed code snippet inside a token block (#7269)
* feat: wrap each recently viewed code snippet inside a token block

* fix: update vitest

* fix: update test
2025-08-20 21:00:32 -04:00
Jacob Kim
c37c8111f7
feat: check for model before using full file diffs (#7222)
* fix: Excerpts -> Excerpt

* fix: test for Excerpt instead of Excerpts

* feat: add a public method to update usingFullFIleDiff

* feat: use full file diff for mercury only

* chore: remove console.log

* docs: add jsdocs

* refactor: use enums and const
2025-08-19 14:35:54 -04:00
Jacob Kim
c766bb060b
feat: fix the next edit provider to use the new edit endpoint (#7233)
* feat: handle new model output format

* feat: remove trailing user prompt
2025-08-19 03:22:35 -04:00
Jacob Kim
f5a69ea945 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3563 2025-08-18 21:55:51 -07:00
Jacob Kim
14e73dd6ad feat: only send user prompt 2025-08-18 21:53:53 -07:00
Jacob Kim
1e7aeeabbc feat: add prompt generation templates for mercury-coder 2025-08-18 18:53:19 -07:00
Jacob Kim
0358717d06 feat: use enums instead of strings 2025-08-18 18:52:56 -07:00
Jacob Kim
2efdf38a17 feat: add mercury-coder specific constants 2025-08-18 18:52:08 -07:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
Jacob Kim
6430a84c5c
fix: next edit renders that should render decorations will render them properly (#7160)
* fix: passing next edit requests will render things

* chore: remove comment

* feat: skip whitespace only deletions

* feat: add a utility function for checking if a diff is a whitespace only deletion

* feat: add test for next edit utils

* feat: move filtering to NextEditProvider

* fix: escape newline properly

* feat: make jump decoration more visible

* feat: remove redundant escapes

* fix: undo the escapeSVG

* fix: update tests

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* feat: improve next edit UI (#7167)

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* fix: allocate more memory for the GUI build step

* fix: set flag as node options

* fix: jump scrolls only after accepting

* fix: update jump manager vitest
2025-08-15 15:18:17 -04:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
b8e4e95487 fix: resolve TypeScript errors after dev data schema changes
- Update test data to use modelName instead of modelTitle in log.vitest.ts
- Add missing modelProvider and modelName to nextEditWithHistory event logging

Resolves CI failures from schema standardization changes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 21:00:51 -07:00
Jacob Kim
3606665992
feat: add more next edit endpoints to protocol (#7110)
* feat: add endpoint handlers in core

* feat: export interface

* feat: update protocol to support more next edit endpoints

* feat: add new next edit endpoints to passthrough

* feat: support new next edit endpoints to jetbrains
2025-08-12 21:25:01 -04:00
Jacob Kim
db14da1cbe fix: update test using the latest editDiffHistory 2025-08-12 13:54:35 -07:00
Jacob Kim
d5860296fb feat: add debugging log method to peek first three 2025-08-12 13:41:44 -07:00
Jacob Kim
f249c23f8a fix: skip redundant calculation 2025-08-11 19:19:30 -07:00
Jacob Kim
72399ca5cc feat: use a list of diffContexts instead of a single one 2025-08-11 18:20:05 -07:00
Jacob Kim
c34b1d82b1 feat: diffContext is now an array 2025-08-11 18:19:35 -07:00
Jacob Kim
3b878986c5 feat: sliding jump starts at the cursor line and expands outwards 2025-08-11 17:45:57 -07:00
Jacob Kim
10d4d4cda0 fix: editedCodeWithTokens uses the processed context block 2025-08-11 17:45:27 -07:00
Jacob Kim
d1f06da04e refactor: rename model 1 to instinct 2025-08-11 17:44:11 -07:00
Jacob Kim
ea02b4b446 test: update test 2025-08-08 15:16:45 -07:00
Jacob Kim
43dd4f622e fix: prompt and userEdits 2025-08-08 15:16:38 -07:00
Jacob Kim
15a78628f0 test: update test 2025-08-08 15:16:16 -07:00
Jacob Kim
3c5d91aaaa feat: add hunk to prompt 2025-08-08 15:16:09 -07:00
Jacob Kim
4cfe12f5e0 test: update test 2025-08-08 15:13:56 -07:00
Jacob Kim
9937209bb7 feat: add hunk details to metadata 2025-08-08 15:13:48 -07:00
Jacob Kim
5314fcbe25 test: update test 2025-08-08 12:30:02 -07:00
Jacob Kim
fc08da2c29 refactor: pass window range as well 2025-08-08 12:29:37 -07:00
Jacob Kim
7106c9dd15 feat: use 5 lines as context 2025-08-08 12:15:59 -07:00
Jacob Kim
345e90eb28 fix: use proper import aliases 2025-08-08 12:15:45 -07:00
Jacob Kim
4a6fe51fe2 feat: enrich model request with system and user prompt prefix 2025-08-08 12:10:44 -07:00
Jacob Kim
65cd7d47aa fix: recover from bad merge 2025-08-08 11:17:05 -07:00
Jacob Kim
3c0a9031e6 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3231 2025-08-08 11:16:06 -07:00
Jacob Kim
59a37c9540 fix: handle cases where filename includes spaces 2025-08-08 11:10:39 -07:00
Jacob Kim
5918041cc0 test: add vitest for diffFormatting 2025-08-08 11:10:22 -07:00
Jacob Kim
109ef6e70d feat: add helper to get metadata from unified diff 2025-08-08 11:05:44 -07:00
Jacob Kim
5e38626a34 test: add vitest for templating 2025-08-08 11:05:26 -07:00
Jacob Kim
faa6c0f6c5 test: add vitest for helper functions 2025-08-08 11:04:56 -07:00
Jacob Kim
534e453184 feat: add a helper function to parse contextSnippets 2025-08-08 10:31:28 -07:00
Jacob Kim
b4c7df46cd feat: replace field 2025-08-08 10:30:30 -07:00
Jacob Kim
db87e89126 feat: use contextSnippets instead of recentlyViewedCodeSnippets 2025-08-08 10:30:01 -07:00
Jacob Kim
92f60e2d15 feat: add to autocomplete context on small edit 2025-08-08 10:29:05 -07:00
Jacob Kim
1c41a7fd70 feat: keep track of autocomplete context 2025-08-08 10:28:18 -07:00
Jacob Kim
55f081c206 feat: edit template 2025-08-07 15:41:17 -07:00
Jacob Kim
a736bcce0e feat: add more fields to template 2025-08-07 15:40:48 -07:00
Jacob Kim
eae28a87c1 feat: add more to context 2025-08-07 15:40:34 -07:00
Jacob Kim
326785f022 feat: add tokens 2025-08-07 15:40:24 -07:00