@logicseek/hello-cc 0.1.3 → 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 +110 -0
- package/bin/hcc.mjs +865 -2430
- 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 +123 -0
- package/lib/json-file.mjs +14 -0
- package/lib/package-meta.mjs +24 -0
- package/lib/release-notes.mjs +40 -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/github-release.mjs +11 -49
- package/scripts/regression.mjs +443 -18
- package/scripts/release-notes.mjs +6 -38
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,116 @@ 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
|
+
|
|
70
|
+
## 0.1.4
|
|
71
|
+
|
|
72
|
+
### Summary
|
|
73
|
+
|
|
74
|
+
hello-cc 0.1.4 publishes the latest Web coordination fixes and a small internal
|
|
75
|
+
module split. The Web console now uses structured peer action APIs instead of
|
|
76
|
+
injecting routine action commands into the terminal, keeps Project State card
|
|
77
|
+
scroll positions stable through refreshes, and refreshes restored tmux panes
|
|
78
|
+
after browser input. Release and guidance helpers are now shared from `lib/`,
|
|
79
|
+
so CLI metadata, release-note parsing, GitHub release publishing, and generated
|
|
80
|
+
coordination guidance have one source of truth.
|
|
81
|
+
|
|
82
|
+
### Highlights
|
|
83
|
+
|
|
84
|
+
- Added `/api/peers/:peer/actions/:action` for Web status, state, inbox,
|
|
85
|
+
task-claim, heartbeat, and registration actions, with an action-result panel
|
|
86
|
+
in the browser UI.
|
|
87
|
+
- Kept explicit terminal command injection available only for the advanced
|
|
88
|
+
terminal status action, so normal Web toolbar actions no longer modify the
|
|
89
|
+
selected session's terminal input.
|
|
90
|
+
- Added collapsible Project State cards for automation, timeline, messages,
|
|
91
|
+
peers, tasks, and locks, with persisted collapsed state and restored per-card
|
|
92
|
+
scroll positions after polling refreshes.
|
|
93
|
+
- Refreshed tmux snapshots shortly after WebSocket input so restored tmux
|
|
94
|
+
sessions show typed input promptly without unsafe browser-side local echo.
|
|
95
|
+
- Disabled stale tmux `pipe-pane` writers before restoring FIFO streaming, so
|
|
96
|
+
restarted Web runtimes can attach to existing panes reliably.
|
|
97
|
+
- Moved package metadata, changelog release helpers, and generated coordination
|
|
98
|
+
guidance into reusable `lib/` modules used by the CLI and release scripts.
|
|
99
|
+
- Expanded regression coverage for Web peer actions, state-card behavior,
|
|
100
|
+
tmux input visibility, packaged helper modules, v-prefixed release-note
|
|
101
|
+
versions, and CLI/package version consistency.
|
|
102
|
+
|
|
103
|
+
### Validation
|
|
104
|
+
|
|
105
|
+
The 0.1.4 release should be validated with:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
git diff --check
|
|
109
|
+
node --check bin/hcc.mjs
|
|
110
|
+
node --check lib/guidance.mjs
|
|
111
|
+
node --check lib/package-meta.mjs
|
|
112
|
+
node --check lib/release-notes.mjs
|
|
113
|
+
node --check scripts/github-release.mjs
|
|
114
|
+
node --check scripts/regression.mjs
|
|
115
|
+
node --check scripts/release-notes.mjs
|
|
116
|
+
npm run release:check
|
|
117
|
+
npm run release:github:dry-run -- --version 0.1.4
|
|
118
|
+
npm pack --dry-run --json
|
|
119
|
+
npm publish --dry-run --registry=https://registry.npmjs.org/ --access public
|
|
120
|
+
npm test
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The expected full regression marker is:
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
FULL_REGRESSION_OK
|
|
127
|
+
```
|
|
128
|
+
|
|
19
129
|
## 0.1.3
|
|
20
130
|
|
|
21
131
|
### Summary
|