You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/opencode/src/tool/edit.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ When making edits:
52
52
53
53
Remember: when making multiple file edits in a row to the same file, you should prefer to send all edits in a single message with multiple calls to this tool, rather than multiple messages with a single call each.`
54
54
55
-
exportconstedit=Tool.define({
56
-
name: "opencode.edit",
55
+
exportconstEditTool=Tool.define({
56
+
id: "opencode.edit",
57
57
description: DESCRIPTION,
58
58
parameters: z.object({
59
59
filePath: z.string().describe("The absolute path to the file to modify"),
0 commit comments