@claudexor/cli 3.15.0 → 3.15.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/dist/cli-io.d.ts.map +1 -1
- package/dist/cli-io.js +17 -2
- package/dist/cli-io.js.map +1 -1
- package/package.json +24 -24
package/dist/cli-io.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-io.d.ts","sourceRoot":"","sources":["../src/cli-io.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAErC;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAE9C;AAED;mFACmF;AACnF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAElD;
|
|
1
|
+
{"version":3,"file":"cli-io.d.ts","sourceRoot":"","sources":["../src/cli-io.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAErC;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAE9C;AAED;mFACmF;AACnF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAElD;AAMD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAwBvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAIpE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAC7C,WAAW,CAAC,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;QACtD,YAAY,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;KAC/C,EAAE,CAAC;CACL,GAAG,MAAM,CAST;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACpC,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5D,GAAG,MAAM,CAIT"}
|
package/dist/cli-io.js
CHANGED
|
@@ -14,16 +14,31 @@ export function printJson(value) {
|
|
|
14
14
|
export function printJsonLine(value) {
|
|
15
15
|
process.stdout.write(JSON.stringify(value) + "\n");
|
|
16
16
|
}
|
|
17
|
+
/** On Windows, how long a finished command may stay alive on a stray handle
|
|
18
|
+
* before the backstop forces termination. The clean path never waits for it. */
|
|
19
|
+
const STRAY_HANDLE_EXIT_GRACE_MS = 1_000;
|
|
17
20
|
export function exitAfterOutputFlush(code) {
|
|
18
21
|
// JSON projections such as `doctor --all` can exceed a pipe's 64 KiB high-water
|
|
19
22
|
// mark. A direct process.exit() discards that buffered tail while still reporting
|
|
20
23
|
// success. Empty writes queue behind every prior write; exit only after both pipes
|
|
21
|
-
// have drained
|
|
24
|
+
// have drained.
|
|
25
|
+
//
|
|
26
|
+
// On Windows, an empty event loop lets Node dispose the isolate and finish
|
|
27
|
+
// background work before shutdown. A forced process.exit() raced that work in
|
|
28
|
+
// Node 24.16 and libuv aborted after valid JSON (nodejs/node#56645, fixed in
|
|
29
|
+
// Node 24.20.0). Keep the former immediate exit on other platforms. The
|
|
30
|
+
// Windows-only unref'd backstop fires if a stray handle keeps the loop alive.
|
|
22
31
|
let pending = 2;
|
|
23
32
|
const flushed = () => {
|
|
24
33
|
pending -= 1;
|
|
25
|
-
if (pending
|
|
34
|
+
if (pending !== 0)
|
|
35
|
+
return;
|
|
36
|
+
if (process.platform !== "win32") {
|
|
26
37
|
process.exit(code);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
process.exitCode = code;
|
|
41
|
+
setTimeout(() => process.exit(code), STRAY_HANDLE_EXIT_GRACE_MS).unref();
|
|
27
42
|
};
|
|
28
43
|
process.stdout.write("", flushed);
|
|
29
44
|
process.stderr.write("", flushed);
|
package/dist/cli-io.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-io.js","sourceRoot":"","sources":["../src/cli-io.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,UAAU,KAAK,CAAC,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAc;IACtC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AAC9D,CAAC;AAED;mFACmF;AACnF,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,gFAAgF;IAChF,kFAAkF;IAClF,mFAAmF;IACnF,
|
|
1
|
+
{"version":3,"file":"cli-io.js","sourceRoot":"","sources":["../src/cli-io.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,UAAU,KAAK,CAAC,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAc;IACtC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AAC9D,CAAC;AAED;mFAC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AC5F,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC;IACxC,OAAO,CAAC,CAAC;AACX,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,MAAc;IACxC,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC;AAC3F,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAMtC;IACC,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC;IACzC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,wBAAwB,CAAC;IAC1D,OAAO,OAAO;SACX,GAAG,CACF,CAAC,MAAM,EAAE,EAAE,CACT,GAAG,MAAM,CAAC,MAAM,iBAAiB,MAAM,CAAC,YAAY,iBAAiB,MAAM,CAAC,YAAY,GAAG,CAC9F;SACA,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,MAE7B;IACC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;IACnC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,MAAM,CAAC;IACvC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/cli",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Claudexor CLI (claudexor). Thin surface over the orchestrator.",
|
|
6
6
|
"type": "module",
|
|
@@ -10,29 +10,29 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@claudexor/acp-server": "3.15.
|
|
14
|
-
"@claudexor/config": "3.15.
|
|
15
|
-
"@claudexor/
|
|
16
|
-
"@claudexor/
|
|
17
|
-
"@claudexor/
|
|
18
|
-
"@claudexor/
|
|
19
|
-
"@claudexor/
|
|
20
|
-
"@claudexor/harness-
|
|
21
|
-
"@claudexor/harness-
|
|
22
|
-
"@claudexor/harness-codex": "3.15.
|
|
23
|
-
"@claudexor/harness-cursor": "3.15.
|
|
24
|
-
"@claudexor/harness-
|
|
25
|
-
"@claudexor/harness-
|
|
26
|
-
"@claudexor/
|
|
27
|
-
"@claudexor/mcp-server": "3.15.
|
|
28
|
-
"@claudexor/
|
|
29
|
-
"@claudexor/
|
|
30
|
-
"@claudexor/
|
|
31
|
-
"@claudexor/
|
|
32
|
-
"@claudexor/
|
|
33
|
-
"@claudexor/
|
|
34
|
-
"@claudexor/
|
|
35
|
-
"@claudexor/
|
|
13
|
+
"@claudexor/acp-server": "3.15.1",
|
|
14
|
+
"@claudexor/config": "3.15.1",
|
|
15
|
+
"@claudexor/core": "3.15.1",
|
|
16
|
+
"@claudexor/artifact-store": "3.15.1",
|
|
17
|
+
"@claudexor/control-api": "3.15.1",
|
|
18
|
+
"@claudexor/gateway": "3.15.1",
|
|
19
|
+
"@claudexor/delivery": "3.15.1",
|
|
20
|
+
"@claudexor/harness-agy": "3.15.1",
|
|
21
|
+
"@claudexor/harness-claude": "3.15.1",
|
|
22
|
+
"@claudexor/harness-codex": "3.15.1",
|
|
23
|
+
"@claudexor/harness-cursor": "3.15.1",
|
|
24
|
+
"@claudexor/harness-fake": "3.15.1",
|
|
25
|
+
"@claudexor/harness-opencode": "3.15.1",
|
|
26
|
+
"@claudexor/harness-raw-api": "3.15.1",
|
|
27
|
+
"@claudexor/mcp-server": "3.15.1",
|
|
28
|
+
"@claudexor/journal": "3.15.1",
|
|
29
|
+
"@claudexor/review": "3.15.1",
|
|
30
|
+
"@claudexor/orchestrator": "3.15.1",
|
|
31
|
+
"@claudexor/schema": "3.15.1",
|
|
32
|
+
"@claudexor/workspace": "3.15.1",
|
|
33
|
+
"@claudexor/util": "3.15.1",
|
|
34
|
+
"@claudexor/secrets": "3.15.1",
|
|
35
|
+
"@claudexor/daemon": "3.15.1"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|