Commit Graph
665 Commits
Author SHA1 Message Date
Johnny Amancio 8bcdb1377b fix: fix npm scope prefix and Windows ARM64 binary name. Also resolve typecheck issues 2026-04-09 21:58:21 +02:00
Johnny Amancio 3c65d939c1 Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-09 21:11:42 +02:00
Johnny Amancio 029eb638f6 fix: Remove per-gitdir mutex lock from snapshot operation 2026-04-09 19:40:09 +02:00
Marian Alexandru Alecu de79452f5a Merge pull request #7578 from Kilo-Org/kilocode-cli-resume-after-sleep
feat(cli): pause and resume on network errors
2026-04-09 18:37:17 +03:00
Evgeny Shurakov da85ca69e1 Merge pull request #8209 from Kilo-Org/eshurakov/puddle-beret
VSCode - Remote control and focused/open session tracking in heartbeat
2026-04-09 16:39:13 +02:00
kiloconnect[bot] 060822724e refactor(cli): add kilocode_change markers and extract bedrock tests
Add kilocode_change markers to the Bedrock Claude condition in
transform.ts to ease upstream merges. Move the bedrock-specific
tests to test/kilocode/ so the shared transform.test.ts stays
closer to upstream and reduces merge conflicts.
2026-04-09 13:32:11 +00:00
Mark IJbema b88377b94c Merge branch 'main' into fix/bedrock-empty-text-filtering 2026-04-09 14:11:19 +02:00
Evgeny Shurakov 684319891e feat(vscode): remote session tracking with focused/open distinction
Implement end-to-end remote session tracking so the Kilo server knows
which sessions are opened and focused in the VS Code extension.

- Add RemoteStatusService that tracks open/focused sessions and pushes
  state to kilo serve via the connection service
- Extend connection-service with viewed-sessions endpoint and auto-flush
  on remote enable/disable and CLI reconnect
- Redesign remote settings UI in ExperimentalTab with status indicator
  and descriptive copy
- Add SDK schema for kilo-sessions.remote-status-changed event
- Gate session reporting on remote-enabled setting; reset state on
  CLI disconnect
