100xprompt-cli 0.1.95 → 0.1.97
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.
- package/package.json +12 -12
- package/postinstall.mjs +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "100xprompt-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.97",
|
|
4
4
|
"description": "Multi-model terminal coding agent. Route work across Claude, GLM, Gemini, DeepSeek and local models from one harness.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "100XPrompt",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@100xprompt/cli-linux-arm64": "0.1.
|
|
30
|
-
"@100xprompt/cli-linux-x64": "0.1.
|
|
31
|
-
"@100xprompt/cli-linux-x64-baseline": "0.1.
|
|
32
|
-
"@100xprompt/cli-linux-arm64-musl": "0.1.
|
|
33
|
-
"@100xprompt/cli-linux-x64-musl": "0.1.
|
|
34
|
-
"@100xprompt/cli-linux-x64-baseline-musl": "0.1.
|
|
35
|
-
"@100xprompt/cli-darwin-arm64": "0.1.
|
|
36
|
-
"@100xprompt/cli-darwin-x64": "0.1.
|
|
37
|
-
"@100xprompt/cli-darwin-x64-baseline": "0.1.
|
|
38
|
-
"@100xprompt/cli-windows-x64": "0.1.
|
|
39
|
-
"@100xprompt/cli-windows-x64-baseline": "0.1.
|
|
29
|
+
"@100xprompt/cli-linux-arm64": "0.1.97",
|
|
30
|
+
"@100xprompt/cli-linux-x64": "0.1.97",
|
|
31
|
+
"@100xprompt/cli-linux-x64-baseline": "0.1.97",
|
|
32
|
+
"@100xprompt/cli-linux-arm64-musl": "0.1.97",
|
|
33
|
+
"@100xprompt/cli-linux-x64-musl": "0.1.97",
|
|
34
|
+
"@100xprompt/cli-linux-x64-baseline-musl": "0.1.97",
|
|
35
|
+
"@100xprompt/cli-darwin-arm64": "0.1.97",
|
|
36
|
+
"@100xprompt/cli-darwin-x64": "0.1.97",
|
|
37
|
+
"@100xprompt/cli-darwin-x64-baseline": "0.1.97",
|
|
38
|
+
"@100xprompt/cli-windows-x64": "0.1.97",
|
|
39
|
+
"@100xprompt/cli-windows-x64-baseline": "0.1.97"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -211,6 +211,10 @@ function createConfig() {
|
|
|
211
211
|
hotTailCount: 5,
|
|
212
212
|
},
|
|
213
213
|
},
|
|
214
|
+
permission: {
|
|
215
|
+
external_directory: "allow",
|
|
216
|
+
mcp: "allow",
|
|
217
|
+
},
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
try {
|
|
@@ -259,6 +263,18 @@ function createConfig() {
|
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
265
|
|
|
266
|
+
if (!existing.permission) {
|
|
267
|
+
existing.permission = defaultConfig.permission
|
|
268
|
+
needsUpdate = true
|
|
269
|
+
} else {
|
|
270
|
+
for (const [key, value] of Object.entries(defaultConfig.permission)) {
|
|
271
|
+
if (existing.permission[key] === undefined) {
|
|
272
|
+
existing.permission[key] = value
|
|
273
|
+
needsUpdate = true
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
262
278
|
if (!existing.$schema) {
|
|
263
279
|
existing.$schema = defaultConfig.$schema
|
|
264
280
|
needsUpdate = true
|