@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/CHANGELOG.md
ADDED
|
@@ -0,0 +1,989 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [3.0.15] - 2026-11-19 23:45 +0700
|
|
9
|
+
|
|
10
|
+
Sửa lỗi của 3.0.14 khi cài global: npm hoist kernel lên `node_modules` của **CLI**, còn harness
|
|
11
|
+
nằm lồng bên dưới, nên `harness status`/`web` tưởng thiếu `@deepseek-ai/dsh` dù đã cài.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`dshRuntimeCandidates()` đi ngược cây thư mục** (tối đa 8 cấp) để tìm
|
|
16
|
+
`@deepseek-ai/dsh/lib/bin.js` trong `node_modules` của package cha — đúng cách Node resolve
|
|
17
|
+
(`blackhole-cli/node_modules/@galaxy-blackhole/blackhole-harness` → kernel ở
|
|
18
|
+
`blackhole-cli/node_modules/@deepseek-ai/dsh`).
|
|
19
|
+
- **`hostModulesState()`** báo đúng layout `../../node_modules` thay vì "chưa cài"; `harness status`
|
|
20
|
+
và `web --dry-run` hết báo THIẾU runtime oan.
|
|
21
|
+
- **Dùng `apps/cli/lib/main.js` đã bundle khi có** (`src/harness/launcher.ts`): harness nằm trong
|
|
22
|
+
`node_modules` của CLI thì Node 22.18+/26 từ chối strip types
|
|
23
|
+
(`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`); entry JS tránh hẳn lỗi này. Bản checkout không có
|
|
24
|
+
`lib/main.js` vẫn dùng `src/main.ts`.
|
|
25
|
+
|
|
26
|
+
## [3.0.14] - 2026-11-19 22:45 +0700
|
|
27
|
+
|
|
28
|
+
Một lệnh `npm i -g` giờ mang **cả CLI lẫn harness**, theo đúng mô hình `@deepseek-ai/dsh`
|
|
29
|
+
(package nhỏ + dependency graph, không nhúng kernel vào tarball).
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **`@galaxy-blackhole/blackhole-harness` là dependency của CLI** (`^0.1.4`). `npm i -g
|
|
34
|
+
@galaxy-stack/blackhole-cli` cài CLI + harness + kernel trong một lệnh; không cần chạy
|
|
35
|
+
`blackhole harness install` cho máy mới.
|
|
36
|
+
- **Bậc dò `dependency` trong `src/harness/locate.ts`** (sau `GBH_TAURI_ROOT`, trước slot
|
|
37
|
+
`~/.galaxy/harness`): resolve `@galaxy-blackhole/blackhole-harness/package.json`, kiểm
|
|
38
|
+
`apps/cli/src/main.ts`, và in nguồn `npm dependency @galaxy-blackhole/blackhole-harness` trong
|
|
39
|
+
`blackhole harness status` / `web --dry-run`.
|
|
40
|
+
- Test `the harness shipped as an npm dependency is preferred over a stale home install`.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **`HARNESS_PACKAGE_SPEC` lên `^0.1.4`** — bản 0.1.4 có fix Windows 16/11: mọi link thư mục dùng
|
|
45
|
+
junction + đường dẫn tuyệt đối (`link-dir.ts`), sửa lỗi profile thiếu gói làm harness thoát trước
|
|
46
|
+
khi in URL.
|
|
47
|
+
- README nói đúng mô hình một lệnh; `blackhole harness install` còn lại cho sửa chữa/offline/`--dir`.
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
|
|
51
|
+
- **Windows:** người dùng cài mới nhận 0.1.4 ngay từ dependency thay vì `harness install` kéo
|
|
52
|
+
nhầm 0.1.3 (bản 0.1.3 dùng `symlinkSync(..., "dir")` trong `mount.ts` — EPERM trên Windows,
|
|
53
|
+
profile thiếu `gbh-brand`/`gbh-typert-protocol`/`gbh-cordis-plugin-timer`).
|
|
54
|
+
|
|
55
|
+
## [3.0.13] - 2026-11-16 09:18 +0700
|
|
56
|
+
|
|
57
|
+
Mục này gộp **13 bản 3.0.x** (3.0.1 → 3.0.13; changelog trước đó dừng ở 2.1.36 ngày 12/10/2026), cộng
|
|
58
|
+
lần dọn phát hành ngày 19/11/2026: CLI chuyển hẳn sang harness `blackhole-harness`, gỡ nốt DSH
|
|
59
|
+
in-process đã chết, và gói npm tự cài harness thay vì ship kèm.
|
|
60
|
+
|
|
61
|
+
| Bản | Thay đổi chính |
|
|
62
|
+
|---|---|
|
|
63
|
+
| 3.0.0 | TUI hội thoại 3 vùng trên harness; tên model thân thiện; palette `/` + skills; khối Tác vụ; nhãn tool tiếng Việt; home/migrate mới; `web` cổng cố định 55906; sửa 404 `changes.summary` |
|
|
64
|
+
| 3.0.1 | `web` + `chat` chạy launcher bằng **Node**, bỏ Bun khỏi đường boot; dò runtime và báo lỗi rõ ràng; sửa `import.meta.dir` cho Node; `web --dry-run` |
|
|
65
|
+
| 3.0.2 | Đợt sửa harness kèm release: persona `model_label`, workspace `Documents/galaxy`, đọc tệp nhị phân qua multipart, tắt cảnh báo build giả trong bản đóng gói |
|
|
66
|
+
| 3.0.3 | `blackhole harness install\|status\|remove`; bậc dò harness mới; `chat`/`web` tự phục hồi khi thiếu harness; hỗ trợ Windows |
|
|
67
|
+
| 3.0.4 | `harness install` trỏ repo công khai `galaxy-blackhole/blackhole-harness`; bậc dò vẫn nhận tên cũ |
|
|
68
|
+
| 3.0.5 | Đổi tên `blackhole-harness` đồng bộ trong `locate`/`install`/test (bậc dò nhận cả tên cũ) |
|
|
69
|
+
| 3.0.6 | `blackhole update` hỏi registry npm qua HTTPS trước, `npm view` chỉ là dự phòng |
|
|
70
|
+
| 3.0.7 | Hạ ngưỡng Node từ 26 xuống **22** (`--experimental-strip-types` có từ 22.6); đo harness boot trên Node 24 |
|
|
71
|
+
| 3.0.8 | Tìm npm đa nền tảng (`GBH_NPM` → PATH → `npm.cmd` → `node` + `npm-cli.js`); `harness install` kiểm tra thật `…/dsh/lib/bin.js`; `web`/`chat` preflight runtime trước khi spawn |
|
|
72
|
+
| 3.0.9 | `harness install` ưu tiên npm `@galaxy-blackhole/blackhole-harness`; `status` in nguồn npm và hỗ trợ kernel bị npm hoist lên `node_modules` |
|
|
73
|
+
| 3.0.10 | Ghim spec harness `^0.1.1` thay vì `latest` để không tự nhảy minor; `GBH_HARNESS_SPEC` vẫn ghi đè được |
|
|
74
|
+
| 3.0.11 | Windows nvm-windows: npm không có đuôi file → nâng thành `npm.cmd`/`npm-cli.js` trước khi spawn (hết `spawn …npm ENOENT`); 3 test khoá hành vi |
|
|
75
|
+
| 3.0.12 | Ghim harness npm `^0.1.2` — bản có ngưỡng Node 22.6, boot được trên Node 24 |
|
|
76
|
+
| 3.0.13 | Nâng spec harness `^0.1.3` (tối thiểu có fix junction Windows); dòng "đã tải …" in version harness đã cài |
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- **`src/harness/node-runtime.ts`: `nodeEntryArgs()` + ngưỡng thật của Node.** `MIN_NODE_MINOR = 6`
|
|
81
|
+
(Node đầu tiên có `--experimental-strip-types`), `TYPE_STRIP_FLAG`, và `needsTypeStripFlag()` cho
|
|
82
|
+
hai cửa sổ chưa mặc định strip-types (22.6–22.17, 23.0–23.5). `resolveNodeRuntime()` nay từ chối
|
|
83
|
+
Node 22.0–22.5 bằng câu nêu mức, cách cài và mọi binary đã thử — thay vì spawn rồi chết.
|
|
84
|
+
- **`CHANGELOG.md` được ship trong gói npm** (`files`), cùng bảng tóm tắt 13 bản 3.0.x ở trên.
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
|
|
88
|
+
- **`blackhole web` và `blackhole chat` truyền `--experimental-strip-types` khi Node cần**
|
|
89
|
+
(`web.ts` `planWeb`, `harness/process.ts` `spawnHarnessHost`). Máy nằm trong cửa sổ `engines`
|
|
90
|
+
(`>=22.13` nhưng `<22.18`) không còn chết ở entry `.ts` của harness.
|
|
91
|
+
- **`blackhole migrate` chạy launcher bằng Node, không cần Bun** (`src/migrate.ts`): dùng đúng bậc dò
|
|
92
|
+
`harness/locate.ts` (`GBH_TAURI_ROOT` → slot `harness install` → sibling → dev), chạy
|
|
93
|
+
`apps/cli/src/main.ts migrate` bằng Node đã phân giải, dự phòng `bh` trên PATH; bỏ tên cũ
|
|
94
|
+
`blackhole-tauri` khỏi nguồn/kế hoạch và bỏ hard-code đường dẫn dev.
|
|
95
|
+
- **JSDoc/help nói đúng ngưỡng Node 22.6** thay vì "Node 26" (`web/web.ts`, `web/doctor.ts`,
|
|
96
|
+
`web/options.ts`, `web/command.ts`, `harness/process.ts`, `harness/node-runtime.ts`); tên harness
|
|
97
|
+
trong thông điệp đổi sang `blackhole-harness`.
|
|
98
|
+
|
|
99
|
+
### Removed
|
|
100
|
+
|
|
101
|
+
- **`@deepseek-ai/dsh` khỏi `optionalDependencies`** — nó kéo 304 gói `@deepseek-ai/*` vào
|
|
102
|
+
`package-lock.json` (44,6% entry) cho một resolver đã chết.
|
|
103
|
+
- **`src/web/dsh.ts` và `test/web-dsh.test.ts`** — resolver DSH in-process (181 dòng) không còn
|
|
104
|
+
đường dùng nào khác ngoài test của chính nó; `dist/web/dsh.js` cũng không còn sau `npm run build`.
|
|
105
|
+
- **`web/` khỏi `files`** — brand/patches của DSH không còn được đóng gói (vẫn giữ trong repo cho
|
|
106
|
+
`web-brand` test và build brand); tarball chỉ còn `dist/`, `README.md`, `LICENSE`, `CHANGELOG.md`,
|
|
107
|
+
`skills/`.
|
|
108
|
+
|
|
109
|
+
## [2.1.9] - 2026-10-06 15:00 +0700
|
|
110
|
+
|
|
111
|
+
### Fixed
|
|
112
|
+
|
|
113
|
+
- **Chạy E2E bằng `update_checkpoint` không còn chết ở bước 1.** Core 0.3.12 nhận cả hai dạng `steps` (object
|
|
114
|
+
như model gửi, và chuỗi `status: title` cũ), nên một run thật không bị từ chối tool rồi abort nữa. CLI ghim
|
|
115
|
+
core 0.3.12.
|
|
116
|
+
## [2.1.10] - 2026-10-06 19:20 +0700
|
|
117
|
+
|
|
118
|
+
### Changed
|
|
119
|
+
|
|
120
|
+
- **Thinking policy dùng chung với core** (core 0.3.13): CLI bỏ bản sao `src/thinking-policy.ts`, import từ
|
|
121
|
+
core — cùng một từ vựng mức suy luận cho CLI, web GUI và extension VSCode.
|
|
122
|
+
## [2.1.11] - 2026-10-07 03:40 +0700
|
|
123
|
+
|
|
124
|
+
### Changed
|
|
125
|
+
|
|
126
|
+
- Dùng **core 0.3.14**: snapshot workspace không còn ném `LIMIT_EXCEEDED` khi workspace lớn — tệp quá 8 MiB và
|
|
127
|
+
phần vượt ngân sách được băm bằng metadata và snapshot được đánh dấu `degraded`.
|
|
128
|
+
## [2.1.12] - 2026-10-07 04:10 +0700
|
|
129
|
+
|
|
130
|
+
### Fixed
|
|
131
|
+
|
|
132
|
+
- **`blackhole web` trên Windows không còn chết vì plugin thương hiệu**: `ensureBrandLink` dùng `symlinkSync(...,
|
|
133
|
+
"dir")` — tạo symlink trên Windows cần quyền admin/Developer Mode, thất bại, bị `catch` nuốt im lặng, nhưng
|
|
134
|
+
patch thương hiệu **vẫn** được nạp nên DSH báo `Cannot find package '@galaxy-stack/gbh-brand'` và cả cây plugin
|
|
135
|
+
không load. Nay: thử **junction** (không cần quyền), không được thì **copy** gói vào profile; nếu vẫn thất bại
|
|
136
|
+
thì **bỏ patch thương hiệu** và in cảnh báo — web vẫn khởi động bình thường.
|
|
137
|
+
- Nhờ vậy, khi chưa có API key thì trang web vẫn mở và hộp thoại nhập key vẫn hiện như thiết kế, thay vì crash
|
|
138
|
+
trước khi kịp phục vụ.## [2.1.13] - 2026-10-07 04:45 +0700
|
|
139
|
+
|
|
140
|
+
### Fixed
|
|
141
|
+
|
|
142
|
+
- **`blackhole web` đọc key từ mọi kho, không chỉ env + store của DSH**: trước đây hàm phân giải chỉ kiểm
|
|
143
|
+
`GBH_GALAXY_API_KEY` và `<gbh-home>/.credentials.yaml`, nên key đã thêm trong **VS Code** (ghi vào
|
|
144
|
+
`~/.galaxy/credentials.yaml` và mirror trong `config.json`) **vẫn bị coi là chưa có** — web mở lên nhưng lượt
|
|
145
|
+
chạy báo `API key không hợp lệ`.
|
|
146
|
+
Nay thứ tự: env → `OLLAMA_API_KEY` → store chung `~/.galaxy/credentials.yaml` (theo provider đang dùng) →
|
|
147
|
+
mirror `agent[type=manual].apiKey` trong `~/.galaxy/config.json` → store của DSH; key tìm được **được export
|
|
148
|
+
`GBH_GALAXY_API_KEY` cho tiến trình web**, nên thêm key ở VS Code là `blackhole web` dùng được ngay.
|
|
149
|
+
Cảnh báo "No Galaxy API key yet" chỉ còn hiện khi **thật sự** không có key ở bất kỳ kho nào.## [2.1.14] - 2026-10-07 11:40 +0700
|
|
150
|
+
|
|
151
|
+
### Fixed
|
|
152
|
+
|
|
153
|
+
- **Ô nhập API key trong `blackhole web` không còn bị khoá trên Windows**: bản 2.1.13 bơm
|
|
154
|
+
`GBH_GALAXY_API_KEY` vào môi trường của tiến trình web, mà DSH coi khoá từ môi trường là "do môi trường khởi
|
|
155
|
+
chạy cung cấp" nên **chỉ đọc** và vô hiệu ô nhập. Nay key phân giải được **ghi vào store chung**
|
|
156
|
+
(`~/.galaxy/credentials.yaml`) nên hộp thoại web sở hữu giá trị: hiển thị đúng, sửa được, thay được — giống
|
|
157
|
+
hệt trên macOS.
|
|
158
|
+
|
|
159
|
+
### Changed
|
|
160
|
+
|
|
161
|
+
- **Bước 2: `config.json` không còn là nguồn credential thường trực.** Nếu key chỉ còn nằm trong mirror cũ,
|
|
162
|
+
launcher đọc nó **một lần rồi chuyển ngay** vào store chung (ref `GBH_<PROVIDER>_API_KEY`); từ lượt sau mọi
|
|
163
|
+
host đều đọc từ store chung. Từ đây `config.json` chỉ còn là tài liệu cấu hình (model, baseUrl, thinking).## [2.1.15] - 2026-10-07 12:10 +0700
|
|
164
|
+
|
|
165
|
+
### Added
|
|
166
|
+
|
|
167
|
+
- **`blackhole doctor`** — một lệnh trả lời đúng câu hỏi hay gặp: key có đúng không, hay máy không tới được
|
|
168
|
+
Ollama. Nó phân giải key y như `blackhole web` (env → `OLLAMA_API_KEY` → store chung → mirror cũ → store
|
|
169
|
+
DSH), in key đã **che bớt** kèm nguồn, rồi lần lượt kiểm tra kết nối `GET /api/tags` và gọi thật
|
|
170
|
+
`POST /api/chat` bằng **model đang dùng**.
|
|
171
|
+
Mã thoát: `0` tốt · `1` không có key · `2` mạng bị chặn · `3` key bị từ chối · `4` phản hồi khác.## [2.1.16] - 2026-10-07 15:10 +0700
|
|
172
|
+
|
|
173
|
+
### Changed
|
|
174
|
+
|
|
175
|
+
- Dùng **core 0.3.15**: stream model im lặng quá 180 giây sẽ **dừng lượt chạy kèm lỗi rõ ràng** thay vì treo vô
|
|
176
|
+
hạn — hết cảnh cả flow đứng im hàng giờ ở bước gọi model.## [2.1.17] - 2026-10-07 16:00 +0700
|
|
177
|
+
|
|
178
|
+
### Changed
|
|
179
|
+
|
|
180
|
+
- **Bảng tên công cụ chuyển vào core 0.3.16**: `timeline.tsx` không còn giữ bản sao `TOOL_LABELS` nữa mà
|
|
181
|
+
re-export từ `@galaxy-stack/ai-coder-core/tools` — TUI và webview của extension đọc **cùng một bảng**,
|
|
182
|
+
thêm công cụ mới chỉ phải đặt tên một lần.## [2.1.18] - 2026-10-07 16:10 +0700
|
|
183
|
+
|
|
184
|
+
### Changed
|
|
185
|
+
|
|
186
|
+
- Dùng **core 0.3.17** (nhãn công cụ không còn ngoặc rỗng).## [2.1.19] - 2026-10-07 18:40 +0700
|
|
187
|
+
|
|
188
|
+
### Docs
|
|
189
|
+
|
|
190
|
+
- **README viết lại cho khớp thực tế**: tiêu đề là *Galaxy Blackhole CLI* (không còn *Galaxy Code*), có mục cài
|
|
191
|
+
đặt, và **danh sách lệnh đầy đủ** — thêm `doctor`, `config migrate|doctor|path`, `memory` (7 lệnh con),
|
|
192
|
+
`skills search|install|update|remove`, `mcp login|logout`, `update`, `logs`, `setup`, `sessions` và `--continue`.
|
|
193
|
+
- **Mục Credentials viết lại**: một tài liệu chung `~/.galaxy/credentials.yaml` (ref `GBH_<PROVIDER>_API_KEY`),
|
|
194
|
+
thứ tự phân giải 5 bước (env → `OLLAMA_API_KEY` → store chung → mirror `config.json` được tự động chuyển →
|
|
195
|
+
store của web), và **bảng mã thoát của `blackhole doctor`** (0/1/2/3/4).
|
|
196
|
+
- Phân biệt rõ **`blackhole doctor`** (phía model: key, endpoint, kết nối) với **`blackhole web doctor`** (phía
|
|
197
|
+
launcher: runtime DSH, patch, nguồn key) — trước đây README chỉ nhắc cái thứ hai.
|
|
198
|
+
- Sửa các con số sai: core `0.3.0` → thực tế, `latest` không còn kẹt ở `2.0.0-alpha.9`, `--thinking` ở mục
|
|
199
|
+
Provider thiếu `default|minimal|xhigh|max`, và **ngân sách lượt chạy là 24 phút (tương tác) / 30 phút** —
|
|
200
|
+
README cũ ghi 15 phút.## [2.1.20] - 2026-10-07 19:00 +0700
|
|
201
|
+
|
|
202
|
+
### Docs
|
|
203
|
+
|
|
204
|
+
- **Bỏ hẳn tên nhà cung cấp khỏi README**: mục cài đặt ghi *"check the API key and the connection"*, mục cài đặt có
|
|
205
|
+
thêm **`blackhole web`**, bảng mã thoát nói *"the provider is unreachable"*, và mục Providers giải thích đúng mô
|
|
206
|
+
hình: mặc định là **`auto`** — Galaxy Blackhole tự chọn model `deepseek-v4.1-flash`, local hay cloud, người dùng
|
|
207
|
+
không phải chọn vendor. Bỏ luôn biến môi trường phụ khỏi thứ tự phân giải credential.
|
|
208
|
+
|
|
209
|
+
### Changed
|
|
210
|
+
|
|
211
|
+
- Dùng **core 0.3.18** (câu báo lỗi khi stream im lặng nay trung tính).## [2.1.21] - 2026-10-07 19:40 +0700
|
|
212
|
+
|
|
213
|
+
### Docs
|
|
214
|
+
|
|
215
|
+
- **README viết cho người dùng, không phải cho người phát triển**: bỏ các mục *End-to-end verification*, *Development*,
|
|
216
|
+
*Testing and migration* và *Input and activity feedback*; bỏ chi tiết nội bộ (patch, brand client, DSH, OIDC,
|
|
217
|
+
`npm run`, thứ tự phân giải credential 4 bước, ghi chú SQLite).
|
|
218
|
+
- Mục credential đổi thành **API key**: một chỗ duy nhất (`~/.galaxy/credentials.yaml`), nhập ở đâu cũng dùng được
|
|
219
|
+
ở đó, kèm bảng mã thoát của `blackhole doctor`.
|
|
220
|
+
- Mục web GUI gọn còn việc người dùng cần: mở cái gì, Journey là gì, và **thiếu key vẫn mở được trang**.## [2.1.22] - 2026-10-07 19:50 +0700
|
|
221
|
+
|
|
222
|
+
### Docs
|
|
223
|
+
|
|
224
|
+
- Sửa dòng bị lơ lửng ở mục Install sau khi gọt ghi chú SQLite ở bản 2.1.21.## [2.1.23] - 2026-10-07 20:20 +0700
|
|
225
|
+
|
|
226
|
+
### Fixed
|
|
227
|
+
|
|
228
|
+
- **Mục "Xoá phiên" không còn lọt vào menu Quyền hay popup Model trong `blackhole web`**: brand client ghi nhớ
|
|
229
|
+
hàng phiên được bấm và **không bao giờ xoá cờ đó**, nên sau khi chuyển phiên (bấm vào hàng, không phải nút ⋯)
|
|
230
|
+
thì **mọi** `[role=menu]` mở sau đó — menu quyền, popup chọn model — đều bị chèn thêm mục xoá phiên.
|
|
231
|
+
Nay: cờ chỉ được bật khi bấm **nút menu của chính hàng đó** (`aria-haspopup`/`aria-expanded`), **menu đầu tiên**
|
|
232
|
+
xuất hiện sau đó **tiêu thụ** cờ, và cờ **hết hạn sau 1,5 giây** — nên tính năng xoá phiên vẫn còn nguyên ở đúng
|
|
233
|
+
chỗ của nó (menu ⋯ của hàng phiên và nút thùng rác ở header), không cần ẩn.## [2.1.24] - 2026-10-09 14:20 +0700
|
|
234
|
+
|
|
235
|
+
### Added
|
|
236
|
+
|
|
237
|
+
- **`--tools-mode native|ptc|both`** cho `chat`, `run` và `flow` (mặc định `native`), truyền thẳng vào request của
|
|
238
|
+
core. Ở `ptc`/`both` CLI sẽ báo `CODE_RUNTIME_MISSING` cho tới khi sandbox (P2) hoàn thành — cố ý, để không ai
|
|
239
|
+
tưởng tính năng đã chạy.## [2.1.25] - 2026-10-09 15:45 +0700
|
|
240
|
+
|
|
241
|
+
### Added
|
|
242
|
+
|
|
243
|
+
- **Sandbox PTC được compose trong CLI**: `--tools-mode ptc` (hoặc `both`) giờ **chạy thật**. CLI dựng
|
|
244
|
+
`WorkerCodeRuntime` (mỗi chương trình một worker thread, heap cap, deadline, huỷ) và đưa cho cả executor lẫn
|
|
245
|
+
run controller, nên chốt chặn `CODE_RUNTIME_MISSING` ở core tự mở.
|
|
246
|
+
- Mọi call con trong chương trình đi qua đúng đường tool cũ, nên **duyệt, effect profile, cap, spill, trace** giữ
|
|
247
|
+
nguyên hành vi.## [2.1.26] - 2026-10-09 19:40 +0700
|
|
248
|
+
|
|
249
|
+
### Added (P4 của `docs/design/tool-modes.md`)
|
|
250
|
+
|
|
251
|
+
- **Call con của chương trình hiện thành thẻ riêng, lồng dưới thẻ `run_code`**: `GalaxyApplication` nhận
|
|
252
|
+
`onCodeEvent`, executor chuyển tiếp `code/tool-start` / `code/tool-result`, và `RunTimeline.codeEvent` dựng đúng
|
|
253
|
+
những dòng transcript mà một call trực tiếp sẽ có — cùng nhãn, cùng trạng thái, chỉ **thụt một cấp** (`└`).
|
|
254
|
+
- Thẻ `run_code` in ra **chương trình đã chạy** (vài dòng đầu, màu mờ) trước phần kết quả, nên đọc transcript là
|
|
255
|
+
biết model đã viết gì chứ không chỉ biết nó trả về gì.
|
|
256
|
+
|
|
257
|
+
### Notes
|
|
258
|
+
|
|
259
|
+
- Chương trình bị **đếm** là một lần gọi công cụ, còn các call bên trong là thẻ con — không bị gộp vào dòng tổng
|
|
260
|
+
kết *"N lần gọi công cụ"*, cũng không bị ẩn đi như DSH làm.## [2.1.27] - 2026-10-10 10:40 +0700
|
|
261
|
+
|
|
262
|
+
### Changed (P5b của `docs/design/tool-modes.md` — giao diện hội thoại cho CLI)
|
|
263
|
+
|
|
264
|
+
- **Bước đã xong trong dải kế hoạch nay có gạch chữ**, đúng như sidebar: `☑` + gạch ngang tiêu đề. Dải kế hoạch
|
|
265
|
+
tính chiều cao theo số dòng và Ink đo bề rộng bằng `string-width` (bỏ qua ANSI), nên mã gạch không làm lệch
|
|
266
|
+
bố cục.
|
|
267
|
+
- Bước **đang làm** giữ màu nhấn (dòng bắt đầu bằng `◐` được tô), bước **chờ** để trơn — không thêm chữ trạng thái
|
|
268
|
+
nào, giống hệt cách sidebar thể hiện.
|
|
269
|
+
|
|
270
|
+
### Notes
|
|
271
|
+
|
|
272
|
+
- Phần gom nhóm công cụ của CLI (`N lần gọi công cụ · Ctrl+O để xem`) vốn đã cùng kiểu với web GUI, nên đợt này chỉ
|
|
273
|
+
chỉnh phần kế hoạch cho khớp ngôn ngữ hình ảnh của sidebar.## [2.1.29] - 2026-10-10 15:20 +0700
|
|
274
|
+
|
|
275
|
+
### Fixed
|
|
276
|
+
|
|
277
|
+
- **Câu chỉ báo đang chạy bị lệch quy ước.** Từ điển đã có sẵn `chat.message.turnProcess.deepDivingFor` =
|
|
278
|
+
*"Đang suy nghĩ trong {duration}"*, nhưng bản dịch 0.2.0 lại đặt `chat.chat.deepDivingFor` = *"Đang đào sâu
|
|
279
|
+
trong {duration} ···"* — cùng một ý, hai cách nói. Nay cả hai key đều là *"Đang suy nghĩ trong {duration}"*
|
|
280
|
+
(ví dụ: **Đang suy nghĩ trong 5s**).
|
|
281
|
+
- **Bỏ linh vật cá của DSH khỏi dòng trạng thái đang chạy.** DSH vẽ một con cá động cho chỉ báo này; các slot mà
|
|
282
|
+
nó mở (`sidebar.brand.mark`, `conversation.hero.brand.mark`) **không** bao gồm chỉ báo đó, nên brand của ta
|
|
283
|
+
chưa từng thay được nó. Nay brand tiêm một quy tắc `[class*="runningWhale"]{display:none}` — bám phần tên ổn
|
|
284
|
+
định vì hash class đổi theo từng bản DSH.
|
|
285
|
+
|
|
286
|
+
### Notes
|
|
287
|
+
|
|
288
|
+
- Đây là lỗi do bản dịch 0.2.0 hôm nay, không phải hành vi cũ của sản phẩm: key có tham số thời gian là key mới,
|
|
289
|
+
và nó đã được dịch thiếu nhất quán.## [2.1.30] - 2026-10-10 16:05 +0700
|
|
290
|
+
|
|
291
|
+
### Changed
|
|
292
|
+
|
|
293
|
+
- **Mở lại toàn bộ giao diện DSH**, chỉ giữ ẩn đúng một trang: **Account** (`ui-settings-account`). Hiện lại: bộ chọn
|
|
294
|
+
**Agent presets** (Standard · PTC · Minimal · Creator), **Plugins**, **Built-in plugins**, trang session/global
|
|
295
|
+
plugins, **Agent loop**, **Shell**, **Subagent**, **Session log** và **Web search**.
|
|
296
|
+
- Trang Account vẫn ẩn vì sản phẩm này chạy bằng **key** tới Galaxy cloud, không dùng tài khoản DSH — trang đó không
|
|
297
|
+
có gì để làm ở đây.
|
|
298
|
+
|
|
299
|
+
### Notes
|
|
300
|
+
|
|
301
|
+
- Các plugin **vẫn được mount** như trước: đợt này chỉ bỏ phần ẩn giao diện, không đổi cách compose.## [2.1.31] - 2026-10-10 17:10 +0700
|
|
302
|
+
|
|
303
|
+
### Fixed
|
|
304
|
+
|
|
305
|
+
- **Trang Preset không sửa được.** Overlay của ta ghim `agent-preset-registry` (`default: ptc`), nên config editor
|
|
306
|
+
của DSH từ chối lưu và hiện cảnh báo đỏ *"Configuration for … is overridden by a home patch or command-line
|
|
307
|
+
overlay"*. Nay patch **không** ghim preset nữa: trang dùng được, lựa chọn của bạn được giữ. Muốn ép một preset
|
|
308
|
+
cho một lần chạy thì dùng `--preset <id>`.
|
|
309
|
+
- **`--preset` trỏ vào row đã đổi tên.** Overlay dòng lệnh vẫn phát `agent-presets` (id thời 0.1.5) nên cờ không có
|
|
310
|
+
tác dụng; nay là `agent-preset-registry`.
|
|
311
|
+
- **19 chuỗi preset còn tiếng Anh** — *Mode details*, *How to use*, và toàn bộ nội dung hướng dẫn của bốn chế độ —
|
|
312
|
+
nay đã dịch. Nguyên nhân: script merge điền tiếng Anh vào chỗ trống, còn test cũ chỉ kiểm tra "không rỗng".
|
|
313
|
+
|
|
314
|
+
### Changed
|
|
315
|
+
|
|
316
|
+
- Dòng *Phiên bản hiện tại* trong Cài đặt → Chung nay hiện **phiên bản blackhole** thay vì số của DSH.
|
|
317
|
+
- Ẩn nút **Xem** trên thẻ preset: nó mở đúng nội dung mà thẻ đã dẫn tới.## [2.1.32] - 2026-10-10 18:00 +0700
|
|
318
|
+
|
|
319
|
+
### Changed
|
|
320
|
+
|
|
321
|
+
- **Dịch 249 chuỗi giao diện còn tiếng Anh** (lượt 1 và 2): Phím tắt (56→1), Trajectory (39→11), Open in app (42→33),
|
|
322
|
+
Subagent settings (35→1), Subagent (20→14), Deliverables (33→2), Job (24→0). Phần giữ nguyên là thứ **không nên**
|
|
323
|
+
dịch: đơn vị đo (ms, s, tok), tên ứng dụng (Cursor, VS Code, Zed…), ký hiệu (+n, −n), và tên sản phẩm (Subagent).
|
|
324
|
+
|
|
325
|
+
### Fixed
|
|
326
|
+
|
|
327
|
+
- **Nút "Xem" trên thẻ preset vẫn hiện** sau bản 2.1.31: nó không phải phần tử `<button>` và inline style bị React ghi
|
|
328
|
+
đè khi render lại. Nay ẩn bằng quy tắc CSS theo `data-tip`/`aria-label` — thuộc tính do DSH đặt từ chính key đã
|
|
329
|
+
dịch, nên bền qua mọi lần render lại và cả khi đổi ngôn ngữ.## [2.1.33] - 2026-10-10 19:30 +0700
|
|
330
|
+
|
|
331
|
+
### Changed
|
|
332
|
+
|
|
333
|
+
- **Dịch nốt 408 chuỗi** của những bề mặt trước đây được miễn trừ: Plugin (**189**), Settings → Account (**93**),
|
|
334
|
+
Voice input (**101**), Agent Team (**25**). Cộng với 249 chuỗi của 2.1.32, tổng lượt này là **657 chuỗi** trên
|
|
335
|
+
34 namespace.
|
|
336
|
+
- **Schedule cũng đã dịch** (`schedule.catalog` 70, `schedule.manager` 187): danh sách nhắc hẹn, quy tắc lặp, biểu
|
|
337
|
+
thức cron, múi giờ, bản ghi gửi. **Không còn namespace nào được miễn trừ** — `NOT_COMPOSED` nay rỗng, nên mọi
|
|
338
|
+
namespace mà các bundle DSH ship đều được dịch, kể cả trang mà overlay đang ẩn (Account) hay bundle thử nghiệm
|
|
339
|
+
không mount (voice input, Agent Team, Schedule).
|
|
340
|
+
|
|
341
|
+
### Added
|
|
342
|
+
|
|
343
|
+
- **Cổng chặn dịch sót.** `web/brand/dsh-locale-keys.json` nay lưu hash SHA-256 của bản tiếng Anh từng key, và một
|
|
344
|
+
test mới sẽ đỏ nếu bản dịch nào **trùng y nguyên tiếng Anh**. Danh sách miễn trừ nằm ở
|
|
345
|
+
`web/brand/vi-same-by-design.json` (110 mục, có ghi lý do trong test): đơn vị đo, tên ứng dụng, dấu phân cách,
|
|
346
|
+
tên giao thức, URL, và mã định danh — những thứ không nên dịch.
|
|
347
|
+
|
|
348
|
+
### Notes
|
|
349
|
+
|
|
350
|
+
- Cổng này bắt được đúng lỗi của lượt trước: namespace `pluginManager` chưa từng có trong từ điển, nên các trang
|
|
351
|
+
Plugin hiện tiếng Anh. Một phép đo cũ đọc namespace rỗng thành "không có gì cần dịch" và tôi đã báo sai.## [2.1.34] - 2026-10-10 21:05 +0700
|
|
352
|
+
|
|
353
|
+
### Changed
|
|
354
|
+
|
|
355
|
+
- **Ẩn các bề mặt plugin**: trang **Plugin** ở sidebar (`ui-plugin-manager`), mục **Plugin** trong Cài đặt
|
|
356
|
+
(`ui-settings-plugins`) và trang kiểm kê plugin (`ui-settings-plugin-inventory`). Sản phẩm này ship một bộ
|
|
357
|
+
plugin cố định, nên những trang đó không có gì để người dùng làm và mọi thứ chúng liệt kê đều là nội bộ.
|
|
358
|
+
Bộ chọn **Preset agent** vẫn giữ nguyên.
|
|
359
|
+
- Trang chi tiết plugin được dọn: ẩn huy hiệu phiên bản DSH, tên gói npm, và cả khối "Thành phần" — cùng hàng
|
|
360
|
+
"Mô-đun" đã ẩn từ trước (nay sửa luôn lỗi nằm ngoài vòng lặp của nó).
|
|
361
|
+
|
|
362
|
+
### Added
|
|
363
|
+
|
|
364
|
+
- **Hai cổng cho brand web**: template và bundle phải **parse** được, và **factory của module phải chạy** được
|
|
365
|
+
(thực thi với stub React). Cổng thứ hai bắt đúng lớp lỗi từng làm GUI báo "Failed to load plugins".
|
|
366
|
+
|
|
367
|
+
### Notes
|
|
368
|
+
|
|
369
|
+
- Bản này gộp cả đợt dịch của 2.1.33 (**933 chuỗi**, gồm cả Schedule) vì 2.1.33 chưa từng lên npm.
|
|
370
|
+
|
|
371
|
+
## [2.1.35] - 2026-10-10 22:10 +0700
|
|
372
|
+
|
|
373
|
+
### Fixed
|
|
374
|
+
|
|
375
|
+
- **`Mất {duration}8s` hiện trên dòng trạng thái.** Bản dịch của `chat.message.turnProcess.took` là *"Mất
|
|
376
|
+
{duration}"*, nhưng câu tiếng Anh chỉ là **tiền tố** *"Completed in "* — không có placeholder nào, DSH tự ghép
|
|
377
|
+
thời lượng vào sau. Thêm placeholder vào đó khiến nó hiện nguyên văn. Nay là *"Xong sau "*.
|
|
378
|
+
|
|
379
|
+
### Added
|
|
380
|
+
|
|
381
|
+
- **Cổng kiểm placeholder hai chiều.** Trước đây inventory chỉ ghi placeholder cho những key mà bản tiếng Anh
|
|
382
|
+
**có** placeholder, nên một bản dịch **tự thêm** placeholder không bị phát hiện — đúng lỗi trên. Nay mọi key đều
|
|
383
|
+
được ghi (kể cả danh sách rỗng) và test so cả hai chiều. Quét lại toàn bộ 2527 key: sạch.
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
- **Tab "Tính năng" trong Cài đặt**: bật/tắt hai tính năng thử nghiệm của DSH (Agent Teams, Tác vụ tự động)
|
|
387
|
+
qua route `/api/galaxy/features`, ghi thẳng vào `dsh.profile.bundles` — đúng cơ chế DSH dùng cho trang
|
|
388
|
+
Plugin. Mặc định **tắt**, và công tắc bị vô hiệu hoá khi chưa đọc được trạng thái.
|
|
389
|
+
- **Hai chuỗi ở Cài đặt → Chung** (chúng viết thẳng trong bundle nên từ điển không với tới): nay là *"Tải log
|
|
390
|
+
phiên lên khi dùng API model chính thức"* và *"Giúp cải thiện model và sản phẩm Galaxy."*
|
|
391
|
+
|
|
392
|
+
### Changed
|
|
393
|
+
|
|
394
|
+
- **Tab "Hành trình" được giữ lại**: nó vẫn đang phát triển, nên bản phát hành không mang theo một bề mặt chưa
|
|
395
|
+
xong. Mã giữ nguyên; đổi cờ `GBH_JOURNEY_ENABLED` thành `true` là nó trở lại.
|
|
396
|
+
- Bỏ trang Plugin khỏi sidebar và mục Plugin khỏi Cài đặt (từ 2.1.34).
|
|
397
|
+
## [2.1.36] - 2026-10-12 18:08 +0700
|
|
398
|
+
|
|
399
|
+
### Fixed
|
|
400
|
+
|
|
401
|
+
- **`blackhole web` không còn báo "Failed to load plugins"** (`web boot: 1 entry did not activate` /
|
|
402
|
+
`@galaxy-stack/gbh-brand: failed`). Nửa client của brand đăng ký một mục feedback ở session header và truyền
|
|
403
|
+
`GbhFeedbackAction` — cái tên **chưa từng được định nghĩa ở đâu trong repo**, vì feedback đã chuyển thành
|
|
404
|
+
section trong Cài đặt từ trước. Tham chiếu nằm trong callback của `ctx.slots.inject`, nên `ReferenceError`
|
|
405
|
+
chỉ nổ lúc slot được materialize, tức **bên trong lúc entry kích hoạt**: cả cây plugin bị đánh dấu hỏng dù
|
|
406
|
+
phần còn lại của bundle chạy tốt. Khối registration stale nay đã bị gỡ; feedback vẫn nằm ở section Cài đặt.
|
|
407
|
+
Xem [CHANGELOG.d fragment](CHANGELOG.d/2026-10-12-feedback-action-khong-ton-tai.md).
|
|
408
|
+
- Bản 2.1.35 phát hành thiếu hai dòng `disabled: true` mà HEAD đang có (`session-log-deepseek`,
|
|
409
|
+
`ui-settings-session-log`), nên slot đó được materialize ngay trong cửa sổ web boot và lỗi trên thành chí
|
|
410
|
+
mạng; ở patch của HEAD nó chỉ nằm im trong console. Bản này sửa gốc, độc lập với patch.
|
|
411
|
+
|
|
412
|
+
### Added
|
|
413
|
+
|
|
414
|
+
- **Cổng chặn cho nửa client của brand**: `test/web-brand.test.ts` dựng `ctx` giả, materialize mọi slot rồi gọi
|
|
415
|
+
`apply()`, và mọi registration phải truyền một component thật — một cái tên thiếu không thể đi ra bản phát
|
|
416
|
+
hành lần nữa. Test đã được kiểm chứng **đỏ trên bundle cũ** với đúng `ReferenceError` kể trên. Xem
|
|
417
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-12-feedback-action-khong-ton-tai.md).
|
|
418
|
+
## [2.1.8] - 2026-10-06 11:20 +0700
|
|
419
|
+
|
|
420
|
+
### Changed
|
|
421
|
+
|
|
422
|
+
- **Reader MCP dùng chung với core** (`adapters/node/config/workspace-mcp`): CLI bỏ bản sao trong
|
|
423
|
+
`src/mcp-config.ts` để CLI và extension VSCode đọc `.vscode/mcp.json` bằng **cùng một đoạn code**, không
|
|
424
|
+
còn nguy cơ lệch nhau. Hành vi không đổi: chỉ server stdio, `--agent-config` > workspace > mặc định
|
|
425
|
+
Galaxy, và mặc định chỉ được thêm khi agent config không nói gì.
|
|
426
|
+
|
|
427
|
+
## [2.1.7] - 2026-10-06 10:15 +0700
|
|
428
|
+
|
|
429
|
+
### Added
|
|
430
|
+
|
|
431
|
+
- Đọc MCP server của dự án từ **`.vscode/mcp.json`** (chỉ server stdio), thứ tự ưu tiên
|
|
432
|
+
`--agent-config` > workspace > mặc định Galaxy; mặc định chỉ được thêm khi agent config không nói gì.
|
|
433
|
+
- [docs/CONFIG_PRECEDENCE_2026-10-06.md](docs/CONFIG_PRECEDENCE_2026-10-06.md): bảng thứ tự ưu tiên cấu
|
|
434
|
+
hình, và nguyên tắc `.galaxy/` trong repo chỉ là state. Xem
|
|
435
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-06-mcp-workspace-va-thu-tu-cau-hinh.md).
|
|
436
|
+
|
|
437
|
+
## [2.1.6] - 2026-10-05 21:20 +0700
|
|
438
|
+
|
|
439
|
+
### Fixed
|
|
440
|
+
|
|
441
|
+
- **2.1.5 phát hành thiếu nửa server của bản vá `web_search`**: file `web/brand/lib/index.js` không được
|
|
442
|
+
đưa vào commit (chỉ có test), nên bản 2.1.5 vẫn hỏng `web_search`. 2.1.6 mới thật sự chứa provider
|
|
443
|
+
`galaxy` + đường đọc `~/.galaxy/credentials.yaml`.
|
|
444
|
+
- Đưa nốt phần journey đang dở (libs + `.d.ts`) vào commit: bộ test journey đã được commit trước đó
|
|
445
|
+
nhưng thiếu phần thư viện đi kèm, khiến `npm run check` trên CI đỏ.
|
|
446
|
+
|
|
447
|
+
## [2.1.5] - 2026-10-05 20:50 +0700
|
|
448
|
+
|
|
449
|
+
### Fixed
|
|
450
|
+
|
|
451
|
+
- `web_search` trong blackhole web: provider tìm kiếm của Galaxy có id thật (`galaxy`) và đọc key từ
|
|
452
|
+
`~/.galaxy/credentials.yaml` — trước đây id là `"auto"` và chỉ đọc env nên mọi lần gọi đều lỗi.
|
|
453
|
+
|
|
454
|
+
### Added
|
|
455
|
+
|
|
456
|
+
- `--continue`: nối lại phiên mới nhất của workspace hiện tại. Xem
|
|
457
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-05-web-search-va-continue.md).
|
|
458
|
+
|
|
459
|
+
## [2.1.4] - 2026-10-05 18:20 +0700
|
|
460
|
+
|
|
461
|
+
### Fixed
|
|
462
|
+
|
|
463
|
+
- Cổng API key first-run chỉ còn dành cho **route cloud của Galaxy**: chạy với Ollama local, gateway tự
|
|
464
|
+
host hay endpoint bất kỳ do bạn chỉ định giờ không còn bị chặn với exit code 3. Đây là nguyên nhân CI
|
|
465
|
+
của CLI đỏ liên tục từ 2026-10-02. Xem
|
|
466
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-05-cong-key-chi-cho-cloud.md).
|
|
467
|
+
|
|
468
|
+
## [2.1.3] - 2026-10-05 12:10 +0700
|
|
469
|
+
|
|
470
|
+
### Added
|
|
471
|
+
|
|
472
|
+
- Dải checklist kế hoạch **thường trú** trên transcript + lệnh `/plan` (bật chế độ chỉ-đọc, `/plan off`
|
|
473
|
+
để duyệt), chạy trên plan mode của core 0.3.8. Xem
|
|
474
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-05-plan-mode-cli.md).
|
|
475
|
+
- Thiết kế đầy đủ: [docs/PLAN_MODE_2026-10-05.md](docs/PLAN_MODE_2026-10-05.md).
|
|
476
|
+
|
|
477
|
+
## [2.1.2] - 2026-10-05 11:10 +0700
|
|
478
|
+
|
|
479
|
+
### Added
|
|
480
|
+
|
|
481
|
+
- `/compact` trong TUI: nén context của **lượt đang chạy** qua `compactNow` của core 0.3.7, notice báo
|
|
482
|
+
lại số mục bị nén và token trước/sau.
|
|
483
|
+
- Gõ `/compact` **lúc rảnh** giờ không còn là lệnh rỗng: cờ `compactOnStart` được ghi nhớ và lượt kế
|
|
484
|
+
tiếp sẽ nén **trước khi gọi model**, nên cả lượt đó đã trả giá bằng prompt gọn. Xem
|
|
485
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-05-compact-trong-tui.md).
|
|
486
|
+
|
|
487
|
+
## [2.1.1] - 2026-10-04 16:45 +0700
|
|
488
|
+
|
|
489
|
+
Lần đầu chạy `blackhole` mà chưa có API key thì được hướng dẫn nhập, và **không chỗ nào lộ tên runtime**.
|
|
490
|
+
|
|
491
|
+
### Added
|
|
492
|
+
|
|
493
|
+
- `blackhole setup`: màn hình đầu chỉ nói **Galaxy Blackhole** và hỏi API key (ô nhập ẩn ký tự). Đồng ý
|
|
494
|
+
khi ô trống thì báo lỗi tại chỗ; Huỷ (Esc) mở **"Chọn nhà cung cấp"** (Galaxy Blackhole khuyên dùng ·
|
|
495
|
+
máy chủ nội bộ · OpenAI-compatible). Key được kiểm tra bằng `GET /api/tags` trước khi lưu — 401/403 là
|
|
496
|
+
"không hợp lệ", lỗi mạng thì hỏi trước khi lưu dạng chưa xác minh. `--reset` để nhập lại, `--no-input`
|
|
497
|
+
để không bao giờ hỏi. Xem [CHANGELOG.d fragment](CHANGELOG.d/2026-10-04-hanh-trinh-setup-key-lan-dau.md).
|
|
498
|
+
- `blackhole chat|run|flow` tự gọi luồng setup khi chưa có key; script (không TTY) nhận gợi ý và **exit 3**
|
|
499
|
+
thay vì chạy tiếp rồi in lỗi 401 thô.
|
|
500
|
+
|
|
501
|
+
### Fixed
|
|
502
|
+
|
|
503
|
+
- Lỗi provider được gắn brand: `Galaxy Blackhole: chat failed (401): Unauthorized` kèm gợi ý
|
|
504
|
+
`blackhole setup`, thay cho `Ollama chat failed (401)`.
|
|
505
|
+
- Header TUI không còn fallback về tên runtime; host lạ được gọi đúng là `OpenAI-compatible (<host>)`.
|
|
506
|
+
- `blackhole config doctor` phân biệt "chưa có key → chạy setup" với "mirror lệch → chạy migrate".
|
|
507
|
+
- `--research` và ghi chú mức suy luận không còn nhắc tên runtime.
|
|
508
|
+
|
|
509
|
+
## [2.1.0] - 2026-10-04 14:52 +0700
|
|
510
|
+
|
|
511
|
+
`blackhole web` nay tự mang runtime DSH, và lần đầu chạy được trên Windows.
|
|
512
|
+
|
|
513
|
+
### Added
|
|
514
|
+
|
|
515
|
+
- `@deepseek-ai/dsh` thành **optional dependency** ghim `0.1.5-rc.3`: cài CLI là có runtime, không
|
|
516
|
+
cần `npm i -g` riêng, và runtime được chạy bằng `node` (không qua shim shell). Xem
|
|
517
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-10-04-dsh-optional-dependency-va-windows-runtime.md).
|
|
518
|
+
- Thông điệp lỗi và `blackhole web doctor` nêu đúng lệnh cài, đúng bản ghim, và runtime nào đã trả lời.
|
|
519
|
+
|
|
520
|
+
### Fixed
|
|
521
|
+
|
|
522
|
+
- **Windows**: shim `.cmd` không còn bị đưa thẳng cho `spawn` (Node chặn `.cmd`/`.bat` khi thiếu
|
|
523
|
+
shell) — shim được giải ngược về `lib/bin.js` và chạy bằng node, chỉ shim mồ côi mới bọc `cmd.exe`;
|
|
524
|
+
ghi chú `INFO: Could not find files…` của `where.exe` không còn rò ra terminal.
|
|
525
|
+
- Bậc dò `node_modules/.bin/dsh` trước đây trỏ sai gốc package (`src/` / `dist/`) nên không bao giờ khớp.
|
|
526
|
+
- Gỡ dòng gợi ý `/compact`–fork dưới banner lỗi lượt trong GUI web (vi + en): banner lỗi nay là toàn bộ
|
|
527
|
+
thông báo. Xem [CHANGELOG.d fragment](CHANGELOG.d/2026-10-02-web-turn-error-hint-removed.md).
|
|
528
|
+
|
|
529
|
+
## [2.0.14] - 2026-10-02 09:55 +0700
|
|
530
|
+
|
|
531
|
+
Ships core **0.3.5** (a churning workspace log can no longer fail a run) and closes the skill ↔ MCP
|
|
532
|
+
contract gap the 2026-10-02 E2E rerun exposed.
|
|
533
|
+
|
|
534
|
+
### Added
|
|
535
|
+
|
|
536
|
+
- Bundled skills declare the companion MCP version their documented call shapes need
|
|
537
|
+
(`requires: { orbit: ">=0.4.1" }`, `requires: { nebula: ">=1.1.0" }`), and the CLI warns when a
|
|
538
|
+
connected server is older. The warning list lands in `flow-report.json` as `environmentWarnings`.
|
|
539
|
+
See [CHANGELOG.d fragment](CHANGELOG.d/2026-10-02-hop-dong-version-skill-mcp-va-retry-mutation.md).
|
|
540
|
+
- `npm run skills:check` / `skills:sync` keeps the bundled `orbit-framework` skill byte-identical to
|
|
541
|
+
the canonical copy in `galaxy-orbit/orbit-mcp/skills/`.
|
|
542
|
+
- The first-party MCP servers resolve through Smithery by default (`@smithery/cli@4.11.1 mcp run`), because
|
|
543
|
+
that listing serves one versioned bundle carrying both the server and the skill it routes to.
|
|
544
|
+
`GBH_MCP_SOURCE=npm` restores the npm wiring.
|
|
545
|
+
|
|
546
|
+
### Fixed
|
|
547
|
+
|
|
548
|
+
- A flow step killed by an unverifiable mutation (`outcome is unknown`, `Active file content hash
|
|
549
|
+
changed`) is retried instead of being remembered as a step failure — the shape of `s13` in the
|
|
550
|
+
2026-10-02 gymflow run.
|
|
551
|
+
|
|
552
|
+
## [2.0.13] - 2026-10-02 01:20 +0700
|
|
553
|
+
|
|
554
|
+
Gộp hai đợt: bản sửa skill/MCP sau audit E2E 2026-10-01 (chưa release) và đợt biến skill thành
|
|
555
|
+
router trên API surface máy sinh của `orbit-mcp` 0.3.0.
|
|
556
|
+
|
|
557
|
+
### Changed
|
|
558
|
+
|
|
559
|
+
- **`skills/orbit-framework` viết lại thành rulebook + router (122 dòng)** — chỉ giữ luật không
|
|
560
|
+
suy ra được từ declaration, bảng định tuyến "cần gì → gọi tool/section nào", security baseline
|
|
561
|
+
và checklist kiểm chứng; template và recipe wiring chuyển về knowledge của MCP.
|
|
562
|
+
- **`skills/galaxy-ui` đồng bộ từ nguồn chuẩn `galaxy-design`** (91 dòng) với bảng định tuyến cho
|
|
563
|
+
5 tool của `nebula-mcp` và ranh giới verification rõ ràng.
|
|
564
|
+
|
|
565
|
+
### Fixed
|
|
566
|
+
|
|
567
|
+
- **Bỏ chỉ dẫn sai về một capability không tồn tại.** Hai skill viết "through the bounded session
|
|
568
|
+
capability"; profile thật không có tool đó, khiến agent bỏ **22 lượt `search_tools`** trong một
|
|
569
|
+
run 15 bước. Nay mô tả đúng cách chạy dev server bằng `run_command`.
|
|
570
|
+
- **Bỏ đoạn code lỗi type** `SecurityModule.forRoot({ helmet: true, csrf: true })` — `helmet`/`csrf`
|
|
571
|
+
nhận object hoặc `false`.
|
|
572
|
+
- **Sửa mô tả sai về request pipeline**: có **hai** interface `ExceptionFilter` (core dùng
|
|
573
|
+
`ExecutionContext`; common khai `ArgumentsHost` với `getArgs()`/`getArgByIndex()`), và
|
|
574
|
+
`ThrottlerGuard` nhận `ThrottlerContext`.
|
|
575
|
+
- **Bổ sung recipe throttling** (DI của `ThrottlerGuard`, base controller dùng chung, filter 429);
|
|
576
|
+
trước đó agent phải mở `node_modules/@galaxy-stack/orbit-throttler/**` 6 lượt/tệp để tự suy ra.
|
|
577
|
+
|
|
578
|
+
### Added
|
|
579
|
+
|
|
580
|
+
- **Test chặn tái phát** trong `test/skills-cli.test.ts`: cấm "bounded session capability", cấm dạy
|
|
581
|
+
`helmet: true`/`csrf: true` (chỉ cho phép câu phủ định), cấm import
|
|
582
|
+
`Body`/`Param`/`HttpCode`/`UseGuards`/`NotFoundException` từ `orbit-core`, cấm coi dev server là
|
|
583
|
+
bước kiểm chứng.
|
|
584
|
+
|
|
585
|
+
## [2.0.12] - 2026-10-01 02:03 +0700
|
|
586
|
+
### Fixed
|
|
587
|
+
|
|
588
|
+
- Pin @galaxy-stack/ai-coder-core 0.3.4: a mutation whose evidence cannot be applied is now a retryable tool error, so a background install or build can no longer kill a step (measured: the NestJS control flow lost steps 2, 5 and 11 that way).
|
|
589
|
+
|
|
590
|
+
## [2.0.11] - 2026-09-30 23:06 +0700
|
|
591
|
+
|
|
592
|
+
## [2.0.10] - 2026-09-30 21:17 +0700
|
|
593
|
+
|
|
594
|
+
## [2.0.9] - 2026-09-30 19:08 +0700
|
|
595
|
+
### Fixed
|
|
596
|
+
|
|
597
|
+
- Republish after npm accepted 2.0.8's metadata but never served its tarball (install returned 404). No code changed; 2.0.9 is byte-for-byte the same release.
|
|
598
|
+
|
|
599
|
+
## [2.0.8] - 2026-09-30 19:00 +0700
|
|
600
|
+
|
|
601
|
+
## [2.0.7] - 2026-09-30 18:53 +0700
|
|
602
|
+
|
|
603
|
+
## [2.0.6] - 2026-09-30 18:46 +0700
|
|
604
|
+
|
|
605
|
+
## [2.0.5] - 2026-09-30 18:26 +0700
|
|
606
|
+
|
|
607
|
+
## [2.0.4] - 2026-09-30 18:13 +0700
|
|
608
|
+
### Fixed
|
|
609
|
+
|
|
610
|
+
- Pin @galaxy-stack/ai-coder-core 0.3.3: 2.0.3 shipped an import of the shared credential document before that module was published, so a fresh install crashed on start with ERR_MODULE_NOT_FOUND.
|
|
611
|
+
|
|
612
|
+
## [2.0.3] - 2026-09-30 18:03 +0700
|
|
613
|
+
|
|
614
|
+
## [2.0.2] - 2026-09-30 14:55 +0700
|
|
615
|
+
|
|
616
|
+
## [2.0.1] - 2026-09-29 05:35 +07:00
|
|
617
|
+
|
|
618
|
+
### Added
|
|
619
|
+
|
|
620
|
+
- Skill orbit-framework carries an API map compiled from the installed declarations
|
|
621
|
+
(orbit-core@0.2.3, orbit-common@0.1.15, orbit-database@0.1.10, orbit-security@0.1.10,
|
|
622
|
+
orbit-throttler@0.1.10): package exports, exception and parameter-decorator signatures,
|
|
623
|
+
transform options, database wiring (DatabaseModule.forFeature(entities, tableMap),
|
|
624
|
+
DrizzleRepository), security and throttling wiring, middleware/CORS/static contracts, and the
|
|
625
|
+
OrbitApplication surface — including the note that there is no useGlobalPipes/useGlobalGuards/
|
|
626
|
+
useGlobalFilters.
|
|
627
|
+
- The skill also records the three shipped READMEs that contradict their own types (orbit-security
|
|
628
|
+
csrf enabled/tokenKey/cookieName, orbit-throttler RedisThrottlerStorage and throttlers: [...]).
|
|
629
|
+
- The skill states which package versions the map was compiled from and keeps package.json as the
|
|
630
|
+
way to confirm the installed version, and it carries rate-limiting/throttling recipes
|
|
631
|
+
(rateLimit(...).createMiddleware(), the limiter methods, ThrottlerModule.forRoot({ ttl, limit })
|
|
632
|
+
with @UseGuards(ThrottlerGuard) and @Throttle/@SkipThrottle, the @Catch(ThrottlerException) 429
|
|
633
|
+
filter, and the ThrottlerStorage contract).
|
|
634
|
+
- blackhole flow --flow-until <step-id> bounds a re-run so a range can be repeated without walking
|
|
635
|
+
the whole tail of a flow.
|
|
636
|
+
|
|
637
|
+
### Fixed
|
|
638
|
+
|
|
639
|
+
- A flow step killed by a transport error surfaced as a thrown error is now retried instead of
|
|
640
|
+
failing the whole flow, and a step that exhausts the host deadline is treated as retryable
|
|
641
|
+
infrastructure.
|
|
642
|
+
- Docs: docs/TEST_FAILURE_ANALYSIS.md records every end-to-end failure with its evidence, root
|
|
643
|
+
cause and fix, plus the release-verification numbers.
|
|
644
|
+
|
|
645
|
+
## [2.0.0] - 2026-09-28 23:20 +07:00
|
|
646
|
+
|
|
647
|
+
First verified stable release: the 25-prompt end-to-end flow completes with this CLI and the
|
|
648
|
+
pinned @galaxy-stack/ai-coder-core@0.3.0. The failure journal behind the changes lives in
|
|
649
|
+
[docs/TEST_FAILURE_ANALYSIS.md](docs/TEST_FAILURE_ANALYSIS.md).
|
|
650
|
+
|
|
651
|
+
### Added
|
|
652
|
+
|
|
653
|
+
- `/diff` opens the newest patch full screen through the assistant-ui `DiffView`
|
|
654
|
+
(line numbers, `+4 -4` stats, intra-line marks), paged with ↑/↓ and PgUp/PgDn.
|
|
655
|
+
The viewer is a single-child surface, which is where a variable-height DiffView
|
|
656
|
+
is safe; the inline transcript keeps the coloured-span rendering.
|
|
657
|
+
- Consecutive tool calls collapse into one line (`⚙ 4 lần gọi công cụ · ✔ 4 · Ctrl+O để xem`),
|
|
658
|
+
while a call that is still running stays expanded so the current activity is
|
|
659
|
+
always visible; `Ctrl+O` expands every call.
|
|
660
|
+
- Each finished turn prints one dim footer line with the brand, model, reasoning
|
|
661
|
+
effort, input tokens and wall time (`Galaxy Blackhole · Auto · Mức suy luận: Cao
|
|
662
|
+
· 12.4k tokens · 8.2s`).
|
|
663
|
+
|
|
664
|
+
### Changed
|
|
665
|
+
|
|
666
|
+
- Transcript rendering reworked: each turn opens with a role gutter (`❯` user,
|
|
667
|
+
`⏺` assistant) and wrapped lines hang under it, thinking is a dim magenta
|
|
668
|
+
block behind a `│` bar, tool calls get a status glyph (`◐` running, `✔` ok,
|
|
669
|
+
`✖` error, `⊘` stopped) with a bounded result summary, unified diffs colour
|
|
670
|
+
added and removed lines, and a dim caret marks the streaming turn.
|
|
671
|
+
- Assistant prose is parsed markdown-lite: headings render bold, bullets become
|
|
672
|
+
`•`, inline code and links are styled, and fenced code stays dim behind a bar.
|
|
673
|
+
- The collapsed-thinking hint now names the real key (`Ctrl+L`) instead of the
|
|
674
|
+
old `Ctrl+T`, which now cycles the reasoning effort.
|
|
675
|
+
|
|
676
|
+
### Added
|
|
677
|
+
|
|
678
|
+
- blackhole flow streams every event as it arrives (step-NN-<id>.ndjson), writes a compact
|
|
679
|
+
progress.log with bounded, secret-free tool arguments, and reports per-step gate rejections,
|
|
680
|
+
tool failures, tokens and the cumulative provider cache hit rate.
|
|
681
|
+
- scripts/e2e-report.mjs summarises a run and flags what a passing step can hide: a step that
|
|
682
|
+
never called its expected tool, component-library files written with no scaffold call, a
|
|
683
|
+
whole-project check run through the shell, long-running servers in a headless run, evidence
|
|
684
|
+
ordered after the last write, and duplicate calls inside one turn.
|
|
685
|
+
- blackhole flow --flow-from <step-id> resumes a flow in the same session, workspace and state,
|
|
686
|
+
and --flow-step-retries <n> retries a step that hit a transport outage or the host deadline
|
|
687
|
+
before calling it failed. The report is written even when the run dies and records fatal,
|
|
688
|
+
resumedFrom, skippedSteps and retriedSteps.
|
|
689
|
+
- --max-turns <n> and --run-minutes <n> expose the run budget and the host deadline, previously
|
|
690
|
+
fixed at 48 model turns and 15 minutes.
|
|
691
|
+
- An end-to-end verification section in the README documents the harness, the report script and
|
|
692
|
+
the failure journal.
|
|
693
|
+
|
|
694
|
+
### Changed
|
|
695
|
+
|
|
696
|
+
- The bundled orbit-framework skill no longer teaches bun run dev as a verification step (a dev
|
|
697
|
+
server never exits, produces no evidence, and its probe files are unreviewed writes), documents
|
|
698
|
+
route prefixing and versioning for the installed framework, prefers edit_file with a unique
|
|
699
|
+
oldText, and the galaxy-ui skill gained the same no-dev-server verification rule next to
|
|
700
|
+
validate_project and nebula doctor.
|
|
701
|
+
|
|
702
|
+
## [2.0.0-alpha.18] - 2026-09-27
|
|
703
|
+
|
|
704
|
+
### Fixed
|
|
705
|
+
|
|
706
|
+
- Pin `@galaxy-stack/ai-coder-core@0.3.0-alpha.19`, which classifies build
|
|
707
|
+
output as generated state. Validation and diff-review no longer go stale when
|
|
708
|
+
a build regenerates `dist/`, so the completion gate no longer loops to
|
|
709
|
+
`maxTurns`. The core also reads per-project derived directories from
|
|
710
|
+
`.gitignore` and `.galaxy/workspace.json`.
|
|
711
|
+
|
|
712
|
+
## [2.0.0-alpha.17] - 2026-09-27
|
|
713
|
+
|
|
714
|
+
### Changed
|
|
715
|
+
|
|
716
|
+
- The TUI header shows `Galaxy Blackhole · Auto` for the Galaxy-managed route
|
|
717
|
+
(a manual config entry with a key) and no longer appends the resolved wire
|
|
718
|
+
model id. Other providers keep the resolved id until the user picks a model.
|
|
719
|
+
|
|
720
|
+
## [2.0.0-alpha.16] - 2026-09-27
|
|
721
|
+
|
|
722
|
+
### Added
|
|
723
|
+
|
|
724
|
+
- `@` file references in the composer: typing `@` lists workspace files (hidden
|
|
725
|
+
and ignored directories skipped, depth and count bounded), filtering as you
|
|
726
|
+
type, ↑/↓ to choose and Enter to insert the relative path.
|
|
727
|
+
- `/session` shows the session id, workspace, state directory, provider profile,
|
|
728
|
+
message count and log file. `/clear` hides the transcript view while the
|
|
729
|
+
session history stays on disk. `/quit` exits the TUI.
|
|
730
|
+
|
|
731
|
+
### Fixed
|
|
732
|
+
|
|
733
|
+
- Escape returns to the idle screen instead of leaving a "Đã huỷ" badge behind,
|
|
734
|
+
and it no longer cancels a run while a picker is open: the picker closes first.
|
|
735
|
+
|
|
736
|
+
## [2.0.0-alpha.15] - 2026-09-27
|
|
737
|
+
|
|
738
|
+
### Added
|
|
739
|
+
|
|
740
|
+
- A `/` command menu in the composer: type `/` to list the commands (help, model,
|
|
741
|
+
effort, thinking, tools, skills), keep typing to filter, move with ↑/↓ and run
|
|
742
|
+
with Enter. `/help` opens a shortcuts panel.
|
|
743
|
+
|
|
744
|
+
### Fixed
|
|
745
|
+
|
|
746
|
+
- `Ctrl+M` and `Ctrl+H` never fired. A terminal sends the same byte for `Ctrl+M`
|
|
747
|
+
and Enter, and for `Ctrl+H` and Backspace, so Ink reported them as return and
|
|
748
|
+
backspace. The model picker moved to `Ctrl+P` and the thinking-transcript
|
|
749
|
+
toggle to `Ctrl+L`.
|
|
750
|
+
|
|
751
|
+
### Changed
|
|
752
|
+
|
|
753
|
+
- The hint under the composer is short again; the key list lives in `/help`.
|
|
754
|
+
- An open picker now reads "Bảng chọn đang mở · esc để đóng" instead of the
|
|
755
|
+
permission-prompt wording.
|
|
756
|
+
|
|
757
|
+
## [2.0.0-alpha.14] - 2026-09-27
|
|
758
|
+
|
|
759
|
+
### Changed
|
|
760
|
+
|
|
761
|
+
- The web GUI labels the injected-context producer readably: the harness plugin
|
|
762
|
+
id `@deepseek-ai/dsh-system-prompt` now renders as `System prompt`, so the row
|
|
763
|
+
reads "Chèn ngữ cảnh · System prompt". The brand client plugin rewrites any
|
|
764
|
+
`@deepseek-ai/dsh-*` producer label and re-applies it after React re-renders.
|
|
765
|
+
|
|
766
|
+
## [2.0.0-alpha.13] - 2026-09-27
|
|
767
|
+
|
|
768
|
+
### Changed
|
|
769
|
+
|
|
770
|
+
- Help and README copy no longer name the upstream harness: `blackhole web`
|
|
771
|
+
boots the Galaxy Blackhole web GUI, and `--no-brand` keeps the stock sidebar
|
|
772
|
+
brand. Only the technical `DSH` abbreviation and the `@deepseek-ai/dsh`
|
|
773
|
+
dependency name remain, because the runtime is still that package.
|
|
774
|
+
|
|
775
|
+
## [2.0.0-alpha.12] - 2026-09-27
|
|
776
|
+
|
|
777
|
+
### Added
|
|
778
|
+
|
|
779
|
+
- Thinking effort is resolved per model instead of a fixed list. The header now
|
|
780
|
+
reads `Galaxy Blackhole · Auto · Mức suy luận: …`; `Ctrl+T` cycles the effort,
|
|
781
|
+
`Ctrl+M` opens a model picker, `Ctrl+H` shows or hides the thinking transcript,
|
|
782
|
+
and `Ctrl+O` keeps toggling tool details.
|
|
783
|
+
- `Mặc định` (auto) sends no `think` field, so the model keeps its own default.
|
|
784
|
+
`--thinking` accepts `auto|default|off|on|minimal|low|medium|high|xhigh|max` and
|
|
785
|
+
is validated against the levels the resolved model actually offers.
|
|
786
|
+
- A probe that reports no thinking hides the control, a thinking-required model
|
|
787
|
+
drops `Tắt`, and an unverified model keeps the levels with a warning.
|
|
788
|
+
- Levels can be declared per model in `~/.galaxy/config.json` through
|
|
789
|
+
`reasoningEfforts`, the shape the web overlay already uses.
|
|
790
|
+
- The provider name follows the endpoint: `ollama.com` shows as Galaxy Blackhole,
|
|
791
|
+
a local runtime stays `Ollama (local)`, any other host is named explicitly.
|
|
792
|
+
|
|
793
|
+
## [2.0.0-alpha.11] - 2026-09-27
|
|
794
|
+
|
|
795
|
+
### Fixed
|
|
796
|
+
|
|
797
|
+
- `GalaxyApplication.close()` now awaits pending runtime-log writes through
|
|
798
|
+
`CliLogger.flush()`. Queued `appendFile` work could still be in flight when
|
|
799
|
+
close returned, which occasionally failed a teardown with
|
|
800
|
+
`ENOTEMPTY ... /state/logs` and could drop the last log lines on process exit.
|
|
801
|
+
|
|
802
|
+
### Changed
|
|
803
|
+
|
|
804
|
+
- Test temp directories are removed with retries, so a slow runner cannot fail on
|
|
805
|
+
a transient `ENOTEMPTY`/`EBUSY` race.
|
|
806
|
+
- Dropped the `dist-tag` workflow: npm OIDC authorises `npm publish`, not
|
|
807
|
+
dist-tag mutations, so it always failed with E401. Promotion is documented in
|
|
808
|
+
the README instead.
|
|
809
|
+
|
|
810
|
+
## [2.0.0-alpha.10] - 2026-09-27
|
|
811
|
+
|
|
812
|
+
### Added
|
|
813
|
+
|
|
814
|
+
- `blackhole --version` / `blackhole -v` prints the CLI version and exits 0.
|
|
815
|
+
Previously `--version` was rejected as an unknown option.
|
|
816
|
+
|
|
817
|
+
### Fixed
|
|
818
|
+
|
|
819
|
+
- A rejected option now stops with a single `Galaxy: <message>` line. The fatal
|
|
820
|
+
handler used to parse argv a second time to locate the runtime log, so every
|
|
821
|
+
bad option printed an extra Node.js stack trace. The state directory is now
|
|
822
|
+
resolved defensively, and the runtime log still records the fatal entry.
|
|
823
|
+
|
|
824
|
+
### Changed
|
|
825
|
+
|
|
826
|
+
- Vietnamese permission copy for the web GUI: the Full access popup reads the
|
|
827
|
+
`conversation.access.*` keys, which were missing from the locale pack (and
|
|
828
|
+
four more keys in that namespace). The pack is now 959 keys.
|
|
829
|
+
- Documented dist-tag promotion. OIDC trusted publishing authorises `npm publish`
|
|
830
|
+
only, so promoting a version to `latest` stays a manual maintainer step.
|
|
831
|
+
|
|
832
|
+
## [2.0.0-alpha.9] - 2026-09-27
|
|
833
|
+
|
|
834
|
+
### Added
|
|
835
|
+
|
|
836
|
+
- `blackhole web`: boots the Galaxy Blackhole web GUI with the Galaxy
|
|
837
|
+
overlay under `web/` (patches + brand client package). It ships a Galaxy
|
|
838
|
+
brand, a Vietnamese locale, an API-key dialog backed by the DSH credential
|
|
839
|
+
store, and a reasoning-effort control at the composer; the key resolves from
|
|
840
|
+
`GBH_GALAXY_API_KEY` or `~/.galaxy/gbh/.credentials.yaml`. `blackhole chat`
|
|
841
|
+
is unchanged. See
|
|
842
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-09-27-web-command.md).
|
|
843
|
+
|
|
844
|
+
## [2.0.0-alpha.8] - 2026-09-23 07:00 +07:00
|
|
845
|
+
|
|
846
|
+
### Fixed
|
|
847
|
+
|
|
848
|
+
- `high-compaction` scenario test fixture corrected to match the SPEC: the
|
|
849
|
+
multi-line test (60 + 40 = 100 total quantity) now expects the platinum
|
|
850
|
+
discount rate (10%) as the SPEC dictates, not the gold rate (5%) the test
|
|
851
|
+
previously pinned. Reference implementation (sum → `tierFor(100)` →
|
|
852
|
+
platinum) passes all 8 tests. See
|
|
853
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-09-23-scenario-fixture-fix.md).
|
|
854
|
+
|
|
855
|
+
## [2.0.0-alpha.7] - 2026-09-22 20:07 +07:00
|
|
856
|
+
|
|
857
|
+
### Added
|
|
858
|
+
|
|
859
|
+
- Test-scale-up batch: a checked-in deterministic fixture now covers the
|
|
860
|
+
deadline-aware retry skip path end-to-end offline (`provider-retry-skip`:
|
|
861
|
+
tight deadline + 30s backoff + one retryable error → expect failed with
|
|
862
|
+
`PROVIDER_ERROR`, zero retries dispatched), and a new targeted live campaign
|
|
863
|
+
`high-compaction` (conservative token profile, large spec) pressures the
|
|
864
|
+
recovery turn at the 16-20 compaction level where the original
|
|
865
|
+
PRECONDITION/CONFLICT loop first appeared. The deterministic fixture parser
|
|
866
|
+
accepts `runtime.budget.modelRetryDelaysMs` and forwards it to the core run.
|
|
867
|
+
See [CHANGELOG.d fragment](CHANGELOG.d/2026-09-22-test-scale-up.md).
|
|
868
|
+
|
|
869
|
+
## [2.0.0-alpha.6] - 2026-09-22 07:25 +07:00
|
|
870
|
+
|
|
871
|
+
### Changed
|
|
872
|
+
|
|
873
|
+
- The four `advanced-resilience` live scenarios raise `maxModelRetries` 2 → 3
|
|
874
|
+
and set `modelRetryDelaysMs: [5000, 15000, 30000]` (the Gemini CLI backoff
|
|
875
|
+
band) so a busy ollama.com window gets real recovery time instead of 1s/3s
|
|
876
|
+
probes that burn the run budget. The scenario parser validates the new
|
|
877
|
+
budget field and `effectiveBudget` records the schedule. See
|
|
878
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-09-22-resilience-retry-budget.md).
|
|
879
|
+
|
|
880
|
+
## [2.0.0-alpha.5] - 2026-09-22 01:07 +07:00
|
|
881
|
+
|
|
882
|
+
### Added
|
|
883
|
+
|
|
884
|
+
- Ollama coding model now retries bounded transport failures (`ENOTFOUND`,
|
|
885
|
+
`ETIMEDOUT`, `ECONNRESET`, `ECONNREFUSED`, `EAI_AGAIN`) up to twice
|
|
886
|
+
(500 ms, 1 000 ms) before surfacing the provider error to the runtime, so a
|
|
887
|
+
transient DNS blip no longer kills an 11-26 minute live run.
|
|
888
|
+
|
|
889
|
+
### Changed
|
|
890
|
+
|
|
891
|
+
- `edit_file` evaluates the content-hash precondition before searching for
|
|
892
|
+
`oldText`, so a stale hash consistently returns `PRECONDITION_FAILED`
|
|
893
|
+
including the file's current hash and how to use it in the next
|
|
894
|
+
`matches_sha256` precondition.
|
|
895
|
+
- Deterministic e2e fixtures were extended for the core recovery turn
|
|
896
|
+
(`stale-edit-loop` gains a fifth round; the inline hash-cycle scenario ends
|
|
897
|
+
with a stale `PRECONDITION_FAILED` edit before the pause). See
|
|
898
|
+
[CHANGELOG.d fragment](CHANGELOG.d/2026-09-22-transport-retry-precondition-order.md).
|
|
899
|
+
|
|
900
|
+
## [2.0.0-alpha.4] - 2026-09-21 02:20 +07:00
|
|
901
|
+
|
|
902
|
+
### Changed
|
|
903
|
+
|
|
904
|
+
- The durable-research task now states the search requirement explicitly
|
|
905
|
+
("at least one search_web query") so the oracle requirement is visible in the
|
|
906
|
+
prompt instead of living only in the completion gate.
|
|
907
|
+
|
|
908
|
+
## [2.0.0-alpha.3] - 2026-09-21 00:55 +07:00
|
|
909
|
+
|
|
910
|
+
### Fixed
|
|
911
|
+
|
|
912
|
+
- Durable-research scenarios now pass research requirements into the core run
|
|
913
|
+
request, so the completion gate rejects search-only citations in-run with
|
|
914
|
+
actionable feedback instead of the supervisor oracle failing a run that
|
|
915
|
+
already reported `completed`. The resumed research observation seeds from the
|
|
916
|
+
checkpoint's persisted sources, so post-resume reports keep credit for
|
|
917
|
+
research completed before the crash.
|
|
918
|
+
- `write_file` precondition failures and `edit_file` CONFLICT failures now
|
|
919
|
+
state the recovery action: re-read the exact region (line endings, invisible
|
|
920
|
+
characters, and Unicode normalization are called out), and `must_not_exist`
|
|
921
|
+
reminders that it only fits the first creation.
|
|
922
|
+
- The smoke scenario constraint no longer traps retries into reusing a
|
|
923
|
+
`must_not_exist` precondition after the file exists.
|
|
924
|
+
|
|
925
|
+
### Added
|
|
926
|
+
|
|
927
|
+
- The audit journal incident matcher maps structural failure families to
|
|
928
|
+
candidate incidents: INC-001 (markdown-suffixed citations), INC-004
|
|
929
|
+
(deadline exceeded), INC-008 (smoke precondition/write loops), INC-009
|
|
930
|
+
(patch target conflicts), in addition to the existing INC-003/007/010.
|
|
931
|
+
- `observeResearch` accepts checkpoint-seeded sources so resumed runs report
|
|
932
|
+
research evidence with a distinct
|
|
933
|
+
`current_process_with_checkpoint_seed` scope.
|
|
934
|
+
|
|
935
|
+
### Known Trade-offs
|
|
936
|
+
|
|
937
|
+
- `live/recordings/01-write-and-validate.json` was patched in place (embedded
|
|
938
|
+
constraint text plus scenario fingerprint) because re-recording requires a
|
|
939
|
+
live run; re-record live at the next convenient session per TEST_RUNBOOK.
|
|
940
|
+
|
|
941
|
+
## [2.0.0-alpha.2] - 2026-09-19 23:15 +07:00
|
|
942
|
+
|
|
943
|
+
### Fixed
|
|
944
|
+
|
|
945
|
+
- Durable-research phases now arm the timer with the resolved timeout (default
|
|
946
|
+
1,500,000 ms), rather than passing an undefined override that Node coerced to
|
|
947
|
+
approximately 1 ms.
|
|
948
|
+
- Explicitly listed generated/dependency directories use bounded metadata
|
|
949
|
+
fingerprinting. Directly read dependency files still use content hashes, and
|
|
950
|
+
authored workspace files retain the 512 MiB content budget.
|
|
951
|
+
- Ollama research schema failures include a payload SHA-256 and expected-field
|
|
952
|
+
type diagnostics without retaining provider payload values.
|
|
953
|
+
|
|
954
|
+
### Added
|
|
955
|
+
|
|
956
|
+
- Live reports and the audit journal retain completion candidates, fetched /
|
|
957
|
+
search-only / unsupported source sets, failed tool arguments, and adapter
|
|
958
|
+
error messages for regression tracing.
|
|
959
|
+
|
|
960
|
+
## [2.0.0-alpha.1] - 2026-09-19 12:15 +07:00
|
|
961
|
+
|
|
962
|
+
### Added
|
|
963
|
+
|
|
964
|
+
- Advisory observation reminders, audit keep-going support, persistent test
|
|
965
|
+
journals, and the first alpha-tagged core integration.
|
|
966
|
+
|
|
967
|
+
## [2.0.0-alpha.0] - 2026-09-18
|
|
968
|
+
|
|
969
|
+
### Changed
|
|
970
|
+
|
|
971
|
+
- Project renamed from Galaxy Code to Galaxy Blackhole as part of the Galaxy
|
|
972
|
+
Stack organization plan (AI coding product line moves to the
|
|
973
|
+
[galaxy-blackhole](https://github.com/galaxy-blackhole) organization).
|
|
974
|
+
- npm package: `@galaxy-stack/blackhole-cli`; CLI command: `blackhole`.
|
|
975
|
+
- The legacy `galaxy-code` name remains recoverable via the
|
|
976
|
+
`legacy-v1-preserved` branch and is not published.
|
|
977
|
+
|
|
978
|
+
### Added
|
|
979
|
+
|
|
980
|
+
- Workspace snapshot hardening, command containment, and Ollama chat stream
|
|
981
|
+
improvements (work in progress on the v2 line).
|
|
982
|
+
- Expanded test matrix: unit, integration, e2e campaigns, command conformance,
|
|
983
|
+
and GitHub lifecycle health scripts.
|
|
984
|
+
|
|
985
|
+
## Historical
|
|
986
|
+
|
|
987
|
+
Development history before the Galaxy Blackhole rename lives in the git
|
|
988
|
+
history of this repository (`buikevin/galaxy-code` →
|
|
989
|
+
`galaxy-blackhole/galaxy-code`).
|