Commit graph

15965 commits

Author SHA1 Message Date
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
Jacob Kim
eddb7bf1f2 fix: add a newline accordingly 2025-07-30 09:56:39 -07:00
Brian Douglas
7eac6657c8
chore: add label-merged-prs workflow (#6833)
* chore: add label-merged-prs workflow

* fix: use default GITHUB_TOKEN
2025-07-30 07:42:02 -07:00
Dallin Romney
ecd9e64bef
Merge pull request #6878 from continuedev/bdougie/customization-links
docs: fix broken links in the customization overview page
2025-07-30 20:26:08 +09:00
Brian Douglas
c8639acec5
docs: Fix broken @docs page images and info block (#6879)
* fix: images 404s

* fix: uncomment chromium mention
2025-07-29 18:58:05 -07:00
Jacob Kim
3f1c552169 fix: race condition 2025-07-29 18:54:07 -07:00
Jacob Kim
cf004ba42e feat: consume next editable regions in the queue until we get a suggestion 2025-07-29 18:53:57 -07:00
Jacob Kim
91c89b19da fix: race condition, defensive programming 2025-07-29 18:53:21 -07:00
Jacob Kim
65ebc7b99e feat: generate prompts for new mercury model 2025-07-29 18:52:55 -07:00
Jacob Kim
bded0d389c feat: add mercury-specific functions 2025-07-29 18:52:36 -07:00
Jacob Kim
1fe41e8ca3 feat: support multiple models and new mercury model 2025-07-29 18:52:26 -07:00
Jacob Kim
d6fc9bb3bd chore: remove console.logs 2025-07-29 18:52:08 -07:00
Jacob Kim
eba911ddc1 refactor: move util functions 2025-07-29 18:51:12 -07:00
Jacob Kim
b1a67fe646 feat: add template variables for different next edit models 2025-07-29 18:49:37 -07:00
Jacob Kim
e8a1aadd3a feat: add more tokens 2025-07-29 18:49:20 -07:00
Jacob Kim
da33742bbe feat: delete chain for files closed 2025-07-29 18:49:11 -07:00
Brian 'bdougie' Douglas
e0a6e9094a fix: link to reference 2025-07-29 18:01:02 -07:00
Brian 'bdougie' Douglas
b4fa9569ba docs: fix broken links 2025-07-29 17:57:50 -07:00
Brian Douglas
3fd1dabdcb
docs: fix broken Docs deep dive link (#6877) 2025-07-29 17:56:39 -07:00