@lotaber_wang/openclaw-dc-plugin 0.1.0 → 0.1.2
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 +20 -26
- package/index.js +1 -1
- package/openclaw.plugin.json +8 -8
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -1,40 +1,34 @@
|
|
|
1
|
-
# TapTap DC OpenClaw
|
|
1
|
+
# TapTap DC OpenClaw 插件
|
|
2
2
|
|
|
3
|
-
OpenClaw
|
|
3
|
+
这是一个面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 插件能力
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- store/review/community overview
|
|
13
|
-
- store snapshot
|
|
14
|
-
- forum contents
|
|
15
|
-
- reviews
|
|
16
|
-
- like/reply review actions
|
|
17
|
-
- bundles a `taptap-dc-ops-brief` skill that turns those raw responses into a concise ops brief
|
|
7
|
+
- 以 OpenClaw 原生插件方式安装
|
|
8
|
+
- 内部启动已发布的 `@mikoto_zero/minigame-open-mcp` 运行时
|
|
9
|
+
- 暴露适合 agent / skill 消费的 TapTap DC 原始 JSON 工具
|
|
10
|
+
- 覆盖授权、选游戏、商店/评价/社区概览、商店快照、论坛内容、评价列表、点赞与官方回复
|
|
11
|
+
- 内置 `taptap-dc-ops-brief`,可把原始数据整理成简洁的运营简报
|
|
18
12
|
|
|
19
|
-
##
|
|
13
|
+
## 安装
|
|
20
14
|
|
|
21
15
|
```bash
|
|
22
16
|
openclaw plugins install @lotaber_wang/openclaw-dc-plugin
|
|
23
17
|
```
|
|
24
18
|
|
|
25
|
-
##
|
|
19
|
+
## 典型使用流程
|
|
26
20
|
|
|
27
|
-
1.
|
|
28
|
-
2.
|
|
29
|
-
3.
|
|
30
|
-
4.
|
|
31
|
-
5.
|
|
32
|
-
6.
|
|
33
|
-
7.
|
|
21
|
+
1. 调用 `taptap_dc_check_environment`
|
|
22
|
+
2. 如果还没授权,调用 `taptap_dc_start_authorization`
|
|
23
|
+
3. 打开 `auth_url` 或扫描 `qrcode_url`
|
|
24
|
+
4. 完成后调用 `taptap_dc_complete_authorization`
|
|
25
|
+
5. 调用 `taptap_dc_list_apps`
|
|
26
|
+
6. 调用 `taptap_dc_select_app`
|
|
27
|
+
7. 再调用概览类工具,并配合内置 skill 生成简报
|
|
34
28
|
|
|
35
|
-
##
|
|
29
|
+
## 配置项
|
|
36
30
|
|
|
37
|
-
|
|
31
|
+
可选配置如下:
|
|
38
32
|
|
|
39
33
|
- `environment`: `production` or `rnd`
|
|
40
34
|
- `workspaceRoot`
|
|
@@ -43,4 +37,4 @@ Optional plugin config:
|
|
|
43
37
|
- `logRoot`
|
|
44
38
|
- `verbose`
|
|
45
39
|
|
|
46
|
-
|
|
40
|
+
正常情况下,如果内嵌的 TapTap MCP 主包已经带了可用凭据,生产环境不需要额外配置 `client_id` / `client_secret`。
|
package/index.js
CHANGED
|
@@ -327,7 +327,7 @@ try {
|
|
|
327
327
|
const plugin = {
|
|
328
328
|
id: 'taptap-dc-plugin',
|
|
329
329
|
name: 'TapTap DC',
|
|
330
|
-
description: '
|
|
330
|
+
description: '面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill。',
|
|
331
331
|
configSchema: {
|
|
332
332
|
type: 'object',
|
|
333
333
|
properties: {
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "taptap-dc-plugin",
|
|
3
3
|
"name": "TapTap DC",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "0.1.
|
|
4
|
+
"description": "面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill。",
|
|
5
|
+
"version": "0.1.1",
|
|
6
6
|
"skills": ["./skills"],
|
|
7
7
|
"configSchema": {
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
10
|
"environment": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"description": "TapTap
|
|
12
|
+
"description": "TapTap 环境,支持 production 或 rnd。",
|
|
13
13
|
"enum": ["production", "rnd"],
|
|
14
14
|
"default": "production"
|
|
15
15
|
},
|
|
16
16
|
"workspaceRoot": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "可选的工作区根目录,会传给内嵌 TapTap 运行时。"
|
|
19
19
|
},
|
|
20
20
|
"cacheDir": {
|
|
21
21
|
"type": "string",
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "可选的缓存目录覆盖配置。"
|
|
23
23
|
},
|
|
24
24
|
"tempDir": {
|
|
25
25
|
"type": "string",
|
|
26
|
-
"description": "
|
|
26
|
+
"description": "可选的临时目录覆盖配置。"
|
|
27
27
|
},
|
|
28
28
|
"logRoot": {
|
|
29
29
|
"type": "string",
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "可选的日志根目录覆盖配置。"
|
|
31
31
|
},
|
|
32
32
|
"verbose": {
|
|
33
33
|
"type": "boolean",
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "是否为内嵌 TapTap 运行时开启详细日志。",
|
|
35
35
|
"default": false
|
|
36
36
|
}
|
|
37
37
|
},
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotaber_wang/openclaw-dc-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "TapTap DC 的 OpenClaw 插件,内置原始数据工具与运营简报 skill。",
|
|
6
6
|
"main": "index.js",
|
|
7
|
+
"openclaw": {
|
|
8
|
+
"extensions": [
|
|
9
|
+
"./index.js"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
7
12
|
"exports": {
|
|
8
13
|
".": "./index.js",
|
|
9
14
|
"./package.json": "./package.json"
|