@galaxy-stack/blackhole-cli 2.0.1 → 2.0.3

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 (64) hide show
  1. package/dist/application.d.ts.map +1 -1
  2. package/dist/application.js +3 -0
  3. package/dist/application.js.map +1 -1
  4. package/dist/cli.js +24 -0
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands.d.ts.map +1 -1
  7. package/dist/commands.js +2 -0
  8. package/dist/commands.js.map +1 -1
  9. package/dist/config-command.d.ts +35 -0
  10. package/dist/config-command.d.ts.map +1 -0
  11. package/dist/config-command.js +273 -0
  12. package/dist/config-command.js.map +1 -0
  13. package/dist/flow.d.ts.map +1 -1
  14. package/dist/flow.js +14 -3
  15. package/dist/flow.js.map +1 -1
  16. package/dist/info.d.ts +21 -0
  17. package/dist/info.d.ts.map +1 -0
  18. package/dist/info.js +33 -0
  19. package/dist/info.js.map +1 -0
  20. package/dist/logs.d.ts.map +1 -1
  21. package/dist/logs.js +10 -2
  22. package/dist/logs.js.map +1 -1
  23. package/dist/manual-config.d.ts +17 -0
  24. package/dist/manual-config.d.ts.map +1 -1
  25. package/dist/manual-config.js +35 -0
  26. package/dist/manual-config.js.map +1 -1
  27. package/dist/options.d.ts +2 -2
  28. package/dist/options.d.ts.map +1 -1
  29. package/dist/options.js +5 -1
  30. package/dist/options.js.map +1 -1
  31. package/dist/tui.d.ts.map +1 -1
  32. package/dist/tui.js +39 -1
  33. package/dist/tui.js.map +1 -1
  34. package/dist/update.d.ts +45 -0
  35. package/dist/update.d.ts.map +1 -0
  36. package/dist/update.js +158 -0
  37. package/dist/update.js.map +1 -0
  38. package/dist/web/web.d.ts.map +1 -1
  39. package/dist/web/web.js +16 -5
  40. package/dist/web/web.js.map +1 -1
  41. package/package.json +4 -3
  42. package/skills/galaxy-ui/SKILL.md +18 -0
  43. package/skills/orbit-framework/SKILL.md +18 -0
  44. package/web/brand/app-icon-192.png +0 -0
  45. package/web/brand/app-icon-512.png +0 -0
  46. package/web/brand/client.template.js +581 -79
  47. package/web/brand/dsh-locale-keys.json +2020 -0
  48. package/web/brand/favicon.png +0 -0
  49. package/web/brand/favicon.svg +12 -0
  50. package/web/brand/lib/app-icons.js +3 -0
  51. package/web/brand/lib/client.js +2303 -88
  52. package/web/brand/lib/favicon.js +1 -1
  53. package/web/brand/lib/index.js +618 -18
  54. package/web/brand/lib/journey-host.js +282 -0
  55. package/web/brand/lib/journey-run.d.ts +66 -0
  56. package/web/brand/lib/journey-run.js +315 -0
  57. package/web/brand/lib/journey-store.d.ts +61 -0
  58. package/web/brand/lib/journey-store.js +177 -0
  59. package/web/brand/logo.png +0 -0
  60. package/web/brand/logo.svg +20 -0
  61. package/web/brand/panel/journey-panel.js +884 -0
  62. package/web/brand/vi.locales.json +838 -8
  63. package/web/brand/zalo.jpg +0 -0
  64. package/web/patches/gbh-web.patch.yml +51 -2
Binary file
@@ -25,12 +25,42 @@
25
25
  api: openai-completions
26
26
  baseURL: https://ollama.com/v1
27
27
  apiKeyEnv: GBH_GALAXY_API_KEY
28
- defaultContextWindow: 1048576
28
+ defaultContextWindow: 655360
29
29
  defaultMaxTokens: 32768
30
+ # A turn that dies on a provider 5xx gets a longer window than the 5×/10 s
31
+ # default. Measured 2026-09-29: a conversation the provider kept rejecting
32
+ # failed again on retries 2 and 20 minutes later, so this only buys time for a
33
+ # genuinely transient upstream fault to clear — it is not a cure for a
34
+ # conversation the provider refuses. Each retry re-sends the same prompt
35
+ # (almost all of it provider-cached), so the cost of the wider window is the
36
+ # wait before the turn reports failure.
37
+ retryPolicy:
38
+ mode: normal
39
+ maxRetries: 6
40
+ retryableCodes:
41
+ - EMPTY_RESPONSE
42
+ - RATE_LIMIT
43
+ - SERVER
44
+ - TIMEOUT
45
+ - TRANSPORT
46
+ backoff:
47
+ initialDelayMs: 1000
48
+ maxDelayMs: 30000
49
+ jitterRatio: 0.2
30
50
  models:
31
51
  - id: deepseek-v4.1-flash
32
52
  name: Auto
33
- contextWindow: 1048576
53
+ # The advertised context_length is 1048576 (api/show), but an image-bearing
54
+ # request reserves 393216 of it for output: 1048576 - 393216 = 655360 is the
55
+ # prompt ceiling, and the measured boundary confirms it (655,381 accepted,
56
+ # ~655,447 rejected; a 1x1-pixel image is enough to switch onto that path,
57
+ # while text-only prompts are served past 838k). DSH compacts at
58
+ # 0.8 x contextWindow and ignores maxTokens, so the declared window has to be
59
+ # the prompt ceiling: declaring 1048576 left compaction above the wall, and a
60
+ # conversation that reached the wall could never come back — /compact resends
61
+ # the same prefix and hits it too. Check any model change with:
62
+ # node scripts/model-window-check.mjs
63
+ contextWindow: 655360
34
64
  maxTokens: 32768
35
65
  input:
36
66
  - text
@@ -66,3 +96,22 @@
66
96
  - id: agent-presets
67
97
  config:
68
98
  default: ptc
99
+
100
+ # Feedback stays on this machine. The stock OTel backend releases the Session-log
101
+ # prefix (context included) to https://harness-telemetry.deepseeksvc.com/v1/logs
102
+ # whenever explicit feedback is recorded; Galaxy keeps the remark in the local
103
+ # Session log only, and the gbh-brand feedback entry sends by email instead.
104
+ # Override per run with DSH_TELEMETRY_MODE / DSH_TELEMETRY_OTLP_URL.
105
+ - id: session-telemetry-otel
106
+ config:
107
+ mode: DISABLED
108
+
109
+ # Feedback lives in Settings only. The stock surfaces are disabled here (the
110
+ # /feedback composer command and the per-message dialog overlay), and the Galaxy
111
+ # "Phản hồi" settings section owns the form, the mail draft, and the local
112
+ # feedback/record event.
113
+ - id: command-feedback
114
+ disabled: true
115
+
116
+ - id: ui-message-feedback
117
+ disabled: true