100xprompt-cli 0.1.154 → 0.1.155
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 +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "100xprompt-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.155",
|
|
4
4
|
"description": "Multi-model terminal coding agent. Route work across Claude, Gemini, DeepSeek and local models from one harness.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
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-darwin-arm64": "0.1.
|
|
30
|
-
"@100xprompt/cli-windows-x64": "0.1.
|
|
31
|
-
"@100xprompt/cli-windows-x64-baseline": "0.1.
|
|
32
|
-
"@100xprompt/cli-darwin-x64": "0.1.
|
|
33
|
-
"@100xprompt/cli-darwin-x64-baseline": "0.1.
|
|
34
|
-
"@100xprompt/cli-linux-arm64": "0.1.
|
|
35
|
-
"@100xprompt/cli-linux-x64": "0.1.
|
|
36
|
-
"@100xprompt/cli-linux-x64-baseline": "0.1.
|
|
37
|
-
"@100xprompt/cli-linux-arm64-musl": "0.1.
|
|
38
|
-
"@100xprompt/cli-linux-x64-musl": "0.1.
|
|
39
|
-
"@100xprompt/cli-linux-x64-baseline-musl": "0.1.
|
|
29
|
+
"@100xprompt/cli-darwin-arm64": "0.1.155",
|
|
30
|
+
"@100xprompt/cli-windows-x64": "0.1.155",
|
|
31
|
+
"@100xprompt/cli-windows-x64-baseline": "0.1.155",
|
|
32
|
+
"@100xprompt/cli-darwin-x64": "0.1.155",
|
|
33
|
+
"@100xprompt/cli-darwin-x64-baseline": "0.1.155",
|
|
34
|
+
"@100xprompt/cli-linux-arm64": "0.1.155",
|
|
35
|
+
"@100xprompt/cli-linux-x64": "0.1.155",
|
|
36
|
+
"@100xprompt/cli-linux-x64-baseline": "0.1.155",
|
|
37
|
+
"@100xprompt/cli-linux-arm64-musl": "0.1.155",
|
|
38
|
+
"@100xprompt/cli-linux-x64-musl": "0.1.155",
|
|
39
|
+
"@100xprompt/cli-linux-x64-baseline-musl": "0.1.155"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -399,7 +399,21 @@ async function main() {
|
|
|
399
399
|
console.warn(`Config setup skipped: ${error.message}`)
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
|
|
402
|
+
// The welcome banner is for a first install only. It is written to /dev/tty, past npm's capture, so an update run
|
|
403
|
+
// behind a running TUI (a release before 0.1.155 updated in the background) drew it over the screen (2026-11-22).
|
|
404
|
+
// An update the CLI runs says so (HUNDREDXPROMPT_UPGRADE); one from an older release does not, but it leaves the
|
|
405
|
+
// CLI's data folder behind.
|
|
406
|
+
if (process.env.HUNDREDXPROMPT_UPGRADE !== "1" && !usedBefore()) printBanner()
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/** Whether 100xprompt has run on this machine before: its data folder exists. */
|
|
410
|
+
function usedBefore() {
|
|
411
|
+
const base = process.env.XDG_DATA_HOME || path.join(os.homedir(), ".local", "share")
|
|
412
|
+
try {
|
|
413
|
+
return fs.existsSync(path.join(base, "100xprompt"))
|
|
414
|
+
} catch {
|
|
415
|
+
return false
|
|
416
|
+
}
|
|
403
417
|
}
|
|
404
418
|
|
|
405
419
|
main().catch((error) => {
|