@itpay/cli 2.0.15 → 2.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/src/commands/buy.js +3 -0
  2. package/dist/src/commands/checkout.js +4 -2
  3. package/dist/src/commands/checkout_handoff.js +7 -0
  4. package/dist/src/commands/compatibility.js +0 -1
  5. package/dist/src/commands/install.js +13 -8
  6. package/dist/src/commands/services.js +14 -6
  7. package/dist/src/main.js +43 -16
  8. package/dist/src/render/telegram.js +51 -25
  9. package/dist/src/state/client_context.js +2 -0
  10. package/dist/src/state/config.js +8 -1
  11. package/docs/agent/buyer/install-and-setup.json +9 -7
  12. package/docs/agent/buyer/payment-flow.json +1 -0
  13. package/docs/agent/buyer/quickstart.json +1 -0
  14. package/docs/agent/buyer/render-hosts.json +18 -2
  15. package/docs/cli-reference/agent-types.md +12 -2
  16. package/docs/cli-reference/commands/buy.md +9 -4
  17. package/docs/cli-reference/commands/cart/add.md +1 -1
  18. package/docs/cli-reference/commands/cart/clear.md +1 -1
  19. package/docs/cli-reference/commands/cart/index.md +1 -1
  20. package/docs/cli-reference/commands/cart/next.md +1 -1
  21. package/docs/cli-reference/commands/cart/remove.md +1 -1
  22. package/docs/cli-reference/commands/cart/show.md +1 -1
  23. package/docs/cli-reference/commands/catalog/index.md +1 -1
  24. package/docs/cli-reference/commands/checkout.md +5 -3
  25. package/docs/cli-reference/commands/docs/index.md +1 -1
  26. package/docs/cli-reference/commands/docs/list.md +1 -1
  27. package/docs/cli-reference/commands/docs/search.md +1 -1
  28. package/docs/cli-reference/commands/docs/show.md +1 -1
  29. package/docs/cli-reference/commands/install.md +44 -10
  30. package/docs/cli-reference/commands/next.md +1 -1
  31. package/docs/cli-reference/commands/readyz.md +26 -2
  32. package/docs/cli-reference/commands/refund/cancel.md +1 -1
  33. package/docs/cli-reference/commands/refund/create.md +1 -1
  34. package/docs/cli-reference/commands/refund/index.md +1 -1
  35. package/docs/cli-reference/commands/refund/list.md +1 -1
  36. package/docs/cli-reference/commands/services/action.md +1 -1
  37. package/docs/cli-reference/commands/services/checkout.md +5 -1
  38. package/docs/cli-reference/commands/services/events.md +1 -1
  39. package/docs/cli-reference/commands/services/get.md +1 -1
  40. package/docs/cli-reference/commands/services/index.md +1 -1
  41. package/docs/cli-reference/commands/services/invoke.md +1 -1
  42. package/docs/cli-reference/commands/services/list.md +1 -1
  43. package/docs/cli-reference/commands/services/read-result.md +1 -1
  44. package/docs/cli-reference/conventions.md +7 -1
  45. package/docs/skill-bundle-rollout/02-platform-bundle-repositories.md +20 -23
  46. package/docs/skill-bundle-rollout/03-platform-publishing.md +2 -1
  47. package/docs/skill-bundle-rollout/04-first-wave-platforms.md +32 -0
  48. package/docs/skill-bundle-rollout/README.md +3 -2
  49. package/package.json +1 -1
  50. package/skills/itpay/SKILL.md +1 -1
