Commit graph

4835 commits

Author SHA1 Message Date
Nate
e2bb07bc03 fix tests 2025-08-31 17:28:43 -07:00
Nate
b281c4a9c8 fix test 2025-08-31 16:33:20 -07:00
Nate
035706d51a chore: format 2025-08-31 16:02:43 -07:00
Nate
38eb3ece2d fix: clean up 2025-08-31 16:01:51 -07:00
Nate
30de57993c fix: truncate to last user or tool call msg 2025-08-31 14:22:11 -07:00
Nate
276e39eb84 fix: don't handle streamed response if aborted 2025-08-31 14:14:41 -07:00
Nate
8517fd57bd feat: pause and resume 2025-08-31 13:39:17 -07:00
Nate
141b3e9193 feat: show session title in /info output 2025-08-31 13:14:28 -07:00
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
John Landa
457195484a
feat: Add Tetrate Agent Router Service as a provider (#7136)
feat: Add TARS as a provider

Update gui with TARS provider

Change default model to gpt-5 mini
2025-08-29 13:11:17 -07:00
Nate
4e1d2bdea3 chore: format 2025-08-29 08:24:55 -07:00
Nate
9ed7001ae3 fix: /help tests 2025-08-28 20:37:10 -07:00
Nate
f9ccbb91c5 fix: improved /help slash command 2025-08-28 20:18:16 -07:00
Nate
f2fd3642ff fix: don't add system message on tool call errors in serve 2025-08-28 19:48:50 -07:00
Nate
fd28a3f75d fix: failed tool result update in serve 2025-08-28 19:26:54 -07:00
Nate
e95397d745 fix: remove unecessary serve callbacks 2025-08-28 19:18:26 -07:00
Nate
61d0413857 fix: update serve stream callbacks 2025-08-28 19:12:51 -07:00
Nate
798791ae46 fix: update serve stream callbacks 2025-08-28 19:01:38 -07:00
Nate
0d55225d8f fix: trimEnd tool summary for Bash 2025-08-28 17:59:44 -07:00
Nate
2ee84a18d1 fix: use Session type for cn serve / remote 2025-08-28 17:59:35 -07:00
Nate
f40b72807e fix: use on prem proxy 2025-08-28 14:00:52 -07:00
Nate
dff18c834b fix: truncate bash output lines 2025-08-28 14:00:09 -07:00
Nate
5309daecd3 chore: bump package.json 2025-08-27 22:32:30 -07:00
Nate Sesti
7ad698c774
Merge pull request #7435 from continuedev/generate-message-titles-in-cli
feat: Generate message titles in CLI
2025-08-27 22:29:00 -07:00
Nate
fcaa80f445 fix: lint, etc 2025-08-27 22:16:05 -07:00
Nate
71403237f3 fix tsts 2025-08-27 22:08:24 -07:00
Nate
4d3b2f19ed fix: linting and address feedback 2025-08-27 21:42:39 -07:00
Nate
626a3c66a0 fix: types, imports, and formatting 2025-08-27 21:32:23 -07:00
Nate
d1c4e64580 fix remove old tests 2025-08-27 21:08:02 -07:00
Nate
8d1dc7ff41 fix: build problems 2025-08-27 21:07:57 -07:00
Nate
6a6a0b388e fix: delete unecessary build options 2025-08-27 15:58:32 -07:00
Nate
f69ba17678 fix: SystemMessageService so that system message updates with mode changes 2025-08-27 15:57:40 -07:00
Jacob Kim
200c2931f2
fix: JetBrains QoL improvement and bugfixes (#7438)
* fix: add focus recovery

* fix: add focus recovery for jump

* fix: title does not contain hyphens

* fix: font size uses pt instead of px

* fix: line height is respected

* fix: use red highlights alongside red strikethroughs

* chore: bump version

* fix: scroll only after accepting

* chore: cleanup

* chore: cleanup

* feat: use white border and dark border depending on the theme

* chore: cleanup

* feat: pass uuid to next edit window manager

* feat: implement logging
2025-08-27 15:32:29 -07:00
Dallin Romney
f538f22aa0
Merge pull request #7007 from shssoichiro/docs-status-display
feat: improvements to docs indexing status visibility
2025-08-27 15:26:33 -07:00
Nate
f018112d39 fix: correctly handle failed tool calls 2025-08-27 15:05:10 -07:00
Nate
3edec65985 feat: \ + enter for new line 2025-08-27 13:57:48 -07:00
Nate
a46ce4327f fix: update plan mode system message again 2025-08-27 13:44:01 -07:00
Nate
5f61503e7f fix: update plan mode system message 2025-08-27 13:43:10 -07:00
Nate
6ab59ad1d2 feat: more info in /info slash command 2025-08-27 13:38:26 -07:00
Nate
27e016e47f fix: show ascii art in static area 2025-08-27 13:32:55 -07:00
Nate
d0ab8b5e91 chore: format 2025-08-27 11:27:42 -07:00
Nate
e611cb6206 fix: start a new session on /clear 2025-08-27 11:24:57 -07:00
Nate
ed52c875e4 fix: improve org switching experience 2025-08-27 11:10:26 -07:00
Nate
2b089bc83d fix: solve bug loading organization visibility assistants 2025-08-27 11:10:10 -07:00
Nate
04cd89775e feat: generate session titles 2025-08-27 11:09:26 -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
711445aac7 fix: multi-line bash tool call formatting 2025-08-27 09:07:27 -07:00
Nate
c7db5028ab fix: linting, tests 2025-08-27 08:07:11 -07:00