Commit Graph

22570 Commits

Author SHA1 Message Date
Kirill Kalishev cf3c00a3f3 Merge pull request #13520 from Kilo-Org/snappy-hedgehog
fix(jetbrains): continue failed turns on retry
2026-08-27 18:23:11 -04:00
kirillk 9b92b05d5f fix(jetbrains): measure the failure card text at its painted width
SessionLayout sizes MessageErrorView and then reads its preferred size, but the
wrapper's BorderLayout asked the text area for a preferred size without passing that
width down. A wrapping JBTextArea answered with one unwrapped line, so a long provider
error was clipped to a single-line slot.

Measure at the available width the way the transcript's other text rows already do.
Dropping the caret reset with it: there is no scroll pane around this area, so its only
effect was to let a new failure card yank the transcript scroll to itself.
2026-08-27 18:11:12 -04:00
kirillk b3f68e0a2a fix(jetbrains): warn when a provider ends a response unfinished
A turn whose provider ended the stream without a terminal stop reason closed as
"completed" with no message error and no session error, so the session simply went
idle and the truncated answer had no explanation.

Plumb the assistant finish reason through to the frontend and render a warning
outcome card for "unknown" and "other", with the raw reason on the icon tooltip.
The notice is seeded from history so it survives reopening the session. "length" is
excluded because the CLI already writes a visible warning text part for it.

Also broaden the branch/changes refresh from Idle to any non-busy state, so a turn
that edited files still refreshes the git indicators when it ends incomplete, failed,
interrupted, or in error.
2026-08-27 18:10:43 -04:00
Kirill Kalishev a1c57ff8d1 Merge pull request #13521 from Kilo-Org/sturdy-reef
feat(jetbrains): improve worktree session UX
2026-08-27 18:02:59 -04:00
kirillk 9f6af44149 fix(jetbrains): reword German worktree empty-state hint
'Arbeiten Sie frei' reads as a harsh historical imperative in German.
Use a neutral phrasing that conveys the actual intent: it is safe to
experiment because the main checkout stays untouched.
2026-08-27 17:19:21 -04:00
kirillk dfaa30b0b0 feat(jetbrains): toggle the worktree session list
Add a toggle left of the worktree editor toolbar that shows or hides the
session list. The choice is persisted per worktree through the backend
instead of a single global property, so each worktree reopens the way the
user left it. While the list is hidden the toggle carries the session
count, or the activity icon of a background session that needs the user,
so a pending question stays visible when collapsed.

Give the toolbar strip standard horizontal-toolbar padding on its left,
top and bottom, keeping the right edge flush so the divider still sits
against the header content, and separate the toggle from the toolbar
actions with a vertical separator. The toggle is centred at its own
height rather than tracking the strip, so its hover box matches a regular
toolbar button instead of running edge to edge.
2026-08-27 17:18:22 -04:00
kirillk 56dc51e8a6 fix(jetbrains): recover failed turn state and show retry once 2026-08-27 16:45:11 -04:00
Kirill Kalishev 9b72db37d2 Merge pull request #13396 from Kilo-Org/mighty-acorn
feat(jetbrains): render Mermaid diagrams in chat
2026-08-27 16:40:07 -04:00
kirillk 921bce7cca fix(jetbrains): harden diagram rendering fallbacks and logging
Diagram rendering degraded to the mermaid source correctly for engine
refusals, but three paths could not recover and none of them left a trace
in the log.

Log every failure. An engine crash was converted to a Fault.Internal
carrying only err.message, discarding the throwable, so a parser or layout
bug reached the user as an unactionable red label and left nothing to
report. It now logs with the stack trace, as does a failing completion
callback and a failed image allocation.

Close the fallback holes. The completion callback ran unguarded inside the
render coroutine, so a failure in it was reported as a plugin error and
left the block pending forever. Painters.of used first {}, turning a future
art type without a painter into an exception in both paint and sizing.
Painting itself was unguarded, and by the time it runs the source pane is
already hidden, so a failure left a blank surface with no way back; paint
failures now hand a fallback to the owner, which restores the source.
diagramImage allocated 2x the scene with no ceiling, and Limits caps the
model rather than the geometry, so a legal diagram could ask for a
multi-gigabyte raster on the EDT the moment someone pressed copy.

