@taptap/maker 0.0.26-beta.2 → 0.0.26-beta.4

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.
@@ -60,6 +60,13 @@ command、status、signal、stdout、stderr、error 和 failure_type。它不会
60
60
  对于已经连接的会话,`mcp verify` 不是首要检查。它只验证标准 npx/CLI 启动链路,不能解释单次
61
61
  tool/resource 调用中的请求校验、项目上下文、远端响应或业务错误。用户 AI 应先保存以下证据:
62
62
 
63
+ 远端 Maker 构建中的 Lua/LSP 编译错误是工具级业务失败。代理会把带 `error.data.remote_result` 的
64
+ 上游 MCP 协议异常转换成 `CallToolResult.isError: true`,原始编译诊断放在 `content` 和
65
+ `remote_result` 中;这类错误不应触发重连,也不应被“TapTap MCP Server is currently unavailable”
66
+ 替换。Maker 本地重试器也会根据 `error.data.remote_result` 和 MCP 错误码跳过业务错误重试,避免
67
+ 同一次构建被重复提交。明确的 proxy unavailable、连接断开、会话失效、请求超时或 HTTP 5xx 才按
68
+ 重试策略处理;pending 请求重放期间再次断线时,未完成队列会保留到下一轮退避重连。
69
+
63
70
  - 失败的 tool/resource 名称,以及可稳定复现的操作步骤。
64
71
  - 完整但已脱敏的请求参数;保留字段名、类型和结构,不保留 PAT、token、Authorization、Cookie、
65
72
  secret 或其它凭证值。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taptap/maker",
3
- "version": "0.0.26-beta.2",
3
+ "version": "0.0.26-beta.4",
4
4
  "type": "module",
5
5
  "description": "TapTap Maker local development CLI and MCP server",
6
6
  "main": "dist/maker.js",
@@ -37,8 +37,9 @@ editing project JSON directly. `entry_client` / `entry_server` map to `project.j
37
37
  `entry@client` / `entry@server`; `multiplayer.enabled`, `max_players`, `background_match`,
38
38
  `match_info`, and `persistent_world` map to `.project/settings.json` `@runtime.multiplayer`.
39
39
  On the first multiplayer build, pass `multiplayer.enabled=true` together with
40
- `entry_client` / `entry_server`; single-player defaults are only injected when no multiplayer entry
41
- is provided. The remote build keeps omitted multiplayer fields unchanged on later builds.
40
+ `entry_client` / `entry_server`. Send multiplayer settings only when the user explicitly provides
41
+ them; missing local `.project/settings.json` must not inject `enabled=false`. The remote build keeps
42
+ omitted multiplayer fields unchanged on later builds.
42
43
 
43
44
  Maker status, status_lite, and doctor run a lightweight `.project/settings.json` health check.
44
45
  Normal `maker_build_current_directory` blocks before commit/push when settings JSON is invalid or
@@ -189,19 +190,19 @@ This guidance helps users prefer Maker-managed tools for Maker game assets.
189
190
  use the returned local model path. The local proxy materializes only the `model_files` copy/extract
190
191
  instructions returned by the local runtime; report `delivery_failures` when no model can be delivered.
191
192
  - For any ad-related request such as 广告, rewarded videos, play ads, ad ID, ad placement,
192
- ad status, ad config, or `ShowRewardVideoAd`, call `get_ad_config` first to get the
193
- current project ad activation status and ad config.
193
+ ad status, ad config, or `ShowRewardVideoAd`, inspect Maker project status first. Call
194
+ `get_ad_config` only after the primary local project configs are initialized.
194
195
  - Do not infer ad readiness from local SDK docs, `.maker-mcp/config.json`, or runtime callbacks.
195
- If `.project/project.json` is missing, build once with `maker_build_current_directory` to
196
- initialize the project, then call `get_ad_config` again. Implement or test ad code only
197
- after the config is available.
196
+ If the primary local project configs are missing, keep ad config unavailable and do not call the
197
+ remote tool. Build only for an explicit user build/submit/preview request. If a successful build
198
+ still leaves local configs missing, explain the known limitation and do not automatically rebuild.
198
199
  - If `get_ad_config` reports missing `app_id` or `developer_id`, call `generate_test_qrcode` once
199
200
  to generate test QR code metadata, then call `get_ad_config` again. Do not use publish-only tools
200
201
  for this recovery path.
201
202
  - If status or doctor reports `Maker project initialization` with `missing_project_json` or
202
203
  `missing_taptap_identity`, follow that `next_action` before using tools that depend on remote
203
- project config. A first build is only valid when `.project` does not exist; if `.project` already
204
- exists and `project.json` was deleted, restore it from Git or an intact copy first.
204
+ project config. `.project` directory presence alone is never proof of initialization; empty,
205
+ voice-mapping-only, and primary-config-incomplete directories remain buildable new-project state.
205
206
  - For online player feedback, problem reports, issue reports, debug feedback, real-device logs,
206
207
  screenshots, 问题反馈, 问题上报, 真机日志, or 玩家反馈, call the Maker proxy
207
208
  `get_debug_feedbacks` tool when available.