- Rename PermissionNext → Permission across all remaining src/test files
(drain.ts, routes.ts, remote-sender.ts, task.ts, and 5 test files)
- Fix Effect Layer type resolution for makeRunPromise by accepting
Layer<I, E, any> (Effect 4.x beta type inference limitation)
- Add missing imports: Bus/BusEvent in server.ts, useToast in sync.tsx
- Fix OPENCODE_ → KILO_ flag renames missed by merge transforms
(DISABLE_EXTERNAL_SKILLS in skill/index.ts)
- Fix isCodex → isOpenaiOauth rename in session/llm.ts
- Fix PasteEvent.bytes decoding (decodePasteBytes removed from @opentui/core)
- Fix ProviderID branded type indexing with ProviderID.kilo
- Remove redundant windowsHide from pr.ts (handled by Process.spawn)
- Update Skill import paths after skill.ts → index.ts rename
- Restore Skill.remove and Skill.BUILTIN_LOCATION lost during merge
* fix(vscode): handle network offline events to prevent session hangs
When the CLI backend detects a network failure it pauses the session and
waits for a network.reply() call that never came from the VS Code
extension. This caused sessions to hang indefinitely showing
"Considering next steps..." with no way to recover.
Auto-reply to session.network.restored events (matching kilo run
behavior), show "Network disconnected — reconnecting..." status in the
webview, and drain pending network waits on SSE reconnect.
* fix(vscode): scope network wait cleanup to tracked sessions
Clear only network waits belonging to the disposing provider's sessions
instead of clearing all waits globally. This prevents one provider's
disposal from inadvertently cancelling network waits for other active
sessions.
* refactor(network): introduce reference counting for pending network waits
Replace plain session ID tracking with a refcount-based entry so that
multiple providers can independently register interest in the same
network wait. On disposal, each provider decrements the counter and the
wait entry is only removed once no providers reference it.
---------
Co-authored-by: Imanol Maiztegui <imanol.mzd@gmail.com>
- Regenerate openapi.json, types.gen.ts, and sdk.gen.ts to include
branded type patterns (^ses.*, ^msg.*, ^pty.*, ^prt.*, ^wrk.*)
added upstream in v1.2.25, while preserving Kilo Remote/Network routes
- Keep "auth" as primary CLI command name (upstream renamed to "providers"),
added kilocode_change markers with "providers" as alias
- Regenerate CLI docs reflecting new upstream commands (config, completion)
and session list flags (--all, --search)
- Fix RemoteStatusService typecheck: SDK Remote methods now take
optional (directory, workspace) params from global query middleware
Models fetched via the OpenAI-compatible /v1/models endpoint had image
support hardcoded to false because the endpoint provides no capability
metadata. This matches the legacy extension behavior (supportsImages:
true) for custom providers while leaving all other provider defaults
untouched.