@taptap/cli 2026.11.29 → 2026.11.30-beta.1
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 +0 -9
- package/README.md +5 -3
- package/README.zh.md +5 -3
- package/affordance/app.md +13 -0
- package/affordance/developer.md +27 -0
- package/affordance/game-service.md +87 -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/scripts/bot/cli.mjs +41 -23
- package/scripts/bot/entry.cjs +9 -0
- package/scripts/bot/tap.mjs +34 -6
- package/scripts/claude-hooks/dispatch.mjs +1 -1
- package/scripts/claude-hooks/dispatch.test.mjs +1 -2
- package/scripts/run.js +3 -1
- package/skills/index.json +6 -0
- package/skills/taptap-app-edit/references/app-edit-audit-and-history.md +0 -2
- package/skills/taptap-app-edit/references/app-edit-fields-and-packages.md +0 -4
- package/skills/taptap-cli/SKILL.md +6 -4
- package/skills/taptap-cli/references/cli-command-patterns.md +3 -8
- package/skills/taptap-community-management/SKILL.md +5 -0
- package/skills/taptap-community-management/references/forum-feed.md +14 -0
- package/skills/taptap-dashboard-stats/SKILL.md +12 -8
- package/skills/taptap-dashboard-stats/references/forum-stats-cheatsheet.md +1 -1
- package/skills/taptap-dashboard-stats/references/instant-game-overviews.md +17 -0
- package/skills/taptap-development/SKILL.md +72 -0
- package/skills/taptap-development/references/multiplayer-diagnosis.md +28 -0
- package/skills/taptap-development/references/performance-checklist.md +31 -0
- package/skills/taptap-game-service/SKILL.md +51 -0
- package/skills/taptap-game-service/references/ad-config.md +13 -0
- package/skills/taptap-game-service/references/debug-feedback.md +12 -0
- package/skills/taptap-game-service/references/leaderboard.md +24 -0
- package/skills/taptap-game-service/references/share-template.md +14 -0
- package/skills/taptap-identity/SKILL.md +5 -2
- package/skills/taptap-identity/references/project-binding.md +16 -0
- package/skills/taptap-package-management/SKILL.md +4 -0
- package/skills/taptap-package-management/references/h5-directory-upload.md +16 -0
- package/skills/taptap-player-feedback/SKILL.md +7 -7
- package/skills/taptap-player-feedback/references/review-actions.md +39 -0
- package/taptap-suite/SKILL.md +9 -7
- package/taptap-suite/references/taptap-app-edit/references/app-edit-audit-and-history.md +0 -2
- package/taptap-suite/references/taptap-app-edit/references/app-edit-fields-and-packages.md +0 -4
- package/taptap-suite/references/taptap-cli/references/cli-command-patterns.md +3 -8
- package/taptap-suite/references/taptap-community-management/SKILL.md +5 -0
- package/taptap-suite/references/taptap-community-management/references/forum-feed.md +14 -0
- package/taptap-suite/references/taptap-dashboard-stats/SKILL.md +12 -8
- package/taptap-suite/references/taptap-dashboard-stats/references/forum-stats-cheatsheet.md +1 -1
- package/taptap-suite/references/taptap-dashboard-stats/references/instant-game-overviews.md +17 -0
- package/taptap-suite/references/taptap-development/SKILL.md +72 -0
- package/taptap-suite/references/taptap-development/references/multiplayer-diagnosis.md +28 -0
- package/taptap-suite/references/taptap-development/references/performance-checklist.md +31 -0
- package/taptap-suite/references/taptap-game-service/SKILL.md +51 -0
- package/taptap-suite/references/taptap-game-service/references/ad-config.md +13 -0
- package/taptap-suite/references/taptap-game-service/references/debug-feedback.md +12 -0
- package/taptap-suite/references/taptap-game-service/references/leaderboard.md +24 -0
- package/taptap-suite/references/taptap-game-service/references/share-template.md +14 -0
- package/taptap-suite/references/taptap-identity/SKILL.md +5 -2
- package/taptap-suite/references/taptap-identity/references/project-binding.md +16 -0
- package/taptap-suite/references/taptap-package-management/SKILL.md +4 -0
- package/taptap-suite/references/taptap-package-management/references/h5-directory-upload.md +16 -0
- package/taptap-suite/references/taptap-player-feedback/SKILL.md +7 -7
- package/taptap-suite/references/taptap-player-feedback/references/review-actions.md +39 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: taptap-player-feedback
|
|
3
3
|
version: 1.0.0
|
|
4
|
-
description: "TapTap
|
|
4
|
+
description: "TapTap 玩家评价 runbook。用于按评分、互动状态、关键字和时间范围分页检索玩家评价正文、配图、作者与该评价下的回复,并解释分页上限和评分口径;支持用户明确授权下的点赞与官方回复;不负责评分统计与趋势(转 taptap-dashboard-stats)、资料提审或删除评价。"
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
7
|
bins: ["taptap-cli"]
|
|
8
|
-
cliHelp: "taptap-cli player-feedback --help;taptap-cli schema player-feedback list-player-reviews"
|
|
8
|
+
cliHelp: "taptap-cli player-feedback --help;taptap-cli schema player-feedback list-player-reviews;taptap-cli schema player-feedback list-review-feed;taptap-cli schema player-feedback reply-review"
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# player-feedback
|
|
12
12
|
|
|
13
13
|
开始前先读 [`../taptap-cli/references/shared-execution.md`](../taptap-cli/references/shared-execution.md)(身份、JSON 输出外壳、错误处理、确认门禁)。
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
原管理列表 `list-player-reviews` 只读;评价流、点赞与官方回复是独立接口,回复需用户明确授权,细节见 [review actions](references/review-actions.md)。执行前以当前环境的实际命令目录为准:没有 `like-review` / `reply-review` 时按未开放处理,不伪造写入。
|
|
16
16
|
|
|
17
17
|
**CRITICAL — 深分页硬上限:`page × page_size` 必须 ≤ 10000。越界时服务端返回空列表且 `total=0`,无法区分「确实没有评价」与「翻页越界」。禁止发起越界调用;需要更多数据时先按时间或评分缩小范围再查。**
|
|
18
18
|
|
|
@@ -34,8 +34,8 @@ metadata:
|
|
|
34
34
|
| 看某条评价的回复 | 响应里的 `comments[]`;总数看 `comment_total` |
|
|
35
35
|
| 判断官方有没有回复 | 看 `has_official_comment`,再看 `comments[].is_official` |
|
|
36
36
|
| 要「全部评价」或跨月数据 | 显式传 `"start_date":0`,并先读 [queries](references/player-feedback-queries.md) 确认分页切分 |
|
|
37
|
-
| 要评分趋势、好评率、评分分布 | 转 `taptap-dashboard-stats` |
|
|
38
|
-
|
|
|
37
|
+
| 要评分趋势、好评率、评分分布 | 转 `taptap-dashboard-stats`,优先用 `get-review-overview` |
|
|
38
|
+
| 评价流、点赞、官方回复 | [review actions](references/review-actions.md) |
|
|
39
39
|
|
|
40
40
|
## 常用命令
|
|
41
41
|
|
|
@@ -90,7 +90,7 @@ taptap-cli player-feedback list-player-reviews \
|
|
|
90
90
|
- `total` 在翻页越界时为 `0`,**不要把 `total=0` 当作「没有评价」**;先用一次 `page=1` 的查询确认基线。
|
|
91
91
|
- `author` 可能为 `null`(评价者资料不可见)。此时不要编造昵称,也不要回退到 `user_id` 展示给用户。
|
|
92
92
|
- `comments` 只是该评价下的前若干条回复,总数以 `comment_total` 为准。
|
|
93
|
-
-
|
|
93
|
+
- 原管理列表只读;点赞和回复只走独立接口,回复必须有用户授权。
|
|
94
94
|
|
|
95
95
|
## 输出规则
|
|
96
96
|
|
|
@@ -110,7 +110,7 @@ taptap-cli player-feedback list-player-reviews \
|
|
|
110
110
|
## 不在本 skill 范围
|
|
111
111
|
|
|
112
112
|
- 评分/评价统计、好评率、评分分布与趋势:转 `taptap-dashboard-stats`。
|
|
113
|
-
-
|
|
113
|
+
- 删除评价、举报处置等后台操作:CLI 不支持,给开发者中心入口。
|
|
114
114
|
- 资料提审、撤审、发布:转 `taptap-app-edit`。
|
|
115
115
|
- 测试计划资格、激活码:转 `taptap-test-plan`。
|
|
116
116
|
- 社区帖子、动态和评论区的非评价内容:转 `taptap-community-management`。
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# 评价流、点赞与官方回复
|
|
2
|
+
|
|
3
|
+
## 评价流
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
taptap-cli player-feedback list-review-feed \
|
|
7
|
+
--dev-id <id> --app-id <id> \
|
|
8
|
+
--data '{"sort":"new","limit":10,"is_collapsed":false,"filter_platform":"mobile"}'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
- `sort`:`new` / `hot` / `spent`;`filter_platform`:`mobile` / `pc` / `web`。
|
|
12
|
+
- 首请求省略 `cursor`,后续原样传 `next_cursor`;scope 和筛选保持一致。
|
|
13
|
+
- `has_more=false` 时不再传 cursor;空页但 `has_more=true` 仍有后续。
|
|
14
|
+
- `total` 可能包含过滤前条目,不能用 list 长度推断结束。
|
|
15
|
+
|
|
16
|
+
## 点赞
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
taptap-cli player-feedback like-review \
|
|
20
|
+
--dev-id <id> --app-id <id> \
|
|
21
|
+
--data '{"review_id":"<review_id>"}' --idempotency-key "<key>" --yes
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
点赞不是状态切换;只有 `executed=true` 且 `vote_value=up` 才算成功。重复调用是再次执行。
|
|
25
|
+
|
|
26
|
+
## 官方回复两步
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
taptap-cli player-feedback reply-review \
|
|
30
|
+
--dev-id <id> --app-id <id> \
|
|
31
|
+
--data '{"review_id":"<review_id>","contents":"<text>","confirm_high_risk":false}' \
|
|
32
|
+
--idempotency-key "<evaluate-key>" --yes
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
1. 低风险会直接发送;中/高风险返回 `sent=false`、`need_confirmation=true`、`draft`,此时没有发送。
|
|
36
|
+
2. 把 `draft` 原文展示给用户,等待对完全相同正文的明确确认。
|
|
37
|
+
3. 确认后用另一个幂等键提交 `confirm_high_risk=true`,正文必须完全一致;正文变更重新评估。
|
|
38
|
+
4. `sent=true` 且 `need_confirmation=false` 才表示已发送。
|
|
39
|
+
5. `result_unknown` 先读回核对,不换 key 重发,也不重复发送。
|