From 585d15bdeef955a28d5eb3f69d217263cc16a103 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Thu, 22 Aug 2024 02:55:55 -0400 Subject: [PATCH] Update tool prompt --- package.json | 2 +- src/ClaudeDev.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 81e7dcb..3aadbc3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-dev", "displayName": "Claude Dev", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.", - "version": "1.3.4", + "version": "1.3.41", "icon": "icon.png", "engines": { "vscode": "^1.84.0" diff --git a/src/ClaudeDev.ts b/src/ClaudeDev.ts index acc56e6..2973995 100644 --- a/src/ClaudeDev.ts +++ b/src/ClaudeDev.ts @@ -166,7 +166,7 @@ const tools: Tool[] = [ { name: "write_to_file", description: - "Write content to a file at the specified path. If the file exists, it will be completely overwritten with the provided content (so do NOT omit unmodified sections). If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file.", + "Write content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. Always provide the full intended content of the file, without any truncation. This tool will automatically create any directories needed to write the file.", input_schema: { type: "object", properties: { @@ -176,8 +176,7 @@ const tools: Tool[] = [ }, content: { type: "string", - description: - "The full content to write to the file. Must be the full intended content of the file, without any omission or truncation.", + description: "The full content to write to the file.", }, }, required: ["path", "content"],