mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
fix: resolve OpenCode v1.15.4 merge regressions
This commit is contained in:
@@ -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: {",
|
||||
|
||||
Reference in New Issue
Block a user