@ttmg/cli 0.4.6-vibe-beta.11 → 0.4.6-vibe-beta.14

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.
package/README.md CHANGED
@@ -9,8 +9,25 @@ Vibe real web authorization and upload: use `--web` with the title, local icon a
9
9
 
10
10
  #### Installation 安装
11
11
 
12
- For Agent, Monetization and Vibe Coding workflows, install the published beta:
13
- Agent、商业化和 Vibe Coding 流程请安装已发布的 beta 版本:
12
+ `0.4.6-vibe-beta.14` 支持分类查询与可选上传分类参数。Skill 可用 `ttmg game categories --format json` 查询,再向 Vibe 上传传入 `--category Puzzle --subcategory Physics`。两个参数都省略时保留 Other/Other;详见 [分类用法](vibe-upload.md)。
13
+
14
+ `0.4.6-vibe-beta.14` supports category discovery and optional upload classification. Query `ttmg game categories --format json`, then pass `--category Puzzle --subcategory Physics` to Vibe upload. Omitting both preserves Other/Other. See [category usage](vibe-upload.md).
15
+
16
+ For Vibe Web authorization and upload, install the `vibe-beta` release:
17
+ Vibe 网页授权上传安装 `vibe-beta` 版本:
18
+
19
+ ```bash
20
+ npm install -g @ttmg/cli@vibe-beta
21
+ ttmg --version
22
+ ttmg capabilities --format json
23
+ ttmg upload --help
24
+ ```
25
+
26
+ The package includes [vibe-upload.md](vibe-upload.md). Keep the Web upload process running during authorization and read NDJSON until a terminal event. The `beta` and `vibe-beta` tags point to different published versions.
27
+ 安装包包含 [vibe-upload.md](vibe-upload.md)。授权期间保持原 Web 上传进程运行,持续读取 NDJSON,直到收到终态。`beta` 与 `vibe-beta` 指向不同发布版本。
28
+
29
+ For Agent and Monetization workflows, the published beta is:
30
+ Agent、商业化流程的已发布 beta 为:
14
31
 
15
32
  ```bash
16
33
  npm install -g @ttmg/cli@0.4.6-agent-beta.2
@@ -55,14 +72,10 @@ Keep the upload process running; this command creates no task and reports only
55
72
  Skill 如需手动打开网页授权,读取上传进程 `waiting_authorization` 事件的 `pageUrl`,
56
73
  执行 `ttmg auth open --page-url <pageUrl> --format json`。保持原上传进程运行;
57
74
  新命令在 CLI 所在电脑打开系统浏览器,不新建任务,`open_requested` 不代表授权成功。
58
- 该功能需使用包含新命令的本地构建;已发布旧版不会因此自动增加命令。
75
+ `--web` 已自动打开授权页;上述辅助命令只用于重新打开同一任务的授权页。
59
76
 
60
- The experimental `upload --vibe` local prototype does not require platform login.
61
- Use `ttmg upload --vibe --mock` for the integration trial. No environment setup:
62
- task creation/polling use the built-in PPE lane; authorization and uploads are
63
- simulated. See [Vibe binding/upload](vibe-upload.md) for schema-v2 results.
64
- 实验性 `upload --vibe --mock` 不要求平台登录或环境配置。CLI 内置 PPE 创建/查询任务,
65
- 模拟授权和上传;本次结束于模拟上传完成,不含预览和发布。详见 [Vibe 绑定上传](vibe-upload.md)。
77
+ `ttmg upload --vibe --web` uses real browser authorization and uploads to PPE without a prior platform login or environment setup. `--mock` is a separate demo: task creation/polling are real, but authorization and material uploads are simulated. See [Vibe binding/upload](vibe-upload.md) for schema-v2 results.
78
+ `ttmg upload --vibe --web` 无需预先平台登录或配置环境,使用真实浏览器授权并上传到 PPE。`--mock` 是独立演示:真实创建/查询任务,模拟授权和素材上传。详见 [Vibe 绑定上传](vibe-upload.md)。
66
79
 
67
80
  `--mock` 现在会真实创建 PPE 任务,不再表示全程离线;真实请求失败仍报错。
68
81
  上线时由 CLI 发布版本去掉 PPE 路由,Skill 无需承担环境切换。
@@ -72,8 +85,8 @@ still fail. Production routing is a future CLI release change, not Skill configu
72
85
  当前上传只需要标题、头像和游戏目录或代码包,其他应用资料由 CLI 使用既有 PPE 试用默认值补齐。Skill 读取 `inputRequirements`,不向用户索要额外资料;本地预检使用 `--dry-run`。
73
86
  Current uploads need only the title, icon and game directory or ZIP. The CLI fills other metadata with existing PPE trial defaults. Read `inputRequirements` and do not request extra fields. Use `--dry-run` for local preparation.
74
87
 
75
- For the existing authenticated platform workflow, log in first; this does not apply to the local Vibe prototype above.
76
- 原有需要平台鉴权的流程仍先登录;上述 Vibe 本地原型不需要此步骤。
88
+ For the existing authenticated platform workflow, log in first; Vibe Web upload uses its own browser authorization.
89
+ 原有需要平台鉴权的流程仍先登录;Vibe Web 上传使用本次任务的浏览器授权。
77
90
 
78
91
  ```
79
92
  ttmg login