@taptap/instant-games-open-mcp 1.24.3 → 1.24.5
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 +5 -33
- package/dist/proxy.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +7 -9
- package/bin/taptap-maker +0 -27
- package/dist/maker.js +0 -36531
- package/skills/taptap-maker-dev-kit-guide/SKILL.md +0 -55
- package/skills/taptap-maker-local/SKILL.md +0 -489
- package/skills/update-taptap-mcp/SKILL.md +0 -203
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
## 🦞 OpenClaw Plugin(实验中)
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
仓库内提供了一个可独立使用的 OpenClaw plugin 子包:
|
|
26
26
|
|
|
27
27
|
- [`packages/openclaw-dc-plugin`](packages/openclaw-dc-plugin)
|
|
28
28
|
|
|
@@ -42,14 +42,13 @@
|
|
|
42
42
|
详见:
|
|
43
43
|
|
|
44
44
|
- [OpenClaw Plugin 说明](docs/OPENCLAW_PLUGIN.md)
|
|
45
|
-
- 维护者发布方式:`npm run openclaw:pack` / `npm run openclaw:publish`
|
|
46
45
|
|
|
47
46
|
## 🛠️ TapTap Maker 本地开发(CLI-first)
|
|
48
47
|
|
|
49
48
|
Maker 本地开发按“初始化用 CLI,开发循环用 MCP”拆分。首次配置推荐直接运行:
|
|
50
49
|
|
|
51
50
|
```bash
|
|
52
|
-
npx -y
|
|
51
|
+
npx -y @taptap/maker init
|
|
53
52
|
```
|
|
54
53
|
|
|
55
54
|
CLI 负责一次性流程:Git 检查、PAT 保存、TapTap token 换取、app 列表选择、Maker Git
|
|
@@ -64,14 +63,15 @@ taptap-maker init
|
|
|
64
63
|
taptap-maker doctor
|
|
65
64
|
taptap-maker apps --json
|
|
66
65
|
taptap-maker pat set
|
|
67
|
-
taptap-maker
|
|
66
|
+
taptap-maker install --ide codex,cursor,claude
|
|
68
67
|
taptap-maker mcp verify
|
|
69
68
|
taptap-maker dev-kit update
|
|
70
69
|
```
|
|
71
70
|
|
|
72
71
|
`taptap-maker pat set` 默认通过交互式 prompt 接收 PAT,避免把 PAT 写进
|
|
73
72
|
`ps` 进程列表或 shell history;自动化场景可用 `--pat-stdin` 从标准输入读取。
|
|
74
|
-
`taptap-maker
|
|
73
|
+
`taptap-maker install` 是 `taptap-maker mcp install` 的快捷别名,二者都会写入 AI 客户端
|
|
74
|
+
MCP 配置。`taptap-maker mcp verify` 默认验证 `mcp install` 写入 AI 客户端配置的 npx 启动命令;
|
|
75
75
|
本地开发只想验证当前 CLI 时可加 `--mode self`。如果验证输出 `status: null` 或
|
|
76
76
|
`failure_type`,说明本地 Node/npm/npx 启动命令还没正常跑通,Maker MCP server
|
|
77
77
|
尚未启动;这不是 PAT、app 选择或 Maker 业务接口报错。先按输出里的 command
|
|
@@ -535,36 +535,8 @@ graph LR
|
|
|
535
535
|
- **[docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)** - 架构文档
|
|
536
536
|
- **[docs/DEPLOYMENT.md](docs/DEPLOYMENT.md)** - 部署指南(本地、Docker、开发者测试)
|
|
537
537
|
- **[docs/PROXY.md](docs/PROXY.md)** - MCP Proxy 开发指南(面向 TapCode 等平台)
|
|
538
|
-
- **[docs/CI_CD.md](docs/CI_CD.md)** - CI/CD 和自动化发布流程
|
|
539
538
|
- **[docs/PATH_RESOLUTION.md](docs/PATH_RESOLUTION.md)** - 路径解析系统
|
|
540
539
|
|
|
541
|
-
## 🔄 CI/CD
|
|
542
|
-
|
|
543
|
-
基于 Conventional Commits 的完全自动化发布:
|
|
544
|
-
|
|
545
|
-
```bash
|
|
546
|
-
# 创建功能分支
|
|
547
|
-
git checkout -b feat/awesome-feature
|
|
548
|
-
|
|
549
|
-
# 提交代码
|
|
550
|
-
git commit -m "feat: add awesome feature"
|
|
551
|
-
|
|
552
|
-
# 创建 PR 并合并
|
|
553
|
-
gh pr create && gh pr merge
|
|
554
|
-
|
|
555
|
-
# 自动发布到 npm(版本:1.4.13 → 1.5.0)
|
|
556
|
-
```
|
|
557
|
-
|
|
558
|
-
**发布流程**:
|
|
559
|
-
|
|
560
|
-
1. PR 合并 → 触发 Actions
|
|
561
|
-
2. 分析 commits 确定版本号
|
|
562
|
-
3. 发布到 npm
|
|
563
|
-
4. 自动创建版本 PR 并合并
|
|
564
|
-
5. 创建 GitHub Release
|
|
565
|
-
|
|
566
|
-
详见: [docs/CI_CD.md](docs/CI_CD.md)
|
|
567
|
-
|
|
568
540
|
## 🤝 贡献
|
|
569
541
|
|
|
570
542
|
欢迎贡献!请遵循:
|
package/dist/proxy.js
CHANGED
|
@@ -29137,7 +29137,7 @@ var LogWriter = class {
|
|
|
29137
29137
|
};
|
|
29138
29138
|
|
|
29139
29139
|
// src/mcp-proxy/proxy.ts
|
|
29140
|
-
var VERSION = true ? "1.24.
|
|
29140
|
+
var VERSION = true ? "1.24.5" : "dev";
|
|
29141
29141
|
var LOCAL_PROXY_TAG = "local";
|
|
29142
29142
|
var TapTapMCPProxy = class {
|
|
29143
29143
|
constructor(config2) {
|
package/dist/server.js
CHANGED
|
@@ -6090,7 +6090,7 @@ class MultiplayerManager {
|
|
|
6090
6090
|
// 导出
|
|
6091
6091
|
// export default MultiplayerManager;
|
|
6092
6092
|
// module.exports = MultiplayerManager;
|
|
6093
|
-
// window.MultiplayerManager = MultiplayerManager;`}]}}};var ws;ws="1.24.
|
|
6093
|
+
// window.MultiplayerManager = MultiplayerManager;`}]}}};var ws;ws="1.24.5";async function FRe(){return Go(Rm,"api_event_relations")}async function BRe(){return Go(Rm,"protocol_template")}async function SD(){return Go(Rm,"complete_example")}async function URe(){return`# TapTap 多人联机集成指南
|
|
6094
6094
|
|
|
6095
6095
|
---
|
|
6096
6096
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taptap/instant-games-open-mcp",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TapTap Open API MCP Server - Documentation and Management APIs for TapTap Minigame and H5 Games (Leaderboard, and more features coming)",
|
|
6
6
|
"main": "dist/server.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"instant-games-open-mcp": "bin/instant-games-open-mcp",
|
|
9
|
-
"taptap-mcp-proxy": "bin/taptap-mcp-proxy"
|
|
10
|
-
"taptap-maker": "bin/taptap-maker"
|
|
9
|
+
"taptap-mcp-proxy": "bin/taptap-mcp-proxy"
|
|
11
10
|
},
|
|
12
11
|
"exports": {
|
|
13
12
|
".": "./dist/server.js",
|
|
14
13
|
"./proxy": "./dist/proxy.js",
|
|
15
|
-
"./maker": "./dist/maker.js",
|
|
16
14
|
"./package.json": "./package.json"
|
|
17
15
|
},
|
|
18
16
|
"scripts": {
|
|
@@ -92,11 +90,11 @@
|
|
|
92
90
|
"typescript": "^5.0.0"
|
|
93
91
|
},
|
|
94
92
|
"files": [
|
|
95
|
-
"dist/",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
93
|
+
"dist/server.js",
|
|
94
|
+
"dist/proxy.js",
|
|
95
|
+
"dist/native/",
|
|
96
|
+
"bin/instant-games-open-mcp",
|
|
97
|
+
"bin/taptap-mcp-proxy"
|
|
100
98
|
],
|
|
101
99
|
"repository": {
|
|
102
100
|
"type": "git",
|
package/bin/taptap-maker
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* TapTap Maker MCP
|
|
5
|
-
* Entry point for CLI subcommands and MCP server mode.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { join, dirname } from 'node:path';
|
|
9
|
-
import { existsSync } from 'node:fs';
|
|
10
|
-
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
11
|
-
|
|
12
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
-
const __dirname = dirname(__filename);
|
|
14
|
-
const packageRoot = join(__dirname, '..');
|
|
15
|
-
const distPath = join(packageRoot, 'dist', 'maker.js');
|
|
16
|
-
const distUrl = pathToFileURL(distPath).href;
|
|
17
|
-
|
|
18
|
-
if (existsSync(distPath)) {
|
|
19
|
-
import(distUrl).catch((error) => {
|
|
20
|
-
console.error('❌ Failed to start TapTap Maker MCP:', error);
|
|
21
|
-
process.exit(1);
|
|
22
|
-
});
|
|
23
|
-
} else {
|
|
24
|
-
console.error('❌ Maker MCP bundle not found. Please build the project first:');
|
|
25
|
-
console.error(' npm run build');
|
|
26
|
-
process.exit(1);
|
|
27
|
-
}
|