Commit graph

4471 commits

Author SHA1 Message Date
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
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
90d07b4b4a feat: integrate prefetch queue and refactor 2025-07-31 17:45:59 -07:00
Jacob Kim
2cbfe9748f fix: model should now recompute outcome at each next edit location 2025-07-30 17:28:29 -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
87d35f1751 test: add vitest for JumpManager 2025-07-30 14:47:18 -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
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
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
Ting-Wai
180f09aee5
Merge pull request #6844 from continuedev/tingwai/fix-docs
docs: fix vscode marketplace broken links and readme wording
2025-07-29 14:07:09 -07:00
Ting-Wai To
f5f23439d4 Merge branch 'main' into tingwai/fix-docs 2025-07-29 13:37:52 -07:00
Patrick Erichsen
901bbf92a3 update commit checks 2025-07-29 13:15:16 -07:00
Jacob Kim
0485aa1f28 fix: merge 2025-07-29 09:52:45 -07:00
Patrick Erichsen
3a90ff55b6 Update NextEdit.skip.ts 2025-07-29 09:50:48 -07:00
Patrick Erichsen
9e7eeccace
Merge branch 'main' into pe/oneper-pt-2 2025-07-29 09:46:59 -07:00
Jacob Kim
5fae14b8f0 Merge branch 'main' of github.com:continuedev/continue into jacob/enhancement/next-editable-region 2025-07-29 09:46:42 -07:00
Jacob Kim
3592cd40b2
Merge pull request #6754 from continuedev/jacob/feature/latent-nes
Jacob/feature/latent nes
2025-07-29 09:44:19 -07:00
Patrick Erichsen
415faef820 skip flaking tests 2025-07-29 09:42:23 -07:00
Nate
aa3a723848 chore: bump to 71 2025-07-29 00:02:50 -07:00
Patrick Erichsen
fb324f1f8d Update prepackage.js 2025-07-28 21:12:48 -07:00
Patrick Erichsen
bbb1cda07c add timer logs to prepackage 2025-07-28 21:11:40 -07:00
Patrick Erichsen
094c8bb6bf Update package.js 2025-07-28 20:57:23 -07:00
Jacob Kim
2011603e93 fix: skip next edit e2e for now 2025-07-28 19:35:12 -07:00
Nate
f659aa69bb Bump version to 1.1.70 2025-07-28 18:36:22 -07:00
Nate
2fc7106c6f test: skip next edit e2e test due to flake 2025-07-28 18:17:25 -07:00
Ting-Wai To
c9ad52599b docs: fix vscode marketplace broken links and readme wording 2025-07-28 17:04:11 -07:00
Jacob Kim
a265cbd5cb chore: bump version 2025-07-28 16:47:41 -07:00
Jacob Kim
f93a18e390 feat: pass end line 2025-07-28 16:46:22 -07:00
Patrick Erichsen
78334571d2 Merge latest main changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:39:41 -07:00
Jacob Kim
afa6320149 Merge branch 'main' of github.com:continuedev/continue into jacob/enhancement/next-editable-region 2025-07-28 16:29:39 -07:00
Jacob Kim
885654ede2 test: add vitest for GhostTextAcceptanceTracker 2025-07-28 15:53:14 -07:00
Jacob Kim
f68bf5759f refactor: clean up 2025-07-28 15:34:51 -07:00
Jacob Kim
6ead0a5b0a
Merge branch 'main' into jacob/feature/latent-nes 2025-07-28 15:33:01 -07:00