From fafeb4ff734925378cc02b89b158279669203d57 Mon Sep 17 00:00:00 2001 From: "kilo-maintainer[bot]" Date: Mon, 1 Jun 2026 20:50:17 +0000 Subject: [PATCH] release: v7.3.20 --- .changeset/calm-agent-variant-clear.md | 5 -- .changeset/calm-background-process-scans.md | 6 -- .changeset/calm-kilos-reconnect.md | 5 -- .changeset/kilo-console-daemon.md | 5 -- .changeset/opus-4-8-adaptive-thinking.md | 5 -- .changeset/quiet-dancers-breathe.md | 5 -- .changeset/steady-review-scroll.md | 5 -- .changeset/tui-submodule-session-list.md | 5 -- bun.lock | 34 +++++----- package.json | 2 +- packages/core/package.json | 2 +- packages/extensions/zed/extension.toml | 12 ++-- packages/kilo-console/package.json | 2 +- packages/kilo-docs/package.json | 2 +- packages/kilo-gateway/package.json | 2 +- packages/kilo-i18n/package.json | 2 +- packages/kilo-indexing/package.json | 2 +- packages/kilo-jetbrains/package.json | 2 +- packages/kilo-telemetry/package.json | 2 +- packages/kilo-ui/package.json | 2 +- packages/kilo-vscode/CHANGELOG.md | 14 ++++ packages/kilo-vscode/package.json | 2 +- packages/kilo-vscode/tests/package.json | 2 +- packages/kilo-web-ui/package.json | 2 +- packages/opencode/CHANGELOG.md | 14 ++++ packages/opencode/package.json | 2 +- packages/plugin/package.json | 2 +- packages/script/package.json | 2 +- packages/sdk/js/package.json | 2 +- packages/sdk/js/src/v2/gen/sdk.gen.ts | 75 ++++++++++++++++++++- packages/sdk/js/src/v2/gen/types.gen.ts | 56 ++++++++++++++- packages/storybook/package.json | 2 +- packages/ui/package.json | 2 +- script/upstream/package.json | 2 +- 34 files changed, 200 insertions(+), 86 deletions(-) delete mode 100644 .changeset/calm-agent-variant-clear.md delete mode 100644 .changeset/calm-background-process-scans.md delete mode 100644 .changeset/calm-kilos-reconnect.md delete mode 100644 .changeset/kilo-console-daemon.md delete mode 100644 .changeset/opus-4-8-adaptive-thinking.md delete mode 100644 .changeset/quiet-dancers-breathe.md delete mode 100644 .changeset/steady-review-scroll.md delete mode 100644 .changeset/tui-submodule-session-list.md diff --git a/.changeset/calm-agent-variant-clear.md b/.changeset/calm-agent-variant-clear.md deleted file mode 100644 index 9d29ee4c07..0000000000 --- a/.changeset/calm-agent-variant-clear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@kilocode/cli": patch ---- - -Allow clearing agent model and variant overrides from settings. diff --git a/.changeset/calm-background-process-scans.md b/.changeset/calm-background-process-scans.md deleted file mode 100644 index 8fb7d3f34e..0000000000 --- a/.changeset/calm-background-process-scans.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@kilocode/cli": patch -"kilo-code": patch ---- - -Limit inferred background-process port discovery to the TUI and stop scanning after startup to avoid unnecessary Bun subprocess polling. diff --git a/.changeset/calm-kilos-reconnect.md b/.changeset/calm-kilos-reconnect.md deleted file mode 100644 index 950defda6b..0000000000 --- a/.changeset/calm-kilos-reconnect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"kilo-code": patch ---- - -Show a retryable connection error and preserve unsent prompts when the VS Code background CLI process exits. diff --git a/.changeset/kilo-console-daemon.md b/.changeset/kilo-console-daemon.md deleted file mode 100644 index 0a8d78af3c..0000000000 --- a/.changeset/kilo-console-daemon.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"kilo-code": minor ---- - -Experimental: Serve Kilo Console from the local daemon. Use `kilo console` to open it automatically. diff --git a/.changeset/opus-4-8-adaptive-thinking.md b/.changeset/opus-4-8-adaptive-thinking.md deleted file mode 100644 index 30b7026287..0000000000 --- a/.changeset/opus-4-8-adaptive-thinking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@kilocode/cli": patch ---- - -Fix Claude Opus 4.8 reasoning on Amazon Bedrock by treating it as an adaptive thinking model like Opus 4.7. This resolves the "thinking.type.enabled is not supported for this model" error and exposes the full low/medium/high/xhigh/max reasoning effort range. diff --git a/.changeset/quiet-dancers-breathe.md b/.changeset/quiet-dancers-breathe.md deleted file mode 100644 index f432d62cc1..0000000000 --- a/.changeset/quiet-dancers-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@kilocode/cli": patch ---- - -Fix queued plan prompts stalling in VS Code after a completed turn. diff --git a/.changeset/steady-review-scroll.md b/.changeset/steady-review-scroll.md deleted file mode 100644 index aba17d7672..0000000000 --- a/.changeset/steady-review-scroll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"kilo-code": patch ---- - -Preserve the Changes review scroll position while agents update files. diff --git a/.changeset/tui-submodule-session-list.md b/.changeset/tui-submodule-session-list.md deleted file mode 100644 index fcb2ecbf3f..0000000000 --- a/.changeset/tui-submodule-session-list.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@kilocode/cli": patch ---- - -Fix empty TUI session list when launching kilo from inside a git submodule. `git worktree list --porcelain` reports the submodule's gitdir (`/.git/modules/`) instead of the working tree, so the worktree-family filter dropped every session whose directory was the actual submodule path. Include `Instance.worktree` in the returned set so submodule sessions stay in scope. diff --git a/bun.lock b/bun.lock index 350a3a2d94..ee86b787ce 100644 --- a/bun.lock +++ b/bun.lock @@ -33,7 +33,7 @@ }, "packages/core": { "name": "@opencode-ai/core", - "version": "7.3.18", + "version": "7.3.20", "bin": { "opencode": "./bin/opencode", }, @@ -68,7 +68,7 @@ }, "packages/kilo-console": { "name": "@kilocode/kilo-console", - "version": "7.2.52", + "version": "7.3.20", "dependencies": { "@kilocode/kilo-web-ui": "workspace:*", "@kilocode/sdk": "workspace:*", @@ -89,7 +89,7 @@ }, "packages/kilo-docs": { "name": "@kilocode/kilo-docs", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@docsearch/css": "^4", "@docsearch/js": "^4", @@ -119,7 +119,7 @@ }, "packages/kilo-gateway": { "name": "@kilocode/kilo-gateway", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@ai-sdk/alibaba": "1.0.17", "@ai-sdk/anthropic": "3.0.71", @@ -155,7 +155,7 @@ }, "packages/kilo-i18n": { "name": "@kilocode/kilo-i18n", - "version": "7.3.18", + "version": "7.3.20", "devDependencies": { "@tsconfig/node22": "catalog:", "@types/bun": "catalog:", @@ -165,7 +165,7 @@ }, "packages/kilo-indexing": { "name": "@kilocode/kilo-indexing", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@aws-sdk/client-bedrock-runtime": "3.1005.0", "@aws-sdk/credential-provider-ini": "3.972.31", @@ -197,11 +197,11 @@ }, "packages/kilo-jetbrains": { "name": "@kilocode/kilo-jetbrains", - "version": "7.3.18", + "version": "7.3.20", }, "packages/kilo-telemetry": { "name": "@kilocode/kilo-telemetry", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@kilocode/kilo-gateway": "workspace:*", "posthog-node": "4.4.0", @@ -215,7 +215,7 @@ }, "packages/kilo-ui": { "name": "@kilocode/kilo-ui", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@kilocode/sdk": "workspace:*", "@kobalte/core": "0.13.11", @@ -252,7 +252,7 @@ }, "packages/kilo-vscode": { "name": "kilo-code", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@anthropic-ai/sdk": "^0.39.0", "@kilocode/kilo-gateway": "workspace:*", @@ -318,7 +318,7 @@ }, "packages/kilo-web-ui": { "name": "@kilocode/kilo-web-ui", - "version": "7.2.52", + "version": "7.3.20", "dependencies": { "@kilocode/kilo-ui": "workspace:*", "@kobalte/core": "catalog:", @@ -333,7 +333,7 @@ }, "packages/opencode": { "name": "@kilocode/cli", - "version": "7.3.18", + "version": "7.3.20", "bin": { "kilo": "./bin/kilo", "kilocode": "./bin/kilo", @@ -493,7 +493,7 @@ }, "packages/plugin": { "name": "@kilocode/plugin", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@kilocode/sdk": "workspace:*", "effect": "catalog:", @@ -518,7 +518,7 @@ }, "packages/script": { "name": "@opencode-ai/script", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "semver": "^7.6.3", }, @@ -529,7 +529,7 @@ }, "packages/sdk/js": { "name": "@kilocode/sdk", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "cross-spawn": "catalog:", }, @@ -544,7 +544,7 @@ }, "packages/storybook": { "name": "@opencode-ai/storybook", - "version": "7.3.18", + "version": "7.3.20", "devDependencies": { "@opencode-ai/ui": "workspace:*", "@solidjs/meta": "catalog:", @@ -567,7 +567,7 @@ }, "packages/ui": { "name": "@opencode-ai/ui", - "version": "7.3.18", + "version": "7.3.20", "dependencies": { "@kilocode/sdk": "workspace:*", "@kobalte/core": "catalog:", diff --git a/package.json b/package.json index 43c299e393..67c0a88316 100644 --- a/package.json +++ b/package.json @@ -150,6 +150,6 @@ "solid-js@1.9.10": "patches/solid-js@1.9.10.patch", "mammoth@1.12.0": "patches/mammoth@1.12.0.patch" }, - "version": "7.3.18", + "version": "7.3.20", "peerDependencies": {} } diff --git a/packages/core/package.json b/packages/core/package.json index 3875f8a167..22b8bd6c0f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "7.3.18", + "version": "7.3.20", "name": "@opencode-ai/core", "type": "module", "license": "MIT", diff --git a/packages/extensions/zed/extension.toml b/packages/extensions/zed/extension.toml index f1f6586884..5e4595cb23 100644 --- a/packages/extensions/zed/extension.toml +++ b/packages/extensions/zed/extension.toml @@ -1,7 +1,7 @@ id = "kilo" name = "Kilo" description = "The open source coding agent." -version = "7.3.18" +version = "7.3.20" schema_version = 1 authors = ["Anomaly"] repository = "https://github.com/Kilo-Org/kilocode" @@ -11,26 +11,26 @@ name = "Kilo" icon = "./icons/opencode.svg" [agent_servers.opencode.targets.darwin-aarch64] -archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.18/opencode-darwin-arm64.zip" +archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.20/opencode-darwin-arm64.zip" cmd = "./opencode" args = ["acp"] [agent_servers.opencode.targets.darwin-x86_64] -archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.18/opencode-darwin-x64.zip" +archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.20/opencode-darwin-x64.zip" cmd = "./opencode" args = ["acp"] [agent_servers.opencode.targets.linux-aarch64] -archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.18/opencode-linux-arm64.tar.gz" +archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.20/opencode-linux-arm64.tar.gz" cmd = "./opencode" args = ["acp"] [agent_servers.opencode.targets.linux-x86_64] -archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.18/opencode-linux-x64.tar.gz" +archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.20/opencode-linux-x64.tar.gz" cmd = "./opencode" args = ["acp"] [agent_servers.opencode.targets.windows-x86_64] -archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.18/opencode-windows-x64.zip" +archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.3.20/opencode-windows-x64.zip" cmd = "./opencode.exe" args = ["acp"] diff --git a/packages/kilo-console/package.json b/packages/kilo-console/package.json index 89d42677b8..01eed91c45 100644 --- a/packages/kilo-console/package.json +++ b/packages/kilo-console/package.json @@ -1,6 +1,6 @@ { "name": "@kilocode/kilo-console", - "version": "7.2.52", + "version": "7.3.20", "private": true, "type": "module", "scripts": { diff --git a/packages/kilo-docs/package.json b/packages/kilo-docs/package.json index d1203040c5..8d1dd434d0 100644 --- a/packages/kilo-docs/package.json +++ b/packages/kilo-docs/package.json @@ -1,6 +1,6 @@ { "name": "@kilocode/kilo-docs", - "version": "7.3.18", + "version": "7.3.20", "private": true, "scripts": { "dev": "next dev --webpack --port 3002", diff --git a/packages/kilo-gateway/package.json b/packages/kilo-gateway/package.json index 2a5afa4bd1..dc3d142f34 100644 --- a/packages/kilo-gateway/package.json +++ b/packages/kilo-gateway/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/kilo-gateway", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "description": "Unified Kilo Gateway package for OpenCode - authentication, provider, and API integration", diff --git a/packages/kilo-i18n/package.json b/packages/kilo-i18n/package.json index ba2736e9fa..037882ae87 100644 --- a/packages/kilo-i18n/package.json +++ b/packages/kilo-i18n/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/kilo-i18n", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "description": "Kilo-specific i18n translations and overrides", diff --git a/packages/kilo-indexing/package.json b/packages/kilo-indexing/package.json index 43409aa35b..cfaccd47ed 100644 --- a/packages/kilo-indexing/package.json +++ b/packages/kilo-indexing/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/kilo-indexing", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "description": "Standalone indexing engine and host helpers for Kilo Code", diff --git a/packages/kilo-jetbrains/package.json b/packages/kilo-jetbrains/package.json index 219822bd0e..b3b236b8a0 100644 --- a/packages/kilo-jetbrains/package.json +++ b/packages/kilo-jetbrains/package.json @@ -8,7 +8,7 @@ "test": "./gradlew test", "test:ci": "bun script/test-ci.ts" }, - "version": "7.3.18", + "version": "7.3.20", "dependencies": {}, "devDependencies": {}, "peerDependencies": {} diff --git a/packages/kilo-telemetry/package.json b/packages/kilo-telemetry/package.json index 2161a1b81b..03d40e1fa4 100644 --- a/packages/kilo-telemetry/package.json +++ b/packages/kilo-telemetry/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/kilo-telemetry", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "description": "Telemetry for Kilo CLI - PostHog analytics integration", diff --git a/packages/kilo-ui/package.json b/packages/kilo-ui/package.json index 4eadd6e4a9..5bcf02d955 100644 --- a/packages/kilo-ui/package.json +++ b/packages/kilo-ui/package.json @@ -1,6 +1,6 @@ { "name": "@kilocode/kilo-ui", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "exports": { diff --git a/packages/kilo-vscode/CHANGELOG.md b/packages/kilo-vscode/CHANGELOG.md index b33eb1da6b..747c67400e 100644 --- a/packages/kilo-vscode/CHANGELOG.md +++ b/packages/kilo-vscode/CHANGELOG.md @@ -1,5 +1,19 @@ # kilo-code +## 7.3.20 + +### Minor Changes + +- [#10754](https://github.com/Kilo-Org/kilocode/pull/10754) [`cf85e0d`](https://github.com/Kilo-Org/kilocode/commit/cf85e0d51f6e84298524cf39ce06f5c40a8599f4) - Experimental: Serve Kilo Console from the local daemon. Use `kilo console` to open it automatically. + +### Patch Changes + +- [#10786](https://github.com/Kilo-Org/kilocode/pull/10786) [`7dd8aab`](https://github.com/Kilo-Org/kilocode/commit/7dd8aabadeb1b5bcf69f5fb9545a57ac91daf54f) - Limit inferred background-process port discovery to the TUI and stop scanning after startup to avoid unnecessary Bun subprocess polling. + +- [#10783](https://github.com/Kilo-Org/kilocode/pull/10783) [`c44cd78`](https://github.com/Kilo-Org/kilocode/commit/c44cd786688a5050805fbd3c17e23ca14a5324a5) - Show a retryable connection error and preserve unsent prompts when the VS Code background CLI process exits. + +- [#10782](https://github.com/Kilo-Org/kilocode/pull/10782) [`1c06a1d`](https://github.com/Kilo-Org/kilocode/commit/1c06a1dbc7c2339fc7b7dd4bb45e31c9d80f259d) - Preserve the Changes review scroll position while agents update files. + ## 7.3.18 ### Patch Changes diff --git a/packages/kilo-vscode/package.json b/packages/kilo-vscode/package.json index ebcfdd9a02..519247c3a0 100644 --- a/packages/kilo-vscode/package.json +++ b/packages/kilo-vscode/package.json @@ -2,7 +2,7 @@ "name": "kilo-code", "displayName": "Kilo Code: AI Coding Agent, Copilot, and Autocomplete", "description": "Open Source AI coding agent that generates code from natural language, automates tasks, and runs terminal commands. Features inline autocomplete, browser automation, automated refactoring, and custom modes for planning, coding, and debugging. Supports 500+ AI models including Claude (Anthropic), Gemini, Grok, GPT, Codex and GLM.", - "version": "7.3.18", + "version": "7.3.20", "icon": "assets/icons/logo-outline-black.png", "galleryBanner": { "color": "#FFFFFF", diff --git a/packages/kilo-vscode/tests/package.json b/packages/kilo-vscode/tests/package.json index ac10c6526d..b6a6fb85a4 100644 --- a/packages/kilo-vscode/tests/package.json +++ b/packages/kilo-vscode/tests/package.json @@ -1,6 +1,6 @@ { "type": "module", - "version": "7.3.18", + "version": "7.3.20", "dependencies": {}, "devDependencies": {}, "peerDependencies": {} diff --git a/packages/kilo-web-ui/package.json b/packages/kilo-web-ui/package.json index 932681a4b1..f61fb4a0a8 100644 --- a/packages/kilo-web-ui/package.json +++ b/packages/kilo-web-ui/package.json @@ -1,6 +1,6 @@ { "name": "@kilocode/kilo-web-ui", - "version": "7.2.52", + "version": "7.3.20", "type": "module", "license": "MIT", "exports": { diff --git a/packages/opencode/CHANGELOG.md b/packages/opencode/CHANGELOG.md index b0348ffa1b..2657c6a438 100644 --- a/packages/opencode/CHANGELOG.md +++ b/packages/opencode/CHANGELOG.md @@ -1,5 +1,19 @@ # @kilocode/cli +## 7.3.20 + +### Patch Changes + +- [#10792](https://github.com/Kilo-Org/kilocode/pull/10792) [`cb1fdb3`](https://github.com/Kilo-Org/kilocode/commit/cb1fdb3b1b824c6f91cb05dc568bd37f6bf494f5) - Allow clearing agent model and variant overrides from settings. + +- [#10786](https://github.com/Kilo-Org/kilocode/pull/10786) [`7dd8aab`](https://github.com/Kilo-Org/kilocode/commit/7dd8aabadeb1b5bcf69f5fb9545a57ac91daf54f) - Limit inferred background-process port discovery to the TUI and stop scanning after startup to avoid unnecessary Bun subprocess polling. + +- [#10735](https://github.com/Kilo-Org/kilocode/pull/10735) [`593903f`](https://github.com/Kilo-Org/kilocode/commit/593903fb5ce8843d1a84a64787f8103b92a31fee) - Fix Claude Opus 4.8 reasoning on Amazon Bedrock by treating it as an adaptive thinking model like Opus 4.7. This resolves the "thinking.type.enabled is not supported for this model" error and exposes the full low/medium/high/xhigh/max reasoning effort range. + +- [#10789](https://github.com/Kilo-Org/kilocode/pull/10789) [`316a662`](https://github.com/Kilo-Org/kilocode/commit/316a6627dc9eccd40bf7aa45366fca40b35f1879) - Fix queued plan prompts stalling in VS Code after a completed turn. + +- [#9499](https://github.com/Kilo-Org/kilocode/pull/9499) [`c1c3af8`](https://github.com/Kilo-Org/kilocode/commit/c1c3af8bf42e911d9d2a2cf06937fdf056d851d2) Thanks [@truffle-dev](https://github.com/truffle-dev)! - Fix empty TUI session list when launching kilo from inside a git submodule. `git worktree list --porcelain` reports the submodule's gitdir (`/.git/modules/`) instead of the working tree, so the worktree-family filter dropped every session whose directory was the actual submodule path. Include `Instance.worktree` in the returned set so submodule sessions stay in scope. + ## 7.3.18 ### Patch Changes diff --git a/packages/opencode/package.json b/packages/opencode/package.json index ffd2c0a73a..3206f6031f 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "7.3.18", + "version": "7.3.20", "name": "@kilocode/cli", "type": "module", "license": "MIT", diff --git a/packages/plugin/package.json b/packages/plugin/package.json index bf9d07ee59..29848c3459 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/plugin", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "scripts": { diff --git a/packages/script/package.json b/packages/script/package.json index 74d5106dcd..ddb56bfad0 100644 --- a/packages/script/package.json +++ b/packages/script/package.json @@ -12,6 +12,6 @@ "exports": { ".": "./src/index.ts" }, - "version": "7.3.18", + "version": "7.3.20", "peerDependencies": {} } diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json index e0190ed33e..af2eec4669 100644 --- a/packages/sdk/js/package.json +++ b/packages/sdk/js/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@kilocode/sdk", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "scripts": { diff --git a/packages/sdk/js/src/v2/gen/sdk.gen.ts b/packages/sdk/js/src/v2/gen/sdk.gen.ts index fe10e0988f..92cbbbd98a 100644 --- a/packages/sdk/js/src/v2/gen/sdk.gen.ts +++ b/packages/sdk/js/src/v2/gen/sdk.gen.ts @@ -38,6 +38,8 @@ import type { ConfigOverlayResponses, ConfigOverlayUpdateResponses, ConfigProvidersResponses, + ConfigRulesResponses, + ConfigRulesUpdateResponses, ConfigSourcesResponses, ConfigUpdateErrors, ConfigUpdateResponses, @@ -920,6 +922,77 @@ export class Config2 extends HeyApiClient { }) } + /** + * Get project rules + * + * List project instruction files used by Kilo and return their current contents. + */ + public rules( + parameters?: { + directory?: string + workspace?: string + scope?: "project" + }, + options?: Options, + ) { + const params = buildClientParams( + [parameters], + [ + { + args: [ + { in: "query", key: "directory" }, + { in: "query", key: "workspace" }, + { in: "query", key: "scope" }, + ], + }, + ], + ) + return (options?.client ?? this.client).get({ + url: "/config/rules", + ...options, + ...params, + }) + } + + /** + * Update project rules + * + * Create or update the project AGENTS.md rules file. + */ + public rulesUpdate( + parameters?: { + directory?: string + workspace?: string + scope?: "project" + content?: string + }, + options?: Options, + ) { + const params = buildClientParams( + [parameters], + [ + { + args: [ + { in: "query", key: "directory" }, + { in: "query", key: "workspace" }, + { in: "body", key: "scope" }, + { in: "body", key: "content" }, + ], + }, + ], + ) + return (options?.client ?? this.client).put({ + url: "/config/rules", + ...options, + ...params, + headers: { + "Content-Type": "application/json", + ...options?.headers, + ...params.headers, + }, + }) + } + /** * Get model state * @@ -5013,7 +5086,7 @@ export class Config3 extends HeyApiClient { parameters?: { directory?: string workspace?: string - scope?: "global" | "project" + scope?: "project" | "global" $schema?: string theme?: string keybinds?: { diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index f98cea44c6..a512adc808 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -2049,6 +2049,18 @@ export type ConfigSourcesResponse = { }> } +export type ConfigRulesResponse = { + scope: "project" + target: string + files: Array<{ + name: string + path: string + exists: boolean + editable: boolean + content: string + }> +} + export type ConfigModelStateResponse = { model: { [key: string]: { @@ -7902,6 +7914,48 @@ export type ConfigEffectiveResponses = { export type ConfigEffectiveResponse = ConfigEffectiveResponses[keyof ConfigEffectiveResponses] +export type ConfigRulesData = { + body?: never + path?: never + query?: { + directory?: string + workspace?: string + scope?: "project" + } + url: "/config/rules" +} + +export type ConfigRulesResponses = { + /** + * Project rules + */ + 200: ConfigRulesResponse +} + +export type ConfigRulesResponse2 = ConfigRulesResponses[keyof ConfigRulesResponses] + +export type ConfigRulesUpdateData = { + body?: { + scope?: "project" + content: string + } + path?: never + query?: { + directory?: string + workspace?: string + } + url: "/config/rules" +} + +export type ConfigRulesUpdateResponses = { + /** + * Project rules after update + */ + 200: ConfigRulesResponse +} + +export type ConfigRulesUpdateResponse = ConfigRulesUpdateResponses[keyof ConfigRulesUpdateResponses] + export type ConfigModelStateData = { body?: never path?: never @@ -8000,7 +8054,7 @@ export type TuiConfigUpdateData = { query?: { directory?: string workspace?: string - scope?: "global" | "project" + scope?: "project" | "global" } url: "/tui/config" } diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 6999aa7ba6..d52df70931 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -26,7 +26,7 @@ "typescript": "catalog:", "vite": "catalog:" }, - "version": "7.3.18", + "version": "7.3.20", "dependencies": {}, "peerDependencies": {} } diff --git a/packages/ui/package.json b/packages/ui/package.json index 7f265caddc..90153421d9 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@opencode-ai/ui", - "version": "7.3.18", + "version": "7.3.20", "type": "module", "license": "MIT", "exports": { diff --git a/script/upstream/package.json b/script/upstream/package.json index f9f4109cce..774e617e5d 100644 --- a/script/upstream/package.json +++ b/script/upstream/package.json @@ -1,6 +1,6 @@ { "name": "@kilocode/upstream-merge", - "version": "7.3.18", + "version": "7.3.20", "private": true, "type": "module", "description": "Scripts for automating upstream opencode merges into Kilo",