@ttmg/cli 0.4.6-vibe-beta.20 → 0.4.6-vibe-beta.21

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.4.6-vibe-beta.20",
3
+ "version": "0.4.6-vibe-beta.21",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.4.6-vibe-beta.20",
3
+ "version": "0.4.6-vibe-beta.21",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
package/vibe-upload.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  `ttmg upload --vibe` 将本地小游戏上传到 TikTok Mini Games。用户提供游戏标题和头像,在手机 TikTok 扫码授权后,CLI 自动完成头像、应用资料和代码包上传。Skill 负责准备工程、调用命令和读取结果;CLI 负责素材校验、打包、授权轮询及上传。
4
4
 
5
- `0.4.6-vibe-beta.20` 支持手机授权、自动上传、同任务轮询和双二维码预览。左侧保留原码用于「查看进度」,右侧从加载态切换为「扫码预览」。页面按浏览器语言显示中英文,两个二维码的图案尺寸和白边一致,头像与整块应用信息垂直居中。当前为 PPE 测试链路,上传完成不代表审核通过或正式发布。
5
+ `0.4.6-vibe-beta.21` 支持手机授权、自动上传、同任务轮询和双二维码预览,并兼容后端返回的 TikTok 客户端授权地址。左侧保留原码用于「查看进度」,右侧从加载态切换为「扫码预览」。页面按浏览器语言显示中英文。当前为 PPE 测试链路,上传完成不代表审核通过或正式发布。
6
6
 
7
- Version `0.4.6-vibe-beta.20` supports phone authorization, automatic upload, same-task polling and two QR codes: Check progress on the left, and the preview loader or QR on the right. Page language follows the browser, both QR codes use equal visible dimensions, and the icon is vertically centered beside the app details. This is a PPE trial; upload success is not review approval or production release.
7
+ Version `0.4.6-vibe-beta.21` supports phone authorization, automatic upload, same-task polling and two QR codes, including TikTok client authorization URLs returned by the backend. Check progress remains on the left, and the preview loader or QR appears on the right. This is a PPE trial; upload success is not review approval or production release.
8
8
 
9
9
  ## Quick Start
10
10
 
@@ -38,10 +38,10 @@ ttmg upload --vibe --dir ./game --title "星环守卫" --icon ./avatar.png --for
38
38
 
39
39
  在独立 Tool 工程目录调用:`ttmg upload --vibe --minis-type MINI_TOOL --dir ./tool --title "Focus Timer" --icon ./icon.png --format ndjson`。工程身份首次创建后固定类型,不要复用小游戏的 `.ttmg/vibe-project.json`。
40
40
 
41
- 安装后确认版本为 `0.4.6-vibe-beta.20`。能力声明中 `authorizationMode=qr`、`previewQr=true`,预览主码用途为 `game_preview`(Tool 为 `tool_preview`),原码仍保留。支持 Node.js 20.19.1–20.x 或 22 及以上版本。
41
+ 安装后确认版本为 `0.4.6-vibe-beta.21`。能力声明中 `authorizationMode=qr`、`previewQr=true`,预览主码用途为 `game_preview`(Tool 为 `tool_preview`),原码仍保留。支持 Node.js 20.19.1–20.x 或 22 及以上版本。
42
42
 
43
43
  ```sh
44
- npm install -g @ttmg/cli@0.4.6-vibe-beta.20
44
+ npm install -g @ttmg/cli@0.4.6-vibe-beta.21
45
45
  ttmg --version
46
46
  ttmg capabilities --format json
47
47
  ```
@@ -130,7 +130,7 @@ ttmg upload --vibe --dir ./game --title "星环守卫" --icon ./avatar.png --cat
130
130
 
131
131
  ## 扫码授权与自动上传
132
132
 
133
- CLI 使用内置 `ppe_op_vc` 创建任务,在执行机打开二维码页并持续查询绑定状态。二维码直接编码后端返回的 `landing_url`,不包装应用协议。用户在手机 TikTok 完成授权,服务端返回 `ready_for_input=true` 后,原进程依次上传头像、应用信息和代码包。
133
+ CLI 使用内置 `ppe_op_vc` 创建任务,在执行机打开二维码页并持续查询绑定状态。二维码直接编码后端返回的 `landing_url`,包括 TikTok 客户端协议地址;CLI 不要求它是 http(s) 网页地址,也不包装应用协议。用户在手机 TikTok 完成授权,服务端返回 `ready_for_input=true` 后,原进程依次上传头像、应用信息和代码包。
134
134
 
135
135
  等待事件返回 `authorizationMode=qr`、`nextAction=scan_qr`、`pageUrl` 和 `browserOpenRequested`。页面展示本次提交的标题、头像、描述、类型和子类型;默认值与自定义值均以实际提交资料为准。
136
136