
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@agent-hubs/runtime-client
Advanced tools
Agent Hub local runtime client for connecting local Codex CLI to a shared Gateway.
Agent Hub 本机 Runtime Client,用于把本机 Codex CLI 接入共享 Gateway。
安装后会提供两个命令:
agent-runtime:推荐正式命令gateway:兼容旧脚本的别名>=20先确认本机能执行:
codex --help
Windows:
where codex
codex --help
正式安装方式:
npm install -g @agent-hubs/runtime-client
安装后验证:
agent-runtime --help
如果使用本地 tarball 调试:
npm install -g agent-hubs-runtime-client-0.1.0.tgz
Mac/Linux:
agent-runtime runtime serve --provider codex --gateway-url http://<gateway-host>:3010
Windows CMD:
agent-runtime runtime serve --provider codex --gateway-url http://<gateway-host>:3010
启动后会自动:
codex 可执行文件codex --help 自检20s 续租一次任务 lease,保持 Platform 侧任务所有权3s 查询一次任务 control-state;用户取消后会尝试终止本机 Codex/Provider 子进程任务 lease 规则:
60s lease,本机执行期间定时续租。先在平台机器人编辑页重新签发 botKey,然后在同一台 runtime 机器上执行:
交互式引导:
agent-runtime onboard
执行后会依次提示:
codex / claude_code / customGateway URLPlatform API URLbotKey非交互式命令:
agent-runtime onboard \
--provider codex \
--gateway-url http://<gateway-host>:3010 \
--platform-url http://<api-host>:3001/api/v1 \
--bot-key botkey_xxx
Windows CMD 单行:
agent-runtime onboard --provider codex --gateway-url http://<gateway-host>:3010 --platform-url http://<api-host>:3001/api/v1 --bot-key botkey_xxx
维护者发布新版本前先升级版本号:
npm version patch --workspace @agent-hubs/runtime-client
发布到 npm registry:
npm publish --workspace @agent-hubs/runtime-client --access public --otp <6位验证码>
发布成功后验证:
npm view @agent-hubs/runtime-client version
npm install -g @agent-hubs/runtime-client
agent-runtime --help
说明:
@agent-hubs/runtime-client 是 npm 包名。agent-runtime 是安装后提供的命令名。--otp。agent-runtime sessions --provider codex --gateway-url http://<gateway-host>:3010
agent-runtime unbind --provider codex --gateway-url http://<gateway-host>:3010 --session-id codex-session-xxx
AGENT_HUB_GATEWAY_URLAGENT_HUB_PLATFORM_URLGATEWAY_CODEX_TIMEOUT_MS示例:
AGENT_HUB_GATEWAY_URL=http://127.0.0.1:3010 agent-runtime runtime serve --provider codex
FAQs
Agent Hub local runtime client for connecting local Codex CLI to a shared Gateway.
The npm package @agent-hubs/runtime-client receives a total of 157 weekly downloads. As such, @agent-hubs/runtime-client popularity was classified as not popular.
We found that @agent-hubs/runtime-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.