feat(cli): nerve agent inject/update/remove/status — Phase 2 of RFC #289 #294
Reference in New Issue
Block a user
Delete Branch "feat/agent-inject-phase2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Phase 2 of RFC #289: 实现
nerve agent子命令。新增
nerve agent inject hermes [--profile <name>]— 将 nerve skill 安装到 Hermesnerve agent update— 更新所有已注入的 skillnerve agent remove hermes [--profile <name>]— 移除nerve agent status— 查看注入状态和版本改动
packages/cli/src/commands/agent.ts— 新命令实现packages/cli/src/cli.ts— 注册 agent 子命令packages/cli/package.json— files 加入 skills 目录设计
.nerve-version文件,inject 时检测幂等--profile可注入到指定 Hermes profileTesting
验证步骤见 #293
✅ biome check 通过
✅ build 通过
✅ 全套测试通过(344 tests across all packages)
Ref: #289