fix: bootstrap agent discovery + adapter version independence (#120) #122
Reference in New Issue
Block a user
Delete Branch "fix/120-agent-discovery"
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
Bootstrap 流程改为先发现用户机器上已有的 agent,再决定装哪个 adapter。
Why
#120 反馈:版本不匹配(用户用 CLI 版本号去装 adapter)、不知道该装哪个 adapter。
Changes
which hermes/which claude探测已有 agenthermes acp --help验证 ACP 是否可用Ref
Refs #120
LGTM ✅
agent 发现逻辑很实用 — 先
which hermes/which claude探测再决定装哪个 adapter,比让用户自己选直觉多了。四种情况覆盖完整。版本独立的加粗警告和hermes acp --help预检也是实际踩坑总结出来的。builtin 先撤合理。