Commit Graph

9170 Commits

Author SHA1 Message Date
Marius e1198adeb3 Merge pull request #13362 from Kilo-Org/fix-wait-background-agents
fix(cli): clarify background Task orchestration
2026-08-24 14:24:48 +02:00
marius-kilocode 9f7b4e4981 fix(cli): clarify background task orchestration 2026-08-24 13:45:04 +02:00
Ryan Loney da4a91b364 fix(opencode): preserve Cerebras completion limit (#13289)
* fix(opencode): preserve Cerebras completion limit

* chore: annotate Kilo-specific changes
2026-08-24 13:34:00 +02:00
Matt Van Horn c0cc71489a fix: avoid unnecessary project plugin dependencies (#13300)
* fix: avoid unnecessary project plugin dependencies

Fixes #12778

* test: move config plugin-dependency tests onto the Effect 4 API

zipRight, Effect.fork and Fiber.poll are gone in effect 4.0.0-beta.83, so
typecheck failed on this file. Uses andThen, forkChild and a bounded join.

* refactor: move plugin dependency logic into kilo-owned helper

Per review, extract the local plugin dependency install out of the upstream
config.ts and into packages/opencode/src/kilocode/config/plugin-deps.ts so the
upstream file keeps a minimal call and future merges have less to conflict on.

needsLocalPluginDependency owns the file:// specifier test and
installLocalPluginDependency owns the npm install effect, taking the npm
service, dir, version and local flag as parameters. Behavior is unchanged: the
plugins accumulator still collects both the file-loaded specs and the
ConfigPlugin.load results before the check, and the resulting fiber is still
pushed onto deps.

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-08-24 13:02:52 +02:00
Marius e8cd46582c Merge pull request #13349 from Kilo-Org/investigate-luna-output-cap
fix(cli): preserve output budget for encrypted reasoning
2026-08-24 11:53:55 +02:00
marius-kilocode 17611729e2 fix(cli): preserve output budget for encrypted reasoning 2026-08-24 11:07:29 +02:00
kirillk c0a86f9a00 Merge remote-tracking branch 'origin/main' into feat/provider-usage-center 2026-08-21 13:08:42 -04:00
chrarnoldus 1663c27e7a fix(llm): preserve provider message alternation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-08-21 07:41:58 +00:00
chrarnoldus 43c4491560 fix(cli): send max-step instruction as user message
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-08-21 07:30:33 +00:00
kiloconnect[bot] 2e23a78424 chore(cli): remove accidental tui.json artifact from PR #13271
Removes packages/opencode/.kilo/tui.json, an empty {} file that was
accidentally committed by a broad 'git add' while running the httpapi
exerciser (PATCH /tui/config) from packages/opencode/ during work on
PR #13271 (feat(cli): add experimental MCP Apps support with
resource/tool HTTP endpoints).

Also ignores per-directory tui.json/tui.jsonc runtime config files
under packages/*/.kilo/ so this can't recur.
2026-08-20 19:44:05 +00:00
Rômulo Rosa Furtado 3452fa1232 Merge branch 'main' into feat/mcp-apps-experimental 2026-08-20 18:19:10 +02:00
rrosa b29f011689 test(cli): add httpapi exerciser scenarios for MCP Apps endpoints
The httpapi coverage gate requires every declared route to have a
scenario. Add Kilo-owned scenarios for POST /experimental/resource/read
and POST /experimental/mcp/call-tool asserting the flag-gated 404 (the
exerciser runs with experimentalMcpApps off).
2026-08-20 11:42:06 -03:00
Rômulo Rosa Furtado fa6d5479c3 Merge branch 'main' into feat/mcp-apps-experimental 2026-08-20 16:13:03 +02:00
rrosa b7069922d9 refactor(cli): move MCP Apps logic into Kilo-owned module
Extract the experimental MCP Apps schemas, HTTP handler bodies, and the
tool-call metadata helper into @/kilocode/mcp/apps so the shared upstream
files only carry minimal marked integration points (route registrations,
imports, one field). Reduces the long-term diff against upstream opencode.
2026-08-20 11:08:03 -03:00
marius-kilocode 575bf9b028 Merge remote-tracking branch 'origin/main' into puzzling-crowberry 2026-08-20 14:34:31 +02:00
kilo-maintainer[bot] 67cd629f3c release: v7.4.23 2026-08-20 12:26:16 +00:00
marius-kilocode 9f0fd9b21c Merge branch 'main' into puzzling-crowberry 2026-08-20 13:32:52 +02:00
marius-kilocode 031648c2ea feat(vscode): show background agents 2026-08-20 13:32:48 +02:00
rrosa c02134ab43 fix(cli): annotate MCP Apps changes, tighten callTool error handling
- Add kilocode_change markers to all shared upstream files touched
- Log MCP callTool failures instead of silently swallowing them
- Remove redundant type casts on the callTool result
- Make ReadResourcePayload.server required (schema-level validation)
  and drop the now-dead BadRequest guard
- Remove unused meta field from ReadResourceContent schema
2026-08-20 07:39:59 -03:00
rrosa 36c57c12ce feat(cli): add experimental MCP Apps support with resource/tool HTTP endpoints
- Add KILO_EXPERIMENTAL_MCP_APPS runtime flag
- Expose clientName on McpTool interface and populate it during tool listing
- Add POST /experimental/resource/read and POST /experimental/mcp/call-tool HTTP endpoints
- Gate both endpoints behind experimentalMcpApps flag
- Propagate mcpApp UI metadata (resourceUri, serverId) in tool call results
  when tools advertise _meta.ui.resourceUri in their definition
- Add docs/kilo-headless-embedding.md for headless and embedding capabilities
- Fix test fixtures to include clientName in McpTool mocks
2026-08-20 07:28:17 -03:00
marius-kilocode a2de3fc0e2 Merge remote-tracking branch 'origin/main' into implement-markdown-file-viewer-sidebar
# Conflicts:
#	packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
#	packages/kilo-vscode/webview-ui/diff-viewer/FullScreenDiffView.tsx
#	packages/kilo-vscode/webview-ui/src/components/chat/ReviewComments.tsx
2026-08-20 10:44:26 +02:00
Marius 559f39fb10 Merge pull request #13243 from Kilo-Org/refactor-watcher-service
refactor(cli): scope watcher state per instance
2026-08-20 10:11:33 +02:00
Christiaan Arnoldus b217af47a7 Merge pull request #13244 from Kilo-Org/remove-alibaba-mistral-gateway-providers
refactor(gateway): remove Alibaba and Mistral adapters
2026-08-19 21:28:13 +02:00
marius-kilocode 3de7df279b fix(cli): keep todo updates incremental 2026-08-19 18:01:08 +02:00
marius-kilocode b8984e468d refactor(cli): scope watcher state per instance 2026-08-19 16:21:31 +02:00
marius-kilocode 190b4a4dc6 feat(vscode): add Agent Manager document inspector 2026-08-19 16:15:49 +02:00
Christiaan Arnoldus f39e163185 refactor(gateway): remove Alibaba and Mistral adapters 2026-08-19 14:00:46 +00:00
marius-kilocode 72ab1390d3 fix(vscode): stop background agent sessions 2026-08-19 15:41:24 +02:00
marius-kilocode 9701b518b6 Merge main into puzzling-crowberry 2026-08-19 14:53:12 +02:00
marius-kilocode ba658fc8d7 chore: checkpoint before merging main 2026-08-19 14:50:11 +02:00
marius-kilocode 300d862512 Merge remote-tracking branch 'origin/main' into refactor-notebook-service-retry
# Conflicts:
#	script/architecture-allowlist.json
2026-08-19 14:33:03 +02:00
Marius dbd08c5d57 Merge pull request #13237 from Kilo-Org/refactor-agent-manager-service
refactor(agent-manager): scope pending request state
2026-08-19 14:32:02 +02:00
Marius a59260b667 Merge pull request #13236 from Kilo-Org/refactor-interactive-terminal-service
fix(cli): scope interactive terminal state
2026-08-19 14:31:05 +02:00
marius-kilocode 66adb2e5de merge: update notebook branch with main 2026-08-19 13:45:56 +02:00
Marius 457e82876c Merge pull request #13238 from Kilo-Org/remove-flaky-session-export-e2e-tests
test(cli): remove flaky session export e2e tests
2026-08-19 13:35:59 +02:00
marius-kilocode 417cf8dde6 test(cli): remove flaky session export e2e tests 2026-08-19 13:27:00 +02:00
Marius b14a21c535 Merge pull request #13234 from Kilo-Org/refactor-project-id-service
refactor(cli): scope project ID cache lifecycle
2026-08-19 13:20:18 +02:00
marius-kilocode 41d88eb8f4 refactor(agent-manager): scope pending request state 2026-08-19 13:20:06 +02:00
marius-kilocode dd8947abb5 fix(cli): scope interactive terminal state 2026-08-19 13:14:08 +02:00
marius-kilocode 0a1bf48b7a refactor(cli): scope notebook state by directory 2026-08-19 13:13:46 +02:00
marius-kilocode ec37e1ef59 refactor(cli): scope project ID cache lifecycle 2026-08-19 13:02:28 +02:00
Marius e25c170a36 Merge pull request #13225 from Kilo-Org/busy-computer
fix: remove agent requirements feature
2026-08-19 12:39:42 +02:00
marius-kilocode 223f5dbf18 chore: annotate legacy requirements test 2026-08-19 12:19:10 +02:00
Marius 20e14cf4f5 Merge pull request #13206 from Kilo-Org/fix-agent-manager-nullable-wire-fields
fix(cli): let Agent Manager tool fields be null so strict providers can omit them
2026-08-19 12:14:52 +02:00
marius-kilocode e31f5e9216 fix: ignore legacy agent requirements 2026-08-19 12:12:01 +02:00
marius-kilocode 2d49594d36 test(cli): reset session export eligibility after tests 2026-08-19 11:59:36 +02:00
marius-kilocode 8d64ac6e75 fix: remove stale agent requirements metadata 2026-08-19 11:38:42 +02:00
marius-kilocode da10638654 fix: remove agent requirements feature 2026-08-19 11:35:11 +02:00
marius-kilocode b1755f9184 fix(cli): clarify background process waits 2026-08-19 11:16:11 +02:00
marius-kilocode 04385a248d Merge remote-tracking branch 'origin/main' into fix-agent-manager-nullable-wire-fields 2026-08-19 10:29:54 +02:00