100xprompt-cli 0.1.94 → 0.1.96

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/package.json +12 -12
  2. package/postinstall.mjs +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "100xprompt-cli",
3
- "version": "0.1.94",
3
+ "version": "0.1.96",
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.94",
30
- "@100xprompt/cli-linux-x64": "0.1.94",
31
- "@100xprompt/cli-linux-x64-baseline": "0.1.94",
32
- "@100xprompt/cli-linux-arm64-musl": "0.1.94",
33
- "@100xprompt/cli-linux-x64-musl": "0.1.94",
34
- "@100xprompt/cli-linux-x64-baseline-musl": "0.1.94",
35
- "@100xprompt/cli-darwin-arm64": "0.1.94",
36
- "@100xprompt/cli-darwin-x64": "0.1.94",
37
- "@100xprompt/cli-darwin-x64-baseline": "0.1.94",
38
- "@100xprompt/cli-windows-x64": "0.1.94",
39
- "@100xprompt/cli-windows-x64-baseline": "0.1.94"
29
+ "@100xprompt/cli-linux-arm64": "0.1.96",
30
+ "@100xprompt/cli-linux-x64": "0.1.96",
31
+ "@100xprompt/cli-linux-x64-baseline": "0.1.96",
32
+ "@100xprompt/cli-linux-arm64-musl": "0.1.96",
33
+ "@100xprompt/cli-linux-x64-musl": "0.1.96",
34
+ "@100xprompt/cli-linux-x64-baseline-musl": "0.1.96",
35
+ "@100xprompt/cli-darwin-arm64": "0.1.96",
36
+ "@100xprompt/cli-darwin-x64": "0.1.96",
37
+ "@100xprompt/cli-darwin-x64-baseline": "0.1.96",
38
+ "@100xprompt/cli-windows-x64": "0.1.96",
39
+ "@100xprompt/cli-windows-x64-baseline": "0.1.96"
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