Bound the work that limits did not cover. Cancellation is only checked
between lines, so one line needed its own cap, and per-index open/quote
scanning is replaced by a single pass because it made a long line
quadratic. FlowMarks was the only phase with no cancellation point at all
and resolved frame members by recursing per cluster, rescanning every node
each time; it now resolves bounds and depth in one reverse pass. The
remaining FlowLayout phases gained per-iteration checks, and a wall clock
ceiling ends a render that outlasts its cooperative checks as a limit
fault instead of an endless "rendering" state.

Unsupported diagram types now read as a muted note rather than an error.
classDiagram, stateDiagram and friends are valid mermaid this engine does
not draw, and marking each one red reported working markdown as broken.
2026-08-27 16:27:43 -04:00
kirillk bac3e7a7a8 fix(jetbrains): surface failed turn errors 2026-08-27 15:34:46 -04:00
kirillk 4801e43127 fix(jetbrains): use standard diagram toolbar icons 2026-08-27 14:18:00 -04:00
kirillk 0ee530d85a fix(jetbrains): refine diagram viewer interactions 2026-08-27 14:04:08 -04:00
kirillk a453e2d231 feat(jetbrains): hint worktree usage on empty session
Show a branch-aware tip under the logo on the empty session screen. On a
plain checkout it nudges toward running the task in a worktree, with
"run it in a worktree" as an inline link that opens the New Worktree
flow. In a worktree it confirms the work is isolated instead.

The tip falls back to the generic welcome whenever a claim would be
wrong: before branch status resolves, when git is missing, and on a
detached HEAD. Read-only surfaces show no tip and skip the fetch.

Branch status now feeds the empty panel as well as the branch dock, so
worktree editor tabs get it too even though they render no dock.

