@logicseek/hello-cc 0.1.6 → 0.1.8

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,110 @@ 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.8
20
+
21
+ ### Summary
22
+
23
+ hello-cc 0.1.8 is a targeted patch release for Claude/Codex shim
24
+ self-repair. It fixes generated shims that could stay pinned to a removed
25
+ provider binary after Claude or Codex was reinstalled.
26
+
27
+ ### Highlights
28
+
29
+ - Fixed `hcc shim ensure` so it only reuses an existing `# Real binary:` path
30
+ when that binary still exists.
31
+ - Preserved the existing fast path for valid generated shims while falling back
32
+ to the requested binary or rediscovering the provider from `PATH` when the
33
+ recorded path is stale.
34
+ - Added regression coverage for the reinstall case where a generated shim
35
+ points at a deleted provider binary but a working provider is available on
36
+ `PATH`.
37
+
38
+ ### Compatibility Notes
39
+
40
+ - No CLI command or package surface changes are intended in this release.
41
+ - Existing generated shims will self-heal on the next `hcc shim ensure` or shim
42
+ launch when their recorded provider binary has disappeared.
43
+
44
+ ### Validation
45
+
46
+ The 0.1.8 release should be validated with:
47
+
48
+ ```bash
49
+ git diff --check
50
+ node --check bin/hcc.mjs
51
+ find lib -name '*.mjs' -print0 | xargs -0 -n1 node --check
52
+ node --check scripts/github-release.mjs
53
+ node --check scripts/regression.mjs
54
+ node --check scripts/release-notes.mjs
55
+ npm run release:check
56
+ npm run release:github:dry-run -- --version 0.1.8
57
+ npm pack --dry-run --json
58
+ npm publish --dry-run --registry=https://registry.npmjs.org/ --access public
59
+ npm test
60
+ ```
61
+
62
+ The expected full regression marker is:
63
+
64
+ ```text
65
+ FULL_REGRESSION_OK
66
+ ```
67
+
68
+ ## 0.1.7
69
+
70
+ ### Summary
71
+
72
+ hello-cc 0.1.7 publishes the post-0.1.6 Web and coordination hardening work
73
+ alongside the README product screenshot. It keeps the 0.1.6 package surface and
74
+ adds stricter peer identity behavior, audited Web peer actions, cleaner tmux
75
+ test isolation, and clearer first-run documentation for the Web console.
76
+
77
+ ### Highlights
78
+
79
+ - Enforced system-peer identity handling so internal coordination actions stay
80
+ attributable and do not accidentally inherit a user peer identity.
81
+ - Audited Web peer action flows and expanded regression coverage around task,
82
+ message, lock, and tmux cleanup paths used by the browser console.
83
+ - Cleaned tmux-focused regression tests so runtime cleanup and test isolation
84
+ stay stable across repeated local runs.
85
+ - Added a sanitized Web console screenshot to both English and Chinese README
86
+ files, showing sessions, terminal output, project state, messages, peers,
87
+ tasks, and locks.
88
+ - Documented that `hcc web` defaults to a LAN-facing `0.0.0.0` bind, requests
89
+ port `8787`, prints both `open:` and `local:` token URLs, and auto-tries later
90
+ ports when `--port` is not explicit.
91
+
92
+ ### Compatibility Notes
93
+
94
+ - No breaking CLI command changes are intended in this release.
95
+ - The Web access model remains token-in-URL based; use `--local` when the Web
96
+ console should bind only to `127.0.0.1`.
97
+ - This release does not change the public package surface introduced in 0.1.6.
98
+
99
+ ### Validation
100
+
101
+ The 0.1.7 release should be validated with:
102
+
103
+ ```bash
104
+ git diff --check
105
+ node --check bin/hcc.mjs
106
+ find lib -name '*.mjs' -print0 | xargs -0 -n1 node --check
107
+ node --check scripts/github-release.mjs
108
+ node --check scripts/regression.mjs
109
+ node --check scripts/release-notes.mjs
110
+ npm run release:check
111
+ npm run release:github:dry-run -- --version 0.1.7
112
+ npm pack --dry-run --json
113
+ npm publish --dry-run --registry=https://registry.npmjs.org/ --access public
114
+ npm test
115
+ ```
116
+
117
+ The expected full regression marker is:
118
+
119
+ ```text
120
+ FULL_REGRESSION_OK
121
+ ```
122
+
19
123
  ## 0.1.6
20
124
 
21
125
  ### 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.
@@ -41,7 +49,12 @@ doing.
41
49
 
42
50
  ## Install And Manage
43
51
 
44
- Node.js 24 or newer is required.
52
+ hello-cc supports Linux and macOS. Node.js 24 or newer is required, and
53
+ browser-controllable terminals require `tmux`. Native Windows shells are not
54
+ currently supported; use WSL for a Linux-like environment.
55
+
56
+ Linux has richer process auto-discovery through `/proc`. On macOS, use
57
+ hello-cc shims or `hcc peer start` for reliable tmux-managed terminal sessions.
45
58
 
