100xprompt-cli 0.1.176 → 0.1.178
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/bin/100xprompt.js +11 -0
- package/package.json +12 -12
package/bin/100xprompt.js
CHANGED
|
@@ -60,8 +60,19 @@ child.on('error', (err) => {
|
|
|
60
60
|
process.exit(1)
|
|
61
61
|
})
|
|
62
62
|
|
|
63
|
+
// A stop sent to this launcher alone (a service manager, a program stopping the CLI it started) is
|
|
64
|
+
// the engine's to act on. Ctrl+C needs no passing on: the terminal sends SIGINT to both.
|
|
65
|
+
let forwarded
|
|
66
|
+
for (const name of ['SIGTERM', 'SIGHUP']) {
|
|
67
|
+
process.on(name, () => {
|
|
68
|
+
forwarded = name
|
|
69
|
+
child.kill(name)
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
|
|
63
73
|
child.on('exit', (code, signal) => {
|
|
64
74
|
if (signal) {
|
|
75
|
+
if (signal === forwarded) process.exit(1)
|
|
65
76
|
console.error(`[100XPrompt] Process was killed with signal: ${signal}`)
|
|
66
77
|
process.exit(1)
|
|
67
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "100xprompt-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.178",
|
|
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.178",
|
|
30
|
+
"@100xprompt/cli-windows-x64": "0.1.178",
|
|
31
|
+
"@100xprompt/cli-windows-x64-baseline": "0.1.178",
|
|
32
|
+
"@100xprompt/cli-darwin-x64": "0.1.178",
|
|
33
|
+
"@100xprompt/cli-darwin-x64-baseline": "0.1.178",
|
|
34
|
+
"@100xprompt/cli-linux-arm64": "0.1.178",
|
|
35
|
+
"@100xprompt/cli-linux-x64": "0.1.178",
|
|
36
|
+
"@100xprompt/cli-linux-x64-baseline": "0.1.178",
|
|
37
|
+
"@100xprompt/cli-linux-arm64-musl": "0.1.178",
|
|
38
|
+
"@100xprompt/cli-linux-x64-musl": "0.1.178",
|
|
39
|
+
"@100xprompt/cli-linux-x64-baseline-musl": "0.1.178"
|
|
40
40
|
}
|
|
41
41
|
}
|