Translate the new strings into all 18 locales. The tip keys carry
placeholders and therefore go through MessageFormat, where a lone
apostrophe silently swallows surrounding text, so KiloBundleLocaleTest
formats every locale for real and checks apostrophe escaping.
2026-08-27 13:58:15 -04:00
kirillk 54b7225c4d fix(jetbrains): repair diagram viewer controls 2026-08-27 13:30:31 -04:00
kirillk e702f2a58a fix(jetbrains): continue failed turns on retry 2026-08-27 12:51:15 -04:00
kirillk d96b1b3c3d fix(jetbrains): label tool window create actions 2026-08-27 12:07:49 -04:00
Igor Šćekić c03a203944 feat(remote): add directory listing and create_session directory (#13497)
* feat(remote): add directory listing and create_session directory

* fix(remote): harden list_directories containment and per-entry skip

* fix(remote): reject a missing directory under a symlinked ancestor

Filesystem.resolve returns the lexical path on ENOENT, so a requested
path whose final component does not exist skipped canonicalization. A
symlinked ancestor that points outside the launch directory then passed
the containment test. Require the target to exist and be a directory
before canonicalizing.
2026-08-27 18:05:31 +02:00
Andrea Giammarchi 78fb1b7a33 Merge pull request #13503 from Kilo-Org/dependabot-babel-core
chore(deps-dev): bump @babel/core from 7.28.4 to 7.29.6 in /packages/opencode
2026-08-27 16:31:10 +02:00
matt wilkie 62998965e9 fix(cli): dedupe plan-mode permission ruleset stacking (#13219)
Co-authored-by: maphew <486200+maphew@users.noreply.github.com>
2026-08-27 15:47:23 +02:00
Marius e3ff6fb902 Merge pull request #13512 from Kilo-Org/support-worktree-references-in-prompts
feat(vscode): add searchable worktree references
2026-08-27 15:46:34 +02:00
kirillk dedd439bef feat(jetbrains): open diagrams in editor tabs 2026-08-27 09:38:58 -04:00
Thomas Boom bb20d34d30 fix(vscode): open files from read tool headers (#12830) 2026-08-27 15:37:12 +02:00
marius-kilocode 6bf338775a refactor(vscode): extract worktree session selectors 2026-08-27 15:03:58 +02:00
marius-kilocode 13a9673d08 feat(vscode): add searchable worktree references 2026-08-27 14:44:04 +02:00
Igor Šćekić 156fb64fdb feat(cli): import cloud transcript on create_session (#13483)
* feat(cli): import cloud transcript on create_session

* fix(cli): satisfy typecheck for in-process cloud import

Provide the helper's effect services from the group context so the
HTTP import handler keeps the base request graph. Map the tagged
helper errors via Effect.match instead of matchEffect.

* refactor(server): remove dead cloud-import error fields

* fix(cli): restore clone workspace files only after attach
2026-08-27 14:33:32 +02:00
marius-kilocode 6fa1cf2296 chore: merge main and preserve worktree deletion guards 2026-08-27 14:08:15 +02:00
Marius 15c3db7634 Merge pull request #13502 from Kilo-Org/show-worktree-running-state
fix(agent-manager): show background worktree activity
2026-08-27 13:40:15 +02:00
marius-kilocode ed80a25d53 refactor(agent-manager): clarify activity snapshot updates 2026-08-27 13:00:20 +02:00
Marius 5ccf4774c3 Merge pull request #13475 from Kilo-Org/fix-windows-git-detection-worktree
fix(vscode): honor configured Git executable for worktrees
2026-08-27 12:33:27 +02:00
marius-kilocode cf0a209229 refactor(agent-manager): isolate failed deletion progress handling 2026-08-27 12:00:33 +02:00
marius-kilocode 672f48fa9e refactor: simplify worktree snapshot cleanup 2026-08-27 11:54:29 +02:00
Andrea Giammarchi 0a9237c7f2 Merge branch 'main' into dependabot-babel-core 2026-08-27 11:51:37 +02:00
marius-kilocode 5a685dd045 fix(agent-manager): handle activity review edge cases 2026-08-27 11:45:56 +02:00
marius-kilocode dbb019c0aa fix(vscode): bound preferred Git activation wait 2026-08-27 11:43:07 +02:00
webreflection 4b6a0c03ec chore(deps-dev): bump @babel/core from 7.28.4 to 7.29.6 in /packages/opencode
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.28.4 to 7.29.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.6/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.29.6
  dependency-type: direct:development
...
2026-08-27 11:39:44 +02:00
marius-kilocode 38dec028b4 chore(agent-manager): keep provider within merged file-size limit 2026-08-27 11:39:18 +02:00
marius-kilocode 094ca1987e fix(agent-manager): show background worktree activity 2026-08-27 11:37:53 +02:00
Marius f273509a68 Merge pull request #13499 from Kilo-Org/improve-prompt-navigator-placement
fix(vscode): reduce prompt navigator interruptions
2026-08-27 11:31:25 +02:00
marius-kilocode 67064b5dfc fix(agent-manager): persist retained session relocation after worktree deletion 2026-08-27 11:30:14 +02:00
kilo-maintainer[bot] 421088864c chore: update kilo-vscode visual regression baselines 2026-08-27 09:27:55 +00:00
marius-kilocode fddaf5fb0e refactor(vscode): clarify prompt rail edge intent 2026-08-27 11:24:37 +02:00
Marius 7b8895a0e3 Merge pull request #13500 from Kilo-Org/fix-streaming-scroll-race
fix(vscode): preserve streaming scroll intent
2026-08-27 10:55:56 +02:00
marius-kilocode c8df9c4a7d fix(vscode): preserve streaming scroll intent 2026-08-27 10:31:27 +02:00
marius-kilocode 97409b0857 fix(agent-manager): recover checkpoint cleanup and blocked deletion states 2026-08-27 10:29:02 +02:00
marius-kilocode 8c0a570222 fix(vscode): reduce prompt navigator interruptions 2026-08-27 10:17:35 +02:00
Marius 6edf1163dd Merge pull request #13493 from maphew/fix/cli-task-empty-result
fix(cli): return the real subagent answer instead of an empty task result
2026-08-27 10:04:46 +02:00
Andrea Giammarchi 9eb9681986 Merge pull request #13487 from Kilo-Org/dependabot-hey-api-openapi-ts
fix(security): @hey-api/openapi-ts updated due dependabot warnings
2026-08-27 10:03:10 +02:00
Marius fcfefc4ce7 Merge pull request #13498 from Kilo-Org/support-review-worktree-agent-manager
feat(agent-manager): scope worktree reviews
2026-08-27 09:59:58 +02:00
Andrea Giammarchi af4d09b755 Merge pull request #13484 from Kilo-Org/dependabot-minimatch
fix(security): minimatch updated due dependabot warnings
2026-08-27 09:43:45 +02:00
Andrea Giammarchi 94f5998f16 Merge pull request #13477 from Kilo-Org/fix/nanoid-security-update
fix(security): nanoid updated due dependabot warnings
2026-08-27 09:43:12 +02:00