46
59
  ```bash
47
60
  npm install -g @logicseek/hello-cc
@@ -59,7 +72,7 @@ Or run it without a global install:
59
72
  npx @logicseek/hello-cc web
60
73
  ```
61
74
 
62
- Remove hooks and shims from this machine:
75
+ Remove hooks, shims, and the shell PATH entry from this machine:
63
76
 
64
77
  ```bash
65
78
  hcc uninstall
@@ -81,16 +94,27 @@ hcc web
81
94
  ```
82
95
 
83
96
  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.
97
+ requests `0.0.0.0:8787`, using a saved URL token generated on first use. If
98
+ port 8787 is already busy and you did not pass `--port`, it automatically tries
99
+ the next available port. The command prints both the LAN login URL and the local
100
+ loopback URL:
87
101
 
88
- After the first shim install, open a new terminal or reload your shell:
89
-
90
- ```bash
91
- source ~/.bashrc
102
+ ```text
103
+ open: http://<machine-ip>:8787/?token=<saved-token>&project=/path/to/project
104
+ local: http://127.0.0.1:8787/?token=<saved-token>&project=/path/to/project
92
105
  ```
93
106
 
107
+ Use `--local` to bind only to `127.0.0.1`, or `--port N` to request a specific
108
+ port. `hcc web` initializes the project bus, installs Claude/Codex hooks and
109
+ shims, starts or reuses the Web console, and returns the terminal to you.
110
+
111
+ After the first shim install, open a new terminal or reload the rc file for
112
+ your shell:
113
+
114
+ - bash: `source ~/.bashrc`
115
+ - zsh: `source ~/.zshrc`
116
+ - fish: `source ~/.config/fish/config.fish`
117
+
94
118
  Start normal agent sessions from the project:
95
119
 
96
120
  ```bash
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
  ## 特色
@@ -30,7 +38,11 @@
30
38
 
31
39
  ## 安装和维护
32
40
 
33
- 需要 Node.js 24 或更新版本。
41
+ hello-cc 支持 Linux 和 macOS。需要 Node.js 24 或更新版本;可被浏览器控制的
42
+ 终端需要 `tmux`。当前不支持原生 Windows shell;Windows 用户建议使用 WSL。
43
+
44
+ Linux 可以通过 `/proc` 做更完整的进程自动发现。macOS 上建议通过 hello-cc
45
+ shim 或 `hcc peer start` 启动会话,以获得可靠的 tmux 托管终端。
34
46
 
35
47
  ```bash
36
48
  npm install -g @logicseek/hello-cc
@@ -48,7 +60,7 @@ hcc update
48
60
  npx @logicseek/hello-cc web
49
61
  ```
50
62
 
51
- 移除本机 hooks 和 shims:
63
+ 移除本机 hooks、shims 和 shell PATH 配置:
52
64
 
53
65
  ```bash
54
66
  hcc uninstall
@@ -69,16 +81,26 @@ cd /path/to/project
69
81
  hcc web
70
82
  ```
71
83
 
72
- 然后打开命令输出里的 URL。默认情况下,`hcc web` 会监听内网地址,并在 URL
73
- 里附带固定 token;首次使用时自动生成并保存,之后默认复用。它会初始化项目总线,
74
- 安装 Claude/Codex hooks 和 shims,启动或复用 Web 控制台,然后把终端还给你。
84
+ 然后打开命令输出里的 URL。默认情况下,`hcc web` 会监听内网地址,请求
85
+ `0.0.0.0:8787`,并在 URL 里附带首次自动生成并保存的稳定 token。如果 8787
86
+ 端口已被占用,且你没有显式传 `--port`,它会自动尝试后续可用端口。启动时会同时
87
+ 打印内网登录地址和本机 loopback 地址:
75
88
 
76
- 第一次安装 shim 后,打开新终端或重新加载 shell:
77
-
78
- ```bash
79
- source ~/.bashrc
89
+ ```text
90
+ open: http://<machine-ip>:8787/?token=<saved-token>&project=/path/to/project
91
+ local: http://127.0.0.1:8787/?token=<saved-token>&project=/path/to/project
80
92
  ```
81
93
 
94
+ 使用 `--local` 可以只绑定 `127.0.0.1`,使用 `--port N` 可以指定请求端口。
95
+ `hcc web` 会初始化项目总线,安装 Claude/Codex hooks 和 shims,启动或复用 Web
96
+ 控制台,然后把终端还给你。
97
+
98
+ 第一次安装 shim 后,打开新终端,或根据当前 shell 重新加载配置:
99
+
100
+ - bash: `source ~/.bashrc`
101
+ - zsh: `source ~/.zshrc`
102
+ - fish: `source ~/.config/fish/config.fish`
103
+
82
104
  在项目目录中正常启动 agent:
83
105
 
84
106
  ```bash