cline 3.0.60 → 3.0.61

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.
Files changed (2) hide show
  1. package/bin/cline +23 -0
  2. package/package.json +12 -12
package/bin/cline CHANGED
@@ -72,6 +72,29 @@ function run(target) {
72
72
  });
73
73
  if (result.error) {
74
74
  console.error(result.error.message);
75
+ // Windows application control (Smart App Control, WDAC, AppLocker)
76
+ // blocks the child exe at launch, which Node surfaces only as an
77
+ // opaque "spawnSync ... UNKNOWN" error. Point users at the real cause.
78
+ const code = result.error.code;
79
+ if (
80
+ os.platform() === "win32" &&
81
+ (code === "UNKNOWN" || code === "EACCES" || code === "EPERM")
82
+ ) {
83
+ console.error(
84
+ "\nWindows refused to start the Cline binary:\n " +
85
+ target +
86
+ "\n\n" +
87
+ "This usually means an application control policy (Smart App Control,\n" +
88
+ "WDAC, or AppLocker) or antivirus blocked the executable. To confirm,\n" +
89
+ "run the path above directly in a terminal and check the error Windows\n" +
90
+ "reports, or inspect its signature with:\n\n" +
91
+ ' Get-AuthenticodeSignature "' +
92
+ target +
93
+ '"\n\n' +
94
+ "If it was blocked by policy, allow the file or ask your administrator\n" +
95
+ "to trust it. See https://github.com/cline/cline/issues for known issues.",
96
+ );
97
+ }
75
98
  process.exit(1);
76
99
  }
77
100
  if (typeof result.status === "number") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cline",
3
- "version": "3.0.60",
3
+ "version": "3.0.61",
4
4
  "description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -37,18 +37,18 @@
37
37
  "postinstall": "node ./postinstall.mjs || true"
38
38
  },
39
39
  "dependencies": {
40
- "@cline/sdk": "0.0.81",
41
- "@cline/core": "0.0.81",
42
- "@cline/agents": "0.0.81",
43
- "@cline/llms": "0.0.81",
44
- "@cline/shared": "0.0.81"
40
+ "@cline/sdk": "0.0.82",
41
+ "@cline/core": "0.0.82",
42
+ "@cline/agents": "0.0.82",
43
+ "@cline/llms": "0.0.82",
44
+ "@cline/shared": "0.0.82"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@cline/cli-linux-x64": "3.0.60",
48
- "@cline/cli-darwin-arm64": "3.0.60",
49
- "@cline/cli-windows-x64": "3.0.60",
50
- "@cline/cli-linux-arm64": "3.0.60",
51
- "@cline/cli-windows-arm64": "3.0.60",
52
- "@cline/cli-darwin-x64": "3.0.60"
47
+ "@cline/cli-linux-x64": "3.0.61",
48
+ "@cline/cli-darwin-arm64": "3.0.61",
49
+ "@cline/cli-windows-x64": "3.0.61",
50
+ "@cline/cli-linux-arm64": "3.0.61",
51
+ "@cline/cli-windows-arm64": "3.0.61",
52
+ "@cline/cli-darwin-x64": "3.0.61"
53
53
  }
54
54
  }