@galaxy-stack/blackhole-cli 3.0.13 → 3.0.15
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/CHANGELOG.md +989 -0
- package/README.md +12 -11
- package/dist/harness/install-command.js +2 -2
- package/dist/harness/install-command.js.map +1 -1
- package/dist/harness/install.d.ts +8 -5
- package/dist/harness/install.d.ts.map +1 -1
- package/dist/harness/install.js +32 -9
- package/dist/harness/install.js.map +1 -1
- package/dist/harness/launcher.d.ts +28 -0
- package/dist/harness/launcher.d.ts.map +1 -0
- package/dist/harness/launcher.js +28 -0
- package/dist/harness/launcher.js.map +1 -0
- package/dist/harness/locate.d.ts +9 -3
- package/dist/harness/locate.d.ts.map +1 -1
- package/dist/harness/locate.js +39 -7
- package/dist/harness/locate.js.map +1 -1
- package/dist/harness/node-runtime.d.ts +37 -3
- package/dist/harness/node-runtime.d.ts.map +1 -1
- package/dist/harness/node-runtime.js +60 -14
- package/dist/harness/node-runtime.js.map +1 -1
- package/dist/harness/process.d.ts +1 -1
- package/dist/harness/process.d.ts.map +1 -1
- package/dist/harness/process.js +16 -5
- package/dist/harness/process.js.map +1 -1
- package/dist/migrate.d.ts +20 -12
- package/dist/migrate.d.ts.map +1 -1
- package/dist/migrate.js +41 -67
- package/dist/migrate.js.map +1 -1
- package/dist/options.d.ts +1 -1
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +1 -1
- package/dist/web/command.d.ts +1 -1
- package/dist/web/command.js +3 -3
- package/dist/web/command.js.map +1 -1
- package/dist/web/doctor.js +5 -5
- package/dist/web/doctor.js.map +1 -1
- package/dist/web/options.js +2 -2
- package/dist/web/options.js.map +1 -1
- package/dist/web/web.d.ts +6 -4
- package/dist/web/web.d.ts.map +1 -1
- package/dist/web/web.js +14 -8
- package/dist/web/web.js.map +1 -1
- package/package.json +4 -6
- package/dist/web/dsh.d.ts +0 -51
- package/dist/web/dsh.d.ts.map +0 -1
- package/dist/web/dsh.js +0 -149
- package/dist/web/dsh.js.map +0 -1
- package/web/brand/app-icon-192.png +0 -0
- package/web/brand/app-icon-512.png +0 -0
- package/web/brand/client.template.js +0 -1259
- package/web/brand/dsh-locale-keys.json +0 -8659
- package/web/brand/favicon.png +0 -0
- package/web/brand/favicon.svg +0 -12
- package/web/brand/lib/app-icons.js +0 -3
- package/web/brand/lib/client.js +0 -5161
- package/web/brand/lib/favicon.js +0 -1
- package/web/brand/lib/index.d.ts +0 -3
- package/web/brand/lib/index.js +0 -1068
- package/web/brand/lib/journey-host.js +0 -288
- package/web/brand/lib/journey-run.d.ts +0 -70
- package/web/brand/lib/journey-run.js +0 -344
- package/web/brand/lib/journey-store.d.ts +0 -61
- package/web/brand/lib/journey-store.js +0 -183
- package/web/brand/lib/session-store.d.ts +0 -54
- package/web/brand/lib/session-store.js +0 -288
- package/web/brand/logo.png +0 -0
- package/web/brand/logo.svg +0 -20
- package/web/brand/package.json +0 -35
- package/web/brand/panel/journey-panel.js +0 -1037
- package/web/brand/vi-same-by-design.json +0 -112
- package/web/brand/vi.locales.json +0 -2867
- package/web/brand/zalo.jpg +0 -0
- package/web/patches/gbh-brand.patch.yml +0 -13
- package/web/patches/gbh-ui.patch.yml +0 -7
- package/web/patches/gbh-web.patch.yml +0 -124
package/web/brand/zalo.jpg
DELETED
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Replace the stock sidebar brand with Galaxy Blackhole.
|
|
2
|
-
#
|
|
3
|
-
# ui-brand-official is the shipped occupant of sidebar.brand.mark/name; a slot
|
|
4
|
-
# holds one occupant, so it is disabled here and gbh-brand fills both slots.
|
|
5
|
-
# The gbh-brand package is symlinked into <DSH_HOME>/profiles/node_modules by
|
|
6
|
-
# gbh web before boot.
|
|
7
|
-
|
|
8
|
-
- id: ui-brand-official
|
|
9
|
-
disabled: true
|
|
10
|
-
|
|
11
|
-
- insert:
|
|
12
|
-
- id: gbh-brand
|
|
13
|
-
name: '@galaxy-stack/gbh-brand'
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# The UI patch, emptied for the 0.2.1-alpha experiment.
|
|
2
|
-
#
|
|
3
|
-
# This file normally disables the plugin manager and the plugin/account/session-log settings pages, because a
|
|
4
|
-
# single-route product has nothing useful to put in them. The experiment wants every one of them back. DSH reads this
|
|
5
|
-
# path unconditionally, so the way to enable them is an EMPTY patch, never a renamed file: a missing overlay is a hard
|
|
6
|
-
# boot failure (`failed to read overlay ... ENOENT`) - which is exactly what the first attempt taught.
|
|
7
|
-
[]
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
# gbh base overlay over the stock dsh web profile.
|
|
2
|
-
#
|
|
3
|
-
# Verified against @deepseek-ai/dsh 0.2.0-rc.2 (was 0.1.5-rc.3). The row rename this file predicted
|
|
4
|
-
# is the only id that changed on the way there: agent-presets became agent-preset-registry. The
|
|
5
|
-
# DSH_TOOLS_MODE seam on the `tools` row is unchanged, and so is every other id this file touches.
|
|
6
|
-
#
|
|
7
|
-
# llm-pi-ai declares a hand-written OpenAI-compatible route for the Galaxy cloud.
|
|
8
|
-
# The bearer key reaches DSH as GBH_GALAXY_API_KEY: exported in the launching
|
|
9
|
-
# environment, or stored by the Galaxy Blackhole dialog in the DSH credential
|
|
10
|
-
# store ($DSH_HOME/.credentials.yaml). No secret is written to any patch file.
|
|
11
|
-
# The route id is auto and displays as "Galaxy Blackhole" and its model as "Auto"; the wire
|
|
12
|
-
# ids stay auto/deepseek-v4.1-flash.
|
|
13
|
-
# llm-deepseek (the DeepSeek official route) is disabled so the Models page
|
|
14
|
-
# lists only the Galaxy route.
|
|
15
|
-
|
|
16
|
-
- id: agent-default-model
|
|
17
|
-
config:
|
|
18
|
-
provider: auto
|
|
19
|
-
model: deepseek-v4.1-flash
|
|
20
|
-
|
|
21
|
-
- id: llm-pi-ai
|
|
22
|
-
config:
|
|
23
|
-
providers:
|
|
24
|
-
auto:
|
|
25
|
-
displayName: Galaxy Blackhole
|
|
26
|
-
api: openai-completions
|
|
27
|
-
baseURL: https://ollama.com/v1
|
|
28
|
-
apiKeyEnv: GBH_GALAXY_API_KEY
|
|
29
|
-
defaultContextWindow: 655360
|
|
30
|
-
defaultMaxTokens: 32768
|
|
31
|
-
# A turn that dies on a provider 5xx gets a longer window than the 5×/10 s
|
|
32
|
-
# default. Measured 2026-09-29: a conversation the provider kept rejecting
|
|
33
|
-
# failed again on retries 2 and 20 minutes later, so this only buys time for a
|
|
34
|
-
# genuinely transient upstream fault to clear — it is not a cure for a
|
|
35
|
-
# conversation the provider refuses. Each retry re-sends the same prompt
|
|
36
|
-
# (almost all of it provider-cached), so the cost of the wider window is the
|
|
37
|
-
# wait before the turn reports failure.
|
|
38
|
-
retryPolicy:
|
|
39
|
-
mode: normal
|
|
40
|
-
maxRetries: 6
|
|
41
|
-
retryableCodes:
|
|
42
|
-
- EMPTY_RESPONSE
|
|
43
|
-
- RATE_LIMIT
|
|
44
|
-
- SERVER
|
|
45
|
-
- TIMEOUT
|
|
46
|
-
- TRANSPORT
|
|
47
|
-
backoff:
|
|
48
|
-
initialDelayMs: 1000
|
|
49
|
-
maxDelayMs: 30000
|
|
50
|
-
jitterRatio: 0.2
|
|
51
|
-
models:
|
|
52
|
-
- id: deepseek-v4.1-flash
|
|
53
|
-
name: Auto
|
|
54
|
-
# The advertised context_length is 1048576 (api/show), but an image-bearing
|
|
55
|
-
# request reserves 393216 of it for output: 1048576 - 393216 = 655360 is the
|
|
56
|
-
# prompt ceiling, and the measured boundary confirms it (655,381 accepted,
|
|
57
|
-
# ~655,447 rejected; a 1x1-pixel image is enough to switch onto that path,
|
|
58
|
-
# while text-only prompts are served past 838k). DSH compacts at
|
|
59
|
-
# 0.8 x contextWindow and ignores maxTokens, so the declared window has to be
|
|
60
|
-
# the prompt ceiling: declaring 1048576 left compaction above the wall, and a
|
|
61
|
-
# conversation that reached the wall could never come back — /compact resends
|
|
62
|
-
# the same prefix and hits it too. Check any model change with:
|
|
63
|
-
# node scripts/model-window-check.mjs
|
|
64
|
-
contextWindow: 655360
|
|
65
|
-
maxTokens: 32768
|
|
66
|
-
input:
|
|
67
|
-
- text
|
|
68
|
-
- image
|
|
69
|
-
reasoningEfforts:
|
|
70
|
-
off:
|
|
71
|
-
low: low
|
|
72
|
-
high: high
|
|
73
|
-
max: max
|
|
74
|
-
|
|
75
|
-
- id: llm-deepseek
|
|
76
|
-
disabled: true
|
|
77
|
-
|
|
78
|
-
# Subagents use the main model: enable the host preference with the single
|
|
79
|
-
# allowed route, so the ptc preset's model selection samples it and cannot
|
|
80
|
-
# choose any other route.
|
|
81
|
-
- id: subagent-model-selection-settings
|
|
82
|
-
config:
|
|
83
|
-
enabled: true
|
|
84
|
-
allowedModels:
|
|
85
|
-
- provider: auto
|
|
86
|
-
model: deepseek-v4.1-flash
|
|
87
|
-
|
|
88
|
-
# Web search runs through the Galaxy cloud provider; the DeepSeek search provider is removed.
|
|
89
|
-
- id: web
|
|
90
|
-
config:
|
|
91
|
-
searchProvider: auto
|
|
92
|
-
fetchProvider: http
|
|
93
|
-
|
|
94
|
-
- id: web-search-deepseek
|
|
95
|
-
disabled: true
|
|
96
|
-
|
|
97
|
-
# The session-log contribution to official DeepSeek requests is off. The route it contributes to is
|
|
98
|
-
# already disabled above, so it could never fire, but leaving it composed keeps a setting in Chrome
|
|
99
|
-
# that reads as if this product uploads something. Nothing here leaves the machine.
|
|
100
|
-
- id: session-log-deepseek
|
|
101
|
-
disabled: true
|
|
102
|
-
|
|
103
|
-
# The agent preset is *not* pinned here. DSH's config editor refuses to save a row a patch or overlay owns,
|
|
104
|
-
# so pinning it made Settings -> Agent presets read-only and warned on open. The CLI can still force one for a
|
|
105
|
-
# single run with --preset, which travels in the command-line overlay instead of the shared patch.
|
|
106
|
-
|
|
107
|
-
# Feedback stays on this machine. The stock OTel backend releases the Session-log
|
|
108
|
-
# prefix (context included) to https://harness-telemetry.deepseeksvc.com/v1/logs
|
|
109
|
-
# whenever explicit feedback is recorded; Galaxy keeps the remark in the local
|
|
110
|
-
# Session log only, and the gbh-brand feedback entry sends by email instead.
|
|
111
|
-
# Override per run with DSH_TELEMETRY_MODE / DSH_TELEMETRY_OTLP_URL.
|
|
112
|
-
- id: session-telemetry-otel
|
|
113
|
-
config:
|
|
114
|
-
mode: DISABLED
|
|
115
|
-
|
|
116
|
-
# Feedback lives in Settings only. The stock surfaces are disabled here (the
|
|
117
|
-
# /feedback composer command and the per-message dialog overlay), and the Galaxy
|
|
118
|
-
# "Phản hồi" settings section owns the form, the mail draft, and the local
|
|
119
|
-
# feedback/record event.
|
|
120
|
-
- id: command-feedback
|
|
121
|
-
disabled: true
|
|
122
|
-
|
|
123
|
-
- id: ui-message-feedback
|
|
124
|
-
disabled: true
|