@logicseek/hello-cc 0.1.6 → 0.1.7

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 CHANGED
@@ -16,6 +16,61 @@ 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.7
20
+
21
+ ### Summary
22
+
23
+ hello-cc 0.1.7 publishes the post-0.1.6 Web and coordination hardening work
24
+ alongside the README product screenshot. It keeps the 0.1.6 package surface and
25
+ adds stricter peer identity behavior, audited Web peer actions, cleaner tmux
26
+ test isolation, and clearer first-run documentation for the Web console.
27
+
28
+ ### Highlights
29
+
30
+ - Enforced system-peer identity handling so internal coordination actions stay
31
+ attributable and do not accidentally inherit a user peer identity.
32
+ - Audited Web peer action flows and expanded regression coverage around task,
33
+ message, lock, and tmux cleanup paths used by the browser console.
34
+ - Cleaned tmux-focused regression tests so runtime cleanup and test isolation
35
+ stay stable across repeated local runs.
36
+ - Added a sanitized Web console screenshot to both English and Chinese README
37
+ files, showing sessions, terminal output, project state, messages, peers,
38
+ tasks, and locks.
39
+ - Documented that `hcc web` defaults to a LAN-facing `0.0.0.0` bind, requests
40
+ port `8787`, prints both `open:` and `local:` token URLs, and auto-tries later
41
+ ports when `--port` is not explicit.
42
+
43
+ ### Compatibility Notes
44
+
45
+ - No breaking CLI command changes are intended in this release.
46
+ - The Web access model remains token-in-URL based; use `--local` when the Web
47
+ console should bind only to `127.0.0.1`.
48
+ - This release does not change the public package surface introduced in 0.1.6.
49
+
50
+ ### Validation
51
+
52
+ The 0.1.7 release should be validated with:
53
+
54
+ ```bash
55
+ git diff --check
56
+ node --check bin/hcc.mjs
57
+ find lib -name '*.mjs' -print0 | xargs -0 -n1 node --check
58
+ node --check scripts/github-release.mjs
59
+ node --check scripts/regression.mjs
60
+ node --check scripts/release-notes.mjs
61
+ npm run release:check
62
+ npm run release:github:dry-run -- --version 0.1.7
63
+ npm pack --dry-run --json
64
+ npm publish --dry-run --registry=https://registry.npmjs.org/ --access public
65
+ npm test
66
+ ```
67
+
68
+ The expected full regression marker is:
69
+
70
+ ```text
71
+ FULL_REGRESSION_OK
72
+ ```
73
+
19
74
  ## 0.1.6
20
75
 
21
76
  ### Summary
package/README.md CHANGED
@@ -18,6 +18,14 @@ CLI sessions. It gives every terminal in one project a shared task board,
18
18
  mailbox, lock table, and browser console while keeping the real local terminal
19
19
  as the source of interaction.
20
20
 
21
+ <p align="center">
22
+ <img src="assets/screenshots/web-console.png" width="900" alt="hello-cc Web console showing agent sessions, task state, locks, messages, and terminal output">
23
+ </p>
24
+
25
+ <p align="center">
26
+ <em>One local Web console for tmux-backed Claude Code, Codex, tasks, locks, messages, and handoffs.</em>
27
+ </p>
28
+
21
29
  It is built for developers who run multiple AI coding agents in the same repo
22
30
  and need them to coordinate instead of guessing what the other sessions are
23
31
  doing.
@@ -81,9 +89,19 @@ hcc web
81
89
  ```
82
90
 
83
91
  Then open the printed URL. By default, `hcc web` listens on LAN interfaces and
84
- uses a saved URL token, generating one on first use. It initializes the project bus, installs
85
- Claude/Codex hooks and shims, starts or reuses the Web console, and returns the
86
- terminal to you.
92
+ requests `0.0.0.0:8787`, using a saved URL token generated on first use. If
93
+ port 8787 is already busy and you did not pass `--port`, it automatically tries
94
+ the next available port. The command prints both the LAN login URL and the local
95
+ loopback URL:
96
+
97
+ ```text
98
+ open: http://<machine-ip>:8787/?token=<saved-token>&project=/path/to/project
99
+ local: http://127.0.0.1:8787/?token=<saved-token>&project=/path/to/project
100
+ ```
101
+
102
+ Use `--local` to bind only to `127.0.0.1`, or `--port N` to request a specific
103
+ port. `hcc web` initializes the project bus, installs Claude/Codex hooks and
104
+ shims, starts or reuses the Web console, and returns the terminal to you.
87
105
 
88
106
  After the first shim install, open a new terminal or reload your shell:
89
107
 
package/README.zh-CN.md CHANGED
@@ -15,6 +15,14 @@
15
15
 
16
16
  `hello-cc` 是 Claude Code、Codex 和其他编程 CLI 会话的本地控制平面。它让同一个项目里的终端共享任务板、消息、锁、交接和浏览器控制台,同时保留真实本地终端作为主要交互入口。
17
17
 
18
+ <p align="center">
19
+ <img src="assets/screenshots/web-console.png" width="900" alt="hello-cc Web 控制台,展示 agent 会话、任务状态、锁、消息和终端输出">
20
+ </p>
21
+
22
+ <p align="center">
23
+ <em>一个本地 Web 控制台,统一管理 tmux-backed Claude Code、Codex、任务、锁、消息和交接。</em>
24
+ </p>
25
+
18
26
  它适合在同一个仓库里同时运行多个 AI 编程 agent 的场景:让它们知道彼此在做什么,而不是各自猜测。
19
27
 
20
28
  ## 特色
@@ -69,9 +77,19 @@ cd /path/to/project
69
77
  hcc web
70
78
  ```
71
79
 
72
- 然后打开命令输出里的 URL。默认情况下,`hcc web` 会监听内网地址,并在 URL
73
- 里附带固定 token;首次使用时自动生成并保存,之后默认复用。它会初始化项目总线,
74
- 安装 Claude/Codex hooks 和 shims,启动或复用 Web 控制台,然后把终端还给你。
80
+ 然后打开命令输出里的 URL。默认情况下,`hcc web` 会监听内网地址,请求
81
+ `0.0.0.0:8787`,并在 URL 里附带首次自动生成并保存的稳定 token。如果 8787
82
+ 端口已被占用,且你没有显式传 `--port`,它会自动尝试后续可用端口。启动时会同时
83
+ 打印内网登录地址和本机 loopback 地址:
84
+
85
+ ```text
86
+ open: http://<machine-ip>:8787/?token=<saved-token>&project=/path/to/project
87
+ local: http://127.0.0.1:8787/?token=<saved-token>&project=/path/to/project
88
+ ```
89
+
90
+ 使用 `--local` 可以只绑定 `127.0.0.1`,使用 `--port N` 可以指定请求端口。
91
+ `hcc web` 会初始化项目总线,安装 Claude/Codex hooks 和 shims,启动或复用 Web
92
+ 控制台,然后把终端还给你。
75
93
 
76
94
  第一次安装 shim 后,打开新终端或重新加载 shell:
77
95