@go-hare/claude-code 2.7.54 → 2.7.56

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/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  > 本仓库**不是** Anthropic 官方产品。商标与官方 Claude Code 权利归 [Anthropic](https://www.anthropic.com/) 所有;本项目仅供学习与研究。
14
14
  >
15
- > 当前 npm:**`2.7.54`**(248 产品面 + densable **2.1.251** leftover HAVE 65 / N/A 6 + sticky clamp 对齐)。`npm i -g @go-hare/claude-code`
15
+ > 当前 npm:**`2.7.56`**(248 产品面 + densable **2.1.251** leftover HAVE 65 / N/A 6 + sticky clamp + empty-content 显示路径 + 空预览 ● 门)。`npm i -g @go-hare/claude-code`
16
16
 
17
17
  | 能力 | 说明 |
18
18
  | ---- | ---- |
@@ -45,9 +45,9 @@
45
45
 
46
46
  仓库里**没有**独立的 `src/core` / `src/hosts` / `src/runtime` 包级 Agent Core 分层;旧文档里的 `createAgent from 'claude/core'`、`./core` 子路径描述已过时,请勿依赖。
47
47
 
48
- 近期主线已收口 **densable 2.1.211 → … → 2.1.229 → 2.1.231 → 2.1.232 → 2.1.233 → 2.1.234 → 2.1.235 → 2.1.236 → 2.1.237 → 2.1.238 → 2.1.239 → 2.1.243 → 2.1.246 → 2.1.247 → 2.1.248 → 2.1.251** 产品对齐(229 REACTIVE_COMPACT + **231 OAuth FLv** + **232 HAVE 43 / PARTIAL 2 / N/A 4** + **233 MCP v2 单栈 HAVE 14** + **234 quota auto-resume** + **235 HAVE 15 + analog 3 / N/A 1** + **236 HAVE 32 / N/A 1** + **237 HAVE 3** + **238 HAVE 39** + **239 HAVE 59** + **243 HAVE 49 / N/A 11** + **246 HAVE 59 / N/A 2** + **247 HAVE 31 / N/A 2** + **248 HAVE 47 / N/A 2** + **251 HAVE 65 / N/A 6**;官方无 2.1.230 / 无 240·241 bullets)。**npm 包版本以 `package.json` / npm 为准**(当前发布线 **2.7.54** = 243+246+247+248 + 251 leftover + sticky clamp 对齐),与 git tag 可能不同步。分 pack 金标以各 `official-*-checklist.md` 与 `cross-pack-residuals.md` 为准(README 计数过期时以那两份为准)。
48
+ 近期主线已收口 **densable 2.1.211 → … → 2.1.229 → 2.1.231 → 2.1.232 → 2.1.233 → 2.1.234 → 2.1.235 → 2.1.236 → 2.1.237 → 2.1.238 → 2.1.239 → 2.1.243 → 2.1.246 → 2.1.247 → 2.1.248 → 2.1.251** 产品对齐(229 REACTIVE_COMPACT + **231 OAuth FLv** + **232 HAVE 43 / PARTIAL 2 / N/A 4** + **233 MCP v2 单栈 HAVE 14** + **234 quota auto-resume** + **235 HAVE 15 + analog 3 / N/A 1** + **236 HAVE 32 / N/A 1** + **237 HAVE 3** + **238 HAVE 39** + **239 HAVE 59** + **243 HAVE 49 / N/A 11** + **246 HAVE 59 / N/A 2** + **247 HAVE 31 / N/A 2** + **248 HAVE 47 / N/A 2** + **251 HAVE 65 / N/A 6**;官方无 2.1.230 / 无 240·241 bullets)。**npm 包版本以 `package.json` / npm 为准**(当前发布线 **2.7.56** = 243+246+247+248 + 251 leftover + sticky clamp + empty-content 显示路径 + 空预览 ● 门),与 git tag 可能不同步。分 pack 金标以各 `official-*-checklist.md` 与 `cross-pack-residuals.md` 为准(README 计数过期时以那两份为准)。
49
49
 
50
- #### densable 2.1.251 leftover(2.7.53 / 2.7.54)
50
+ #### densable 2.1.251 leftover(2.7.53 / 2.7.54 / 2.7.55 / 2.7.56)
51
51
 
52
52
  叠在已入库的 **2.1.248** + **2.7.52 #13 `GMt` hotfix** 上。对照 `docs/upstream-extraction/v2.1.251/official-251-checklist.md`(**HAVE 65 / PARTIAL 0 / GAP 0 / N/A 6**)。含 daemon attach probe(Rlt/bv)+ KW detach / per-screen `#s`、eBt/`Mn=200`、file-tool O_NOFOLLOW、RC `policy_disabled`、Chrome 权限管道、teleport `startupFailure` 等。N/A:Desktop / 云 / 体积 / VSCode。不 invent `onAttachRequest` / `BackgroundGesture` / fd 祖先循环 / `Jh`/`cT`。
53
53
 
@@ -314,10 +314,12 @@
314
314
  | **ultrareview / teleport** | Qre 创建仍 `POST /v1/sessions`;OTe/KLc/H8/F1g/nts 走 `/v1/code/sessions`;o9t token、payload wrap、archive=kill | 主 CLI 不发明 densable 未注册的 `--project/--ref/--on-branch` 旗标(中间层 rts 已就绪) |
315
315
  | **Feature 默认** | 构建默认 feature 集见 `build.ts` | **UDS_INBOX / LAN_PIPES / TEAMMEM / KAIROS 外围** 默认 ON(2026-08-12);**ULTRAPLAN** 仍 OFF |
316
316
 
317
- ### 近期更新(2.7.5 → 2.7.54)
317
+ ### 近期更新(2.7.5 → 2.7.56)
318
318
 
319
319
  | 版本 | 要点 |
320
320
  | ---- | ---- |
321
+ | **2.7.56** | **hide visually empty streaming preview ●**:空白 / 纯 XML / `(no content)` 不再画单独子弹(`isEmptyMessageText` 门加回 `resolveStreamingDisplay` + `StreamingTextPreview`)。2.7.55 的 falsy-only 门会让空预览挂 `●` 盖住 Cooking。全平台重编 8 个 `@go-hare/claude-code-*`。 |
322
+ | **2.7.55** | **streaming empty-content 显示路径**:空 content 流式消息保留完整列表 + salvage / placeholder bridge,**不含** function-hook compositor(画板停在 `feat/plugin-function-hooks-282`)。全平台重编 8 个 `@go-hare/claude-code-*`。 |
321
323
  | **2.7.54** | **sticky virtual-scroll clamp 对齐 gold `cn = un && !yt`**:sticky 时跳过 APPLY leftover range clamp,**不删除** `scrollClampMin/Max`。修空白 transcript + Jump to bottom(unsticky 滚轮仍要这些 bounds)。全平台重编 8 个 `@go-hare/claude-code-*`。 |
322
324
  | **2.7.53** | **densable 2.1.251 leftover**(叠在 2.7.52 / 248+#13 上):HAVE **65** / N/A **6**。daemon Rlt/bv + KW detach / `#s`、eBt/`Mn=200`、file-tool O_NOFOLLOW、RC `policy_disabled`、Chrome 权限管道、teleport `startupFailure` 等。N/A:Desktop / 云 / 体积 / VSCode。不 invent `BackgroundGesture` / fd 祖先循环。全平台重编 8 个 `@go-hare/claude-code-*`。 |
323
325
  | **2.7.52** | **densable 2.1.251 #13 `GMt` hotfix**(叠在 2.7.51 / 248 上):thinking off + xhigh/max 不再 client throw;钳 outgoing `{type:"disabled"}`;`Du`/`Ln`/`i5n`;mechanical helper / artifact `sX` / MCP host。当时不 invent leftover 整包 / triage / classifier `Vm`。全平台重编 8 个 `@go-hare/claude-code-*`。 |
@@ -391,7 +393,7 @@ CLAUDE_BRIDGE_OAUTH_TOKEN=your-token \
391
393
  claude --remote-control
392
394
  ```
393
395
 
394
- 安装失败时:`npm rm -g @go-hare/claude-code` 后再装 `@latest`(可钉版本 `@2.7.54`)。
396
+ 安装失败时:`npm rm -g @go-hare/claude-code` 后再装 `@latest`(可钉版本 `@2.7.56`)。
395
397
  旧文档里的全局包名 `claude-code` **不再**对应本仓库发布流。
396
398
 
397
399
  ---
package/bin/claude.exe CHANGED
@@ -1,11 +1,11 @@
1
- echo "Error: claude native binary not installed." >&2
2
- echo "" >&2
3
- echo "Either postinstall did not run (--ignore-scripts, some pnpm configs)" >&2
4
- echo "or the platform-native optional dependency was not downloaded" >&2
5
- echo "(--omit=optional)." >&2
6
- echo "" >&2
7
- echo "Run the postinstall manually (adjust path for local vs global install):" >&2
8
- echo " node node_modules/@go-hare/claude-code/install.cjs" >&2
9
- echo "" >&2
10
- echo "Or reinstall without --ignore-scripts / --omit=optional." >&2
11
- exit 1
1
+ echo "Error: claude native binary not installed." >&2
2
+ echo "" >&2
3
+ echo "Either postinstall did not run (--ignore-scripts, some pnpm configs)" >&2
4
+ echo "or the platform-native optional dependency was not downloaded" >&2
5
+ echo "(--omit=optional)." >&2
6
+ echo "" >&2
7
+ echo "Run the postinstall manually (adjust path for local vs global install):" >&2
8
+ echo " node node_modules/@go-hare/claude-code/install.cjs" >&2
9
+ echo "" >&2
10
+ echo "Or reinstall without --ignore-scripts / --omit=optional." >&2
11
+ exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-hare/claude-code",
3
- "version": "2.7.54",
3
+ "version": "2.7.56",
4
4
  "description": "Source restoration / engineering rebuild of Anthropic Claude Code CLI — multi-provider models, self-hosted Remote Control, ACP, daemon sessions, MCP, plugins, and terminal automation",
5
5
  "type": "module",
6
6
  "author": "DeQiang",
@@ -39,14 +39,14 @@
39
39
  "README.md"
40
40
  ],
41
41
  "optionalDependencies": {
42
- "@go-hare/claude-code-darwin-arm64": ">=2.7.54",
43
- "@go-hare/claude-code-darwin-x64": ">=2.7.54",
44
- "@go-hare/claude-code-linux-x64": ">=2.7.54",
45
- "@go-hare/claude-code-linux-arm64": ">=2.7.54",
46
- "@go-hare/claude-code-linux-x64-musl": ">=2.7.54",
47
- "@go-hare/claude-code-linux-arm64-musl": ">=2.7.54",
48
- "@go-hare/claude-code-win32-x64": ">=2.7.54",
49
- "@go-hare/claude-code-win32-arm64": ">=2.7.54",
42
+ "@go-hare/claude-code-darwin-arm64": ">=2.7.56",
43
+ "@go-hare/claude-code-darwin-x64": ">=2.7.56",
44
+ "@go-hare/claude-code-linux-x64": ">=2.7.56",
45
+ "@go-hare/claude-code-linux-arm64": ">=2.7.56",
46
+ "@go-hare/claude-code-linux-x64-musl": ">=2.7.56",
47
+ "@go-hare/claude-code-linux-arm64-musl": ">=2.7.56",
48
+ "@go-hare/claude-code-win32-x64": ">=2.7.56",
49
+ "@go-hare/claude-code-win32-arm64": ">=2.7.56",
50
50
  "doubaoime-asr": "^0.1.0"
51
51
  },
52
52
  "scripts": {