Commit graph

15983 commits

Author SHA1 Message Date
Jacob Kim
bc66ca8a58 feat: pass the fullFileDiff flag 2025-08-03 13:10:37 -07:00
Jacob Kim
863f187aa4 feat: add a new diff group creator 2025-08-02 22:43:52 -07:00
Jacob Kim
022d202c78 fix: only make a recursive call when outcome is null 2025-08-02 18:53:40 -07:00
Jacob Kim
d93e5a2e1b feat: try using sliding strategy 2025-08-02 18:53:15 -07:00
Jacob Kim
c3dcacf1a3 fix: simplify logic 2025-08-02 18:53:00 -07:00
Jacob Kim
eba4e0b137 fix: update prompt template 2025-08-02 18:52:48 -07:00
Jacob Kim
1579375550 fix: remove the first two lines generated by createDiff 2025-08-02 18:52:16 -07:00
Jacob Kim
f404a4d5ff feat: add currentFilePath field 2025-08-02 18:52:00 -07:00
Jacob Kim
61d27c530c fix: pass the current file path and a system prompt 2025-08-02 18:51:48 -07:00
Jacob Kim
3c66709ae8 chore: remove console.log 2025-08-02 18:51:20 -07:00
Jacob Kim
2f97143333 feat: add a sliding window strategy 2025-08-02 18:51:06 -07:00
Jacob Kim
da3876adc0 feat: abort prefetch queue 2025-08-01 11:11:46 -07:00
Jacob Kim
6a0eaa472c refactor: move event to selection change manager 2025-08-01 10:37:14 -07:00
Jacob Kim
b784a2913a chore: fix comments 2025-08-01 10:34:50 -07:00
Jacob Kim
562dddd08a refactor: add lots of docs 2025-08-01 10:33:37 -07:00
Jacob Kim
65685335e2 refactor: remove unused command 2025-08-01 10:33:18 -07:00
Jacob Kim
03fbf74160 refactor: clean up jump manager logic 2025-08-01 10:32:33 -07:00
Jacob Kim
878fb9474f feat: set up event handler for selection changes 2025-07-31 19:24:35 -07:00
Jacob Kim
b324391e35 feat: add event registration methods 2025-07-31 19:24:18 -07:00
Jacob Kim
201e34c0eb feat: add a global selection change manager to handle text selection events in an event bus 2025-07-31 19:24:01 -07:00
Jacob Kim
300377eaf3 feat: add more helper functions to JumpManager 2025-07-31 17:46:44 -07:00
Jacob Kim
68beae55b5 refactor: move the next editable region list to prefetch queue 2025-07-31 17:46:28 -07:00
Jacob Kim
90d07b4b4a feat: integrate prefetch queue and refactor 2025-07-31 17:45:59 -07:00
Jacob Kim
375b19a70c feat: create prefetch queue 2025-07-31 14:56:27 -07:00
Jacob Kim
f6e5198cfa feat: add a prefetch queue class 2025-07-30 18:06:02 -07:00
Jacob Kim
2cbfe9748f fix: model should now recompute outcome at each next edit location 2025-07-30 17:28:29 -07:00
Tomasz Stefaniak
09cbcdba55
Merge pull request #6896 from continuedev/jacob/con-3081
feat: handle more next edit models
2025-07-30 15:56:46 -07:00
Jacob Kim
cb6b819dea fix: restore launch settings 2025-07-30 15:29:15 -07:00
Jacob Kim
484b4833c1 fix: prettier 2025-07-30 15:29:06 -07:00
Jacob Kim
bd3288e751 chore: delete comments 2025-07-30 15:27:03 -07:00
Jacob Kim
0191f986bc Merge branch 'main' of github.com:continuedev/continue into jacob/con-3081 2025-07-30 15:18:28 -07:00
Tomasz Stefaniak
db43622820
Merge pull request #6843 from continuedev/jacob/enhancement/next-editable-region
feat: chain of next edits
2025-07-30 15:16:31 -07:00
Jacob Kim
5ffcaaa2e2 refactor: use named argument 2025-07-30 15:03:15 -07:00
Jacob Kim
88d9b6f190 test: add vitest for DocumentHistoryTracker 2025-07-30 14:56:39 -07:00
Jacob Kim
de5450376b fix: handle empty map cases properly 2025-07-30 14:56:31 -07:00
Patrick Erichsen
c82df8ab6e
docs: add info on sys msg for plan + agent mode (#6829)
* Update reference.mdx

* Update reference.mdx

* Update reference.mdx

* Update how-to-customize.mdx
2025-07-30 14:56:21 -07:00
Ty Dunn
f696fd53b9
fix rules deep dive docs link (#6764) 2025-07-30 14:53:46 -07:00
Jacob Kim
87d35f1751 test: add vitest for JumpManager 2025-07-30 14:47:18 -07:00
Patrick Erichsen
216da21c67
feat: make tool policy alert sticky (#6872) 2025-07-30 14:37:48 -07:00
Nate Sesti
f66df60a2d
Add configurable interval option to oneper cron setup (#6849)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-30 11:31:32 -07:00
Jakub Błach
b33726fa95
fix: apply Sentry and PostHog telemetry settings correctly (#6894)
* fix: apply Sentry and PostHog telemetry settings correctly

Now we are very strict about telemetry config. If anything fails (plugin service is null, no/invalid config response, etc.), the flag falls back to false.

More details:
* Because we need to poll settings ourselves (via getSerializedProfileInfo), I created a new service that holds that setting.
* This service implements an interface to allow separation that enables us to write unit tests. Unit tests only cover PostHog telemetry behavior. I tried to write tests for Sentry, but it’s problematic because the initialization is static and I couldn’t mock it (mockkStatic doesn’t work). I decided not to spend more time on it, especially since the telemetry checks are identical to PostHog (it's just `if`). I think that should be enough.
* Status polling is lazy, so as long as no one asks for allowAnonymousTelemetry (so if no error occurs), polling is inactive. This is a side effect of having it as a service, but I think it’s a nice feature in this context.
* If telemetry is disabled but the user submits an error via the Report to Continue dialog, will be sent anyway (because this is an explicit decision). This action is one-time and does not change the global telemetry settings.

To summarize, we now have three services:

* ContinueTelemetryStatusService - holds state in a non-blocking way and handles polling itself
* ContinuePostHogService - previously TelemetryService
* ContinueSentryService - previously ContinueErrorService

* fix: retrieve telemetry status service from the first project
2025-07-30 11:19:44 -07:00
Jacob Kim
4f3c176762 fix: prettier 2025-07-30 10:58:02 -07:00
Jacob Kim
3dc8ca45bb Merge branch 'main' of github.com:continuedev/continue into jacob/enhancement/next-editable-region 2025-07-30 10:38:42 -07:00
Jacob Kim
ec26d5719d refactor: it's easier to test next edit without the minus 2025-07-30 10:18:10 -07:00
Jacob Kim
850b9611c3 Merge branch 'main' of github.com:continuedev/continue into jacob/feature/new-prompt-template 2025-07-30 10:17:27 -07:00
Jacob Kim
884bc7ef26 test: add vitest for NextEditPromptEngine 2025-07-30 10:16:00 -07:00
Jacob Kim
8e0811ac43 chore: delete comment 2025-07-30 10:15:48 -07:00
Jacob Kim
7a0d44a7ff test: add vitest for utils 2025-07-30 10:00:39 -07:00
Jacob Kim
affe6abe1a refactor: remove unused function 2025-07-30 10:00:29 -07:00
Jacob Kim
cdce820030 test: add vitest for mercuryCoderNextEdit 2025-07-30 09:56:53 -07:00