@galaxy-stack/blackhole-cli 3.0.13 → 3.0.14

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +971 -0
  2. package/README.md +12 -11
  3. package/dist/harness/install-command.js +2 -2
  4. package/dist/harness/install-command.js.map +1 -1
  5. package/dist/harness/install.d.ts +1 -1
  6. package/dist/harness/install.js +1 -1
  7. package/dist/harness/locate.d.ts +9 -3
  8. package/dist/harness/locate.d.ts.map +1 -1
  9. package/dist/harness/locate.js +39 -7
  10. package/dist/harness/locate.js.map +1 -1
  11. package/dist/harness/node-runtime.d.ts +37 -3
  12. package/dist/harness/node-runtime.d.ts.map +1 -1
  13. package/dist/harness/node-runtime.js +60 -14
  14. package/dist/harness/node-runtime.js.map +1 -1
  15. package/dist/harness/process.d.ts +1 -1
  16. package/dist/harness/process.d.ts.map +1 -1
  17. package/dist/harness/process.js +14 -5
  18. package/dist/harness/process.js.map +1 -1
  19. package/dist/migrate.d.ts +20 -12
  20. package/dist/migrate.d.ts.map +1 -1
  21. package/dist/migrate.js +39 -67
  22. package/dist/migrate.js.map +1 -1
  23. package/dist/options.d.ts +1 -1
  24. package/dist/options.d.ts.map +1 -1
  25. package/dist/options.js +1 -1
  26. package/dist/web/command.d.ts +1 -1
  27. package/dist/web/command.js +3 -3
  28. package/dist/web/command.js.map +1 -1
  29. package/dist/web/doctor.js +5 -5
  30. package/dist/web/doctor.js.map +1 -1
  31. package/dist/web/options.js +2 -2
  32. package/dist/web/options.js.map +1 -1
  33. package/dist/web/web.d.ts +6 -4
  34. package/dist/web/web.d.ts.map +1 -1
  35. package/dist/web/web.js +10 -8
  36. package/dist/web/web.js.map +1 -1
  37. package/package.json +4 -6
  38. package/dist/web/dsh.d.ts +0 -51
  39. package/dist/web/dsh.d.ts.map +0 -1
  40. package/dist/web/dsh.js +0 -149
  41. package/dist/web/dsh.js.map +0 -1
  42. package/web/brand/app-icon-192.png +0 -0
  43. package/web/brand/app-icon-512.png +0 -0
  44. package/web/brand/client.template.js +0 -1259
  45. package/web/brand/dsh-locale-keys.json +0 -8659
  46. package/web/brand/favicon.png +0 -0
  47. package/web/brand/favicon.svg +0 -12
  48. package/web/brand/lib/app-icons.js +0 -3
  49. package/web/brand/lib/client.js +0 -5161
  50. package/web/brand/lib/favicon.js +0 -1
  51. package/web/brand/lib/index.d.ts +0 -3
  52. package/web/brand/lib/index.js +0 -1068
  53. package/web/brand/lib/journey-host.js +0 -288
  54. package/web/brand/lib/journey-run.d.ts +0 -70
  55. package/web/brand/lib/journey-run.js +0 -344
  56. package/web/brand/lib/journey-store.d.ts +0 -61
  57. package/web/brand/lib/journey-store.js +0 -183
  58. package/web/brand/lib/session-store.d.ts +0 -54
  59. package/web/brand/lib/session-store.js +0 -288
  60. package/web/brand/logo.png +0 -0
  61. package/web/brand/logo.svg +0 -20
  62. package/web/brand/package.json +0 -35
  63. package/web/brand/panel/journey-panel.js +0 -1037
  64. package/web/brand/vi-same-by-design.json +0 -112
  65. package/web/brand/vi.locales.json +0 -2867
  66. package/web/brand/zalo.jpg +0 -0
  67. package/web/patches/gbh-brand.patch.yml +0 -13
  68. package/web/patches/gbh-ui.patch.yml +0 -7
  69. package/web/patches/gbh-web.patch.yml +0 -124
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-stack/blackhole-cli",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "private": false,
5
5
  "description": "Galaxy Code CLI and terminal UI for the Galaxy agent runtime",
6
6
  "license": "MIT",
@@ -12,8 +12,8 @@
12
12
  "dist",
