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

+ 4 - 0
CHANGELOG.md

@@ -4,6 +4,10 @@ All notable changes to the "claude-dev" extension will be documented in this fil
 
 <!-- Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. -->
 
+## [1.5.6]
+
+- You can now edit Claude's changes before accepting! When he edits or creates a file, you can modify his changes directly in the right side of the diff view (+ hover over the 'Revert Block' arrow button in the center to undo `// rest of code here` shenanigans)
+
 ## [1.5.4]
 
 - Adds support for reading .pdf and .docx files (try "turn my business_plan.docx into a company website")

+ 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.5.5",
+  "version": "1.5.6",
   "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-31-2024" // update to some unique identifier when we add a new announcement
+	private latestAnnouncementId = "aug-31-2024-1" // 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")

+ 5 - 5
webview-ui/src/components/Announcement.tsx

@@ -30,6 +30,11 @@ const Announcement = ({ version, hideAnnouncement, apiConfiguration, vscodeUriSc
 				🎉{"  "}New in v{version}
 			</h3>
 			<ul style={{ margin: "0 0 8px", paddingLeft: "12px" }}>
+				<li>
+					<b>You can now edit Claude's changes before accepting!</b> When he edits or creates a file, you can
+					modify his changes directly in the right side of the diff view (+ hover over the 'Revert Block'
+					arrow button in the center to undo "<code>{"// rest of code here"}</code>" shenanigans)
+				</li>
 				<li>
 					Adds support for reading .pdf and .docx files (try "turn my business_plan.docx into a company
 					website")
@@ -42,11 +47,6 @@ const Announcement = ({ version, hideAnnouncement, apiConfiguration, vscodeUriSc
 					Adds "Always allow read-only operations" setting to let Claude read files and view directories
 					without needing to approve (<b>off</b> by default).
 				</li>
-				<li>Adds sliding window context management to keep tasks going past 200k tokens.</li>
-				<li>
-					Adds Google Cloud Vertex AI support and updates Claude 3.5 Sonnet max output to 8192 tokens for all
-					providers.
-				</li>
 			</ul>
 			<p style={{ margin: "0" }}>
 				Follow me for more updates!{" "}