From 82dda99b94413b0a1633464b2bd4c110e4b20fe3 Mon Sep 17 00:00:00 2001 From: marius-kilocode Date: Tue, 21 Jul 2026 11:01:49 +0200 Subject: [PATCH] fix: restore kilo ci scripts and install policy The package.json reconciliation dropped Kilo's test:ci scripts from the six upstream-shared packages (core, effect-drizzle-sqlite, http-recorder, llm, tui, ui), silently scheduling zero tests in the non-CLI CI job, removed the dev:local root entrypoint, and adopted upstream's tree-sitter-powershell native build permission. Restores all of them to the Kilo base state. --- package.json | 2 +- packages/core/package.json | 1 + packages/effect-drizzle-sqlite/package.json | 1 + packages/http-recorder/package.json | 1 + packages/llm/package.json | 1 + packages/tui/package.json | 1 + packages/ui/package.json | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ac4d0d5ea2..634b06aa4a 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "packageManager": "bun@1.3.14", "scripts": { "dev": "bun run --cwd packages/opencode --conditions=browser src/index.ts", + "dev:local": "bun run packages/opencode/script/dev-local.ts", "dev:stats": "bun sst shell --stage=production -- bun run --cwd packages/stats/app dev", "dev:storybook": "bun --cwd packages/storybook storybook", "lint": "oxlint", @@ -127,7 +128,6 @@ "protobufjs", "tree-sitter", "tree-sitter-bash", - "tree-sitter-powershell", "web-tree-sitter", "electron" ], diff --git a/packages/core/package.json b/packages/core/package.json index d56b01c466..bcf809158b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,6 +10,7 @@ "migration": "bun run script/migration.ts", "fix-node-pty": "bun run script/fix-node-pty.ts", "test": "bun test --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "typecheck": "tsgo --noEmit" }, "bin": { diff --git a/packages/effect-drizzle-sqlite/package.json b/packages/effect-drizzle-sqlite/package.json index eb6217402b..344ea15818 100644 --- a/packages/effect-drizzle-sqlite/package.json +++ b/packages/effect-drizzle-sqlite/package.json @@ -7,6 +7,7 @@ "private": true, "scripts": { "test": "bun test --timeout 30000 --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "typecheck": "tsgo --noEmit" }, "exports": { diff --git a/packages/http-recorder/package.json b/packages/http-recorder/package.json index 29d0f60cdc..0cbdb4bcce 100644 --- a/packages/http-recorder/package.json +++ b/packages/http-recorder/package.json @@ -28,6 +28,7 @@ }, "scripts": { "test": "bun test --timeout 30000 --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "typecheck": "tsgo --noEmit", "build": "bun ./script/build.ts", "verify:package": "bun ./script/verify-package.ts" diff --git a/packages/llm/package.json b/packages/llm/package.json index 69aea57cfd..1eb0522af4 100644 --- a/packages/llm/package.json +++ b/packages/llm/package.json @@ -8,6 +8,7 @@ "scripts": { "setup:recording-env": "bun run script/setup-recording-env.ts", "test": "bun test --timeout 30000 --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "typecheck": "tsgo --noEmit" }, "exports": { diff --git a/packages/tui/package.json b/packages/tui/package.json index 0eaf7246a4..d0874e21c8 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -7,6 +7,7 @@ "license": "MIT", "scripts": { "test": "bun test --timeout 30000 --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "typecheck": "tsgo --noEmit" }, "exports": { diff --git a/packages/ui/package.json b/packages/ui/package.json index 642f9ebf16..e1d6e450e3 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -30,6 +30,7 @@ "scripts": { "typecheck": "tsgo --noEmit", "test": "bun test src --only-failures", + "test:ci": "mkdir -p .artifacts/unit && bun test src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "dev": "vite", "generate:tailwind": "bun run script/tailwind.ts", "generate:v2-oc2": "bun run script/build-oc2-v2-overrides.ts"