@taptap/maker 0.0.32-beta.1 → 0.0.32-beta.3
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 +3 -3
- package/dist/maker.js +2112 -454
- package/docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md +28 -5
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +30 -21
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
适用于以下现象:
|
|
4
4
|
|
|
5
5
|
- AI 客户端提示 `-32000`、`Connection closed`、`command not found` 或启动后立即退出。
|
|
6
|
+
- 构建或其它长调用返回 `MCP error -32001: Request timed out`。
|
|
6
7
|
- 当前对话没有 `maker_status_lite`、`maker_build_current_directory` 等 Maker tools。
|
|
7
8
|
- 同一项目之前可用,重启客户端、新开对话或多开对话后失效。
|
|
8
9
|
- 普通终端可以运行 Maker CLI,但 Codex、WorkBuddy 等客户端无法启动 MCP。
|
|
@@ -38,6 +39,8 @@ taptap-maker mcp verify --json
|
|
|
38
39
|
`initialize` 和 `tools/list`,并返回 launcher_kind、command、stage、tools、stderr、error 和
|
|
39
40
|
failure_type。失败时命令退出码非零。它证明本机最终启动命令和 stdio MCP 通路可用,但不会读取
|
|
40
41
|
客户端实际生效的配置,也不能检查任意客户端 trust、客户端配置缓存或 MCP Roots。
|
|
42
|
+
Windows 物化 runtime 目录时,如果系统递归复制返回 `EIO`、`EACCES` 或 `EPERM`,安装器会自动
|
|
43
|
+
回退为逐项复制;其它错误仍原样返回,便于保留真实诊断。
|
|
41
44
|
只有明确检查 npm 启动链路时才追加 `--mode npx`;发布包会固定当前精确版本并使用专用可写 cache。
|
|
42
45
|
如果当前 shell 找不到 `taptap-maker`,优先复用客户端配置中的绝对 command/args;最后才用当前
|
|
43
46
|
精确版本的 npx 命令启动 CLI,禁止省略版本落到 npm `latest`。
|
|
@@ -55,6 +58,22 @@ config path、command、有序 args、cwd、workspace/Roots、Node/npm/npx 路
|
|
|
55
58
|
对于已经连接的会话,`mcp verify` 不是首要检查。它只验证本地 launcher 和 stdio MCP 通路,不能解释单次
|
|
56
59
|
tool/resource 调用中的请求校验、项目上下文、远端响应或业务错误。用户 AI 应先保存以下证据:
|
|
57
60
|
|
|
61
|
+
`MCP error -32001: Request timed out` 只证明某一层请求预算耗尽,根因仍是 `unconfirmed`。如果错误
|
|
62
|
+
来自客户端自身的固定超时,Maker MCP 甚至无法返回诊断结果;如果 Maker MCP 捕获到它,构建结果会附带
|
|
63
|
+
只读的本地进程、Node 和 cwd/project 对齐摘要。先通过活动客户端相同的 Maker launcher 对该项目运行
|
|
64
|
+
doctor(独立 CLI 等价命令为 `taptap-maker doctor --target-dir <PROJECT_DIR>`),再核对活动客户端真实
|
|
65
|
+
command、args、cwd/Roots、会话/tool 注册和 request timeout。doctor 不能读取活动客户端配置;没有
|
|
66
|
+
HTTP 5xx、服务端日志或服务状态等证据时,不得称为 Maker server 故障,也不要盲目重复构建。
|
|
67
|
+
|
|
68
|
+
`code_submit` 或无法分类的构建执行失败会附带 `local_execution_check`。在 Windows AI 客户端中,
|
|
69
|
+
检查 PowerShell、CLI、Git 或 MCP 命令是否被沙盒拦截;对可信项目可开启 Full Access
|
|
70
|
+
(“完全访问模式”)并重连 MCP。只有明确的本地 PowerShell/进程拦截证据才会标记
|
|
71
|
+
`restriction_signal: detected`;远端 Git 返回的 `sandbox` 文本不会被当成本地信号。远端构建失败
|
|
72
|
+
必须先检查返回的代码和资源诊断,只有本地命令也被拦截时才把沙盒作为次要排查项;已知项目配置、
|
|
73
|
+
鉴权/上下文或结构错误不提示 Full Access。Maker MCP 无法读取客户端访问模式,因此该检查不是根因结论。
|
|
74
|
+
本地 Tap auth 或 `user_id` 上下文准备失败会明确返回 `failure_stage: local_build_context`、
|
|
75
|
+
`remote_build_status: not_started` 和原始 login/init 恢复动作,不应解释成远端构建失败。
|
|
76
|
+
|
|
58
77
|
远端 Maker 构建中的 Lua/LSP 编译错误是工具级业务失败。代理会把带 `error.data.remote_result` 的
|
|
59
78
|
上游 MCP 协议异常转换成 `CallToolResult.isError: true`,原始编译诊断放在 `content` 和
|
|
60
79
|
`remote_result` 中;这类错误不应触发重连,也不应被“TapTap MCP Server is currently unavailable”
|
|
@@ -141,7 +160,7 @@ macOS/Linux:
|
|
|
141
160
|
|
|
142
161
|
```text
|
|
143
162
|
command: npx
|
|
144
|
-
args: ["-y", "-p", "@taptap/maker@0.0.32-beta.
|
|
163
|
+
args: ["-y", "-p", "@taptap/maker@0.0.32-beta.3", "taptap-maker"]
|
|
145
164
|
```
|
|
146
165
|
|
|
147
166
|
上面的 macOS/Linux npx 形式只是显式兼容模式;默认同样是绝对 Node + 版本化 self runtime。
|
|
@@ -246,7 +265,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
246
265
|
例如,配置使用 Windows 绝对 Node/npm CLI 时,按相同顺序复现:
|
|
247
266
|
|
|
248
267
|
```bat
|
|
249
|
-
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.32-beta.
|
|
268
|
+
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.32-beta.3 -- taptap-maker
|
|
250
269
|
```
|
|
251
270
|
|
|
252
271
|
然后用该 CLI 执行 `mcp verify --json`;不要只用 `help` 代替 MCP 协议握手。
|
|
@@ -254,7 +273,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
254
273
|
配置使用 macOS/Linux 标准 argv 时:
|
|
255
274
|
|
|
256
275
|
```bash
|
|
257
|
-
npx -y -p @taptap/maker@0.0.32-beta.
|
|
276
|
+
npx -y -p @taptap/maker@0.0.32-beta.3 taptap-maker help
|
|
258
277
|
```
|
|
259
278
|
|
|
260
279
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -277,7 +296,7 @@ npx -y -p @taptap/maker@0.0.32-beta.1 taptap-maker help
|
|
|
277
296
|
作为可选恢复方式,并先备份实际生效的配置:
|
|
278
297
|
|
|
279
298
|
```bash
|
|
280
|
-
npx -y -p @taptap/maker@0.0.32-beta.
|
|
299
|
+
npx -y -p @taptap/maker@0.0.32-beta.3 taptap-maker mcp install --launcher self
|
|
281
300
|
```
|
|
282
301
|
|
|
283
302
|
Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm 的绝对路径启动这一次 CLI;安装器
|
|
@@ -309,7 +328,7 @@ Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm
|
|
|
309
328
|
指纹打扰。用户明确同意后无需第二次确认,AI 将已脱敏的当前会话错误 JSON 通过 stdin 传入:
|
|
310
329
|
|
|
311
330
|
```text
|
|
312
|
-
npx -y --package @taptap/maker@0.0.32-beta.
|
|
331
|
+
npx -y --package @taptap/maker@0.0.32-beta.3 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
313
332
|
```
|
|
314
333
|
|
|
315
334
|
优先原样复用当前客户端 Maker MCP 配置中的 command 和有序 args,再追加上述 `mcp report`
|
|
@@ -322,6 +341,10 @@ CLI 会读取当前客户端的 `taptap-maker` 配置项、执行有短超时保
|
|
|
322
341
|
主目录统一替换为 `~`。错误、`remote_result` 和请求参数保留非敏感结构,方便服务端按
|
|
323
342
|
request/correlation ID 继续定位。
|
|
324
343
|
|
|
344
|
+
stdin 上下文必须至少包含非空的 `error_code`、`failed_operation` 或 `error_message`。空输入、只有
|
|
345
|
+
默认摘要的输入,以及精确的 `Need to call maker_build_current_directory` 正常构建前置提示,会在
|
|
346
|
+
收集本地诊断和调用 GitHub 前返回 `invalid_context`;`EIO`、`401` 等短错误仍是有效上下文。
|
|
347
|
+
|
|
325
348
|
成功时返回 `created` 和 Issue URL。GitHub CLI 不存在、未登录、网络不可达、超时或提交失败时返回
|
|
326
349
|
`manual_required`、脱敏标题/正文和手动 Issue 地址,命令仍成功结束;AI 应明显告知用户没有自动
|
|
327
350
|
提交,并展示可复制报告,然后继续原排障或开发任务。不带 `--consent` 时返回
|
package/package.json
CHANGED
|
@@ -72,20 +72,24 @@ Keep this split clear:
|
|
|
72
72
|
Do not reimplement Maker API calls or Git authentication in shell when the Maker CLI or MCP tool
|
|
73
73
|
exists.
|
|
74
74
|
|
|
75
|
+
When `taptap-maker-plugin-lifecycle` is bundled, follow it before this workflow. Resolve and use the
|
|
76
|
+
plugin's bundled CLI, initialize with `taptap-maker init --skip-mcp-install`, and update through the
|
|
77
|
+
active plugin's marketplace instead of installing or upgrading a standalone Maker MCP package.
|
|
78
|
+
|
|
75
79
|
## Main Intent Table
|
|
76
80
|
|
|
77
|
-
| User intent | Required workflow
|
|
78
|
-
| --------------------------------------------------------- |
|
|
79
|
-
| initialize / configure / continue Maker local development | Run the Maker CLI initialization workflow.
|
|
80
|
-
| clone / download Maker project locally | Follow "Initialization Workflow"; do not ask for app_id directly.
|
|
81
|
-
| status / is Maker ready | Read `maker://status`, call `maker_status_lite` if resources are unavailable, then follow `AGENTS.md` and `Maker remote sync` hints if present.
|
|
82
|
-
| upgrade Maker MCP / old project policy |
|
|
83
|
-
| submit / commit / push to Maker | Inspect local Git state, summarize changed files, then call `maker_build_current_directory` unless blocked.
|
|
84
|
-
| pull / update from remote | Inspect local changes first; if dirty, explain options before pulling.
|
|
85
|
-
| conflict / merge failed | Explain why the conflict happened, list conflict files, inspect conflict hunks, propose a resolution plan, and ask before editing.
|
|
86
|
-
| build / preview / run / check game result | Use `maker_build_current_directory`; it starts the local runtime log watcher after a successful remote build result.
|
|
87
|
-
| generic code validation / tests / lint | Do not use Maker remote build unless the user explicitly asks to build, run, or preview the Maker game.
|
|
88
|
-
| MCP unavailable / proxy timeout / unexpected server error | Diagnose first; offer one consent-gated GitHub issue report when the evidence suggests an MCP, proxy, client integration, or service defect.
|
|
81
|
+
| User intent | Required workflow |
|
|
82
|
+
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
83
|
+
| initialize / configure / continue Maker local development | Run the Maker CLI initialization workflow. |
|
|
84
|
+
| clone / download Maker project locally | Follow "Initialization Workflow"; do not ask for app_id directly. |
|
|
85
|
+
| status / is Maker ready | Read `maker://status`, call `maker_status_lite` if resources are unavailable, then follow `AGENTS.md` and `Maker remote sync` hints if present. |
|
|
86
|
+
| upgrade Maker MCP / old project policy | Follow the active distribution's update skill. Plugin users update through the active plugin's marketplace; standalone MCP users run `taptap-maker upgrade` for the current project only. |
|
|
87
|
+
| submit / commit / push to Maker | Inspect local Git state, summarize changed files, then call `maker_build_current_directory` unless blocked. |
|
|
88
|
+
| pull / update from remote | Inspect local changes first; if dirty, explain options before pulling. |
|
|
89
|
+
| conflict / merge failed | Explain why the conflict happened, list conflict files, inspect conflict hunks, propose a resolution plan, and ask before editing. |
|
|
90
|
+
| build / preview / run / check game result | Use `maker_build_current_directory`; it starts the local runtime log watcher after a successful remote build result. |
|
|
91
|
+
| generic code validation / tests / lint | Do not use Maker remote build unless the user explicitly asks to build, run, or preview the Maker game. |
|
|
92
|
+
| MCP unavailable / proxy timeout / unexpected server error | Diagnose first; offer one consent-gated GitHub issue report when the evidence suggests an MCP, proxy, client integration, or service defect. |
|
|
89
93
|
|
|
90
94
|
## Create New Maker Project Intent
|
|
91
95
|
|
|
@@ -157,6 +161,11 @@ supports it. Follow the selected tool schema when one of these tools is used.
|
|
|
157
161
|
- Use `batch_generate_images` for multiple images.
|
|
158
162
|
- Use `edit_image` for modifying project images.
|
|
159
163
|
- Use `create_video_task` for game videos and image/video referenced generation.
|
|
164
|
+
- Only call `create_video_task` after the user explicitly requests video generation. Do not generate
|
|
165
|
+
video proactively while implementing gameplay, filling asset gaps, or improving the game.
|
|
166
|
+
- When duration exceeds 10 seconds or `model="2.5"`, show the rough credit estimate and explain that
|
|
167
|
+
actual billing follows upstream token usage. Wait for explicit confirmation, then repeat the same
|
|
168
|
+
request with `user_confirmed=true`.
|
|
160
169
|
- Use `query_video_task` to refresh video task status, release completed task quota, and fetch final videos.
|
|
161
170
|
- Use `text_to_music` for game music with Suno.
|
|
162
171
|
- Use `text_to_sound_effect` for one sound effect with Doubao Seed Audio.
|
|
@@ -227,12 +236,12 @@ A directory is a Maker project when the user's current project directory or one
|
|
|
227
236
|
When this file exists, explain that the directory is already bound to a Maker project.
|
|
228
237
|
|
|
229
238
|
For a bound project, always inspect `maker://status` or `maker_status_lite` before continuing
|
|
230
|
-
development after an MCP/package upgrade. If the status includes an `AGENTS.md` section
|
|
231
|
-
`status: missing_file`, `missing_block`, or `outdated`, run
|
|
232
|
-
`taptap-maker agents update --target-dir <project dir>`
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
239
|
+
development after an MCP/package or plugin upgrade. If the status includes an `AGENTS.md` section
|
|
240
|
+
with `status: missing_file`, `missing_block`, or `outdated`, run
|
|
241
|
+
`taptap-maker agents update --target-dir <project dir>` before making gameplay/code changes. After
|
|
242
|
+
updating `AGENTS.md`, tell the user the current session remains usable; updated instructions load on
|
|
243
|
+
the next MCP start or user-requested reconnect. Do not require a new conversation. Package or plugin
|
|
244
|
+
updates are a separate workflow and must follow the active distribution's update skill.
|
|
236
245
|
|
|
237
246
|
When this file is missing and the user asks to clone, initialize, or continue Maker local
|
|
238
247
|
development, do not ask the user for an app_id directly. Follow the initialization workflow.
|
|
@@ -383,7 +392,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
383
392
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
384
393
|
|
|
385
394
|
```text
|
|
386
|
-
npx -y --package @taptap/maker@0.0.32-beta.
|
|
395
|
+
npx -y --package @taptap/maker@0.0.32-beta.3 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
387
396
|
```
|
|
388
397
|
|
|
389
398
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|
|
@@ -662,8 +671,8 @@ When `taptap-maker doctor`, `maker://status`, or `maker_status_lite` reports Tap
|
|
|
662
671
|
skills, show the skill names and document paths. Do not install or register skills automatically.
|
|
663
672
|
|
|
664
673
|
`taptap-maker-local` covers Maker local workflow. `taptap-maker-dev-kit-guide` explains the local
|
|
665
|
-
AI dev-kit resources installed during clone. `update-taptap-mcp` covers
|
|
666
|
-
|
|
674
|
+
AI dev-kit resources installed during clone. `update-taptap-mcp` covers the active distribution's
|
|
675
|
+
supported update workflow.
|
|
667
676
|
|
|
668
677
|
Prefer user/global scope for Maker MCP installation. If a project/local config already exists,
|
|
669
678
|
do not block the workflow; just explain that user/global scope is recommended to avoid config
|