@f5-sales-demo/xcsh 21.11.3 → 21.11.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5-sales-demo/xcsh",
|
|
4
|
-
"version": "21.11.
|
|
4
|
+
"version": "21.11.4",
|
|
5
5
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://github.com/f5-sales-demo/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
64
|
-
"@f5-sales-demo/pi-agent-core": "21.11.
|
|
65
|
-
"@f5-sales-demo/pi-ai": "21.11.
|
|
66
|
-
"@f5-sales-demo/pi-natives": "21.11.
|
|
67
|
-
"@f5-sales-demo/pi-resource-management": "21.11.
|
|
68
|
-
"@f5-sales-demo/pi-tui": "21.11.
|
|
69
|
-
"@f5-sales-demo/pi-utils": "21.11.
|
|
70
|
-
"@f5-sales-demo/xcsh-stats": "21.11.
|
|
64
|
+
"@f5-sales-demo/pi-agent-core": "21.11.4",
|
|
65
|
+
"@f5-sales-demo/pi-ai": "21.11.4",
|
|
66
|
+
"@f5-sales-demo/pi-natives": "21.11.4",
|
|
67
|
+
"@f5-sales-demo/pi-resource-management": "21.11.4",
|
|
68
|
+
"@f5-sales-demo/pi-tui": "21.11.4",
|
|
69
|
+
"@f5-sales-demo/pi-utils": "21.11.4",
|
|
70
|
+
"@f5-sales-demo/xcsh-stats": "21.11.4",
|
|
71
71
|
"@mozilla/readability": "^0.6",
|
|
72
72
|
"@sinclair/typebox": "^0.34",
|
|
73
73
|
"@xterm/headless": "^6.0",
|
package/src/commands/manager.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import * as fs from "node:fs";
|
|
21
21
|
import { homedir } from "node:os";
|
|
22
|
-
import { dirname, join } from "node:path";
|
|
22
|
+
import { basename, dirname, join } from "node:path";
|
|
23
23
|
import { Command } from "@f5-sales-demo/pi-utils/cli";
|
|
24
24
|
// Lean subpath (not the package barrel, which pulls the winston logger graph and
|
|
25
25
|
// slows the manager's cold start — keep the daemon's module graph minimal).
|
|
@@ -192,9 +192,18 @@ function bridgeHello(port: number, timeoutMs = 400): Promise<Record<string, unkn
|
|
|
192
192
|
* `bun src/cli.ts <mode>` — re-exec a genuinely working subcommand. Shared by
|
|
193
193
|
* the manager (worker re-exec) and the chrome-host (manager re-exec).
|
|
194
194
|
*/
|
|
195
|
-
export function reexecArgv(
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
export function reexecArgv(
|
|
196
|
+
mode: "worker" | "manager",
|
|
197
|
+
argv: string[] = process.argv,
|
|
198
|
+
execPath: string = process.execPath,
|
|
199
|
+
): string[] {
|
|
200
|
+
const script = argv[1];
|
|
201
|
+
const executable = basename(execPath).toLowerCase();
|
|
202
|
+
if (
|
|
203
|
+
executable.startsWith("bun") &&
|
|
204
|
+
script &&
|
|
205
|
+
(script.endsWith(".ts") || script.endsWith(".js") || script.endsWith(".mjs"))
|
|
206
|
+
) {
|
|
198
207
|
return [script, mode];
|
|
199
208
|
}
|
|
200
209
|
return [mode];
|
|
@@ -17,17 +17,17 @@ export interface BuildInfo {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const BUILD_INFO: BuildInfo = {
|
|
20
|
-
"version": "21.11.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "21.11.4",
|
|
21
|
+
"commit": "4ea3e5a7ec353b8ff13172bea36be4aba48922ed",
|
|
22
|
+
"shortCommit": "4ea3e5a",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v21.11.
|
|
25
|
-
"commitDate": "2026-09-
|
|
26
|
-
"buildDate": "2026-09-
|
|
24
|
+
"tag": "v21.11.4",
|
|
25
|
+
"commitDate": "2026-09-04T03:23:49+00:00",
|
|
26
|
+
"buildDate": "2026-09-04T04:00:36.177Z",
|
|
27
27
|
"dirty": true,
|
|
28
28
|
"prNumber": "",
|
|
29
29
|
"repoUrl": "https://github.com/f5-sales-demo/xcsh",
|
|
30
30
|
"repoSlug": "f5-sales-demo/xcsh",
|
|
31
|
-
"commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/
|
|
32
|
-
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.11.
|
|
31
|
+
"commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/4ea3e5a7ec353b8ff13172bea36be4aba48922ed",
|
|
32
|
+
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.11.4"
|
|
33
33
|
};
|