release: v4.9.0 — hybrid 切割 deprecation 期#54
Merged
Merged
Conversation
abyss CLI v0.5.24+ 文档定位反转后,本版开启 deprecation 期,把 claude/codex/gemini 三平台 hook 注入主入口移交给 `abyss attach <host>`, 把 openclaw/pi/hermes 永久保留给 code-abyss npm 包(abyss 设计上不接管 这三平台,因 per-pack layout + 不稳定 hook shape)。v5.0 物理切割。 Deprecated (v5.0 移除): - --with-abyss → 改用 curl install.sh / cargo binstall / @code-abyss/cli - --with-mcp → 客户端 MCP 配置直接写 mcpServers.abyss - --with-hooks 对 claude/codex/gemini → 改用 abyss attach <host> Changed: - --with-hooks 对 openclaw/pi/hermes 改造为 spawn install-hooks.sh (abyss CLI 不接管这三平台,v5.0 后仍保留) - finish.js reportAbyssStatus 引导文案改 abyss attach - SKILL.md L103 字面冲突修复 (v4.8.1 起 hook opt-in) - README/site/i18n.js/package.json 双源对齐 + 定位漂修复 Compatibility: - 424 现有 test + 30 verify:skills 零回归 - 所有现有 flag 行为保留,仅加 deprecation warning Companion: abyss v0.5.24 (telagod/abyss) 同步落地文档定位反转 (src/attach/mod.rs 注释、README、agent-hook.md、CHANGELOG)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v4.9.0 开启 hybrid 切割 deprecation 期:与姊妹项目 abyss CLI 的 v0.5.24 文档定位反转配对,把 claude/codex/gemini 三平台 hook 注入主入口移交给
abyss attach <host>,把 openclaw/pi/hermes 永久保留给 code-abyss npm 包(abyss CLI 设计上不接管这三平台,因 per-pack layout + 不稳定 hook shape)。v5.0 物理切割。--with-abyss/--with-mcp/--with-hooks对 claude/codex/gemini--with-hooks对 openclaw/pi/hermes 自动 spawnskills/indexing-code/hooks/common/install-hooks.sh——abyss 不接管这三平台,所以--with-hooks永久保留并真正服务它们6-host 责任分工(hybrid 切割锁定)
abyss attachabyss attachabyss attachMigration path
存量用户用
--with-abyss装过的:```sh
Old (v4.8.x)
npx code-abyss -t claude --with-abyss --with-mcp --with-hooks
New (v4.9+)
npx code-abyss -t claude -y # persona/skills/style
curl -fsSL https://raw.githubusercontent.com/telagod/abyss/main/install.sh | bash # abyss CLI
abyss attach claude # hook 注入(idempotent)
MCP: 客户端配置加 mcpServers.abyss = { command: "abyss", args: ["mcp"] }
```
openclaw/pi/hermes 用户路径不变:
```sh
npx code-abyss -t openclaw --with-hooks # v4.9 起自动 spawn install-hooks.sh
```
Required follow-up
~/.code-abyss/bin/abyss或 settings.json 含旧 HOOK_MARKER → 主动告警 + 引导abyss attach <host> --forcebin/lib/abyss-binary.js(107 行) +bin/adapters/codex.jsL430-686 (~256 行) +bin/lib/abyss-integration.js中 claude/gemini inject 函数 +--with-abyss/--with-mcpflagTest plan
npm test→ 424/424 passednpm run verify:skills→ 30 skills 全过npm run packs:check+packs:vendor:sync --check→ 全过npx code-abyss --with-abyss --with-mcp --with-hooks -t claude→ 三条 DEPRECATED warning 全触发npx code-abyss -t openclaw --with-hooks→ spawn install-hooks.sh openclaw → hook 已注入