chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-10 21:12:22 +00:00
parent b41fa8e318
commit fb26308bc7
3 changed files with 64 additions and 60 deletions

View File

@@ -27,7 +27,13 @@ export const MultiEditTool = Tool.defineEffect(
)
.describe("Array of edit operations to perform sequentially on the file"),
}),
execute: (params: { filePath: string; edits: Array<{ filePath: string; oldString: string; newString: string; replaceAll?: boolean }> }, ctx: Tool.Context) =>
execute: (
params: {
filePath: string
edits: Array<{ filePath: string; oldString: string; newString: string; replaceAll?: boolean }>
},
ctx: Tool.Context,
) =>
Effect.gen(function* () {
const results = []
for (const [, entry] of params.edits.entries()) {