@taptap/instant-games-open-mcp 1.23.7 → 1.24.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/README.md +7 -6
- package/dist/maker.js +3056 -434
- package/dist/proxy.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +18 -14
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.
|
|
29140
|
+
var VERSION = true ? "1.24.1" : "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.
|
|
6093
|
+
// window.MultiplayerManager = MultiplayerManager;`}]}}};var ws;ws="1.24.1";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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taptap/instant-games-open-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.1",
|
|
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",
|
|
@@ -15,8 +15,8 @@ This skill covers:
|
|
|
15
15
|
|
|
16
16
|
- initialize local Maker development
|
|
17
17
|
- run the Maker CLI initialization flow
|
|
18
|
-
- prepare local AI dev kit before project binding
|
|
19
18
|
- clone a Maker project
|
|
19
|
+
- prepare local AI dev kit after project checkout
|
|
20
20
|
- choose a Maker app from the CLI app list
|
|
21
21
|
- explain PAT, Git, project binding, and editor reloads
|
|
22
22
|
- inspect local changes
|
|
@@ -33,7 +33,7 @@ post-build runtime log polling loop belongs to the local Maker CLI watcher.
|
|
|
33
33
|
Keep this split clear:
|
|
34
34
|
|
|
35
35
|
- Skill: user intent, step order, whether to ask the user, friendly explanations, failure recovery.
|
|
36
|
-
- CLI: save PAT, fetch app list, prepare dev kit,
|
|
36
|
+
- CLI: save PAT, fetch app list, clone, prepare dev kit, install MCP config, verify local setup,
|
|
37
37
|
and run the local runtime log watcher.
|
|
38
38
|
- MCP tools/resources: inspect Maker status, run the combined commit/push/build path, and support
|
|
39
39
|
one-shot runtime log pulls.
|
|
@@ -133,8 +133,10 @@ Keep the user-facing explanation short:
|
|
|
133
133
|
|
|
134
134
|
## AI Dev Kit Preparation
|
|
135
135
|
|
|
136
|
-
`taptap-maker init`
|
|
137
|
-
|
|
136
|
+
`taptap-maker init` checks out the Maker project before preparing local development environment
|
|
137
|
+
files in the current working directory. Init reinstalls the dev kit after checkout and allows
|
|
138
|
+
dev-kit files to overwrite same-path local helper files; the managed `.gitignore` block keeps
|
|
139
|
+
those files local-only so they are not submitted to Maker Git.
|
|
138
140
|
|
|
139
141
|
`taptap-maker doctor` and `maker://status` check the dev-kit top-level entries for an already bound
|
|
140
142
|
Maker project. If `CLAUDE.md`, `examples/`, `templates/`, or `urhox-libs/` are missing, run
|
|
@@ -161,18 +163,19 @@ resources to the local AI/Agent:
|
|
|
161
163
|
|
|
162
164
|
The CLI is responsible for deterministic file operations:
|
|
163
165
|
|
|
164
|
-
- extract the ZIP into the current directory
|
|
166
|
+
- extract the ZIP into the current directory after checkout
|
|
165
167
|
- skip the ZIP top-level `scripts` directory because it conflicts with Maker project code
|
|
166
168
|
- delete the downloaded `ai-dev-kit.zip` after extraction
|
|
167
169
|
- write a temporary `.gitignore.dev-kit-before-clone` block for installed dev-kit entries
|
|
168
|
-
- after
|
|
170
|
+
- after dev-kit preparation succeeds, merge that block into the checked-out `.gitignore`
|
|
169
171
|
- keep the dev-kit files local-only so they are not submitted to Maker Git
|
|
170
172
|
|
|
171
173
|
Do not hand-write a custom download/unzip script while this CLI command is available.
|
|
172
174
|
|
|
173
|
-
If
|
|
174
|
-
|
|
175
|
-
the user wants to retry
|
|
175
|
+
If dev-kit network access is unavailable after clone succeeds, explain that the Maker project is
|
|
176
|
+
already checked out, but local AI development docs/API/demo support may be incomplete. Ask whether
|
|
177
|
+
the user wants to retry `taptap-maker init` for a full post-checkout dev-kit reinstall or continue
|
|
178
|
+
without the dev kit.
|
|
176
179
|
|
|
177
180
|
If clone or fetch fails with Maker Git output, inspect the returned error fields instead of asking
|
|
178
181
|
the user to delete local files immediately. Treat `retryable: yes`, `classification:
|
|
@@ -280,12 +283,13 @@ Do not delete, move, or overwrite user files during this check.
|
|
|
280
283
|
|
|
281
284
|
## Clone Directory Safety
|
|
282
285
|
|
|
283
|
-
Before clone, the Maker CLI checks local files and reports conflicts. The
|
|
284
|
-
|
|
286
|
+
Before clone, the Maker CLI checks local files and reports conflicts. The current init flow installs
|
|
287
|
+
the AI dev kit after checkout, so a fresh directory should not get checkout conflicts from newly
|
|
288
|
+
generated dev-kit files. Explain this in non-technical terms:
|
|
285
289
|
|
|
286
290
|
- existing local config folders such as `.claude`, `.mcp`, `.skill`, `.config`, `.ini` are kept
|
|
287
291
|
- normal local files are kept unless they conflict with files from the Maker project
|
|
288
|
-
- if conflicts are reported, tell the user exactly which files block clone and ask whether to move,
|
|
292
|
+
- if conflicts are reported, tell the user exactly which pre-existing files block clone and ask whether to move,
|
|
289
293
|
rename, or choose another directory
|
|
290
294
|
|
|
291
295
|
Do not delete or overwrite user files to make clone work unless the user explicitly asks.
|
|
@@ -306,8 +310,8 @@ directory over manual cleanup.
|
|
|
306
310
|
### `.gitignore` Merge During Clone
|
|
307
311
|
|
|
308
312
|
The Maker CLI stages the dev-kit managed ignore block in
|
|
309
|
-
`.gitignore.dev-kit-before-clone`
|
|
310
|
-
|
|
313
|
+
`.gitignore.dev-kit-before-clone` while preparing the dev kit. After the Maker checkout and dev-kit
|
|
314
|
+
preparation both succeed, the CLI merges that managed block into the checked-out `.gitignore` and
|
|
311
315
|
removes the temporary file.
|
|
312
316
|
|
|
313
317
|
If clone still reports conflicts for files other than `.gitignore.dev-kit-before-clone`, do not
|