Commit graph

4793 commits

Author SHA1 Message Date
chezsmithy
fe8548e55f fix: 🐛 Update tests with longer timeouts 2025-08-27 16:37:23 -07:00
chezsmithy
3a4f683bed fix: 🐛 More cross platform fixes 2025-08-27 16:18:57 -07:00
chezsmithy
149ec1e9af fix: 🐛 Further platform specific test fixes 2025-08-27 15:49:49 -07:00
chezsmithy
e2692cae79 fix: 🐛 Fix platform specific tests 2025-08-27 15:32:03 -07:00
chezsmithy
02718b9343 fix: 🐛 Fix the cli terminal shell 2025-08-27 15:14:39 -07:00
Jakub Blach
a0c9d739ee fix: remove println 2025-08-27 21:47:25 +02:00
Jacob Kim
729b632c83
Merge branch 'main' into jacob/con-3353 2025-08-27 10:22:33 -07:00
Jakub Błach
62f468abf9
fix: fix JCEF browser issues (#7291)
* fix: fix JCEF browser issues

Solves CON-2469
Solves CON-2979

Off-screen rendering is now enabled by default. This is motivated by the fact that most users will benefit from it,
but the minority with issues can disable it in the Continue settings. I believe this is the correct strategy,
because disabling it causes a flickering window for the majority.

Note: I tried to mask it by preloading the HTML with a background color and by changing the background color of the
browser component. That worked, but only reduced the flashing time and didn't completely eliminate the problem.
Enabling Off-screen rendering seems to be the only robust solution.

After decoupling the browser from the toolbar and moving it to a dedicated service, there is now full control over
when and what is initialized. The setting is now applied correctly.

I've noticed that most of the actions require a working, active Continue toolbar.
I've created the `ContinueToolbarAction` abstraction to remove duplicated logic. I've also removed `actions.utils`.

* Fix bug in `CoreMessenger.handleMessage` (some pass-through messages had message type used as message ID)
* Add `browser` package and moved browser-related classes there, including `CustomHandlerFactory` (package `factories` is now removed). `CustomHandlerFactory` implementation is untouched.
* Add `project.getBrowser()` extension method (this is mostly for readability).
* Some loggers now use a shorter identifier (simple class name) without the full package, because our package name is
  unusually long, and it was hard to read the logs.
* Remove commented-out `TerminalActivityTrackingService`.
* Create `JcefErrorPanel` and put `jcef_error.html` there.

* fix: enable OSR by default + remove from settings

* fix: remove ApplyToFileHandlerTest.kt

* fix: attempt to fix CI error + remove outdated JCEF registry options
2025-08-27 09:37:24 -07:00
Nate
c7db5028ab fix: linting, tests 2025-08-27 08:07:11 -07:00
Nate
98633ca007 Merge branch 'main' into message-format-migration 2025-08-26 23:05:34 -07:00
Nate
c7f96c6392 merge 2025-08-26 23:04:15 -07:00
Nate
d580830488 chore: format 2025-08-26 23:03:30 -07:00
Nate
f68015f6de fix: compaction and more refactoring 2025-08-26 23:03:15 -07:00
Nate
1aba0b59a0 fix: allow args.filepath to start with . 2025-08-26 21:50:54 -07:00
Nate
2a7dfb84e5 chore: format 2025-08-26 21:49:54 -07:00
Nate
b6e403b060 fix: compaction and using more of ChatHistoryItem 2025-08-26 21:49:24 -07:00
Nate
09c4e183e5 fix: color of context status 2025-08-26 20:59:50 -07:00
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* fix: HOTFIX local assistant loading (#7354)

* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
2025-08-26 21:54:29 -04:00
Nate
01af8ce6b1 fix: lint errors from core 2025-08-26 18:19:44 -07:00
Nate
c02cf81691 reduce margin 2025-08-26 18:19:30 -07:00
Nate
3c0495a45d feat: icons for plan and auto 2025-08-26 17:28:41 -07:00
Jacob Kim
f3a398d838
Merge branch 'main' into jacob/con-3353 2025-08-26 16:20:02 -07:00
Nate
51f3df5411 feat: truncate Bash output to 5k lines 2025-08-26 15:22:52 -07:00
Nate
95b99281ad fix: type errors 2025-08-26 15:09:09 -07:00
Nate
ebf8ea8006 fix: read file tool allow ./ path format 2025-08-26 14:55:31 -07:00
Nate
6f42bd9749 fix: lint 2025-08-26 14:52:47 -07:00
Nate
98e9e6e55a fix: tests 2025-08-26 14:51:53 -07:00
Nate
48d53e4e9b chore: format and lint 2025-08-26 14:45:07 -07:00
Nate
e95d366e22 refactor session history logic 2025-08-26 14:42:49 -07:00
Nate
b5933cedeb beta, not alpha 2025-08-26 13:34:27 -07:00
Nate
b5b35f0105 session history manager 2025-08-26 13:08:19 -07:00
Nate
189c064e7e SessionIdManager singleton 2025-08-26 12:59:17 -07:00
Nate
a93c39a724 fix: lint error 2025-08-26 11:37:47 -07:00
Nate
48159eecce chore: format 2025-08-26 10:37:19 -07:00
Nate
d631b5c7ed Merge branch 'message-format-migration' of https://github.com/continuedev/continue into message-format-migration 2025-08-26 10:36:26 -07:00
Nate
f9c36e2d2f fix: address feedback 2025-08-26 10:36:24 -07:00
Nate Sesti
8897088bb5
Update extensions/cli/src/ui/IntroMessage.tsx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-26 10:09:28 -07:00
Nate
961050f35f Merge branch 'message-format-migration' of https://github.com/continuedev/continue into message-format-migration 2025-08-26 10:07:50 -07:00
Nate
ea9805120c fix: address feedback 2025-08-26 10:07:47 -07:00
Nate
3d8eb9086d fix: address feedback 2025-08-26 10:05:01 -07:00
Nate Sesti
0ad5e7fe4d
Update extensions/cli/src/session.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-26 09:58:12 -07:00
Nate Sesti
4aae60ed87
Update extensions/cli/src/ui/hooks/useTUIChatHooks.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-26 09:57:32 -07:00
Nate Sesti
68723e6529
Update extensions/cli/src/ui/components/MemoizedMessage.tsx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-26 09:54:49 -07:00
Nate
3612d859d2 fix: use contextItems 2025-08-26 09:53:26 -07:00
Jakub Błach
36fe993a91
fix: add Run Extension (standalone) config (#7329) 2025-08-26 09:30:25 -07:00
Nate
fbed7de2ad chore: format 2025-08-26 09:23:06 -07:00
Nate
a55f362d74 fix: remove injected block 2025-08-26 09:22:50 -07:00
Nate
24c19accfc fix: improved Bash tool description in CLI 2025-08-26 09:22:43 -07:00
Nate
957ae56f74 Merge branch 'main' into message-format-migration 2025-08-26 08:59:23 -07:00
Nate
aaeea41a0b chore: format 2025-08-26 08:55:59 -07:00