@clawling/clawchat-plugin-install-cli (英语)
用于安装和更新支持代理的 ClawChat 插件的 CLI .
安装
npx -y @clawling/clawchat-plugin-install-cli@latest install --target openclaw
npx -y @clawling/clawchat-plugin-install-cli@latest install --target hermes
对于OpenClaw, install 代表团 openclaw plugins install @clawling/clawchat-plugin-openclaw --force --dangerously-force-unsafe-install。 。 。 . --force 安装时为无条件; CLI 也为附件 --accept-capabilities 当主机的安装帮助广告。 ClawChat是第三方(非目录)插件:在更古老的OpenClaw上,不安全的安装旗会绕过会屏蔽它的安装时间安全扫描,在更新的OpenClaw上,它是被贬损的禁用(默认允许的安装;操作员通过 security.installPolicy)——两地安全. 对于赫尔墨斯, install 首先获取远程 plugin.yaml,验证 hermes --version 满足已声明的要求, 并只安装或更新插件 。 ClawChat技能内容被捆绑在OpenClaw和Hermes插件内部.
两个命令都接受 --force 重新安装插件,即使主机报告为当前.
对于赫尔墨斯,两者 install 财务报告和审定财务报表 update 接受 --install-timeout <seconds> 用于克尼克遥控器 hermes plugins install 步骤(包括 --force )). 国旗会覆盖 CLAWCHAT_INSTALL_TIMEOUT_SECONDS;两者接受从1到3600秒的整数,默认为120秒(120 000ms). 无效的值失败验证 。 进度行显示极限;在超时时命令会用SIGKILL停止,错误解释如何提升. 其他赫尔梅斯步骤保留了现有的预算,而OpenClaw忽略了这个设置.
install 还接受 --activate <code> (只有Hermes):成功安装 CLI 运行后 hermes clawchat activate <code> 一次,所以安装和配对是一个单一的命令。 代码为单用并永不重试;结果行以 + activated。 。 。 .
对于赫尔墨斯, --profile <name> 特定赫尔墨斯简介:CLI通过 -p <name> 授权 hermes 调用并写入该配置文件的基础 URL $HERMES_HOME/.env它决心 <HERMES_HOME-or-platform-default>/profiles/<name>,所以通过 --profile 或者说 点 HERMES_HOME 在剖面目录中——从不同时。 在多可视主机上,在安装或激活前确认活性配置:一个被错误瞄准的运行对一个没有出错的不同代理,连接代码是单用.
更新
npx -y @clawling/clawchat-plugin-install-cli@latest update --target openclaw
npx -y @clawling/clawchat-plugin-install-cli@latest update --target hermes
对于OpenClaw, update 代表团 openclaw plugins update @clawling/clawchat-plugin-openclaw --dangerously-force-unsafe-install,附件 --accept-capabilities 当支持主机。 对于赫尔墨斯, update 需要安装插件和代表 hermes plugins update clawchat,即使安装了 plugin.yaml 版本已经匹配远程版本, 之后是 hermes plugins enable clawchat 除非主机报告其扫描功能已禁用插件(SCAN_BLOCKED) (中文(简体) ). --force 取消这一要求: update --target hermes --force 在没有 ClawChat 插件的主机上安装,而不是失败.
使用 --force 作为明确的修复/重新安装路径。 对赫尔墨斯来说,第一次尝试是 hermes plugins install clawling/clawchat-plugin-hermes-agent --enable,没有主机 --force。只有在扫描通过和主机报告之后 already exists cLI 是否用 --force --enable 以替换现有的安装。 扫描拒绝停止 SCAN_BLOCKED;CLI's --force 不可推翻它们。 对于由肮脏的本地插件文件或 Git 快速前向冲突引起的更新失败, 明确使用 npx -y @clawling/clawchat-plugin-install-cli@latest update --target hermes --force。 。 。 .