@logicseek/hello-cc 0.1.4 → 0.1.5
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 +51 -0
- package/bin/hcc.mjs +651 -2505
- package/docs/commands.md +21 -9
- package/docs/commands.zh-CN.md +19 -9
- package/lib/cli-args.mjs +89 -0
- package/lib/db-schema.mjs +324 -0
- package/lib/errors.mjs +7 -0
- package/lib/format.mjs +39 -0
- package/lib/guidance.mjs +10 -2
- package/lib/json-file.mjs +14 -0
- package/lib/runtime-paths.mjs +45 -0
- package/lib/setup.mjs +3 -474
- package/lib/shell-path.mjs +69 -0
- package/lib/shim-script.mjs +384 -0
- package/lib/web-http.mjs +55 -0
- package/lib/web-runtime.mjs +108 -0
- package/lib/web-ui-template.mjs +1909 -0
- package/package.json +1 -1
- package/scripts/regression.mjs +284 -19
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,57 @@ the release description from the current changelog section. Use
|
|
|
16
16
|
`npm run release:github` with `GH_TOKEN` or `GITHUB_TOKEN` only for local
|
|
17
17
|
backfills.
|
|
18
18
|
|
|
19
|
+
## 0.1.5
|
|
20
|
+
|
|
21
|
+
### Summary
|
|
22
|
+
|
|
23
|
+
hello-cc 0.1.5 publishes the Web runtime split that landed after 0.1.4. The
|
|
24
|
+
CLI keeps the same user-facing Web behavior, while runtime URLs, request
|
|
25
|
+
parsing, HTTP response helpers, and the browser UI template now live in focused
|
|
26
|
+
`lib/` modules. This release also includes the latest coordination automation
|
|
27
|
+
improvements for stale task owners, batch task claims, and takeover-ready task
|
|
28
|
+
state.
|
|
29
|
+
|
|
30
|
+
### Highlights
|
|
31
|
+
|
|
32
|
+
- Added batch task claiming and takeover policy support for blocked or stale
|
|
33
|
+
work, including owner liveness details in task/state output.
|
|
34
|
+
- Fixed detected-peer Web controls so active `working` or `idle` peers show the
|
|
35
|
+
correct stop action instead of being treated as restart-only peers.
|
|
36
|
+
- Kept stop-dialog labels tied into Web i18n so language changes update the
|
|
37
|
+
dialog controls consistently.
|
|
38
|
+
- Extracted Web runtime URL/token helpers into `lib/web-runtime.mjs`.
|
|
39
|
+
- Extracted the browser UI template into `lib/web-ui-template.mjs`.
|
|
40
|
+
- Extracted low-level Web HTTP helpers into `lib/web-http.mjs`.
|
|
41
|
+
- Expanded regression coverage for the new helper modules, packaged module
|
|
42
|
+
contents, Web display guards, and release/package checks.
|
|
43
|
+
|
|
44
|
+
### Validation
|
|
45
|
+
|
|
46
|
+
The 0.1.5 release should be validated with:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
git diff --check
|
|
50
|
+
node --check bin/hcc.mjs
|
|
51
|
+
node --check lib/web-http.mjs
|
|
52
|
+
node --check lib/web-runtime.mjs
|
|
53
|
+
node --check lib/web-ui-template.mjs
|
|
54
|
+
node --check scripts/github-release.mjs
|
|
55
|
+
node --check scripts/regression.mjs
|
|
56
|
+
node --check scripts/release-notes.mjs
|
|
57
|
+
npm run release:check
|
|
58
|
+
npm run release:github:dry-run -- --version 0.1.5
|
|
59
|
+
npm pack --dry-run --json
|
|
60
|
+
npm publish --dry-run --registry=https://registry.npmjs.org/ --access public
|
|
61
|
+
npm test
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The expected full regression marker is:
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
FULL_REGRESSION_OK
|
|
68
|
+
```
|
|
69
|
+
|
|
19
70
|
## 0.1.4
|
|
20
71
|
|
|
21
72
|
### Summary
|