fix: resolve OpenCode v1.15.4 merge regressions

This commit is contained in:
marius-kilocode
2026-06-12 19:45:14 +02:00
parent 6a1377abaa
commit 06e87cf653
41 changed files with 472 additions and 117 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ describe("tool.registry", () => {
yield* Effect.promise(() =>
Bun.write(
path.join(plugin, "package.json"),
JSON.stringify({ name: "@kilocode/plugin", type: "module", exports: { ".": "./dist/index.js" } }),
JSON.stringify({ name: "@kilocode/plugin", type: "module", exports: { ".": "./dist/index.js" } }), // kilocode_change
),
)
yield* Effect.promise(() =>
@@ -315,7 +315,7 @@ describe("tool.registry", () => {
Bun.write(
path.join(customTools, "addition.ts"),
[
'import { tool } from "@kilocode/plugin"',
'import { tool } from "@kilocode/plugin"', // kilocode_change
"export default tool({",
" description: 'Use this tool to add two numbers and return their sum.',",
" args: {",