Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
Jakub Błach 35f2d9de0b
fix: recover Continue process after unexpected exceptions (#7463)
Solves CON-3587
Solves #7018
Solves #7121
Solves #5505
Solves #3981, and possibly other Stream closed-like errors

## Main change

Now, if some exception bubbles up at any stage (whether it's read, write, anything else within `processScope`), we catch it via `CoroutineExceptionHandler` and we restart the process + back-off. Type of exception is not important / now it's more like black-box approach.

This simplifies things quite a bit, since we now have only single piece of code for process recovery.

## Detailed changes

* The process now recovers from exceptions globally, without specifying the type of exception (more of a black-box approach).
* Remove `CoreMessengerManager`, since process recovery is now implemented in `ContinueProcessHandler`.
* Add a back-off utility for calculating delays between process recovery retries (just a cleanup).
* Restore `ContinuePluginService.dispose()` (because `Disposable` was accidentally removed during the last changes in the Next Edit - that's not critical, but it was causing exceptions when closing the application/during plugin disposal).
* Remove the artificial delay between reading messages (from now on, blocking happens directly on `readLine`).
2025-08-29 15:37:07 -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 Reduce test flake (#7470) 2025-08-29 15:21:07 -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 refactor: next edit model provider rename (#7469) 2025-08-29 15:21:26 -07:00
docs feat: Add Tetrate Agent Router Service as a provider (#7136) 2025-08-29 13:11:17 -07:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions fix: recover Continue process after unexpected exceptions (#7463) 2025-08-29 15:37:07 -07:00
gui chore: remove unused search and replace tool (#7487) 2025-08-29 15:18:40 -07:00
manual-testing-sandbox refactor: it's easier to test next edit without the minus 2025-07-30 10:18:10 -07:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages chore: packge-lock again 2025-08-27 11:25:04 -07: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 fix: Add ModelRecommendations component for central updating (#7457) 2025-08-29 11:11:43 -07:00
package.json fix: Add ModelRecommendations component for central updating (#7457) 2025-08-29 11:11:43 -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.