Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
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
.claude feat: edit file lint hook for claude (#6962) 2025-08-05 13:57:45 -07:00
.continue feat: rebrand assistants as agents (#7227) 2025-08-18 16:25:30 -07:00
.github fix: linting, tests 2025-08-27 08:07:11 -07:00
.idea fix: migrate to built-in inline completion API from 2024.1 (#6947) 2025-08-20 09:54:40 -07:00
.vscode fix: update ignore package, rearrange for imports 2025-08-21 15:29:23 -07:00
actions fix: update sha 2025-08-15 14:26:22 -07:00
binary chore(deps): bump form-data from 4.0.0 to 4.0.4 in /binary 2025-08-24 00:00:14 +00:00
core Merge branch 'main' into message-format-migration 2025-08-26 23:05:34 -07:00
docs fix: correct malformed Warning tag in ollama-guide.mdx (#7418) 2025-08-26 15:39:46 -07:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions fix: fix JCEF browser issues (#7291) 2025-08-27 09:37:24 -07:00
gui Merge pull request #7393 from continuedev/dallin/autodetect-naming 2025-08-25 15:02:16 -07:00
manual-testing-sandbox add next edit test cases 2025-06-24 18:13:15 -07:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages feat: add user-friendly way to toggle between FIM and next edit (#7355) 2025-08-26 21:54:29 -04:00
scripts fix: 💚 Fix Builds (#6933) 2025-08-04 10:53:35 -07:00
sync merkel 2024-10-23 10:29:15 +02:00
.continueignore ignore .continue folder 2025-03-08 16:18:51 -08:00
.eslintrc.shared.json add no misused promises rule 2025-06-13 22:09:32 +05:30
.gitignore fix: migrate to built-in inline completion API from 2024.1 (#6947) 2025-08-20 09:54:40 -07:00
.node-version Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.nvmrc Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.prettierignore chore: use prettierignore when formatting 2025-07-25 08:26:17 +05:30
.prettierrc remove border above input box 2024-11-05 08:18:31 -08:00
CLA.md fix: Return the CLA (#6585) 2025-07-16 02:01:42 -07:00
CODE_OF_CONDUCT.md npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
CONTRIBUTING.md feat: rebrand assistants as agents (#7227) 2025-08-18 16:25:30 -07:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
package-lock.json feat: add user-friendly way to toggle between FIM and next edit (#7355) 2025-08-26 21:54:29 -04:00
package.json Add pipe input support for TUI mode with TTY fallback handling 2025-08-18 19:26:57 -07:00
README.md adding jetbrains + vscode changes 2025-08-13 13:53:58 -07:00
SECURITY.md Create SECURITY.md 2025-02-01 01:01:08 -08:00
tsconfig.json .continuerules 2024-12-15 09:30:56 -08:00

Continue logo

Continue

Ship faster with Continuous AI

Build and run custom agents across your IDE, terminal, and CI

Get started in VS Code, JetBrains, or CLI

Agent

Agent to work on development tasks together with AI

agent

Chat

Chat to ask general questions and clarify code sections

chat

Edit

Edit to modify a code section without leaving your current file

edit

Autocomplete

Autocomplete to receive inline code suggestions as you type

autocomplete

Contributing

Read the contributing guide, and join #contribute on Discord.

License

Apache 2.0 © 2023-2024 Continue Dev, Inc.