summaryrefslogtreecommitdiffhomepage
path: root/js/src/tool/edit.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-30 16:39:45 -0400
committerDax Raad <[email protected]>2025-05-30 16:43:42 -0400
commit91a9e455e233e454df1cfc552f2ddbf7d9fbecb8 (patch)
tree160f3be01f5153b4c6ce5d2114aa814ec5b16192 /js/src/tool/edit.ts
parentc391c6d3f3ee4a041ab30f576aae0abfca8f7c9a (diff)
downloadopencode-91a9e455e233e454df1cfc552f2ddbf7d9fbecb8.tar.gz
opencode-91a9e455e233e454df1cfc552f2ddbf7d9fbecb8.zip
sync
Diffstat (limited to 'js/src/tool/edit.ts')
-rw-r--r--js/src/tool/edit.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tool/edit.ts b/js/src/tool/edit.ts
index 0fa10475b..9ba99a3be 100644
--- a/js/src/tool/edit.ts
+++ b/js/src/tool/edit.ts
@@ -53,7 +53,7 @@ When making edits:
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.`;
export const edit = Tool.define({
- name: "edit",
+ name: "opencode.edit",
description: DESCRIPTION,
parameters: z.object({
filePath: z.string().describe("The absolute path to the file to modify"),