@taptap/maker 0.0.28-beta.1 → 0.0.28
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 +1 -1
- package/dist/maker.js +26 -28
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +11 -16
package/README.md
CHANGED
package/dist/maker.js
CHANGED
|
@@ -29164,8 +29164,10 @@ var MAKER_CAPABILITY_ROUTING_INDEX = `TapTap Maker routing index:
|
|
|
29164
29164
|
- Build, preview, run, submit, or push: after checking project status, use
|
|
29165
29165
|
maker_build_current_directory.
|
|
29166
29166
|
- Ads: read maker://ads-integration-guide before any ad-related work.
|
|
29167
|
-
- Tap flows: test QR -> generate_test_qrcode; online player feedback
|
|
29168
|
-
screenshots
|
|
29167
|
+
- Tap flows: test QR -> generate_test_qrcode; current Maker game's online player feedback
|
|
29168
|
+
(including player-submitted game bug reports, real-device game logs, or screenshots), or
|
|
29169
|
+
server/Lua logs for a specified game session -> call get_debug_feedbacks only when it is
|
|
29170
|
+
exposed by the current Maker tool list.
|
|
29169
29171
|
- Game assets: Maker MCP also provides image, video, music, sound-effect,
|
|
29170
29172
|
dialogue/voice, and 3D generation tools when exposed.
|
|
29171
29173
|
|
|
@@ -29343,16 +29345,20 @@ function createMakerAgentsPolicyBody() {
|
|
|
29343
29345
|
"",
|
|
29344
29346
|
"Maker feedback workflow:",
|
|
29345
29347
|
"",
|
|
29346
|
-
"- For user requests about
|
|
29347
|
-
"
|
|
29348
|
-
" the Maker proxy `get_debug_feedbacks` tool
|
|
29348
|
+
"- For user requests about the current Maker game's online player feedback, including",
|
|
29349
|
+
" player-submitted game bug reports, real-device game logs, or screenshots, or server/Lua",
|
|
29350
|
+
" logs for a specified game session, call the Maker proxy `get_debug_feedbacks` tool only",
|
|
29351
|
+
" when it is exposed by the current Maker tool list.",
|
|
29352
|
+
"- This includes 当前 Maker 游戏的玩家反馈、玩家提交的游戏故障、真机游戏日志或截图、",
|
|
29353
|
+
" 指定游戏会话的服务端/Lua 日志. It does not include AI client, plugin, or other product",
|
|
29354
|
+
" feedback.",
|
|
29349
29355
|
"- Use local runtime log files only for the current local build/runtime session. Do not use",
|
|
29350
29356
|
" local logs as a substitute for remote player-submitted feedback.",
|
|
29351
29357
|
"- Follow the remote tool schema and return the feedback records, logs, screenshots, and",
|
|
29352
29358
|
" full error payloads as provided by the remote Maker MCP server.",
|
|
29353
29359
|
"",
|
|
29354
|
-
"
|
|
29355
|
-
"
|
|
29360
|
+
"Maker MCP provides the following game asset generation and editing tools when they are",
|
|
29361
|
+
"exposed in the current session:",
|
|
29356
29362
|
"",
|
|
29357
29363
|
"- `generate_image` for one image asset.",
|
|
29358
29364
|
"- `batch_generate_images` for multiple image assets.",
|
|
@@ -29374,17 +29380,13 @@ function createMakerAgentsPolicyBody() {
|
|
|
29374
29380
|
" option inspection, and post-processing.",
|
|
29375
29381
|
"- Never automatically continue a 3D review step. Show returned previews and wait for explicit",
|
|
29376
29382
|
' user approval before calling `create_3d_asset` with `action="continue"`.',
|
|
29383
|
+
"- Follow the selected tool schema when one of these tools is used.",
|
|
29377
29384
|
"",
|
|
29378
29385
|
"Follow each Maker tool schema for supported local path, remote URL, and data URL inputs.",
|
|
29379
29386
|
"If the user references attached/local media, inspect the attachment or workspace file path",
|
|
29380
29387
|
"before calling the tool. Local proxy may convert resolvable local reference media to data URLs",
|
|
29381
29388
|
"before forwarding to the remote Maker MCP server.",
|
|
29382
29389
|
"",
|
|
29383
|
-
"If the required Maker proxy tool is not exposed in the current AI session, explain that the",
|
|
29384
|
-
"Maker proxy tool is unavailable and suggest checking/reconnecting the Maker MCP session.",
|
|
29385
|
-
"Other client media tools may still be usable when their output is passed back through a supported",
|
|
29386
|
-
"local path, remote URL, or data URL input.",
|
|
29387
|
-
"",
|
|
29388
29390
|
"Generated Maker proxy assets should stay in the Maker project asset workflow under",
|
|
29389
29391
|
"`assets/image`, `assets/video`, `assets/audio`, or `assets/model`, with remote mappings",
|
|
29390
29392
|
"preserved for later edits and builds.",
|
|
@@ -32424,8 +32426,8 @@ function formatMakerSkillStatus(_options = {}) {
|
|
|
32424
32426
|
"",
|
|
32425
32427
|
"Maker proxy tool policy",
|
|
32426
32428
|
`- entry: ${MAKER_LOCAL_SKILL_NAME} > Maker Creative Asset Tool Policy`,
|
|
32427
|
-
"-
|
|
32428
|
-
"-
|
|
32429
|
+
"- Maker MCP provides image, video, music, sound-effect, dialogue/voice, and 3D asset tools for Maker projects.",
|
|
32430
|
+
"- Follow the selected tool schema when one of these tools is used.",
|
|
32429
32431
|
"- Use generate_image, batch_generate_images, edit_image for game image assets.",
|
|
32430
32432
|
"- Use create_video_task and query_video_task for game video assets.",
|
|
32431
32433
|
"- Use text_to_music for game music.",
|
|
@@ -32443,7 +32445,7 @@ function formatMakerSkillStatus(_options = {}) {
|
|
|
32443
32445
|
"- Do not infer ad readiness from local SDK docs, .maker-mcp/config.json, or runtime callbacks.",
|
|
32444
32446
|
"- If primary local project configs are missing, keep ad config unavailable. Build only for an explicit user build/submit/preview request, and do not automatically rebuild when local configs remain missing after success.",
|
|
32445
32447
|
"- If get_ad_config reports missing app_id or developer_id, call generate_test_qrcode once, then call get_ad_config again.",
|
|
32446
|
-
"- For online player feedback,
|
|
32448
|
+
"- For the current Maker game's online player feedback, including player-submitted game bug reports, real-device game logs, or screenshots, or server/Lua logs for a specified game session, call get_debug_feedbacks only when it is exposed by the current Maker tool list.",
|
|
32447
32449
|
"- Use local runtime logs only for the current local build/runtime session.",
|
|
32448
32450
|
"- Generated assets are saved under assets/image, assets/video, assets/audio, or assets/model with remote mappings.",
|
|
32449
32451
|
"- Follow each tool schema for supported local path, remote URL, and data URL inputs.",
|
|
@@ -36304,7 +36306,7 @@ function applyDefaults(config2) {
|
|
|
36304
36306
|
var MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
|
|
36305
36307
|
var MAKER_MCP_TRACKING_SOURCE = "local_mcp";
|
|
36306
36308
|
var MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
|
|
36307
|
-
var MAKER_MCP_VERSION = "0.0.28
|
|
36309
|
+
var MAKER_MCP_VERSION = "0.0.28".trim() ? "0.0.28".trim() : "dev";
|
|
36308
36310
|
var TRACKING_ERROR_MAX_LENGTH = 500;
|
|
36309
36311
|
function buildMakerMcpTrackingPayload(event) {
|
|
36310
36312
|
var _a3, _b, _c;
|
|
@@ -36617,7 +36619,7 @@ function createMakerRemoteProxyManager(options = {}) {
|
|
|
36617
36619
|
}
|
|
36618
36620
|
|
|
36619
36621
|
// src/maker/server/mcp.ts
|
|
36620
|
-
var VERSION = true ? "0.0.28
|
|
36622
|
+
var VERSION = true ? "0.0.28" : "dev";
|
|
36621
36623
|
var DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
36622
36624
|
var DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
|
|
36623
36625
|
var DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
|
|
@@ -36945,37 +36947,33 @@ function remoteProxyToolGuidance(toolName) {
|
|
|
36945
36947
|
case "generate_image":
|
|
36946
36948
|
case "batch_generate_images":
|
|
36947
36949
|
return [
|
|
36948
|
-
"**Maker asset workflow hint:**
|
|
36950
|
+
"**Maker asset workflow hint:** Successful results are downloaded into the Maker project and recorded with remote mapping for later edits or video references.",
|
|
36949
36951
|
localMediaSizeHint,
|
|
36950
36952
|
failurePolicy
|
|
36951
36953
|
].join(" ");
|
|
36952
36954
|
case "edit_image":
|
|
36953
|
-
return [
|
|
36954
|
-
"**Maker asset workflow hint:** In a bound Maker project, prefer this Maker MCP proxy tool for image editing.",
|
|
36955
|
-
localMediaSizeHint,
|
|
36956
|
-
failurePolicy
|
|
36957
|
-
].join(" ");
|
|
36955
|
+
return [localMediaSizeHint, failurePolicy].join(" ");
|
|
36958
36956
|
case "create_video_task":
|
|
36959
36957
|
return [
|
|
36960
|
-
"**Maker asset workflow hint:**
|
|
36958
|
+
"**Maker asset workflow hint:** Image, video, and audio references may use remote URLs, existing data URLs, or resolvable local files that the local proxy can forward as data URLs.",
|
|
36961
36959
|
localMediaSizeHint,
|
|
36962
36960
|
failurePolicy
|
|
36963
36961
|
].join(" ");
|
|
36964
36962
|
case "query_video_task":
|
|
36965
36963
|
return [
|
|
36966
|
-
"**Maker asset workflow hint:**
|
|
36964
|
+
"**Maker asset workflow hint:** Refreshing video task status releases completed task quota and materializes successful video results into the Maker project.",
|
|
36967
36965
|
"Use this Maker MCP proxy tool to refresh video task status when create_video_task returns a task_id or reports video concurrency limits.",
|
|
36968
36966
|
failurePolicy
|
|
36969
36967
|
].join(" ");
|
|
36970
36968
|
case "text_to_music":
|
|
36971
36969
|
return [
|
|
36972
|
-
"**Maker asset workflow hint:**
|
|
36970
|
+
"**Maker asset workflow hint:** Generated audio can be materialized into the project and recorded for later Maker references.",
|
|
36973
36971
|
failurePolicy
|
|
36974
36972
|
].join(" ");
|
|
36975
36973
|
case "text_to_sound_effect":
|
|
36976
36974
|
case "batch_sound_effects":
|
|
36977
36975
|
return [
|
|
36978
|
-
"**Maker asset workflow hint:**
|
|
36976
|
+
"**Maker asset workflow hint:** Successful audio is materialized in its original format under assets/audio/sfx and recorded for later Maker references.",
|
|
36979
36977
|
failurePolicy
|
|
36980
36978
|
].join(" ");
|
|
36981
36979
|
case "text_to_dialogue":
|
|
@@ -39754,7 +39752,7 @@ function uniqueStrings(values) {
|
|
|
39754
39752
|
}
|
|
39755
39753
|
|
|
39756
39754
|
// src/maker/cli/commands.ts
|
|
39757
|
-
var VERSION2 = true ? "0.0.28
|
|
39755
|
+
var VERSION2 = true ? "0.0.28" : "dev";
|
|
39758
39756
|
var DEFAULT_MCP_NAME = "taptap-maker";
|
|
39759
39757
|
var MAKER_NPM_PACKAGE = "@taptap/maker";
|
|
39760
39758
|
var TWO_PART_COMMANDS = /* @__PURE__ */ new Set(["pat", "mcp", "dev-kit", "logs", "python", "lua-lsp", "agents"]);
|
package/package.json
CHANGED
|
@@ -146,16 +146,10 @@ selected files.
|
|
|
146
146
|
|
|
147
147
|
## Maker Creative Asset Tool Policy
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
This guidance helps users prefer Maker-managed tools for Maker game assets.
|
|
155
|
-
|
|
156
|
-
- Prefer Maker proxy tools for Maker project asset requests when the Maker proxy tool is callable.
|
|
157
|
-
- If the required Maker proxy tool is not exposed in the current AI session, tell the user that
|
|
158
|
-
Maker proxy tools are unavailable in this session.
|
|
149
|
+
Maker MCP provides image, video, music, sound-effect, dialogue/voice, and 3D asset tools for Maker
|
|
150
|
+
projects. These tools keep generated files inside the project, record remote mappings for later
|
|
151
|
+
editing, and can forward resolvable local reference media as data URLs when the remote tool schema
|
|
152
|
+
supports it. Follow the selected tool schema when one of these tools is used.
|
|
159
153
|
|
|
160
154
|
- Use `generate_image` for one image.
|
|
161
155
|
- Use `batch_generate_images` for multiple images.
|
|
@@ -204,9 +198,12 @@ This guidance helps users prefer Maker-managed tools for Maker game assets.
|
|
|
204
198
|
`missing_taptap_identity`, follow that `next_action` before using tools that depend on remote
|
|
205
199
|
project config. `.project` directory presence alone is never proof of initialization; empty,
|
|
206
200
|
voice-mapping-only, and primary-config-incomplete directories remain buildable new-project state.
|
|
207
|
-
- For online player feedback,
|
|
208
|
-
screenshots,
|
|
209
|
-
`get_debug_feedbacks` tool when
|
|
201
|
+
- For the current Maker game's online player feedback, including player-submitted game bug reports,
|
|
202
|
+
real-device game logs, or screenshots, or server/Lua logs for a specified game session,
|
|
203
|
+
call the Maker proxy `get_debug_feedbacks` tool only when it is exposed by the current Maker tool list.
|
|
204
|
+
This includes 当前 Maker 游戏的玩家反馈、
|
|
205
|
+
玩家提交的游戏故障、真机游戏日志或截图、指定游戏会话的服务端/Lua 日志. It does not include
|
|
206
|
+
AI client, plugin, or other product feedback.
|
|
210
207
|
- Use local runtime log files only for the current local build/runtime session. Do not use local logs
|
|
211
208
|
as a substitute for remote player-submitted feedback.
|
|
212
209
|
- Before `edit_image`, resolve dragged or referenced images to a local project image path or CDN
|
|
@@ -218,8 +215,6 @@ This guidance helps users prefer Maker-managed tools for Maker game assets.
|
|
|
218
215
|
Generated assets should be saved by Maker MCP under `assets/image`, `assets/video`, or
|
|
219
216
|
`assets/audio`. `create_3d_asset` local runtime `model_files` instructions are materialized under
|
|
220
217
|
`assets/model`; use `local_delivery` for the usable model path and `preview_assets` for local review images.
|
|
221
|
-
Do not prefer client-native image generation when the user is asking for Maker game assets in a
|
|
222
|
-
bound project.
|
|
223
218
|
|
|
224
219
|
## Project Detection
|
|
225
220
|
|
|
@@ -337,7 +332,7 @@ suggesting repeated restarts:
|
|
|
337
332
|
MCP Roots, and actual process cwd evidence instead.
|
|
338
333
|
|
|
339
334
|
When Maker proxy tools are missing, explain that this is likely a session/configuration problem and
|
|
340
|
-
that
|
|
335
|
+
that requests specifically requiring those tools cannot use them in the current session.
|
|
341
336
|
|
|
342
337
|
## Initialization Workflow
|
|
343
338
|
|