ziniao-store
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese店铺管理(ZClaw)
Store Management (ZClaw)
CRITICAL — 开始前 MUST 先用 Read 工具读取
CRITICAL — Shortcuts 执行前,务必先读取对应的 references/ 说明文档。
CRITICAL — 调用 ZClaw 本地接口时,必须使用本技能中的 ziniao-cli 命令,不要使用 ziniao-assistant 技能自行调用。
../ziniao-shared/SKILL.md前提条件:紫鸟浏览器客户端必须已启动。 可用 检测。
ziniao-cli doctor获取店铺列表时优先使用(本地 ZClaw Bridge),因为普通成员没有服务端store list权限。成员类型可通过account list结果中的ziniao-cli config show字段判断。isBoss
ZClaw 认证失败排查:初始化应用后仍返回 API Key 认证失败时,提醒用户前往 https://open.ziniao.com 查看用户应用「终端管理」是否已绑定当前终端识别码(识别码在紫鸟浏览器设置中查看)。
店铺命令通过本地 ZClaw Bridge()控制紫鸟浏览器,使用与服务端 API 相同的统一 apiKey。
127.0.0.1:9481注意区分:命令控制本地浏览器窗口(打开/关闭/列出已连接的店铺)。如需对店铺做后台管理操作(创建、删除、授权、标签),请使用store命令(走服务端 API)。account
CRITICAL — MUST read before starting
CRITICAL — Be sure to read the corresponding references/ documentation before executing Shortcuts.
CRITICAL — When calling ZClaw local interfaces, you must use the ziniao-cli commands in this skill, do not call them using the ziniao-assistant skill on your own.
../ziniao-shared/SKILL.mdPrerequisite: Ziniao Browser client must be running. Use to check.
ziniao-cli doctorPriority usewhen getting store list (local ZClaw Bridge), because regular members do not have serverstore listpermissions. Member type can be judged by theaccount listfield in the result ofisBoss.ziniao-cli config show
ZClaw Authentication Failure Troubleshooting: If API Key authentication fails after initializing the application, remind users to go to https://open.ziniao.com to check whether the current terminal identification code (viewed in Ziniao Browser settings) has been bound to the user application's "Terminal Management".
Store commands control Ziniao Browser through the local ZClaw Bridge (), using the same unified apiKey as the server API.
127.0.0.1:9481Note the difference: Thecommand controls local browser windows (open/close/list connected stores). For backend management operations on stores (create, delete, authorize, tag), please use thestorecommand (via server API).account
Shortcuts
Shortcuts
| 命令 | 说明 | 详细文档 |
|---|---|---|
| 列出所有店铺 | |
| 打开店铺浏览器 | |
| 按名称/ID 解析店铺 | |
| 关闭店铺 | |
| 准备 Agent 资源 | 无参数 |
| Command | Description | Detailed Documentation |
|---|---|---|
| List all stores | |
| Open store browser | |
| Resolve store by name/ID | |
| Close store | |
| Prepare Agent resources | No parameters |
通用 zclaw 覆盖
General zclaw Override
所有店铺操作也可通过通用 zclaw invoke 命令调用:
bash
ziniao-cli zclaw invoke list_stores
ziniao-cli zclaw invoke open_store --args '{"storeName":"Rosehut"}'
ziniao-cli zclaw invoke close_store --args '{"storeId":"abc123"}'
ziniao-cli zclaw invoke prepare_agentAll store operations can also be called via the general zclaw invoke command:
bash
ziniao-cli zclaw invoke list_stores
ziniao-cli zclaw invoke open_store --args '{"storeName":"Rosehut"}'
ziniao-cli zclaw invoke close_store --args '{"storeId":"abc123"}'
ziniao-cli zclaw invoke prepare_agent错误处理
Error Handling
| 错误 | 解决 |
|---|---|
| 无法连接 Bridge | 启动紫鸟浏览器客户端 |
| API Key 认证失败(初始化后仍报错) | 前往 https://open.ziniao.com 用户应用「终端管理」绑定当前终端识别码 |
| 店铺不存在 | |
| Error | Solution |
|---|---|
| Cannot connect to Bridge | Start Ziniao Browser client |
| API Key authentication failed (still reports error after initialization) | Go to https://open.ziniao.com user application "Terminal Management" to bind the current terminal identification code |
| Store does not exist | Check available stores with |