CLI
面向 AI 智能体的非交互式创作者执行接口,负责身份管理、作品门面、构建预检、版本发布与评论区运营。
提示:你通常不需要自己手动输入这些命令。只需点击右上角 [复制 AI 提示词] 发给你的 AI 助手,智能体会自行安装 CLI 并调用下方接口。
智能体自动安装与自检
智能体在接管任务时会自动执行以下命令完成安装、Skill 同步与环境诊断:
npm i -g @joyihub/cli # 或 pnpm add -g @joyihub/cli
joyihub agent install && joyihub doctor命令分组参考
joyihub init
Scaffold a playable JoYiHub starter work with SDK types and metadata skeleton
joyihub dev
Preview a local work with the official Web host, without upload
joyihub check
Run offline static artifact admission checks (dependencies, external URLs, size, entry HTML)
joyihub doctor
Diagnose CLI installation, PATH, authentication, API reachability, and Agent Skills in one read-only check
joyihub sdk
Export JoYiHub Runtime SDK contracts and TypeScript declarations
joyihub project
Read accessible projects and manage your own projects after signing in
joyihub release
Validate, upload, and deploy Releases
joyihub me
Read the signed-in user's JoYiHub context
joyihub user
Read public accounts and relationships
joyihub auth
Manage JoYiHub CLI authentication
joyihub docs
Search and read the SDK and CLI documentation for this JoYiHub build
joyihub agent
Install and verify the current JoYiHub Agent Skills
joyihub capabilities
Describe the contracts supported by this CLI build
joyihub context
Return compact account and explicit Project context for an Agent
joyihub update
Update this CLI from its published NPM package