跳转到内容
EN

安装

agent-presence 运行于 macOS 和 Linux(不支持 Windows)。凭据保存在 macOS 的 Keychain、Linux 的 libsecret 中。

pnpm add -g @rivus/agent-presence
agent-presence setup

你只需要跑 setup。它会为所有支持的智能体安装 hook 并链接你的签名。

pnpm dlx @rivus/agent-presence@latest setup

如果智能体环境启动 hook 时 PATH 很窄,用绝对路径安装:

agent-presence setup --hook-command absolute

默认 provider 是 magic-builder,所以首次 setup 会先跑扫码登录(保存 slot 凭据),再提示粘贴一个 Magic-Builder token。无需 token 的备选见 Provider