@taptap/cli 2026.10.14 → 2026.10.15
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/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +21 -0
- package/README.md +6 -0
- package/README.zh.md +6 -0
- package/bin/taptap-cli-darwin-amd64 +0 -0
- package/bin/taptap-cli-darwin-arm64 +0 -0
- package/bin/taptap-cli-linux-amd64 +0 -0
- package/bin/taptap-cli-linux-arm64 +0 -0
- package/bin/taptap-cli-linux-riscv64 +0 -0
- package/bin/taptap-cli-windows-amd64.exe +0 -0
- package/bin/taptap-cli-windows-arm64.exe +0 -0
- package/checksums.txt +7 -7
- package/package.json +1 -1
- package/skills/taptap-app-edit/references/app-edit-audit-and-history.md +2 -0
- package/skills/taptap-app-edit/references/app-edit-fields-and-packages.md +9 -3
- package/skills/taptap-asset-library/references/asset-library-ingest.md +2 -2
- package/skills/taptap-materials/SKILL.md +3 -2
- package/taptap-suite/references/taptap-app-edit/references/app-edit-audit-and-history.md +2 -0
- package/taptap-suite/references/taptap-app-edit/references/app-edit-fields-and-packages.md +9 -3
- package/taptap-suite/references/taptap-asset-library/references/asset-library-ingest.md +2 -2
- package/taptap-suite/references/taptap-materials/SKILL.md +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
All notable TapTap CLI changes are documented here.
|
|
4
4
|
|
|
5
|
+
## [v2026.10.15] - 2026-10-15
|
|
6
|
+
|
|
7
|
+
### Improvements
|
|
8
|
+
|
|
9
|
+
- Both READMEs now include a Feedback & Support section with the taptap-cli
|
|
10
|
+
user QQ group (1127966239) and its join link.
|
|
11
|
+
|
|
12
|
+
### Fixes
|
|
13
|
+
|
|
14
|
+
- `save-changes` image values should carry image metadata: write
|
|
15
|
+
`{"url": ..., "info": {...}}` and reuse the `info` returned by `taptap-cli upload`.
|
|
16
|
+
Values without `info` are still accepted (the server reuses the stored metadata for the
|
|
17
|
+
same URL, otherwise it stores the bare URL), but that image then has no width/height on
|
|
18
|
+
the C side and portrait screenshots fall back to a 16:9 cover crop — so this skill always
|
|
19
|
+
passes `info`, even though the API tolerates its absence. An `info` without positive
|
|
20
|
+
width/height is still rejected with 400.
|
|
21
|
+
- Update the `taptap-app-edit`, `taptap-materials`, and `taptap-asset-library`
|
|
22
|
+
skill documents and skill contract tests so the upload-to-field handoff keeps
|
|
23
|
+
`url` and `info` together. Video fields keep using the numeric `videoId`, and
|
|
24
|
+
`remove` selectors keep accepting a bare URL.
|
|
25
|
+
|
|
5
26
|
## [v2026.10.14] - 2026-10-14
|
|
6
27
|
|
|
7
28
|
### Highlights
|
package/README.md
CHANGED
|
@@ -293,6 +293,12 @@ We recommend validating AI Agent workflows against a test game or non-production
|
|
|
293
293
|
|
|
294
294
|
Please make sure you understand all usage risks. By using this tool, you voluntarily assume all related responsibilities.
|
|
295
295
|
|
|
296
|
+
## Feedback & Support
|
|
297
|
+
|
|
298
|
+
For questions or to share usage experience, join the taptap-cli user group on QQ (group number **1127966239**): [join the group chat](https://qm.qq.com/q/WdnGISBu2m).
|
|
299
|
+
|
|
300
|
+
Bug reports and feature requests are still best submitted via [Issues](https://github.com/taptap/cli/issues).
|
|
301
|
+
|
|
296
302
|
## Contributing
|
|
297
303
|
|
|
298
304
|
Contributions are welcome from team members with repository access! If you find a bug or have feature suggestions, please submit an [Issue](https://github.com/taptap/cli/issues) or [Pull Request](https://github.com/taptap/cli/pulls).
|
package/README.zh.md
CHANGED
|
@@ -287,6 +287,12 @@ taptap-cli schema app get-app-module
|
|
|
287
287
|
|
|
288
288
|
请您充分知悉全部使用风险,使用本工具即视为您自愿承担相关所有责任。
|
|
289
289
|
|
|
290
|
+
## 反馈与支持
|
|
291
|
+
|
|
292
|
+
使用中遇到问题,或想交流使用经验,欢迎加入 taptap-cli 用户 QQ 群(群号 **1127966239**):[点击链接加入群聊【taptap-cli】](https://qm.qq.com/q/WdnGISBu2m)。
|
|
293
|
+
|
|
294
|
+
Bug 反馈和功能建议仍然推荐通过 [Issue](https://github.com/taptap/cli/issues) 提交。
|
|
295
|
+
|
|
290
296
|
## 贡献
|
|
291
297
|
|
|
292
298
|
欢迎具有仓库权限的团队成员贡献!如果你发现 bug 或有功能建议,请提交 [Issue](https://github.com/taptap/cli/issues) 或 [Pull Request](https://github.com/taptap/cli/pulls)。
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/checksums.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
bef8479a2da14d1436f2aa6cc27a57df95c92f199ad7c54d146c5dc7c9084ec1 bin/taptap-cli-darwin-amd64
|
|
2
|
+
70b4faea4835db153903cfbe148f7c7daa66c3a4c0ee000373d82b3ea18b124e bin/taptap-cli-darwin-arm64
|
|
3
|
+
b35192a2044573574b115259b923b4e175dd23707813d7390cdbcf3b24d30971 bin/taptap-cli-linux-amd64
|
|
4
|
+
6378995c252daccd4f795f7bea169377c9a606d4d8553e7c23742ca1ca23aea0 bin/taptap-cli-linux-arm64
|
|
5
|
+
eb65495ea9bd89e9682282d59a2b1f203f43e31cfdc1b890094af563575fcbd6 bin/taptap-cli-linux-riscv64
|
|
6
|
+
30a9bf00732cf66a20c2e218795d6711a35f5f58a52c0170bb4d9be40daf0815 bin/taptap-cli-windows-amd64.exe
|
|
7
|
+
18c2c05b468efdf3c1cb42a8f0176bd248b857628c22a2fdb8759bdbc2d41a8d bin/taptap-cli-windows-arm64.exe
|
package/package.json
CHANGED
|
@@ -107,6 +107,8 @@ H5 开通 PC 分发入口时按两阶段执行:
|
|
|
107
107
|
|
|
108
108
|
查看之前 `save-changes` 返回的 `changes[].from` 值,再次调 `save-changes` 把字段恢复(`from` 为 `null` 时传 `value: null` 清空)。撤销同样要遵守 read-before-write —— 必须先重新读取该字段最新值(用户可能在中间又改了别的)。
|
|
109
109
|
|
|
110
|
+
**图片字段的回退**:`from` 对图片字段只给出纯 URL,直接把它写回去即可(服务端接受不带 info 的值;若该 URL 仍在当前字段里会沿用存量元数据)。但如果这张图本来就没有 info(例如本约定之前写入的老图),写回后 C 端仍会按 16:9 回落——要修渲染时,把该 URL 下载到会话工作目录、用 `taptap-cli upload` 重新收录,再用新的 `{url, info}` 写入(图片内容一致、URL 会变)。历史值为 `null` 时传 `value: null` 清空。
|
|
111
|
+
|
|
110
112
|
### G. 版本生命周期(撤审 / 撤定时 / 改时间 / 重置 / 恢复)
|
|
111
113
|
|
|
112
114
|
> **背景**:unpublished Version 是一个有状态机的对象。除了"改字段 → 提交审核"主流程(上文 B-E),还有以下「状态机分支」需要 agent 介入。下文每个工具的前置/后置状态见 schema 注释,违反前置时工具会返回业务化错误。
|
|
@@ -39,24 +39,30 @@ Skill 分析只用于资料准备建议。用户明确要求提审后,以 `pre
|
|
|
39
39
|
|
|
40
40
|
### 图片与视频
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
写入图片值时**必须带上 info**:值为 `{"url": <完整 HTTPS URL>, "info": <图片元数据>}` 对象,`info` 可直接原样使用 `taptap-cli upload` 返回的 `data.info`(含 `width`、`height`、`size`、`format`);`width`/`height` 必须为正整数,否则 400。**不传 info 服务端也会接受**(同 URL 已有存量元数据就沿用,否则只存 URL),但那张图在 C 端拿不到宽高,竖版会按 16:9 回落裁切——这正是本约定要避免的,因此除非确实拿不到 info,不要省略。禁止使用 `attached://`、`file://`,也不要手写错误的尺寸。
|
|
43
|
+
|
|
44
|
+
消息含 `<image-attachment>用户上传了一张图片,URL 为:https://...</image-attachment>` 时,先转 `taptap-materials` 的 `upload` 收录并拿到 `data.url` 与 `data.info`,再按上面的对象形态写入。
|
|
43
45
|
|
|
44
46
|
写图片前读字段 `image_spec`。多张截图按意图使用:
|
|
45
47
|
|
|
46
48
|
- 追加:`op: 'append'`
|
|
47
|
-
- 删除:`op: 'remove'`
|
|
49
|
+
- 删除:`op: 'remove'`(`value` 写从最新字段值读取的存量 URL,是选择器,不需要 `info`)
|
|
48
50
|
- 整组重传:`op: 'replace'`
|
|
49
51
|
- 替换一张:`op: 'replace_one'`,并传从最新字段值读取的 `old_value`
|
|
50
52
|
|
|
53
|
+
数组里每一项都用同一个 `{url, info}` 形态;`op` 与数组语义参照 `save-changes` 的字段说明。
|
|
54
|
+
|
|
51
55
|
```bash
|
|
52
56
|
taptap-cli app save-changes \
|
|
53
57
|
--app-id <appId> \
|
|
54
58
|
--dev-id <developerId> \
|
|
55
|
-
--data '{"changes":[{"field_id":"screenshots","op":"replace_one","old_value":"https://example.com/old.png","value":"https://example.com/new.png","expected":["https://example.com/old.png","https://example.com/keep.png"]}]}' \
|
|
59
|
+
--data '{"changes":[{"field_id":"screenshots","op":"replace_one","old_value":"https://example.com/old.png","value":{"url":"https://example.com/new.png","info":{"width":750,"height":1334,"size":826326,"format":"png"}},"expected":["https://example.com/old.png","https://example.com/keep.png"]}]}' \
|
|
56
60
|
--idempotency-key <stable-save-intent-key> \
|
|
57
61
|
--dry-run
|
|
58
62
|
```
|
|
59
63
|
|
|
64
|
+
视频字段(`trailer` / `gameplay_demo_video`)仍写 `upload-video` 返回的数字 `videoId`,不需要 `info`。
|
|
65
|
+
|
|
60
66
|
资料视频规格必须以 `get-app-module("assets-upload")` 返回的 `video_spec` 为准。用户询问 `trailer` / `gameplay_demo_video` 的格式、大小、时长、分辨率、比例或内容要求时,先读取规格,只做判断,不调用 `save-changes`。
|
|
61
67
|
|
|
62
68
|
- 不凭记忆复述具体限制;规范来源、动态规格优先级、冲突口径和检查项统一按[游戏物料要求](../../taptap-cli/references/material-requirements.md)执行。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 本地图片
|
|
8
8
|
|
|
9
|
-
本地图片的上传执行归 `taptap-materials`(顶层 `taptap-cli upload`,支持 `--dry-run` 预览与 `--yes` 确认,图片需稳定 `--idempotency-key`)。上传成功后使用返回的 `data.url`、`data.assetId` 和完整 `data.info`(含 `width`、`height`、`size`、`format`)继续素材库语境的解读。asset ID
|
|
9
|
+
本地图片的上传执行归 `taptap-materials`(顶层 `taptap-cli upload`,支持 `--dry-run` 预览与 `--yes` 确认,图片需稳定 `--idempotency-key`)。上传成功后使用返回的 `data.url`、`data.assetId` 和完整 `data.info`(含 `width`、`height`、`size`、`format`)继续素材库语境的解读。asset ID 只表示素材库收录结果,不表示图片已写入资料字段。字段写入转 `taptap-app-edit` 时必须把 `data.url` 与完整 `data.info` 一起传(值形态 `{"url": ..., "info": ...}`);不带 info 不会报错,但 C 端拿不到宽高,竖版图会被按 16:9 裁切。
|
|
10
10
|
|
|
11
11
|
## HTTPS 图片
|
|
12
12
|
|
|
@@ -53,7 +53,7 @@ taptap-cli asset-library +ai-image-validate .taptap/ai-image/<run-id> \
|
|
|
53
53
|
|
|
54
54
|
## 边界与结果
|
|
55
55
|
|
|
56
|
-
- 收录图片不等于已经写入图标、宣传图或截图字段;字段修改转 `taptap-app-edit`,并按目标字段规格 read-before-write
|
|
56
|
+
- 收录图片不等于已经写入图标、宣传图或截图字段;字段修改转 `taptap-app-edit`,并按目标字段规格 read-before-write;写入时带上 `data.url` 与 `data.info`,省略 info 会让 C 端按 16:9 回落。
|
|
57
57
|
- 本地模型生图不等于素材库收录;必须先完成本地规则校验,再由用户确认后转 `taptap-materials` 上传。
|
|
58
58
|
- 上游返回 `recoverable=true` 时,使用 `reason` 解释原因并按 `guidance` 给出重试、调整参数或刷新登录等下一步。
|
|
59
59
|
- 上游响应缺少预期结果字段时按异常处理,不把异常当成“收录成功”或“素材库为空”。
|
|
@@ -35,7 +35,7 @@ output: ok=true, data.stage="materials-inspect",
|
|
|
35
35
|
|
|
36
36
|
| 物料 | 当前可执行 shortcut | 上传后交接 |
|
|
37
37
|
| --- | --- | --- |
|
|
38
|
-
| 本地图片 | `upload <image>` | `taptap-app-edit`
|
|
38
|
+
| 本地图片 | `upload <image>` | `taptap-app-edit` 决定字段用途,并按 `{"url", "info"}` 写入 |
|
|
39
39
|
| 本地视频 | `upload-video <video> --scene <trailer 或 gameplay_demo_video>` | `taptap-app-edit` 用返回的 `videoId` 写入 |
|
|
40
40
|
| APK | `upload-apk <apk>` | `taptap-package-management` 查状态;绑定见「交接」 |
|
|
41
41
|
| Windows 包 | `upload-pc-package <package> --launch-exe <relative-exe> --version <version> [--windows-branch 1/2]` | `taptap-package-management` 查状态;绑定见「交接」。**包体类别以接口返回为准**:应用没有 PC 包体分支能力时只有本体包(不带 `--windows-branch` 或只传 `1`),不存在启动器包,不要主动问用户 |
|
|
@@ -103,7 +103,8 @@ game.zip
|
|
|
103
103
|
|
|
104
104
|
## 交接
|
|
105
105
|
|
|
106
|
-
-
|
|
106
|
+
- 图片:转 [`taptap-app-edit`](../taptap-app-edit/SKILL.md),读取目标模块和最新 `expected`,展示用途候选,用户确认后才 `save-changes`。交接时必须同时给到 `upload` 返回的 `data.url` 与 `data.info`——图片字段的值是 `{"url": ..., "info": ...}` 对象;不带 info 虽然不会报错,但 C 端拿不到宽高,竖版图会被按 16:9 裁切。
|
|
107
|
+
- 视频:转 [`taptap-app-edit`](../taptap-app-edit/SKILL.md),用 `upload-video` 返回的 `videoId` 写入(视频字段不需要 info)。
|
|
107
108
|
- APK、Windows、H5、Tap 小游戏:先转 [`taptap-package-management`](../taptap-package-management/SKILL.md) 查询远端包体状态;小游戏自测二维码只适用于 `stage=dev` 的版本,可同时查 `get-available-package-types` 确认该应用是否已支持小游戏。需要资料页绑定时转 `taptap-app-edit`,由其按包体槽位契约重新读取并经用户确认后执行。
|
|
108
109
|
- 任何上传完成后都不能直接进入提审;资料、包体、资质和分发状态仍按各业务 skill 的当前读取结果判断。
|
|
109
110
|
|
|
@@ -107,6 +107,8 @@ H5 开通 PC 分发入口时按两阶段执行:
|
|
|
107
107
|
|
|
108
108
|
查看之前 `save-changes` 返回的 `changes[].from` 值,再次调 `save-changes` 把字段恢复(`from` 为 `null` 时传 `value: null` 清空)。撤销同样要遵守 read-before-write —— 必须先重新读取该字段最新值(用户可能在中间又改了别的)。
|
|
109
109
|
|
|
110
|
+
**图片字段的回退**:`from` 对图片字段只给出纯 URL,直接把它写回去即可(服务端接受不带 info 的值;若该 URL 仍在当前字段里会沿用存量元数据)。但如果这张图本来就没有 info(例如本约定之前写入的老图),写回后 C 端仍会按 16:9 回落——要修渲染时,把该 URL 下载到会话工作目录、用 `taptap-cli upload` 重新收录,再用新的 `{url, info}` 写入(图片内容一致、URL 会变)。历史值为 `null` 时传 `value: null` 清空。
|
|
111
|
+
|
|
110
112
|
### G. 版本生命周期(撤审 / 撤定时 / 改时间 / 重置 / 恢复)
|
|
111
113
|
|
|
112
114
|
> **背景**:unpublished Version 是一个有状态机的对象。除了"改字段 → 提交审核"主流程(上文 B-E),还有以下「状态机分支」需要 agent 介入。下文每个工具的前置/后置状态见 schema 注释,违反前置时工具会返回业务化错误。
|
|
@@ -39,24 +39,30 @@ Skill 分析只用于资料准备建议。用户明确要求提审后,以 `pre
|
|
|
39
39
|
|
|
40
40
|
### 图片与视频
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
写入图片值时**必须带上 info**:值为 `{"url": <完整 HTTPS URL>, "info": <图片元数据>}` 对象,`info` 可直接原样使用 `taptap-cli upload` 返回的 `data.info`(含 `width`、`height`、`size`、`format`);`width`/`height` 必须为正整数,否则 400。**不传 info 服务端也会接受**(同 URL 已有存量元数据就沿用,否则只存 URL),但那张图在 C 端拿不到宽高,竖版会按 16:9 回落裁切——这正是本约定要避免的,因此除非确实拿不到 info,不要省略。禁止使用 `attached://`、`file://`,也不要手写错误的尺寸。
|
|
43
|
+
|
|
44
|
+
消息含 `<image-attachment>用户上传了一张图片,URL 为:https://...</image-attachment>` 时,先转 `taptap-materials` 的 `upload` 收录并拿到 `data.url` 与 `data.info`,再按上面的对象形态写入。
|
|
43
45
|
|
|
44
46
|
写图片前读字段 `image_spec`。多张截图按意图使用:
|
|
45
47
|
|
|
46
48
|
- 追加:`op: 'append'`
|
|
47
|
-
- 删除:`op: 'remove'`
|
|
49
|
+
- 删除:`op: 'remove'`(`value` 写从最新字段值读取的存量 URL,是选择器,不需要 `info`)
|
|
48
50
|
- 整组重传:`op: 'replace'`
|
|
49
51
|
- 替换一张:`op: 'replace_one'`,并传从最新字段值读取的 `old_value`
|
|
50
52
|
|
|
53
|
+
数组里每一项都用同一个 `{url, info}` 形态;`op` 与数组语义参照 `save-changes` 的字段说明。
|
|
54
|
+
|
|
51
55
|
```bash
|
|
52
56
|
taptap-cli app save-changes \
|
|
53
57
|
--app-id <appId> \
|
|
54
58
|
--dev-id <developerId> \
|
|
55
|
-
--data '{"changes":[{"field_id":"screenshots","op":"replace_one","old_value":"https://example.com/old.png","value":"https://example.com/new.png","expected":["https://example.com/old.png","https://example.com/keep.png"]}]}' \
|
|
59
|
+
--data '{"changes":[{"field_id":"screenshots","op":"replace_one","old_value":"https://example.com/old.png","value":{"url":"https://example.com/new.png","info":{"width":750,"height":1334,"size":826326,"format":"png"}},"expected":["https://example.com/old.png","https://example.com/keep.png"]}]}' \
|
|
56
60
|
--idempotency-key <stable-save-intent-key> \
|
|
57
61
|
--dry-run
|
|
58
62
|
```
|
|
59
63
|
|
|
64
|
+
视频字段(`trailer` / `gameplay_demo_video`)仍写 `upload-video` 返回的数字 `videoId`,不需要 `info`。
|
|
65
|
+
|
|
60
66
|
资料视频规格必须以 `get-app-module("assets-upload")` 返回的 `video_spec` 为准。用户询问 `trailer` / `gameplay_demo_video` 的格式、大小、时长、分辨率、比例或内容要求时,先读取规格,只做判断,不调用 `save-changes`。
|
|
61
67
|
|
|
62
68
|
- 不凭记忆复述具体限制;规范来源、动态规格优先级、冲突口径和检查项统一按[游戏物料要求](../../taptap-cli/references/material-requirements.md)执行。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 本地图片
|
|
8
8
|
|
|
9
|
-
本地图片的上传执行归 `taptap-materials`(顶层 `taptap-cli upload`,支持 `--dry-run` 预览与 `--yes` 确认,图片需稳定 `--idempotency-key`)。上传成功后使用返回的 `data.url`、`data.assetId` 和完整 `data.info`(含 `width`、`height`、`size`、`format`)继续素材库语境的解读。asset ID
|
|
9
|
+
本地图片的上传执行归 `taptap-materials`(顶层 `taptap-cli upload`,支持 `--dry-run` 预览与 `--yes` 确认,图片需稳定 `--idempotency-key`)。上传成功后使用返回的 `data.url`、`data.assetId` 和完整 `data.info`(含 `width`、`height`、`size`、`format`)继续素材库语境的解读。asset ID 只表示素材库收录结果,不表示图片已写入资料字段。字段写入转 `taptap-app-edit` 时必须把 `data.url` 与完整 `data.info` 一起传(值形态 `{"url": ..., "info": ...}`);不带 info 不会报错,但 C 端拿不到宽高,竖版图会被按 16:9 裁切。
|
|
10
10
|
|
|
11
11
|
## HTTPS 图片
|
|
12
12
|
|
|
@@ -53,7 +53,7 @@ taptap-cli asset-library +ai-image-validate .taptap/ai-image/<run-id> \
|
|
|
53
53
|
|
|
54
54
|
## 边界与结果
|
|
55
55
|
|
|
56
|
-
- 收录图片不等于已经写入图标、宣传图或截图字段;字段修改转 `taptap-app-edit`,并按目标字段规格 read-before-write
|
|
56
|
+
- 收录图片不等于已经写入图标、宣传图或截图字段;字段修改转 `taptap-app-edit`,并按目标字段规格 read-before-write;写入时带上 `data.url` 与 `data.info`,省略 info 会让 C 端按 16:9 回落。
|
|
57
57
|
- 本地模型生图不等于素材库收录;必须先完成本地规则校验,再由用户确认后转 `taptap-materials` 上传。
|
|
58
58
|
- 上游返回 `recoverable=true` 时,使用 `reason` 解释原因并按 `guidance` 给出重试、调整参数或刷新登录等下一步。
|
|
59
59
|
- 上游响应缺少预期结果字段时按异常处理,不把异常当成“收录成功”或“素材库为空”。
|
|
@@ -35,7 +35,7 @@ output: ok=true, data.stage="materials-inspect",
|
|
|
35
35
|
|
|
36
36
|
| 物料 | 当前可执行 shortcut | 上传后交接 |
|
|
37
37
|
| --- | --- | --- |
|
|
38
|
-
| 本地图片 | `upload <image>` | `taptap-app-edit`
|
|
38
|
+
| 本地图片 | `upload <image>` | `taptap-app-edit` 决定字段用途,并按 `{"url", "info"}` 写入 |
|
|
39
39
|
| 本地视频 | `upload-video <video> --scene <trailer 或 gameplay_demo_video>` | `taptap-app-edit` 用返回的 `videoId` 写入 |
|
|
40
40
|
| APK | `upload-apk <apk>` | `taptap-package-management` 查状态;绑定见「交接」 |
|
|
41
41
|
| Windows 包 | `upload-pc-package <package> --launch-exe <relative-exe> --version <version> [--windows-branch 1/2]` | `taptap-package-management` 查状态;绑定见「交接」。**包体类别以接口返回为准**:应用没有 PC 包体分支能力时只有本体包(不带 `--windows-branch` 或只传 `1`),不存在启动器包,不要主动问用户 |
|
|
@@ -103,7 +103,8 @@ game.zip
|
|
|
103
103
|
|
|
104
104
|
## 交接
|
|
105
105
|
|
|
106
|
-
-
|
|
106
|
+
- 图片:转 [`taptap-app-edit`](../taptap-app-edit/SKILL.md),读取目标模块和最新 `expected`,展示用途候选,用户确认后才 `save-changes`。交接时必须同时给到 `upload` 返回的 `data.url` 与 `data.info`——图片字段的值是 `{"url": ..., "info": ...}` 对象;不带 info 虽然不会报错,但 C 端拿不到宽高,竖版图会被按 16:9 裁切。
|
|
107
|
+
- 视频:转 [`taptap-app-edit`](../taptap-app-edit/SKILL.md),用 `upload-video` 返回的 `videoId` 写入(视频字段不需要 info)。
|
|
107
108
|
- APK、Windows、H5、Tap 小游戏:先转 [`taptap-package-management`](../taptap-package-management/SKILL.md) 查询远端包体状态;小游戏自测二维码只适用于 `stage=dev` 的版本,可同时查 `get-available-package-types` 确认该应用是否已支持小游戏。需要资料页绑定时转 `taptap-app-edit`,由其按包体槽位契约重新读取并经用户确认后执行。
|
|
108
109
|
- 任何上传完成后都不能直接进入提审;资料、包体、资质和分发状态仍按各业务 skill 的当前读取结果判断。
|
|
109
110
|
|