Просмотр исходного кода

Add announcement for search_files

Saoud Rizwan 1 год назад
Родитель
Сommit
1df8b1673a
3 измененных файлов с 6 добавлено и 2 удалено
  1. 1 1
      package.json
  2. 1 1
      src/providers/ClaudeDevProvider.ts
  3. 4 0
      webview-ui/src/components/Announcement.tsx

+ 1 - 1
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.4.24",
+  "version": "1.5.0",
   "icon": "icon.png",
   "engines": {
     "vscode": "^1.84.0"

+ 1 - 1
src/providers/ClaudeDevProvider.ts

@@ -34,7 +34,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
 	private disposables: vscode.Disposable[] = []
 	private view?: vscode.WebviewView | vscode.WebviewPanel
 	private claudeDev?: ClaudeDev
-	private latestAnnouncementId = "aug-28-2024" // update to some unique identifier when we add a new announcement
+	private latestAnnouncementId = "aug-30-2024" // update to some unique identifier when we add a new announcement
 
 	constructor(readonly context: vscode.ExtensionContext, private readonly outputChannel: vscode.OutputChannel) {
 		this.outputChannel.appendLine("ClaudeDevProvider instantiated")

+ 4 - 0
webview-ui/src/components/Announcement.tsx

@@ -30,6 +30,10 @@ const Announcement = ({ version, hideAnnouncement, apiConfiguration, vscodeUriSc
 				🎉{"  "}New in v{version}
 			</h3>
 			<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>
+				<li>
+					Adds new <code>search_files</code> tool that lets Claude perform regex searches in your project,
+					making it easy for him to refactor code, address TODOs and FIXMEs, remove dead code, and more!
+				</li>
 				<li>
 					Adds "Always allow read-only operations" setting to let Claude read files and view directories
 					without needing to approve (<b>off</b> by default).