@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 CHANGED
@@ -1,40 +1,34 @@
1
- # TapTap DC OpenClaw Plugin
1
+ # TapTap DC OpenClaw 插件
2
2
 
3
- OpenClaw plugin that exposes raw TapTap DC tools and bundles a TapTap DC ops-brief skill.
3
+ 这是一个面向 OpenClaw TapTap DC 插件,内置原始数据工具与运营简报 skill
4
4
 
5
- ## What It Does
5
+ ## 插件能力
6
6
 
7
- - installs as a native OpenClaw plugin
8
- - internally boots the published `@mikoto_zero/minigame-open-mcp` runtime
9
- - exposes raw JSON-oriented TapTap tools for:
10
- - authorization
11
- - app selection
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
- ## Install
13
+ ## 安装
20
14
 
21
15
  ```bash
22
16
  openclaw plugins install @lotaber_wang/openclaw-dc-plugin
23
17
  ```
24
18
 
25
- ## Typical Flow
19
+ ## 典型使用流程
26
20
 
27
- 1. Call `taptap_dc_check_environment`
28
- 2. If not authorized, call `taptap_dc_start_authorization`
29
- 3. Ask the user to open `auth_url` or scan `qrcode_url`
30
- 4. Call `taptap_dc_complete_authorization`
31
- 5. Call `taptap_dc_list_apps`
32
- 6. Call `taptap_dc_select_app`
33
- 7. Call overview tools and let the bundled skill produce the brief
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
- ## Configuration
29
+ ## 配置项
36
30
 
37
- Optional plugin config:
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
- Production use should not need `client_id` / `client_secret` overrides when the embedded TapTap package already contains them.
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: 'Raw TapTap DC tools for OpenClaw, bundled with an ops brief skill.',
330
+ description: '面向 OpenClaw TapTap DC 插件,内置原始数据工具与运营简报 skill',
331
331
  configSchema: {
332
332
  type: 'object',
333
333
  properties: {
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "id": "taptap-dc-plugin",
3
3
  "name": "TapTap DC",
4
- "description": "Raw TapTap DC tools for OpenClaw, bundled with an ops brief skill.",
5
- "version": "0.1.0",
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 environment to use.",
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": "Optional workspace root passed to the embedded TapTap runtime."
18
+ "description": "可选的工作区根目录,会传给内嵌 TapTap 运行时。"
19
19
  },
20
20
  "cacheDir": {
21
21
  "type": "string",
22
- "description": "Optional cache directory override for the embedded TapTap runtime."
22
+ "description": "可选的缓存目录覆盖配置。"
23
23
  },
24
24
  "tempDir": {
25
25
  "type": "string",
26
- "description": "Optional temp directory override for the embedded TapTap runtime."
26
+ "description": "可选的临时目录覆盖配置。"
27
27
  },
28
28
  "logRoot": {
29
29
  "type": "string",
30
- "description": "Optional log directory override for the embedded TapTap runtime."
30
+ "description": "可选的日志根目录覆盖配置。"
31
31
  },
32
32
  "verbose": {
33
33
  "type": "boolean",
34
- "description": "Enable verbose logging for the embedded TapTap runtime.",
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.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
- "description": "OpenClaw plugin for TapTap DC raw data tools with a bundled ops-brief skill.",
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"