cline 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  "name": "claude-dev",
3
3
  "displayName": "Cline",
4
4
  "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
5
- "version": "3.38.3",
5
+ "version": "3.39.2",
6
6
  "icon": "assets/icons/icon.png",
7
7
  "engines": {
8
8
  "vscode": "^1.84.0"
@@ -210,9 +210,26 @@
210
210
  "command": "cline.reconstructTaskHistory",
211
211
  "title": "Reconstruct Task History",
212
212
  "category": "Cline"
213
+ },
214
+ {
215
+ "command": "cline.reviewComment.reply",
216
+ "title": "Reply",
217
+ "category": "Cline",
218
+ "enablement": "!commentIsEmpty"
219
+ },
220
+ {
221
+ "command": "cline.reviewComment.addToChat",
222
+ "title": "Add to Cline Chat",
223
+ "category": "Cline",
224
+ "icon": "$(link-external)"
213
225
  }
214
226
  ],
215
227
  "keybindings": [
228
+ {
229
+ "command": "editor.action.submitComment",
230
+ "key": "enter",
231
+ "when": "commentEditorFocused && commentController == cline-ai-review && !commentIsEmpty"
232
+ },
216
233
  {
217
234
  "command": "cline.addToChat",
218
235
  "key": "cmd+'",
@@ -295,6 +312,24 @@
295
312
  {
296
313
  "command": "cline.abortGitCommitMessage",
297
314
  "when": "config.git.enabled && cline.isGeneratingCommit"
315
+ },
316
+ {
317
+ "command": "cline.reviewComment.reply",
318
+ "when": "false"
319
+ }
320
+ ],
321
+ "comments/commentThread/context": [
322
+ {
323
+ "command": "cline.reviewComment.reply",
324
+ "group": "inline",
325
+ "when": "commentController == cline-ai-review"
326
+ }
327
+ ],
328
+ "comments/commentThread/title": [
329
+ {
330
+ "command": "cline.reviewComment.addToChat",
331
+ "group": "inline",
332
+ "when": "commentController == cline-ai-review"
298
333
  }
299
334
  ]
300
335
  },
@@ -451,7 +486,6 @@
451
486
  "@playwright/test": "^1.55.1",
452
487
  "@sap-ai-sdk/ai-api": "^2.1.0",
453
488
  "@sap-ai-sdk/orchestration": "^2.1.0",
454
- "@sentry/browser": "^9.12.0",
455
489
  "@streamparser/json": "^0.0.22",
456
490
  "@tailwindcss/vite": "^4.1.14",
457
491
  "@types/uuid": "^10.0.0",
@@ -32,8 +32,8 @@ class StandaloneTerminalProcess extends EventEmitter {
32
32
  const shellArgs = this.getShellArgs(shell, command)
33
33
 
34
34
  try {
35
- // Spawn the process
36
- this.childProcess = spawn(shell, shellArgs, {
35
+ // Create shell options
36
+ const shellOptions = {
37
37
  cwd: cwd,
38
38
  stdio: ["ignore", "pipe", "pipe"], // Disable STDIN to prevent interactivity
39
39
  env: {
@@ -45,7 +45,18 @@ class StandaloneTerminalProcess extends EventEmitter {
45
45
  SYSTEMD_PAGER: "", // Disable systemd pager
46
46
  MANPAGER: "cat", // Disable man pager
47
47
  },
48
- })
48
+ }
49
+
50
+ // Enable the shell option for "cmd.exe" to prevent double quotes from being over escaped
51
+ if (shell.toLowerCase().includes("cmd")) {
52
+ shellOptions.shell = true
53
+
54
+ // Spawn the process with special handling for "cmd.exe"
55
+ this.childProcess = spawn("cmd.exe", shellArgs, shellOptions)
56
+ } else {
57
+ // Spawn the process
58
+ this.childProcess = spawn(shell, shellArgs, shellOptions)
59
+ }
49
60
 
50
61
  // Track process state
51
62
  let didEmitEmptyLine = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cline",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more",
5
5
  "main": "cline-core.js",
6
6
  "bin": {
@@ -28,6 +28,8 @@ service StateService {
28
28
  rpc updateInfoBannerVersion(Int64Request) returns (Empty);
29
29
  rpc updateModelBannerVersion(Int64Request) returns (Empty);
30
30
  rpc updateCliBannerVersion(Int64Request) returns (Empty);
31
+ rpc dismissBanner(StringRequest) returns (Empty);
32
+ rpc trackBannerEvent(TrackBannerEventRequest) returns (Empty);
31
33
  rpc installClineCli(EmptyRequest) returns (Empty);
32
34
  rpc checkCliInstallation(EmptyRequest) returns (Boolean);
33
35
  rpc getProcessInfo(EmptyRequest) returns (ProcessInfo);
@@ -404,3 +406,8 @@ message OnboardingModel {
404
406
  string group = 6;
405
407
  OpenRouterModelInfo info = 7;
406
408
  }
409
+
410
+ message TrackBannerEventRequest {
411
+ string banner_id = 1;
412
+ string event_type = 2;
413
+ }
@@ -40,6 +40,8 @@ service TaskService {
40
40
  rpc executeQuickWin(ExecuteQuickWinRequest) returns (Empty);
41
41
  // Deletes all task history
42
42
  rpc deleteAllTaskHistory(EmptyRequest) returns (DeleteAllTaskHistoryCount);
43
+ // Explains changes with AI and adds inline comments to the diff view
44
+ rpc explainChanges(ExplainChangesRequest) returns (Empty);
43
45
  }
44
46
 
45
47
  // Request message for creating a new task
@@ -123,3 +125,10 @@ message ExecuteQuickWinRequest {
123
125
  message DeleteAllTaskHistoryCount {
124
126
  int32 tasks_deleted = 1;
125
127
  }
128
+
129
+ // Request for explaining changes with AI
130
+ message ExplainChangesRequest {
131
+ Metadata metadata = 1;
132
+ // Timestamp of the completion message to explain changes for
133
+ int64 message_ts = 2;
134
+ }
@@ -66,6 +66,7 @@ enum ClineSay {
66
66
  INFO = 26;
67
67
  TASK_PROGRESS = 27;
68
68
  ERROR_RETRY = 28;
69
+ GENERATE_EXPLANATION = 29;
69
70
  }
70
71
 
71
72
  // Enum for ClineSayTool tool types
Binary file