13
13
  "README.md",
14
14
  "LICENSE",
15
- "skills",
16
- "web"
15
+ "CHANGELOG.md",
16
+ "skills"
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "node scripts/build.mjs",
@@ -30,6 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@assistant-ui/react-ink": "^0.0.44",
33
+ "@galaxy-blackhole/blackhole-harness": "^0.1.4",
33
34
  "@galaxy-stack/ai-coder-core": "0.5.2",
34
35
  "@modelcontextprotocol/sdk": "^1.30.1",
35
36
  "ink": "7.1.1",
@@ -38,9 +39,6 @@
38
39
  "wrap-ansi": "^9.0.2",
39
40
  "ws": "^8.21.3"
40
41
  },
41
- "optionalDependencies": {
42
- "@deepseek-ai/dsh": "0.2.1-alpha.4"
43
- },
44
42
  "devDependencies": {
45
43
  "@types/node": "^22.19.15",
46
44
  "@types/react": "^19.3.0",
package/dist/web/dsh.d.ts DELETED
@@ -1,51 +0,0 @@
1
- /** The DSH release this gbh line is verified against. */
2
- export declare const PINNED_DSH_VERSION = "0.2.0-rc.2";
3
- /** The one command that installs the pinned runtime; the failure message shares it. */
4
- export declare const DSH_INSTALL_HINT: string;
5
- /** The runtime package, the manifest that anchors a resolution, and its JS entry. */
6
- export declare const DSH_PACKAGE = "@deepseek-ai/dsh";
7
- export interface DshRuntime {
8
- command: string;
9
- baseArgs: string[];
10
- source: string;
11
- version?: string;
12
- }
13
- /** How to start DSH, before the version probe that has to spawn it. */
14
- export interface DshCandidate {
15
- command: string;
16
- baseArgs: string[];
17
- source: string;
18
- }
19
- /** Every process fact the resolver reads, so the ladder is testable without a real install. */
20
- export interface DshEnvironment {
21
- platform: NodeJS.Platform;
22
- env: NodeJS.ProcessEnv;
23
- /** Absolute path of the running node: the interpreter behind every JS entry. */
24
- node: string;
25
- exists: (path: string) => boolean;
26
- /** First line of `where dsh` (win32) / `which dsh`, or undefined when nothing matched. */
27
- pathLookup: () => string | undefined;
28
- /** Node resolution for one specifier; throws when the package is not installed. */
29
- resolve: (specifier: string) => string;
30
- }
31
- /**
32
- * Plan how to start DSH: explicit override, the dependency this CLI ships, the shim npm
33
- * writes beside the package, then PATH.
34
- *
35
- * Shipping the runtime as an optional dependency is what keeps this ladder short on a
36
- * normal install — Node resolution finds it and the JS entry runs through node, so no
37
- * shell, no PATH, and no global install is involved. PATH stays as the escape hatch for
38
- * a hoisted tree, a global install, or `GBH_DSH_BIN`.
39
- */
40
- export declare function planDsh(environment: DshEnvironment): DshCandidate | undefined;
41
- /**
42
- * First line of a PATH lookup, or undefined when the finder matched nothing.
43
- *
44
- * `stderr` stays piped on purpose: `where.exe` writes its "INFO: Could not find files for
45
- * the given pattern(s)." note there, and `execFileSync` forwards a child's stderr whenever
46
- * `stdio` is not given — which is why that note used to appear right before the real error.
47
- */
48
- export declare function lookupOnPath(finder: string, name: string): string | undefined;
49
- /** Resolve the DSH runtime: explicit override, bundled dependency, local shim, then PATH. */
50
- export declare function resolveDsh(): DshRuntime;
51
- //# sourceMappingURL=dsh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dsh.d.ts","sourceRoot":"","sources":["../../src/web/dsh.ts"],"names":[],"mappings":"AAMA,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,QAAoD,CAAC;AAElF,qFAAqF;AACrF,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAS9C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,+FAA+F;AAC/F,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,gFAAgF;IAChF,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAClC,0FAA0F;IAC1F,UAAU,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACrC,mFAAmF;IACnF,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CACxC;AAyDD;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,WAAW,EAAE,cAAc,GAAG,YAAY,GAAG,SAAS,CA0B7E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQ7E;AAeD,6FAA6F;AAC7F,wBAAgB,UAAU,IAAI,UAAU,CAQvC"}
package/dist/web/dsh.js DELETED
@@ -1,149 +0,0 @@
1
- import { execFileSync } from "node:child_process";
2
- import { existsSync } from "node:fs";
3
- import { createRequire } from "node:module";
4
- import { dirname, join } from "node:path";
5
- import { fileURLToPath } from "node:url";
6
- /** The DSH release this gbh line is verified against. */
7
- export const PINNED_DSH_VERSION = "0.2.0-rc.2";
8
- /** The one command that installs the pinned runtime; the failure message shares it. */
9
- export const DSH_INSTALL_HINT = "npm i -g @deepseek-ai/dsh@" + PINNED_DSH_VERSION;
10
- /** The runtime package, the manifest that anchors a resolution, and its JS entry. */
11
- export const DSH_PACKAGE = "@deepseek-ai/dsh";
12
- const DSH_MANIFEST = DSH_PACKAGE + "/package.json";
13
- const DSH_ENTRY = join("lib", "bin.js");
14
- /** Windows cannot spawn a `.cmd`/`.bat` without a shell, so one never reaches `spawn` as-is. */
15
- const WINDOWS_SHIM = /\.(cmd|bat)$/i;
16
- /** A JS entry carries its own interpreter, so the override is started through node. */
17
- const JS_ENTRY = /\.(js|mjs|cjs)$/i;
18
- function readVersion(command, baseArgs) {
19
- try {
20
- const out = execFileSync(command, [...baseArgs, "--version"], {
21
- encoding: "utf8",
22
- stdio: ["ignore", "pipe", "ignore"],
23
- timeout: 20000,
24
- }).trim();
25
- const parts = out.split(/\s+/);
26
- const last = parts[parts.length - 1];
27
- return last === undefined || last.length === 0 ? undefined : last;
28
- }
29
- catch {
30
- return undefined;
31
- }
32
- }
33
- function describe(candidate) {
34
- const version = readVersion(candidate.command, candidate.baseArgs);
35
- return version === undefined ? { ...candidate } : { ...candidate, version };
36
- }
37
- /** Whether a directory holds a complete DSH install. */
38
- function hasEntry(environment, packageDir) {
39
- return environment.exists(join(packageDir, DSH_ENTRY));
40
- }
41
- /** Start a JS entry through node: no shim, no PATH, no shell — the same shape on every platform. */
42
- function entryCandidate(environment, packageDir, source) {
43
- return { command: environment.node, baseArgs: [join(packageDir, DSH_ENTRY)], source };
44
- }
45
- /**
46
- * Turn a Windows shim into something `spawn` accepts.
47
- *
48
- * npm writes `<prefix>\dsh.cmd` beside `<prefix>\node_modules\@deepseek-ai\dsh`, so the
49
- * shim names the install itself: when that entry is still there the shim is dropped and
50
- * node runs the JS entry. Only a shim whose package is gone falls back to `cmd.exe`,
51
- * which is the invocation Node's own `shell: true` builds (see the `.bat`/`.cmd` rule in
52
- * the child_process docs) — a last resort, since a prefix containing spaces then depends
53
- * on how cmd strips the outer quotes.
54
- */
55
- function shimCandidate(environment, shim, source) {
56
- const packageDir = join(dirname(shim), "node_modules", "@deepseek-ai", "dsh");
57
- if (hasEntry(environment, packageDir))
58
- return entryCandidate(environment, packageDir, source);
59
- return { command: environment.env.ComSpec ?? "cmd.exe", baseArgs: ["/d", "/s", "/c", shim], source };
60
- }
61
- /** The directory of an installed `@deepseek-ai/dsh`, when Node resolution finds one. */
62
- function installedPackageDir(environment) {
63
- try {
64
- return dirname(environment.resolve(DSH_MANIFEST));
65
- }
66
- catch {
67
- return undefined;
68
- }
69
- }
70
- /**
71
- * Plan how to start DSH: explicit override, the dependency this CLI ships, the shim npm
72
- * writes beside the package, then PATH.
73
- *
74
- * Shipping the runtime as an optional dependency is what keeps this ladder short on a
75
- * normal install — Node resolution finds it and the JS entry runs through node, so no
76
- * shell, no PATH, and no global install is involved. PATH stays as the escape hatch for
77
- * a hoisted tree, a global install, or `GBH_DSH_BIN`.
78
- */
79
- export function planDsh(environment) {
80
- const override = (environment.env.GBH_DSH_BIN ?? "").trim();
81
- if (override.length > 0) {
82
- const source = "GBH_DSH_BIN=" + override;
83
- if (JS_ENTRY.test(override))
84
- return { command: environment.node, baseArgs: [override], source };
85
- if (WINDOWS_SHIM.test(override))
86
- return shimCandidate(environment, override, source);
87
- return { command: override, baseArgs: [], source };
88
- }
89
- const installed = installedPackageDir(environment);
90
- if (installed !== undefined)
91
- return entryCandidate(environment, installed, DSH_PACKAGE + " (dependency)");
92
- /* Two levels up: this file lives in src/web/ in a checkout and dist/web/ in a package. */
93
- const root = fileURLToPath(new URL("../../", import.meta.url));
94
- const localBin = join(root, "node_modules", ".bin", environment.platform === "win32" ? "dsh.cmd" : "dsh");
95
- if (environment.exists(localBin)) {
96
- const localPackage = join(root, "node_modules", "@deepseek-ai", "dsh");
97
- if (hasEntry(environment, localPackage))
98
- return entryCandidate(environment, localPackage, "node_modules/.bin/dsh");
99
- if (WINDOWS_SHIM.test(localBin))
100
- return shimCandidate(environment, localBin, "node_modules/.bin/dsh");
101
- return { command: localBin, baseArgs: [], source: "node_modules/.bin/dsh" };
102
- }
103
- const onPath = environment.pathLookup();
104
- if (onPath !== undefined) {
105
- const source = "PATH (" + onPath + ")";
106
- if (WINDOWS_SHIM.test(onPath))
107
- return shimCandidate(environment, onPath, source);
108
- return { command: onPath, baseArgs: [], source };
109
- }
110
- return undefined;
111
- }
112
- /**
113
- * First line of a PATH lookup, or undefined when the finder matched nothing.
114
- *
115
- * `stderr` stays piped on purpose: `where.exe` writes its "INFO: Could not find files for
116
- * the given pattern(s)." note there, and `execFileSync` forwards a child's stderr whenever
117
- * `stdio` is not given — which is why that note used to appear right before the real error.
118
- */
119
- export function lookupOnPath(finder, name) {
120
- try {
121
- const out = execFileSync(finder, [name], { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] }).trim();
122
- const first = (out.split(/\r?\n/)[0] ?? "").trim();
123
- return first.length === 0 ? undefined : first;
124
- }
125
- catch {
126
- return undefined;
127
- }
128
- }
129
- /** The live process facts: real filesystem, real PATH lookup, real Node resolution. */
130
- function systemEnvironment() {
131
- const require = createRequire(import.meta.url);
132
- return {
133
- platform: process.platform,
134
- env: process.env,
135
- node: process.execPath,
136
- exists: existsSync,
137
- pathLookup: () => lookupOnPath(process.platform === "win32" ? "where" : "which", "dsh"),
138
- resolve: specifier => require.resolve(specifier),
139
- };
140
- }
141
- /** Resolve the DSH runtime: explicit override, bundled dependency, local shim, then PATH. */
142
- export function resolveDsh() {
143
- const candidate = planDsh(systemEnvironment());
144
- if (candidate === undefined) {
145
- throw new Error("DSH runtime not found. Install it with `" + DSH_INSTALL_HINT + "`, or point GBH_DSH_BIN at a dsh entry (" + DSH_ENTRY + ").");
146
- }
147
- return describe(candidate);
148
- }
149
- //# sourceMappingURL=dsh.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dsh.js","sourceRoot":"","sources":["../../src/web/dsh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,yDAAyD;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAE/C,uFAAuF;AACvF,MAAM,CAAC,MAAM,gBAAgB,GAAG,4BAA4B,GAAG,kBAAkB,CAAC;AAElF,qFAAqF;AACrF,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAC9C,MAAM,YAAY,GAAG,WAAW,GAAG,eAAe,CAAC;AACnD,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAExC,gGAAgG;AAChG,MAAM,YAAY,GAAG,eAAe,CAAC;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