mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00
Fix always allow read-only state
This commit is contained in:
parent
b93a866d5a
commit
ce208c8c8c
@ -2,7 +2,7 @@
|
|||||||
"name": "claude-dev",
|
"name": "claude-dev",
|
||||||
"displayName": "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.",
|
"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.1",
|
"version": "1.4.11",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.84.0"
|
"vscode": "^1.84.0"
|
||||||
|
@ -324,8 +324,8 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
|||||||
await this.postStateToWebview()
|
await this.postStateToWebview()
|
||||||
break
|
break
|
||||||
case "alwaysAllowReadOnly":
|
case "alwaysAllowReadOnly":
|
||||||
await this.updateGlobalState("alwaysAllowReadOnly", message.bool || undefined)
|
await this.updateGlobalState("alwaysAllowReadOnly", message.bool ?? undefined)
|
||||||
this.claudeDev?.updateAlwaysAllowReadOnly(message.bool || undefined)
|
this.claudeDev?.updateAlwaysAllowReadOnly(message.bool ?? undefined)
|
||||||
await this.postStateToWebview()
|
await this.postStateToWebview()
|
||||||
break
|
break
|
||||||
case "askResponse":
|
case "askResponse":
|
||||||
@ -681,7 +681,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
|||||||
maxRequestsPerTask,
|
maxRequestsPerTask,
|
||||||
lastShownAnnouncementId,
|
lastShownAnnouncementId,
|
||||||
customInstructions,
|
customInstructions,
|
||||||
alwaysAllowReadOnly,
|
alwaysAllowReadOnly: alwaysAllowReadOnly ?? false,
|
||||||
taskHistory,
|
taskHistory,
|
||||||
koduCredits,
|
koduCredits,
|
||||||
shouldShowKoduPromo: shouldShowKoduPromo ?? true,
|
shouldShowKoduPromo: shouldShowKoduPromo ?? true,
|
||||||
|
Loading…
Reference in New Issue
Block a user