安装
agent-presence 运行于 macOS 和 Linux(不支持 Windows)。凭据保存在 macOS 的 Keychain、Linux 的 libsecret 中。
pnpm add -g @rivus/agent-presenceagent-presence setupnpm i -g @rivus/agent-presenceagent-presence setupbun add -g @rivus/agent-presenceagent-presence setup你只需要跑 setup。它会为所有支持的智能体安装 hook 并链接你的签名。
pnpm dlx @rivus/agent-presence@latest setupnpx --yes --registry=https://registry.npmjs.org @rivus/agent-presence@latest setupbunx @rivus/agent-presence@latest setup如果智能体环境启动 hook 时 PATH 很窄,用绝对路径安装:
agent-presence setup --hook-command absolute默认 provider 是 magic-builder,所以首次 setup 会先跑扫码登录(保存 slot 凭据),再提示粘贴一个 Magic-Builder token。无需 token 的备选见 Provider。