- Remove vestigial remoteToggled message type
- Add comprehensive unit tests for RemoteStatusService
- Add i18n keys for new remote settings UI across all locales
2026-04-09 12:56:26 +02:00
Marian Alexandru Alecu dd5ff3ee99 Merge branch 'main' into kilocode-cli-resume-after-sleep 2026-04-09 11:58:03 +03:00
Alex Alecu 9c27d7a01b test(cli): move to kilocode test dir 2026-04-09 11:44:46 +03:00
Alex Alecu da3ce5623c chore(cli): add kilocode_change annotations 2026-04-09 09:23:35 +03:00
Johnny Amancio 040d5b8a28 fix: update branded ID types and Server API references after merge with main 2026-04-08 20:42:02 +02:00
Johnny Amancio a1a50cd2be Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-08 20:12:58 +02:00
Marian Alexandru Alecu 452b258d21 Merge pull request #8191 from Kilo-Org/feat/local-recall-tool
feat(cli): add local recall tool for cross-worktrees session search
2026-04-08 20:28:20 +03:00
Johnny Amancio 2eaf4e2ec9 fix: address PR review - disable choco/scoop, update brew to Kilo-Org/tap, disable account commands 2026-04-08 19:06:26 +02:00
Alex Alecu 21531ce6c6 fix(cli): add missing kilocode_change annotations 2026-04-08 19:11:44 +03:00
Alex Alecu 387b16e2e8 Merge remote-tracking branch 'origin/main' into kilocode-cli-resume-after-sleep
# Conflicts:
#	packages/sdk/openapi.json
2026-04-08 19:11:25 +03:00
Alex Alecu 6bb47302dd Merge remote-tracking branch 'origin/main' into feat/local-recall-tool
# Conflicts:
#	script/check-opencode-annotations.ts
2026-04-08 18:56:24 +03:00
Alex Alecu 42448f98cd chore(cli): add missing kilocode_change annotations
Add kilocode_change markers to all Kilo-specific changes in shared
opencode files to pass the check-opencode-annotations CI check.
Also bring in the workflow and script from main.
2026-04-08 16:43:45 +03:00
Marian Alexandru Alecu 5597e1cfc1 Merge branch 'main' into feat/allow-everything 2026-04-08 15:58:19 +03:00
Johnny Amancio f01c26580a fix: update AuthCommand → ProvidersCommand after upstream auth.ts rename 2026-04-08 14:23:52 +02:00
Johnny Amancio 9ae042e888 Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-08 14:10:33 +02:00
Johnny Amancio f798de906b fix(cli): guard against invalid semver strings in package registry version check 2026-04-08 14:07:25 +02:00
Alex Alecu 0697217d13 fix(cli): strengthen sync test and add missing ConfigCLICommand 2026-04-08 14:30:09 +03:00
Johnny Amancio 957a5916a6 Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-08 12:24:07 +02:00
Alex Alecu 8327300881 Merge remote-tracking branch 'origin/main' into feat/help-all-command
# Conflicts:
#	packages/opencode/src/index.ts
2026-04-08 12:10:48 +03:00
Alex Alecu a0a1ffa744 Merge branch 'main' into feat/help-all-command 2026-04-08 12:07:21 +03:00
Alex Alecu 83e8bbef8f Merge remote-tracking branch 'origin/main' into fix/cli-config-resilience
# Conflicts:
#	packages/opencode/src/kilocode/skills/kilo-config.md
2026-04-08 11:53:52 +03:00
Marian Alexandru Alecu e3bade8319 Merge pull request #8474 from Kilo-Org/docs/kilo-config-legacy-paths
docs(cli): add legacy paths to kilo-config skill
2026-04-08 11:50:02 +03:00
Alex Alecu cf1a120999 test(cli): add sync check for commands.ts vs index.ts 2026-04-08 11:40:56 +03:00
Johnny Amancio 68636c5bcd Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-07 19:57:57 +02:00
Johnny Amancio b942fd444c Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-07 19:48:00 +02:00
Johnny Amancio afe950dc0c perf(snapshot): add mutex lock, incremental add, and batched revert
Port snapshot optimizations from upstream OpenCode to reduce git process
spawning and prevent concurrent corruption:

