@gethmy/ cli (英语)
hmy 一个前门 和谐。 。 。 .
和谐号从两个软件包运出两个二进制:配置的 MCP 服务器 您的客户和代理守护进程 运行卡。 直到这个包裹存在你 需要知道哪个软件包拥有您想要的指令, 并安装两个由 手给我 现在有一个 安装, 更新一次, 并在每个 doc 中有一个名称 .
安装
npm i -g @gethmy/cli
hmy connect
这就是整个设置. hmy connect 配置此仓库和您的客户端;
hmy agent 启动守护进程 . hmy setup 仍然达到 connect 作为
被贬损的别名,所以一个被贴上的命令或一个CI任务继续工作.
在无法安装到的机器上,每个命令都有 npx 表单 -
npx @gethmy/mcp connect, (中文(简体) ), npx @gethmy/agent run 两种拼写都留下
已支持。 读"为什么不 npx" 下面是安装给你买的东西.
图标
Connect
hmy connect [...] Configure this repository and your client
hmy skills status|sync List the installed Harmony skills, or bring them up to date
Person (a signed-in human, never an API key)
hmy login [--email <address>] Sign in with an emailed code; the session stays in the OS keychain
(fallback: ~/.config/hmy/session.json, mode 600)
hmy whoami | hmy logout
hmy plan approve P<N> [--revoke] [--project <id>]
Approve the plan's current content as yourself
hmy plan status P<N> specGate.ready, reasons, approval and the latest grounding
Update
hmy update [--check] Install the latest release and run the pending config migrations
Agent
hmy run Start the agent daemon
hmy status | health | doctor | sweep | resume | gc | recover
hmy merge --card N [--worktree PATH]
hmy runs list|show|grep | hmy stats | hmy scan-commands [--write]
Pass-through
hmy agent <args...> -> harmony-agent
hmy harness <args...> -> harmony-harness
hmy mcp <args...> -> harmony-mcp
hmy --version Every version AND the file that answered
hmy help
三个通过命名空间不是方便之处
这扇前门不会停放 添加到 @gethmy/agent
明天可以到达,因为 hmy agent <that command> 没有新的 hmy。 。 。 .
它重新执行什么也没有
每个子命令解决自有软件包的正本并处理进程
结束了. hmy merge 财务报告和审定财务报表 harmony-agent merge 是同一个代码 和同一个
门,所以没有第二次合并政策 任何人忘记更新.
信号被传送 所以 ctrl-c 打开 hmy run 到达守护进程而不是
孤儿,孩子的退出密码是你的.
npx 是后退,不是平稳的道路
npx -y @gethmy/agent@latest 一条平稳的道路是正确和错的
@latest 没有重新解决. Npx 缓存首先服务于构建
已经安装了,所以机器可以继续运行 一个月长的守护进程,并且什么都不说
2026-09-09,6分钟后重新开始 @gethmy/agent
1.38.0份出版物仍为1.37.0份 ~/.npm/_npx/<hash>。 。 。 .
对于一个决定拉动请求是否合并的命令,那是错误的 贸易。 安装一次, 在一个地方更新 :
npm i -g @gethmy/cli@latest
hmy --version 在每个版本旁边打印已解析的路径,这是
告诉安装时被冻结的缓存 :
@gethmy/cli 0.1.0
/usr/local/lib/node_modules/@gethmy/cli/dist/cli.js
@gethmy/agent 1.41.1
/usr/local/lib/node_modules/@gethmy/cli/node_modules/@gethmy/agent/dist/cli.js
...
hmy 在 macOS 上被杀死Code Signature Invalid(中文(简体) )
二进制从 cli-v0.1.26 并更早地带有无效的代码签名
macOS 27.2以SIGKILLL结束. 重新安装或 hmy update 给其中之一
发布同一文件的下载。 手签一次:
codesign --force --sign - ~/.hmy/bin/hmy
此修补后所构建的版本在发布工作流程中签名.
现有的每包安装持续工作
若为 @gethmy/agent 或者说 @gethmy/harness 已经安装在全球,它保持
在此软件包旁边工作; 您不需要删除它 。 此软件包没有
船舶 harmony-agent, (中文(简体) ), harmony-harness 或者说 harmony-mcp 其自己的垃圾桶: npm
然后会有两个软件包 声称一个命令名称, 而构建的答案
将依赖于安装顺序—— 此软件包存在的无声- 存在性问题
结束.