Commit Graph

29052 Commits

Author SHA1 Message Date
marius-kilocode aa73038dcb fix(worktree): keep stale removal idempotent 2026-08-19 10:03:44 +02:00
marius-kilocode f4bfdf640d fix(agent-manager): stay within provider file cap 2026-08-18 17:32:42 +02:00
marius-kilocode ff16bc2c9c fix(agent-manager): keep PTYs durable across reloads 2026-08-18 17:28:38 +02:00
Johnny Eric Amancio 97abdab66c fix(core): prevent concurrent WAL recovery crashes (#13180) 2026-08-18 14:03:21 +02:00
Marius 2a73fbfc91 Merge pull request #13203 from Kilo-Org/revert-strict-agent-manager-tool-schema
revert(agent-manager): restore provider-compatible tool schema
2026-08-18 13:51:24 +02:00
Marius b563c0a2c9 Update packages/opencode/test/kilocode/agent-manager-tool.test.ts
Co-authored-by: Christiaan Arnoldus <christiaan.arnoldus@outlook.com>
2026-08-18 13:43:57 +02:00
marius-kilocode 06998004fd Revert "Merge pull request #13197 from Kilo-Org/fix-agent-manager-tool-schema"
This reverts commit eb731248cb, reversing
changes made to 9f04990c55.
2026-08-18 13:36:30 +02:00
Johnny Eric Amancio 3acb1ec386 fix(tui): keep Kilo Gateway models visible in the model picker (#13170)
* fix(tui): keep Kilo Gateway models visible in the model picker

Selecting a model removed it from its provider section, so a recently
used Kilo sonnet vanished from "Recommended"/"Kilo Gateway" and only
survived under "Recent". Search also keyed off title and section header
only, so filtering by `kilo` never matched titles like "Anthropic Claude
Sonnet 4.5" grouped under "Recommended".

Recents now stay in their provider section (favorites are still deduped
into their own section) and search additionally keys off the provider
name, provider id, and model id, matching the VS Code selector.

Option building moves to kilocode/model-picker.ts so the grouping and
search rules are unit testable.

* chore: add changeset for TUI gateway picker

* fix(tui): identify the selected picker row by reference

Keeping recents in their provider section means a model can legitimately
appear twice in the list (once under "Recent", once under its provider or
"Recommended" section). DialogSelect resolved the selected row by value
equality, so both copies lit up as active whenever either was selected —
visible on every picker open, since the current model is usually a recent
— and hovering the provider-section copy warped selection and scroll to
the "Recent" copy instead.

Match the selected row by object reference instead. Rows are always
distinct objects, so this is a strict refinement for every other dialog;
`current` still uses value equality, which is correct — both rows really
are the current model.
2026-08-18 13:25:46 +02:00
Marius 1b0e9404b3 Merge pull request #13201 from Kilo-Org/fix-permission-prompt-scrolling
fix(vscode): keep permission prompt actions reachable with large diffs
2026-08-18 12:30:59 +02:00
Johnny Eric Amancio d4f3a3a9e6 fix(cli): keep ask and plan modes read-only under broad permission rules (#13124)
Permission rules are positional, so the global config merged after the
read-only guards and any catch-all shadowed them. Ask kept its edit deny
and simply routed around it through the shell.

Reapply the guard after the user layer for ask and plan: the catch-all
deny plus the read-only allowlist, the user's rules re-expanded onto safe
permissions by exact name, then the bash, MCP and mutating-tool ceilings.
Config rules can no longer widen bash, task, write, notebook_edit,
notebook_execute, agent_manager, repo_clone or interactive_terminal for
these modes, whatever pattern they use. `agent.<name>.permission` remains
the way to opt a single mode in.

A blanket guard deny stays an absolute ceiling, but one aimed at a single
target is only a default: naming that exact target still lifts it, so
plan keeps honoring `task: { general: "allow" }` while no wildcard
reaches it.

Guarding the agent is not enough on its own, since plan may delegate and
a subagent builds its ruleset from the same config, so KiloTask.inherited
carries the same set into delegated sessions.

Fixes #12053
2026-08-18 12:08:08 +02:00
Johnny Eric Amancio d9f0eff306 fix(cli): prevent VS Code server connection failure on unwritable state paths (#13115)
* fix(cli): fall back from unwritable state directory

* fix(cli): verify state directory writes
2026-08-18 12:00:57 +02:00
Marius facd3f1708 Merge pull request #13200 from Kilo-Org/fix-inline-diff-viewer-scroll-jump
fix(vscode): stabilize Agent Manager inline diff scrolling
2026-08-18 11:58:53 +02:00
kilo-maintainer[bot] 91809136bd chore: update kilo-vscode visual regression baselines 2026-08-18 09:54:59 +00:00
marius-kilocode 1317b38a28 fix(vscode): preserve diff rendering in scrollable permission prompts 2026-08-18 11:51:59 +02:00
Evgeny Shurakov 017410bf6f fix(cli): accept JWT share tokens when importing sessions (#13183) 2026-08-18 11:43:31 +02:00
Marius eb731248cb Merge pull request #13197 from Kilo-Org/fix-agent-manager-tool-schema
fix(agent-manager): make tool requests strict
2026-08-18 11:37:02 +02:00
Marius 9f04990c55 Merge pull request #13195 from quanzhuo/issues/13134
fix(cli): persist snapshot disable across restarts
2026-08-18 11:33:05 +02:00
Marius e4058bfd95 Merge pull request #13199 from Kilo-Org/cosmic-oval
fix(cli): preserve Kilo upgrade version lookup
2026-08-18 11:26:38 +02:00
Marius 704577a566 Merge pull request #13196 from Kilo-Org/fix-import-pull-request-refspec-exclusion
fix(agent-manager): use explicit Git fetch refspecs
2026-08-18 11:17:48 +02:00
marius-kilocode bee6fb3b23 fix(vscode): keep permission prompt actions reachable with large diffs 2026-08-18 11:16:47 +02:00
marius-kilocode 94b426179b fix(agent-manager): preserve tool schema guidance 2026-08-18 11:13:20 +02:00
kilo-maintainer[bot] 62996f1f30 chore: update kilo-vscode visual regression baselines 2026-08-18 09:10:59 +00:00
marius-kilocode dfd7a487a7 docs(cli): explain Kilo upgrade version source 2026-08-18 11:09:58 +02:00
marius-kilocode 59048c44bd fix(vscode): stabilize inline diff scrolling 2026-08-18 11:06:59 +02:00
marius-kilocode ee00a4f0a4 fix(agent-manager): avoid tracking deleted PR branches 2026-08-18 11:06:34 +02:00
Marius abad71cffe Merge pull request #13194 from Kilo-Org/fix-worktree-title-description-leak
fix(agent-manager): keep subagent descriptions out of worktree titles
2026-08-18 11:06:32 +02:00
marius-kilocode 6131ed269f fix(cli): preserve Kilo upgrade version lookup 2026-08-18 11:01:00 +02:00
marius-kilocode db0784bd75 fix(agent-manager): make tool requests strict 2026-08-18 10:55:33 +02:00
marius-kilocode 35e4dadd1e fix(agent-manager): preserve sparse root sessions 2026-08-18 10:55:02 +02:00
marius-kilocode b4c83878e9 fix(agent-manager): use explicit git fetch refspecs 2026-08-18 10:54:17 +02:00
marius-kilocode af158e6156 fix(agent-manager): ignore subagent sessions in worktree labels 2026-08-18 10:44:10 +02:00
Marius 94ec2a89bd Merge pull request #13178 from Kilo-Org/fix-macos-sandbox-git-write-permission
fix(opencode): prompt before sandboxed git writes
2026-08-18 10:31:25 +02:00
Marius ee7866e213 Merge branch 'main' into fix-macos-sandbox-git-write-permission 2026-08-18 10:28:08 +02:00
Marius 6e12705344 Merge pull request #13173 from Kilo-Org/acidic-fennel
feat(vscode): add subagent inspector tabs
2026-08-18 10:20:49 +02:00
Marius 1c05bbe6bc Merge pull request #13179 from Kilo-Org/filter-sessions-by-worktree-2
fix(agent-manager): default worktree session history
2026-08-18 10:18:39 +02:00
Marius c5dd13498a Merge pull request #13175 from Kilo-Org/ginger-appeal
fix(vscode): shorten prompt model label
2026-08-18 10:18:31 +02:00
全卓 f54c215e6a fix(cli): persist snapshot disable across restarts
The slow-repo prompt wrote snapshot:false outside the Effect fiber, so the project config was skipped and snapshots came back after a VS Code restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:58:03 +08:00
marius-kilocode 923cf79ee0 fix(cli): clean truncation files by mtime 2026-08-18 09:54:14 +02:00
marius-kilocode d7d3ddaf15 fix(vscode): complete sandbox escalation translations 2026-08-18 09:36:03 +02:00
Marius 9788f49700 Merge branch 'main' into acidic-fennel 2026-08-18 09:19:34 +02:00
Marius 90524ceb21 Merge branch 'main' into fix-macos-sandbox-git-write-permission 2026-08-18 09:19:29 +02:00
marius-kilocode a066d0f983 fix(permission): cover tui sandbox escalation prompt 2026-08-17 15:42:47 +02:00
marius-kilocode 0067dbac39 fix(vscode): preserve inspector sync scope 2026-08-17 15:39:47 +02:00
marius-kilocode 4279750e0c test(vscode): update session selection contract 2026-08-17 15:29:51 +02:00
marius-kilocode d563ba2a72 fix(vscode): isolate subagent inspector sessions 2026-08-17 15:26:38 +02:00
marius-kilocode 2477bde2c2 fix(agent-manager): default worktree session history 2026-08-17 15:26:21 +02:00
Marius 91a337e31c Merge pull request #13177 from Kilo-Org/working-handball
fix(vscode): show provider hints in model selector
2026-08-17 15:26:00 +02:00
kilo-maintainer[bot] 4cbd411d52 chore: update kilo-vscode visual regression baselines 2026-08-17 13:23:03 +00:00
marius-kilocode 86af8dd7c7 fix(opencode): prompt before sandboxed git writes 2026-08-17 15:22:23 +02:00
Marius 06088ea4b5 Merge pull request #13176 from Kilo-Org/fix-message-queuing-visibility
fix(vscode): keep queued messages visible
2026-08-17 15:22:14 +02:00