- Per-gitdir mutex lock (upstream #17878, v1.3.0): serializes concurrent
  snapshot operations to prevent race conditions
- Incremental git add (upstream #17878, v1.3.0): replaces naive `git add .`
  with diff-files + ls-files + size filtering, skipping files >2MB
- Batched revert (upstream #20564, v1.3.14): groups up to 100 files per
  git checkout call with path-conflict detection, falling back to
  single-file revert on failure

Benchmarks (200 files):
- revert: 2,851ms → 191ms (15x faster, 8x fewer git processes)
- concurrent track: 2/5 succeed → 5/5 succeed (corruption fixed)
2026-04-07 19:05:15 +02:00
Mark IJbema a03a572d20 Merge remote-tracking branch 'origin/main' into feat/help-all-command 2026-04-07 18:58:39 +02:00
Alex Alecu 2ca9542254 fix(cli): guard session import in config error handlers 2026-04-07 18:06:48 +03:00
Kirill Kalishev d0ca6ee03f Merge pull request #8479 from shssoichiro/issue-8478
fix(core): make follow-up execution aware of the saved plan file
2026-04-07 11:01:24 -04:00
Alex Alecu f0118047e5 feat(cli): add config warnings endpoint and surface errors to TUI/extension
Collect warnings during config loading instead of crashing when config
files have invalid JSON, schema errors, or frontmatter issues. Warnings
are exposed via a new GET /config/warnings pull-based endpoint.

- Add Config.Warning schema and warnings collection in stateInit()
- Wrap all loadFile/load calls with try/catch to collect warnings
- Thread warnings through loadCommand/loadAgent/loadMode/invalid
- Wrap well-known remote config block to prevent network/parse crashes
- Add GET /config/warnings server route with OpenAPI spec
- Regenerate SDK with config.warnings() method
- TUI: fetch warnings in bootstrap non-blocking phase, show as toast
- VS Code: fetch warnings on SSE connect, show as native notifications
- Add 5 new tests for warning collection (JSON, schema, markdown)
2026-04-07 16:26:46 +03:00
kiloconnect[bot] fe74b6bea0 chore: merge origin/main into feat/help-all-command, resolve conflict in index.ts 2026-04-07 13:11:17 +00:00
Alex Alecu cafccaf687 fix(cli): add named-command lookup guidance to kilo-config skill
The skill loaded but the agent still only searched the repo root when
asked 'where is /review-pr?'. Add an explicit procedural subsection
that tells the agent to search ~/.config/kilo/, ~/.kilo/, ~/.kilocode/,
and ~/.opencode/ with explicit path arguments before falling back to
project directories. Add a regression test verifying the guidance is
present in the builtin skill output.
2026-04-07 15:20:32 +03:00
Johnny Amancio def64b8913 fix(mcp): inject --rm flag for Docker MCP containers to prevent accumulation
Docker containers spawned by MCP servers configured with `docker run`
were not cleaned up after being stopped, causing exited containers to
accumulate and fill up Docker storage over time.

Closes #8103
2026-04-07 11:59:31 +02:00
Josh Holmer a8ae58df19 fix(core): make follow-up execution aware of the saved plan file
Users launching a follow-up implementation session now get an explicit plan-file path and instruction to read it first, so execution stays aligned with the canonical plan even when copied plan text drifts.
2026-04-07 05:17:37 -04:00
Alex Alecu 4365364979 Merge remote-tracking branch 'origin/main' into feat/allow-everything
# Conflicts:
#	packages/sdk/openapi.json
2026-04-07 11:02:04 +03:00
Alex Alecu 9cafa6f8b9 test(cli): add regression tests for config resilience
Add 4 tests that reproduce the crash when agent or command markdown
files have valid YAML but invalid Zod schema values (e.g. mode: banana).
These currently pass against the fix that will follow.
2026-04-07 10:48:30 +03:00
Alex Alecu 4de08a1027 fix(cli): disable allow-all in the requested scope 2026-04-06 19:26:31 +03:00
Alex Alecu 6d27af6827 fix(cli): scope allow-all approvals to the active session 2026-04-06 19:25:53 +03:00
Varuu ad2aba31c3 fix(cli): cache diffFull and ignore legacy local storage to prevent redundant git processes (#8400) 2026-04-06 16:24:13 +02:00
Johnny Amancio 6bd50bcf3d Merge branch 'main' into johnnyamancio/kilo-opencode-v1.2.25 2026-04-06 13:48:11 +02:00
Marian Alexandru Alecu 1efd4edefe Merge branch 'main' into feat/local-recall-tool 2026-04-06 13:16:13 +03:00
Alex Alecu 6ad2e7a393 fix(cli): add 2-minute default request timeout for provider requests
Previously, provider HTTP requests had no application-level timeout
unless explicitly configured. Combined with Bun's fetch timeout being
disabled, requests could hang indefinitely when the network was down,
waiting for the OS TCP stack to give up.

Add REQUEST_TIMEOUT_MS (120s) as the default timeout applied via
AbortSignal.timeout() in the provider fetch wrapper. Recognize
TimeoutError as a network disconnection so it enters the offline
prompt flow.
2026-04-06 09:19:06 +03:00
Alex Alecu 125ca4b132 fix(cli): show offline prompt for provider connection failures
Treat wrapped provider connection errors as offline waits so sleep and network-loss sessions prompt to resume instead of falling through generic retries.
2026-04-06 06:45:34 +03:00