@taptap/maker 0.0.32-beta.2 → 0.0.32

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.
@@ -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.2", "taptap-maker"]
163
+ args: ["-y", "-p", "@taptap/maker@0.0.32", "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.2 -- taptap-maker
268
+ "<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.32 -- 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.2 taptap-maker help
276
+ npx -y -p @taptap/maker@0.0.32 taptap-maker help
258
277
  ```
259
278
 
260
279
  如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
@@ -277,7 +296,7 @@ npx -y -p @taptap/maker@0.0.32-beta.2 taptap-maker help
277
296
  作为可选恢复方式,并先备份实际生效的配置:
278
297
 
279
298
  ```bash
280
- npx -y -p @taptap/maker@0.0.32-beta.2 taptap-maker mcp install --launcher self
299
+ npx -y -p @taptap/maker@0.0.32 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.2 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
331
+ npx -y --package @taptap/maker@0.0.32 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taptap/maker",
3
- "version": "0.0.32-beta.2",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
5
  "description": "TapTap Maker local development CLI and MCP server",
6
6
  "main": "dist/maker.js",
@@ -161,6 +161,11 @@ supports it. Follow the selected tool schema when one of these tools is used.
161
161
  - Use `batch_generate_images` for multiple images.
162
162
  - Use `edit_image` for modifying project images.
163
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`.
164
169
  - Use `query_video_task` to refresh video task status, release completed task quota, and fetch final videos.
165
170
  - Use `text_to_music` for game music with Suno.
166
171
  - Use `text_to_sound_effect` for one sound effect with Doubao Seed Audio.
@@ -387,7 +392,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
387
392
  Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
388
393
 
389
394
  ```text
390
- npx -y --package @taptap/maker@0.0.32-beta.2 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
395
+ npx -y --package @taptap/maker@0.0.32 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
391
396
  ```
392
397
 
393
398
  Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp