@itsbfb/codex 0.166.0-tmux.1 → 0.172.0-autodark.1
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/codex.js +2 -7
- package/package.json +3 -3
package/bin/codex.js
CHANGED
|
@@ -258,14 +258,9 @@ child.on("error", (err) => {
|
|
|
258
258
|
process.exit(1);
|
|
259
259
|
});
|
|
260
260
|
|
|
261
|
-
//
|
|
262
|
-
//
|
|
263
|
-
// exiting immediately; once the child has been signaled we simply wait for
|
|
264
|
-
// its exit event which will in turn terminate the parent (see below).
|
|
261
|
+
// Keep forwarding signals until the child exits so a second signal can
|
|
262
|
+
// interrupt a graceful shutdown.
|
|
265
263
|
const forwardSignal = (signal) => {
|
|
266
|
-
if (child.killed) {
|
|
267
|
-
return;
|
|
268
|
-
}
|
|
269
264
|
try {
|
|
270
265
|
child.kill(signal);
|
|
271
266
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itsbfb/codex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.172.0-autodark.1",
|
|
4
4
|
"description": "Codex CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"bin"
|
|
16
16
|
],
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@itsbfb/codex-darwin-arm64": "0.
|
|
19
|
-
"@itsbfb/codex-linux-x64": "0.
|
|
18
|
+
"@itsbfb/codex-darwin-arm64": "0.172.0-autodark.1-darwin-arm64",
|
|
19
|
+
"@itsbfb/codex-linux-x64": "0.172.0-autodark.1-linux-x64"
|
|
20
20
|
}
|
|
21
21
|
}
|