@@ -0,0 +1,32 @@
1
+ # 首批平台执行状态(2026-07-22)
2
+
3
+ 首批按真实发布面拆成四个可落地仓库;豆包单独列为阻塞,不创建占位仓库。
4
+
5
+ | 产品面 | 仓库 | 形态 | 当前可做 | 外部阻塞 |
6
+ | --- | --- | --- | --- | --- |
7
+ | ChatGPT + Codex | `itpay-plugin-chatgpt` | OpenAI app-plus-skills plugin | `.codex-plugin/plugin.json`、Skill、离线 CLI、审核测试 | production MCP OAuth、域名 challenge、发布身份、legal/support URLs |
8
+ | WorkBuddy | `itpay-skill-workbuddy` | SkillHub Skill 包 | `SKILL.md`、离线 CLI、权限/数据披露、ZIP | SkillHub 账号内上传由仓库管理员完成 |
9
+ | OpenClaw / ClawHub | `itpay-skill-openclaw` | `@itpay/itpay@2.0.16` ClawHub Skill | 已发布单文件 CLI bundle | 首次安全审核与公开目录收录 |
10
+ | Kimi Work / Kimi Code | `itpay-plugin-kimi-work` | `kimi.plugin.json` plugin + Skill | GitHub/Release 安装包、离线 CLI | Kimi Featured/第三方市场提交通道未公开;需桌面版实测 |
11
+ | Hermes Agent / Skills Hub | `itpay-skill-hermes` | GitHub Skill tap | Hermes 专属 Skill、单文件 CLI bundle、自动更新 | Skills Hub 全局默认索引与 trusted 等级需上游收录 |
12
+ | 豆包 | 暂不建仓 | 无可验证的 Skill bundle 发布面 | 保留调研记录 | 公开报道指向 2026-07-15 下线;需确认是否改为扣子、火山方舟 MCP 市场或 TRAE |
13
+
14
+ ## 统一合同
15
+
16
+ - CLI 唯一真源是 npm `@itpay/cli` 的精确版本。
17
+ - 平台仓库只存 manifest、平台 Skill、离线 vendor、`bundle.lock.json`、测试和提交材料。
18
+ - bundle 生成器记录 npm integrity、npm `gitHead`、Node 要求和 production dependency lock hash。
19
+ - 本地 Agent 使用 Device Authority;ChatGPT 云端使用远程 MCP OAuth,两者不共享凭据。
20
+ - 不在运行时安装 `latest`,不回退到全局 CLI,不复制 CLI 源码继续分叉开发。
21
+
22
+ ## CLI 更新机制
23
+
24
+ 四个平台仓库每小时错峰检查 npm `@itpay/cli` 的正式版。发现版本高于各自 `bundle.lock.json` 后,调用 CLI `main` 上的统一 reusable workflow,重建对应格式的 bundle、运行仓库测试,并以平台仓库自己的 `GITHUB_TOKEN` 创建更新 PR。该流程不需要 PAT,也不会自动合并或发布商店版本。
25
+
26
+ ## 已发现的现有资产
27
+
28
+ `itpay-ai/skill` 是旧的多平台通用仓库,固定 CLI 2.0.11,并对 bundle 做过平台 Agent Type patch。首批独立仓库只复用其已验证的 wrapper/test 思路,不再手工 patch CLI。旧仓库在迁移完成前保留,之后再决定归档或改为索引仓库。
29
+
30
+ ## 豆包判断
31
+
32
+ 截至 2026-07-22,没有找到豆包官方的 `SKILL.md + 可执行 bundle` 上传或商店提交流程。公开报道显示豆包智能体功能已于 2026-07-15 下线。扣子、火山方舟 MCP 市场和 TRAE 是不同产品面,不能未经确认就用它们代替“豆包上架”。
@@ -1,7 +1,7 @@
1
1
  # ItPay MCP 认证与多平台 Bundle Skill 落地方案
2
2
 
3
- 状态:拟定,等待实施
4
- 最后核对:2026-07-21
3
+ 状态:首批平台仓库与 bundle 同步已实施
4
+ 最后核对:2026-07-22
5
5
 
6
6
  ## 目标
7
7
 
@@ -15,6 +15,7 @@
15
15
  - [任务一:MCP 认证系统](./01-mcp-authentication.md)
16
16
  - [任务二:多平台 Bundle Skill 仓库与同步](./02-platform-bundle-repositories.md)
17
17
  - [各平台制作、验证和上传手册](./03-platform-publishing.md)
18
+ - [首批平台执行状态(2026-07-22)](./04-first-wave-platforms.md)
18
19
 
19
20
  ## 已确认的当前状态
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itpay/cli",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "The single ItPay CLI entry point for buy workflows and future sell workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,7 +20,7 @@ Use the CLI as the only ItPay control surface. Never recreate API calls or hardc
20
20
  ## Critical Rules
21
21
 
22
22
  - The CLI defaults to production `https://app.itpay.ai`. Only an explicit test may use the exact prefix `ITPAY_BACKEND_URL=https://dev.itpay.ai`; never use another Backend. While testing dev, execute every returned command unchanged so that prefix is preserved.
23
- - Keep one honest Agent Type, one CLI/Node launcher, and one Host-approved permission context for the whole flow. Supported types: `codex-desktop`, `codex-cli`, `claude-code-desktop`, `claude-code-cli`, `workbuddy`.
23
+ - Keep one honest Agent Type, one CLI/Node launcher, and one Host-approved permission context for the whole flow. Supported types: `codex-desktop`, `codex-cli`, `claude-code-desktop`, `claude-code-cli`, `workbuddy`, `kimi-code`, `openclaw`.
24
24
  - WorkBuddy: before any ItPay Bash command that persists `~/.itpay-v3`, set the Shell tool parameter `dangerouslyDisableSandbox` to `true`. If the human denies that permission, the command did not run: stop and report it.
25
25
  - Windows, tasks, chats, processes, and model sessions are not new Agents. Never rotate Agent Type or identity to reset quota.
26
26
  - Treat `next.command` as the preferred continuation, not an unconditional command. If the current result already satisfies the user's stated goal, present it and stop.