@sider-ai/openclaw-sider-cli
v2.0.6
Published
Official CLI for installing and connecting the chrome-openclaw-sider plugin
Downloads
244
Readme
@sider-ai/chrome-openclaw-sider-cli
官方 npx CLI,用来安装插件并在 Sider 中连接 OpenClaw,支持 chrome-openclaw-sider 的两种初始化方式:
- 终端配对:安装后直接执行
openclaw channels login --channel chrome-openclaw-sider - setup token:写入
channels.chrome-openclaw-sider.setupToken,重启 gateway,并等待插件换取长期 token
前提
机器上需要已经安装 OpenClaw,并且 openclaw 命令可用:
openclaw --version最低要求:openclaw >= 2026.3.22
快速开始
安装插件并进入配对流程:
npx -y @sider-ai/chrome-openclaw-sider-cli install用 one-time token 安装并完成注册:
npx -y @sider-ai/chrome-openclaw-sider-cli install --setup-token '<one-time-token>'直接写入长期 relay token:
npx -y @sider-ai/chrome-openclaw-sider-cli install --token '<token>'对已安装插件重新发起配对:
npx -y @sider-ai/chrome-openclaw-sider-cli connect命令
install
npx -y @sider-ai/chrome-openclaw-sider-cli install [options]常用选项:
--setup-token <token>:写入channels.chrome-openclaw-sider.setupToken,重启 gateway,并轮询等待插件把长期channels.chrome-openclaw-sider.token写回配置--token <token>:直接写入长期channels.chrome-openclaw-sider.token--relay-id <id>:额外写入channels.chrome-openclaw-sider.relayId--account <id>:写入命名账号channels.chrome-openclaw-sider.accounts.<id>--timeout-ms <ms>:setup token 模式下的最长等待时间,默认60000--no-connect:仅安装或更新插件,不自动进入终端配对--no-restart:跳过openclaw gateway restart
connect
npx -y @sider-ai/chrome-openclaw-sider-cli connect [options]常用选项:
--account <id>:对指定账号发起配对--no-restart:配对成功后跳过 gateway restart
行为说明
- 插件安装默认走
openclaw plugins install chrome-openclaw-sider - 若本地已存在,则自动尝试
openclaw plugins update chrome-openclaw-sider --setup-token和--token不能混用--setup-token模式下,CLI 会检测setupToken是否已被插件消费,并确认长期token已经写回配置
