opencode-supertask 0.2.0 → 0.2.1
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 +9 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/cli/{gateway-HNMX5ZTO.js → gateway-BYLLK72W.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/{web-2S7DW7XA.js → web-J3FJ23FE.js} +1107 -677
- package/dist/cli/web-J3FJ23FE.js.map +1 -0
- package/dist/gateway/index.js +1216 -759
- package/dist/gateway/index.js.map +1 -1
- package/dist/web/index.js +1106 -676
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli/web-2S7DW7XA.js.map +0 -1
- /package/dist/cli/{gateway-HNMX5ZTO.js.map → gateway-BYLLK72W.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable user-facing changes are recorded here. This project follows semantic
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.1] - 2026-12-05
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **Declarative Multi-Language Web Dashboard (`zh-CN`, `en`, `es`)**:
|
|
12
|
+
- Replaced binary `zh-CN`/`en` branching with a declarative locale registry (`src/web/locales/index.ts`) and per-locale message files (`en.ts`, `zh-CN.ts`, `es.ts`) with automatic fallback to `en`, `Accept-Language` `q`-weight negotiation, auto-registered `/assets/i18n-<locale>.js` ETag bundles, and a scalable sidebar `#lang-select` dropdown.
|
|
13
|
+
- Added full Spanish (`es`) Web Dashboard localization adapted from PR #1 by `@xunilzita-git` and extended for the `v0.2.0` workbench. Adding another language now requires only a single file under `src/web/locales/` plus one registry entry.
|
|
14
|
+
|
|
7
15
|
## [0.2.0] - 2026-12-05
|
|
8
16
|
|
|
9
17
|
### Added
|
|
@@ -77,6 +85,7 @@ All notable user-facing changes are recorded here. This project follows semantic
|
|
|
77
85
|
- **Minimum Bun `1.1.45` runtime verified**: Executed in an isolated `bun-v1.1.45` (`bun-darwin-aarch64.zip`, SHA256 verified) environment without touching `~/.bun`: `scripts/launcher-ipc-smoke.ts dist/worker/launcher.js` (`launcher IPC compatible with Bun 1.1.45`), 6 representative suites (`90 pass / 0 fail`), and `scripts/package-install-smoke.ts` (`installed package smoke passed`). This real run also caught and fixed a Bun 1.1.45 synchronous `spawn()` `ENOENT` difference in `src/worker/launcher.ts`.
|
|
78
86
|
- **Cross-family multi-round adversarial review completed**: Completed with `zai-coding-plan/glm-5.4#low` plus **3 rounds of Codex CLI (`--sandbox read-only`) adversarial review**; every confirmed finding was fixed with targeted regression tests (`598 pass / 0 fail`, line coverage **88.97%**, function coverage **90.46%**).
|
|
79
87
|
|
|
88
|
+
[0.2.1]: https://github.com/vbgate/opencode-supertask/compare/v0.2.0...v0.2.1
|
|
80
89
|
[0.2.0]: https://github.com/vbgate/opencode-supertask/compare/v0.1.41...v0.2.0
|
|
81
90
|
|
|
82
91
|
## [0.1.41] - 2026-07-19
|
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ Interactive terminals render compact human-readable output, while non-TTY pipes
|
|
|
174
174
|
|
|
175
175
|
## Dashboard
|
|
176
176
|
|
|
177
|
-
The three-pane Control Plane Dashboard supports English and
|
|
177
|
+
The three-pane Control Plane Dashboard supports Chinese (`zh-CN`), English (`en`), and Spanish (`es`) via a single-file locale registry (`src/web/locales/`), light and dark themes, live SSE updates (`/api/events` & `/api/runs/:id/stream`), and four focused views:
|
|
178
178
|
|
|
179
179
|
| Page | Purpose |
|
|
180
180
|
| --- | --- |
|
package/README.zh-CN.md
CHANGED
|
@@ -174,7 +174,7 @@ supertask cancel --id 42
|
|
|
174
174
|
|
|
175
175
|
## Web 控制台
|
|
176
176
|
|
|
177
|
-
三段式控制中枢 Dashboard
|
|
177
|
+
三段式控制中枢 Dashboard 通过声明式单文件多语言注册表(`src/web/locales/`)支持简体中文(`zh-CN`)、英文(`en`)与西班牙语(`es`),同时提供深浅主题与实时 SSE 推送(`/api/events` 与 `/api/runs/:id/stream`),包含四个聚焦页面:
|
|
178
178
|
|
|
179
179
|
| 页面 | 用途 |
|
|
180
180
|
| --- | --- |
|
|
@@ -1672,7 +1672,7 @@ async function runGatewayMain(deps = {}) {
|
|
|
1672
1672
|
if (deps.startDashboard) {
|
|
1673
1673
|
dashboardServer = await deps.startDashboard(cfg);
|
|
1674
1674
|
} else {
|
|
1675
|
-
const { dashboardApp, setDashboardRuntimeConfig } = await import("./web-
|
|
1675
|
+
const { dashboardApp, setDashboardRuntimeConfig } = await import("./web-J3FJ23FE.js");
|
|
1676
1676
|
if (shuttingDown) return;
|
|
1677
1677
|
setDashboardRuntimeConfig(cfg);
|
|
1678
1678
|
dashboardServer = Bun.serve({
|
|
@@ -1735,4 +1735,4 @@ export {
|
|
|
1735
1735
|
updateLockHeartbeat,
|
|
1736
1736
|
updateLockHeartbeatResult
|
|
1737
1737
|
};
|
|
1738
|
-
//# sourceMappingURL=gateway-
|
|
1738
|
+
//# sourceMappingURL=gateway-BYLLK72W.js.map
|
package/dist/cli/index.js
CHANGED
|
@@ -3994,7 +3994,7 @@ program2.command("migrate").description(t("\u6267\u884C\u6570\u636E\u5E93\u8FC1\
|
|
|
3994
3994
|
console.log(JSON.stringify({ migrated: true }));
|
|
3995
3995
|
}));
|
|
3996
3996
|
program2.command("gateway").description(t("\u5728\u524D\u53F0\u542F\u52A8 Gateway", "start the Gateway in the foreground")).action(async () => {
|
|
3997
|
-
const { main } = await import("./gateway-
|
|
3997
|
+
const { main } = await import("./gateway-BYLLK72W.js");
|
|
3998
3998
|
await main();
|
|
3999
3999
|
});
|
|
4000
4000
|
program2.command("ui").description(t("\u6253\u5F00 Gateway \u5185\u7F6E\u7684 Web \u7BA1\u7406\u754C\u9762", "open the Web Dashboard embedded in the Gateway")).action(async () => {
|