Files
Kilo-Org_kilocode/packages/opencode
Marius 41995929cd fix: resolve diff viewer race condition and add diagnostics for Agent Manager (#6352)
* fix: resolve diff viewer race condition and add diagnostics for Agent Manager

onRequestWorktreeDiff now awaits stateReady before resolving the diff
target, preventing a race where startDiffWatch fires before state loads
from disk. Added diagnostic logging to resolveDiffTarget, diff polling,
and the server-side /experimental/worktree/diff endpoint so silent
failures become visible in the output channel.

* fix: guard stateReady await so rejection doesn't break diff polling

* docs: clarify why .catch() is required on stateReady await
2026-02-25 18:07:42 +00:00
..
2026-02-14 04:19:48 +00:00
2026-02-24 19:48:39 +01:00
2026-01-24 12:27:13 -05:00
2026-02-14 04:19:02 +00:00
2026-01-26 14:59:23 +01:00
2026-02-23 11:04:07 -03:00
2026-02-25 12:19:23 +00:00
2026-02-23 20:12:28 +01:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.