@logicseek/hello-cc 0.1.7 → 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 +49 -0
- package/README.md +12 -6
- package/README.zh-CN.md +10 -6
- package/bin/hcc.mjs +341 -54
- package/docs/commands.md +13 -6
- package/docs/commands.zh-CN.md +11 -6
- package/docs/guide.md +10 -5
- package/docs/guide.zh-CN.md +8 -5
- package/lib/core/coordination/timeline.mjs +1 -0
- package/lib/core/sessions/launch.mjs +1 -0
- package/lib/integrations/shims/script.mjs +42 -22
- package/lib/integrations/shims.mjs +45 -6
- package/lib/setup.mjs +1 -0
- package/lib/shell-path.mjs +31 -16
- package/lib/ui/help.mjs +36 -1
- package/package.json +1 -1
- package/scripts/regression.mjs +401 -48
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,55 @@ 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
|
+
|
|
19
68
|
## 0.1.7
|
|
20
69
|
|
|
21
70
|
### Summary
|
package/README.md
CHANGED
|
@@ -49,7 +49,12 @@ doing.
|
|
|
49
49
|
|
|
50
50
|
## Install And Manage
|
|
51
51
|
|
|
52
|
-
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.
|
|
53
58
|
|
|
54
59
|
```bash
|
|
55
60
|
npm install -g @logicseek/hello-cc
|
|
@@ -67,7 +72,7 @@ Or run it without a global install:
|
|
|
67
72
|
npx @logicseek/hello-cc web
|
|
68
73
|
```
|
|
69
74
|
|
|
70
|
-
Remove hooks and
|
|
75
|
+
Remove hooks, shims, and the shell PATH entry from this machine:
|
|
71
76
|
|
|
72
77
|
```bash
|
|
73
78
|
hcc uninstall
|
|
@@ -103,11 +108,12 @@ Use `--local` to bind only to `127.0.0.1`, or `--port N` to request a specific
|
|
|
103
108
|
port. `hcc web` initializes the project bus, installs Claude/Codex hooks and
|
|
104
109
|
shims, starts or reuses the Web console, and returns the terminal to you.
|
|
105
110
|
|
|
106
|
-
After the first shim install, open a new terminal or reload
|
|
111
|
+
After the first shim install, open a new terminal or reload the rc file for
|
|
112
|
+
your shell:
|
|
107
113
|
|
|
108
|
-
|
|
109
|
-
source ~/.
|
|
110
|
-
|
|
114
|
+
- bash: `source ~/.bashrc`
|
|
115
|
+
- zsh: `source ~/.zshrc`
|
|
116
|
+
- fish: `source ~/.config/fish/config.fish`
|
|
111
117
|
|
|
112
118
|
Start normal agent sessions from the project:
|
|
113
119
|
|
package/README.zh-CN.md
CHANGED
|
@@ -38,7 +38,11 @@
|
|
|
38
38
|
|
|
39
39
|
## 安装和维护
|
|
40
40
|
|
|
41
|
-
|
|
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 托管终端。
|
|
42
46
|
|
|
43
47
|
```bash
|
|
44
48
|
npm install -g @logicseek/hello-cc
|
|
@@ -56,7 +60,7 @@ hcc update
|
|
|
56
60
|
npx @logicseek/hello-cc web
|
|
57
61
|
```
|
|
58
62
|
|
|
59
|
-
移除本机 hooks 和
|
|
63
|
+
移除本机 hooks、shims 和 shell PATH 配置:
|
|
60
64
|
|
|
61
65
|
```bash
|
|
62
66
|
hcc uninstall
|
|
@@ -91,11 +95,11 @@ local: http://127.0.0.1:8787/?token=<saved-token>&project=/path/to/project
|
|
|
91
95
|
`hcc web` 会初始化项目总线,安装 Claude/Codex hooks 和 shims,启动或复用 Web
|
|
92
96
|
控制台,然后把终端还给你。
|
|
93
97
|
|
|
94
|
-
第一次安装 shim
|
|
98
|
+
第一次安装 shim 后,打开新终端,或根据当前 shell 重新加载配置:
|
|
95
99
|
|
|
96
|
-
|
|
97
|
-
source ~/.
|
|
98
|
-
|
|
100
|
+
- bash: `source ~/.bashrc`
|
|
101
|
+
- zsh: `source ~/.zshrc`
|
|
102
|
+
- fish: `source ~/.config/fish/config.fish`
|
|
99
103
|
|
|
100
104
|
在项目目录中正常启动 agent:
|
|
101
105
|
|