@taptap/maker 0.0.37-beta.8 → 0.0.37-beta.9
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
CHANGED
|
@@ -23,7 +23,7 @@ taptap-maker install
|
|
|
23
23
|
taptap-maker mcp verify
|
|
24
24
|
taptap-maker mcp install --launcher npx
|
|
25
25
|
taptap-maker mcp verify --mode npx
|
|
26
|
-
npx -y --package @taptap/maker@0.0.37-beta.
|
|
26
|
+
npx -y --package @taptap/maker@0.0.37-beta.9 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
27
27
|
taptap-maker agents update
|
|
28
28
|
taptap-maker upgrade
|
|
29
29
|
taptap-maker dev-kit update
|
|
@@ -56,10 +56,10 @@ It does not include the legacy TapTap Open API MCP server, proxy, native signer,
|
|
|
56
56
|
or OpenClaw plugin package contents.
|
|
57
57
|
|
|
58
58
|
For likely Maker MCP/proxy infrastructure failures, the bundled workflow asks for user consent once
|
|
59
|
-
before running `npx -y --package @taptap/maker@0.0.37-beta.
|
|
59
|
+
before running `npx -y --package @taptap/maker@0.0.37-beta.9 taptap-maker mcp report`. The command submits a sanitized GitHub Issue only with
|
|
60
60
|
`--consent`; unavailable GitHub CLI, auth, or network returns `manual_required` with a copyable
|
|
61
61
|
report and never blocks the original Maker task.
|
|
62
62
|
|
|
63
63
|
Full connection and tool-call troubleshooting guide: `docs/MAKER_MCP_CONNECTION_TROUBLESHOOTING.md`.
|
|
64
64
|
|
|
65
|
-
Version: 0.0.37-beta.
|
|
65
|
+
Version: 0.0.37-beta.9
|
package/dist/maker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// TapTap Maker MCP - Standalone Bundle
|
|
3
|
-
// TapTap Maker MCP version: 0.0.37-beta.
|
|
3
|
+
// TapTap Maker MCP version: 0.0.37-beta.9
|
|
4
4
|
import { createRequire } from 'node:module';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
const __MAKER_BUNDLE_URL__ = import.meta.url;
|
|
@@ -30387,7 +30387,7 @@ function createMakerAgentsPolicyBody() {
|
|
|
30387
30387
|
" `mcp report --ide <client> --target-dir <project> --context-stdin --consent --json`.",
|
|
30388
30388
|
"- This preserves the configured package version and the absolute Windows node.exe/npm-cli.js.",
|
|
30389
30389
|
"- Only with a known exact installed version, fallback to",
|
|
30390
|
-
" `npx -y --package @taptap/maker@0.0.37-beta.
|
|
30390
|
+
" `npx -y --package @taptap/maker@0.0.37-beta.9 taptap-maker mcp report ...`.",
|
|
30391
30391
|
"- Never use an unversioned npm package, or assume `taptap-maker`/`npx` is globally available.",
|
|
30392
30392
|
"- Never include the complete conversation, project source, other MCP server entries, PAT/token",
|
|
30393
30393
|
" values, or full environment variables. Normalize the user home path to `~`.",
|
|
@@ -30427,9 +30427,14 @@ function createMakerAgentsPolicyBody() {
|
|
|
30427
30427
|
"- `create_video_task` for game video assets or referenced image/video generation.",
|
|
30428
30428
|
"- Only call `create_video_task` after the user explicitly requests video generation; do not",
|
|
30429
30429
|
" generate video proactively while implementing gameplay or filling asset gaps.",
|
|
30430
|
-
'-
|
|
30431
|
-
"
|
|
30432
|
-
"
|
|
30430
|
+
'- Estimate video cost as duration times 200 credits per second for `model="2.0"`, 300 for',
|
|
30431
|
+
' `model="2.5"`, and for `model="wan"` 42 at 480p, 84 at 720p, and 168 at 1080p.',
|
|
30432
|
+
" When resolution is omitted, wan is billed as 1080p, so use 168 credits per second. If duration",
|
|
30433
|
+
" is omitted or `duration=-1`,",
|
|
30434
|
+
" estimate at the model maximum. When the estimate exceeds 1000 credits, show the estimate,",
|
|
30435
|
+
" say actual billing is determined at generation, wait for explicit confirmation, then repeat",
|
|
30436
|
+
" the same request with `user_confirmed=true`. Do not pass `user_confirmed=true` before",
|
|
30437
|
+
" confirmation or at or below 1000 credits.",
|
|
30433
30438
|
"- `query_video_task` for refreshing video task status and fetching completed videos.",
|
|
30434
30439
|
"- `text_to_music` for game music.",
|
|
30435
30440
|
"- `text_to_sound_effect` for one sound effect.",
|
|
@@ -35640,7 +35645,7 @@ function formatMakerSkillStatus(_options = {}) {
|
|
|
35640
35645
|
"- With generation=maker use generate_image, batch_generate_images, edit_image. With custom use canvas run; keys stay inside Maker. With local use the current client capability, then canvas import the output; import adds a new card, not a completed template step.",
|
|
35641
35646
|
"- Use create_video_task and query_video_task for game video assets.",
|
|
35642
35647
|
"- Only call create_video_task after the user explicitly requests video generation; do not generate video proactively while implementing or filling asset gaps.",
|
|
35643
|
-
'-
|
|
35648
|
+
'- Estimate video cost as duration times 200 credits per second for model="2.0", 300 for model="2.5", and for model="wan" 42 at 480p, 84 at 720p, and 168 at 1080p. When resolution is omitted, wan is billed as 1080p, so use 168 credits per second. If duration is omitted or duration=-1, estimate at the model maximum. When the estimate exceeds 1000 credits, show the estimate and say actual billing is determined at generation, wait for explicit confirmation, then repeat the same request with user_confirmed=true. Do not pass user_confirmed=true before confirmation or at or below 1000 credits.',
|
|
35644
35649
|
"- Use text_to_music for game music.",
|
|
35645
35650
|
"- Use text_to_sound_effect for one sound effect.",
|
|
35646
35651
|
"- Use batch_sound_effects for multiple sound effects.",
|
|
@@ -36812,6 +36817,9 @@ function prepareRemoteProxyToolArgs(options3) {
|
|
|
36812
36817
|
if (options3.toolName === "text_to_dialogue") {
|
|
36813
36818
|
return rewriteTextToDialogueArgs(options3.targetDir, options3.args);
|
|
36814
36819
|
}
|
|
36820
|
+
if (options3.toolName === "text_to_music") {
|
|
36821
|
+
return rewriteTextToMusicArgs(options3.targetDir, options3.args);
|
|
36822
|
+
}
|
|
36815
36823
|
return options3.args;
|
|
36816
36824
|
}
|
|
36817
36825
|
function validateVoiceAuditionArgs(args) {
|
|
@@ -38173,6 +38181,102 @@ function normalizeBatchImageReferenceAssetArgs(targetDir, args) {
|
|
|
38173
38181
|
)
|
|
38174
38182
|
};
|
|
38175
38183
|
}
|
|
38184
|
+
function rewriteTextToMusicArgs(targetDir, args) {
|
|
38185
|
+
const registry2 = readGeneratedAssetRegistry(targetDir);
|
|
38186
|
+
const imageUrls = rewriteMusicReferenceField(targetDir, args.imageUrls, registry2, {
|
|
38187
|
+
field: "imageUrls",
|
|
38188
|
+
assetDirs: IMAGE_ASSET_DIRS,
|
|
38189
|
+
extensions: [".bmp", ".jpeg", ".jpg", ".png", ".webp"],
|
|
38190
|
+
maxBytes: MUSIC_IMAGE_REFERENCE_MAX_BYTES,
|
|
38191
|
+
maxItems: 5
|
|
38192
|
+
});
|
|
38193
|
+
const videoUrls = rewriteMusicReferenceField(targetDir, args.videoUrls, registry2, {
|
|
38194
|
+
field: "videoUrls",
|
|
38195
|
+
assetDirs: VIDEO_ASSET_DIRS,
|
|
38196
|
+
extensions: [".mov", ".mp4", ".webm"],
|
|
38197
|
+
maxBytes: MUSIC_VIDEO_REFERENCE_MAX_BYTES,
|
|
38198
|
+
maxItems: 1
|
|
38199
|
+
});
|
|
38200
|
+
const audioUrls = rewriteMusicReferenceField(targetDir, args.audioUrls, registry2, {
|
|
38201
|
+
field: "audioUrls",
|
|
38202
|
+
assetDirs: AUDIO_ASSET_DIRS,
|
|
38203
|
+
maxBytes: MUSIC_AUDIO_REFERENCE_MAX_BYTES,
|
|
38204
|
+
maxItems: 10
|
|
38205
|
+
});
|
|
38206
|
+
const total = [imageUrls, videoUrls, audioUrls].reduce(
|
|
38207
|
+
(count, items) => count + ((items == null ? void 0 : items.length) ?? 0),
|
|
38208
|
+
0
|
|
38209
|
+
);
|
|
38210
|
+
if (total > MUSIC_REFERENCE_TOTAL_MAX_ITEMS) {
|
|
38211
|
+
throw new Error("text_to_music imageUrls, videoUrls, and audioUrls together cannot exceed 10.");
|
|
38212
|
+
}
|
|
38213
|
+
if (total > 0 && args.customMode === true) {
|
|
38214
|
+
throw new Error("text_to_music reference media requires customMode false.");
|
|
38215
|
+
}
|
|
38216
|
+
return {
|
|
38217
|
+
...args,
|
|
38218
|
+
...imageUrls ? { imageUrls } : {},
|
|
38219
|
+
...videoUrls ? { videoUrls } : {},
|
|
38220
|
+
...audioUrls ? { audioUrls } : {}
|
|
38221
|
+
};
|
|
38222
|
+
}
|
|
38223
|
+
function rewriteMusicReferenceField(targetDir, value, registry2, options3) {
|
|
38224
|
+
if (value === void 0) {
|
|
38225
|
+
return void 0;
|
|
38226
|
+
}
|
|
38227
|
+
if (!Array.isArray(value)) {
|
|
38228
|
+
throw new Error(`${options3.field} must be an array of strings.`);
|
|
38229
|
+
}
|
|
38230
|
+
if (value.length > options3.maxItems) {
|
|
38231
|
+
throw new Error(`${options3.field} cannot exceed ${options3.maxItems} item(s).`);
|
|
38232
|
+
}
|
|
38233
|
+
return value.map(
|
|
38234
|
+
(item, index) => rewriteMusicReference(targetDir, item, registry2, options3, index)
|
|
38235
|
+
);
|
|
38236
|
+
}
|
|
38237
|
+
function rewriteMusicReference(targetDir, value, registry2, options3, index) {
|
|
38238
|
+
var _a3, _b;
|
|
38239
|
+
if (typeof value !== "string" || !value.trim()) {
|
|
38240
|
+
throw new Error(`${options3.field}[${index}] must be a non-empty string.`);
|
|
38241
|
+
}
|
|
38242
|
+
const trimmed = value.trim();
|
|
38243
|
+
if (/^data:/i.test(trimmed)) {
|
|
38244
|
+
throw new Error(
|
|
38245
|
+
`${options3.field} rejects data URLs. Pass a public http(s) URL or a generated asset that already has a remote URL.`
|
|
38246
|
+
);
|
|
38247
|
+
}
|
|
38248
|
+
if (/^https?:\/\//i.test(trimmed)) {
|
|
38249
|
+
return trimmed;
|
|
38250
|
+
}
|
|
38251
|
+
const localPath = resolveLocalAssetReference(targetDir, trimmed, registry2, options3.assetDirs);
|
|
38252
|
+
const remoteUrl = localPath ? stringField2((_a3 = registry2[localPath]) == null ? void 0 : _a3.cdnUrl) || stringField2((_b = registry2[localPath]) == null ? void 0 : _b.previewUrl) : void 0;
|
|
38253
|
+
if (remoteUrl && /^https?:\/\//i.test(remoteUrl)) {
|
|
38254
|
+
return remoteUrl;
|
|
38255
|
+
}
|
|
38256
|
+
const absolutePath = resolveLocalAssetAbsolutePath(targetDir, {
|
|
38257
|
+
value: trimmed,
|
|
38258
|
+
localPath
|
|
38259
|
+
});
|
|
38260
|
+
if (absolutePath) {
|
|
38261
|
+
const extension2 = path21.extname(absolutePath).toLowerCase();
|
|
38262
|
+
if (options3.extensions && !options3.extensions.includes(extension2)) {
|
|
38263
|
+
throw new Error(`${options3.field}[${index}] has an unsupported file type.`);
|
|
38264
|
+
}
|
|
38265
|
+
const stat = fs20.statSync(absolutePath);
|
|
38266
|
+
if (!stat.isFile()) {
|
|
38267
|
+
throw new Error(`${options3.field}[${index}] must be a file.`);
|
|
38268
|
+
}
|
|
38269
|
+
if (stat.size > options3.maxBytes) {
|
|
38270
|
+
throw new Error(
|
|
38271
|
+
`${options3.field}[${index}] exceeds the ${Math.floor(options3.maxBytes / 1024 / 1024)} MiB limit.`
|
|
38272
|
+
);
|
|
38273
|
+
}
|
|
38274
|
+
throw new Error(
|
|
38275
|
+
`${options3.field} local file has no remote URL. text_to_music cannot upload it or convert it to a data URL. Pass a public http(s) URL, or use a generated asset that already has a remote URL.`
|
|
38276
|
+
);
|
|
38277
|
+
}
|
|
38278
|
+
return trimmed;
|
|
38279
|
+
}
|
|
38176
38280
|
function rewriteVideoReferenceAssetArgs(targetDir, args) {
|
|
38177
38281
|
const registry2 = readGeneratedAssetRegistry(targetDir);
|
|
38178
38282
|
return {
|
|
@@ -38650,7 +38754,7 @@ function extensionFromUrl(url2) {
|
|
|
38650
38754
|
return void 0;
|
|
38651
38755
|
}
|
|
38652
38756
|
}
|
|
38653
|
-
var IMAGE_ASSET_DIRS, VIDEO_ASSET_DIRS, AUDIO_ASSET_DIRS, MODEL_ASSET_DIRS, THREE_D_MODEL_VIEWS, IMAGE_REFERENCE_MAX_BYTES, VIDEO_TASK_IMAGE_REFERENCE_MAX_BYTES, VIDEO_REFERENCE_MAX_BYTES, AUDIO_REFERENCE_MAX_BYTES, AUDIO_DIALOGUE_REFERENCE_MAX_BYTES, AUDIO_DIALOGUE_INPUT_TOTAL_MAX_BYTES, AUDIO_CONFIRM_MAX_BYTES, VOICE_CONFIRMATION_NEXT_STEP_HINT, DEBUG_FEEDBACK_PATH_HINT, CREATE_3D_ASSET_PROXY_TOOL_NAME, DATA_URL_MIME_BY_EXTENSION, AUDIO_MIME_BY_EXTENSION, RemoteProxyToolResultError, RemoteProxyToolCallError;
|
|
38757
|
+
var IMAGE_ASSET_DIRS, VIDEO_ASSET_DIRS, AUDIO_ASSET_DIRS, MODEL_ASSET_DIRS, THREE_D_MODEL_VIEWS, IMAGE_REFERENCE_MAX_BYTES, VIDEO_TASK_IMAGE_REFERENCE_MAX_BYTES, VIDEO_REFERENCE_MAX_BYTES, AUDIO_REFERENCE_MAX_BYTES, AUDIO_DIALOGUE_REFERENCE_MAX_BYTES, AUDIO_DIALOGUE_INPUT_TOTAL_MAX_BYTES, AUDIO_CONFIRM_MAX_BYTES, MUSIC_IMAGE_REFERENCE_MAX_BYTES, MUSIC_VIDEO_REFERENCE_MAX_BYTES, MUSIC_AUDIO_REFERENCE_MAX_BYTES, MUSIC_REFERENCE_TOTAL_MAX_ITEMS, VOICE_CONFIRMATION_NEXT_STEP_HINT, DEBUG_FEEDBACK_PATH_HINT, CREATE_3D_ASSET_PROXY_TOOL_NAME, DATA_URL_MIME_BY_EXTENSION, AUDIO_MIME_BY_EXTENSION, RemoteProxyToolResultError, RemoteProxyToolCallError;
|
|
38654
38758
|
var init_proxyAssets = __esm({
|
|
38655
38759
|
"src/maker/server/proxyAssets.ts"() {
|
|
38656
38760
|
"use strict";
|
|
@@ -38669,6 +38773,10 @@ var init_proxyAssets = __esm({
|
|
|
38669
38773
|
AUDIO_DIALOGUE_REFERENCE_MAX_BYTES = 20 * 1024 * 1024;
|
|
38670
38774
|
AUDIO_DIALOGUE_INPUT_TOTAL_MAX_BYTES = 28 * 1024 * 1024;
|
|
38671
38775
|
AUDIO_CONFIRM_MAX_BYTES = 1 * 1024 * 1024;
|
|
38776
|
+
MUSIC_IMAGE_REFERENCE_MAX_BYTES = 10 * 1024 * 1024;
|
|
38777
|
+
MUSIC_VIDEO_REFERENCE_MAX_BYTES = 100 * 1024 * 1024;
|
|
38778
|
+
MUSIC_AUDIO_REFERENCE_MAX_BYTES = 500 * 1024 * 1024;
|
|
38779
|
+
MUSIC_REFERENCE_TOTAL_MAX_ITEMS = 10;
|
|
38672
38780
|
VOICE_CONFIRMATION_NEXT_STEP_HINT = "Call text_to_dialogue with character_name and text. The confirmed voice mapping is reused automatically.";
|
|
38673
38781
|
DEBUG_FEEDBACK_PATH_HINT = "Use local_dir/local_log_paths/local_screenshot_paths when they are returned. If only local_candidate_* is present, it is a possible project-relative location and must not be treated as a downloaded local file.";
|
|
38674
38782
|
CREATE_3D_ASSET_PROXY_TOOL_NAME = "create_3d_asset";
|
|
@@ -38779,8 +38887,8 @@ var init_toolDescriptions = __esm({
|
|
|
38779
38887
|
].join(" "),
|
|
38780
38888
|
create_video_task: [
|
|
38781
38889
|
"Create a video generation task only after the user explicitly requests video generation. Do not proactively or automatically generate videos while designing gameplay, implementing features, filling asset gaps, or self-improving the game.",
|
|
38782
|
-
'Estimate
|
|
38783
|
-
|
|
38890
|
+
'Estimate credit cost before calling as duration seconds times the tier rate: 200 credits per second for model="2.0", 300 credits per second for model="2.5", and for model="wan" 42 credits per second at 480p, 84 at 720p, and 168 at 1080p, which is 70% of the Beijing list price. When resolution is omitted, wan is billed as 1080p, so use 168 credits per second. This estimate is only for confirmation; actual billing is determined when the video is generated.',
|
|
38891
|
+
"If duration is omitted or -1, estimate using the selected model maximum duration. When the estimate exceeds 1000 credits, show the estimate and billing disclaimer, wait for explicit user confirmation, then repeat the same request with user_confirmed=true. Do not pass user_confirmed=true before that confirmation or when the estimate does not exceed 1000 credits.",
|
|
38784
38892
|
"The remote service normally performs server-side polling and waits for the final result in this call.",
|
|
38785
38893
|
"If the wait budget expires, the result returns a task_id; continue other work and use query_video_task no sooner than 120 seconds later.",
|
|
38786
38894
|
"Mode-specific inputs and limits are defined by the input schema. Image, video, and audio references may use local project files, HTTP(S) URLs, or data URLs supported by the schema.",
|
|
@@ -38796,7 +38904,7 @@ var init_toolDescriptions = __esm({
|
|
|
38796
38904
|
text_to_music: [
|
|
38797
38905
|
"Generate AI music for a Maker game, including background music or vocal tracks; do not use this tool for sound effects.",
|
|
38798
38906
|
"The remote call polls server-side every 20 seconds and may wait up to 50 minutes. If generation is still running when the call times out, the result includes the task ID for operational tracking.",
|
|
38799
|
-
"Simple and custom generation controls are defined by the input schema.",
|
|
38907
|
+
"Simple and custom generation controls are defined by the input schema. imageUrls, videoUrls, and audioUrls accept public http(s) URLs. Previously generated assets are rewritten to their recorded remote URL. Unsynced local files are rejected because these fields forbid data URLs and this proxy has no upload step.",
|
|
38800
38908
|
"The local proxy attempts to materialize successful audio and metadata into the Maker project and record them for later Maker references; use returned local paths when present."
|
|
38801
38909
|
].join(" "),
|
|
38802
38910
|
text_to_sound_effect: [
|
|
@@ -38933,7 +39041,7 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
38933
39041
|
reference_images: {
|
|
38934
39042
|
type: "array",
|
|
38935
39043
|
items: { type: "string" },
|
|
38936
|
-
description: "List of reference images (up to 14). Each item can be a file path (relative to workspace root) OR a base64 data URL. Takes priority over reference_image. The generated image will incorporate style/content from these references."
|
|
39044
|
+
description: "List of reference images (up to 14; Image3 at most 3). Each item can be a file path (relative to workspace root) OR a base64 data URL. Takes priority over reference_image. The generated image will incorporate style/content from these references."
|
|
38937
39045
|
},
|
|
38938
39046
|
seed: {
|
|
38939
39047
|
type: "number",
|
|
@@ -38951,13 +39059,14 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
38951
39059
|
},
|
|
38952
39060
|
model: {
|
|
38953
39061
|
type: "string",
|
|
38954
|
-
enum: ["nanobanana", "gpt"],
|
|
38955
|
-
|
|
39062
|
+
enum: ["default", "nanobanana", "gpt", "image3"],
|
|
39063
|
+
default: "default",
|
|
39064
|
+
description: 'Model to use for generation. Pass "default" unless the user has explicitly named a backend (e.g. "use nanobanana" / "switch to gpt" / "use image3"). "default" uses the conversation tool-config or the GPT image route. "nanobanana" uses Nano Banana 2.1 (Gemini). "gpt" prefers GPT Image 2.5 Flare (OpenAI), with other models as fallbacks. "image3" uses Image3 (Qwen Image 3.0 Pro); Image3 accepts at most 3 input images in total (the source image counts as 1 when editing). Do not guess a concrete backend when the user did not name one.'
|
|
38956
39065
|
},
|
|
38957
39066
|
quality: {
|
|
38958
39067
|
type: "string",
|
|
38959
|
-
enum: ["low", "medium", "high", "auto"],
|
|
38960
|
-
description: 'Image quality. One of "low", "medium", "high", "auto"
|
|
39068
|
+
enum: ["low", "medium", "high", "xhigh", "max", "auto"],
|
|
39069
|
+
description: 'Image quality. One of "low", "medium", "high", "xhigh", "max", "auto". When omitted, the GPT route uses "medium"; "auto" lets the model choose. GPT Image 2.5 Flare supports all values. On older-model fallbacks, "xhigh" and "max" are reduced to "high" where quality is supported; other models may ignore quality.'
|
|
38961
39070
|
},
|
|
38962
39071
|
target_dir: {
|
|
38963
39072
|
type: "string",
|
|
@@ -39007,7 +39116,7 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39007
39116
|
reference_images: {
|
|
39008
39117
|
type: "array",
|
|
39009
39118
|
items: { type: "string" },
|
|
39010
|
-
description: "List of reference images (up to 14). Each item can be a file path (relative to workspace root) OR a base64 data URL. Takes priority over reference_image. The generated image will incorporate style/content from these references."
|
|
39119
|
+
description: "List of reference images (up to 14; Image3 at most 3). Each item can be a file path (relative to workspace root) OR a base64 data URL. Takes priority over reference_image. The generated image will incorporate style/content from these references."
|
|
39011
39120
|
},
|
|
39012
39121
|
seed: {
|
|
39013
39122
|
type: "number",
|
|
@@ -39025,13 +39134,14 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39025
39134
|
},
|
|
39026
39135
|
model: {
|
|
39027
39136
|
type: "string",
|
|
39028
|
-
enum: ["nanobanana", "gpt"],
|
|
39029
|
-
|
|
39137
|
+
enum: ["default", "nanobanana", "gpt", "image3"],
|
|
39138
|
+
default: "default",
|
|
39139
|
+
description: 'Model to use for generation. Pass "default" unless the user has explicitly named a backend (e.g. "use nanobanana" / "switch to gpt" / "use image3"). "default" uses the conversation tool-config or the GPT image route. "nanobanana" uses Nano Banana 2.1 (Gemini). "gpt" prefers GPT Image 2.5 Flare (OpenAI), with other models as fallbacks. "image3" uses Image3 (Qwen Image 3.0 Pro); Image3 accepts at most 3 input images in total (the source image counts as 1 when editing). Do not guess a concrete backend when the user did not name one.'
|
|
39030
39140
|
},
|
|
39031
39141
|
quality: {
|
|
39032
39142
|
type: "string",
|
|
39033
|
-
enum: ["low", "medium", "high", "auto"],
|
|
39034
|
-
description: 'Image quality. One of "low", "medium", "high", "auto"
|
|
39143
|
+
enum: ["low", "medium", "high", "xhigh", "max", "auto"],
|
|
39144
|
+
description: 'Image quality. One of "low", "medium", "high", "xhigh", "max", "auto". When omitted, the GPT route uses "medium"; "auto" lets the model choose. GPT Image 2.5 Flare supports all values. On older-model fallbacks, "xhigh" and "max" are reduced to "high" where quality is supported; other models may ignore quality.'
|
|
39035
39145
|
}
|
|
39036
39146
|
},
|
|
39037
39147
|
required: ["prompt", "name", "target_size"]
|
|
@@ -39079,7 +39189,7 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39079
39189
|
reference_images: {
|
|
39080
39190
|
type: "array",
|
|
39081
39191
|
items: { type: "string" },
|
|
39082
|
-
description: "List of reference images for style/character consistency (up to 13). Each item can be a file path (relative to workspace root), remote http/https image URL, OR a base64 data URL. Combined with the original image, total must not exceed 14 (Nano Banana 2 limit)."
|
|
39192
|
+
description: "List of reference images for style/character consistency (up to 13; Image3 at most 2 extra because the original counts as 1, totaling 3). Each item can be a file path (relative to workspace root), remote http/https image URL, OR a base64 data URL. Combined with the original image, total must not exceed 14 (Nano Banana 2.1 limit)."
|
|
39083
39193
|
},
|
|
39084
39194
|
seed: {
|
|
39085
39195
|
type: "number",
|
|
@@ -39097,13 +39207,14 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39097
39207
|
},
|
|
39098
39208
|
model: {
|
|
39099
39209
|
type: "string",
|
|
39100
|
-
enum: ["nanobanana", "gpt"],
|
|
39101
|
-
|
|
39210
|
+
enum: ["default", "nanobanana", "gpt", "image3"],
|
|
39211
|
+
default: "default",
|
|
39212
|
+
description: 'Model to use for generation. Pass "default" unless the user has explicitly named a backend (e.g. "use nanobanana" / "switch to gpt" / "use image3"). "default" uses the conversation tool-config or the GPT image route. "nanobanana" uses Nano Banana 2.1 (Gemini). "gpt" prefers GPT Image 2.5 Flare (OpenAI), with other models as fallbacks. "image3" uses Image3 (Qwen Image 3.0 Pro); Image3 accepts at most 3 input images in total (the source image counts as 1 when editing). Do not guess a concrete backend when the user did not name one.'
|
|
39102
39213
|
},
|
|
39103
39214
|
quality: {
|
|
39104
39215
|
type: "string",
|
|
39105
|
-
enum: ["low", "medium", "high", "auto"],
|
|
39106
|
-
description: 'Image quality. One of "low", "medium", "high", "auto"
|
|
39216
|
+
enum: ["low", "medium", "high", "xhigh", "max", "auto"],
|
|
39217
|
+
description: 'Image quality. One of "low", "medium", "high", "xhigh", "max", "auto". When omitted, the GPT route uses "medium"; "auto" lets the model choose. GPT Image 2.5 Flare supports all values. On older-model fallbacks, "xhigh" and "max" are reduced to "high" where quality is supported; other models may ignore quality.'
|
|
39107
39218
|
},
|
|
39108
39219
|
target_dir: {
|
|
39109
39220
|
type: "string",
|
|
@@ -39199,7 +39310,7 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39199
39310
|
},
|
|
39200
39311
|
{
|
|
39201
39312
|
name: "text_to_music",
|
|
39202
|
-
description: "Generate AI music for a Maker game, including background music or vocal tracks; do not use this tool for sound effects. The remote call polls server-side every 20 seconds and may wait up to 50 minutes. If generation is still running when the call times out, the result includes the task ID for operational tracking. Simple and custom generation controls are defined by the input schema. The local proxy attempts to materialize successful audio and metadata into the Maker project and record them for later Maker references; use returned local paths when present. This tool is not retried automatically by the local Maker runtime. If its response is interrupted after dispatch, its execution state may be unknown. For generation, usage, or state-changing operations, verify remote output, state, and usage before deciding whether to retry explicitly.",
|
|
39313
|
+
description: "Generate AI music for a Maker game, including background music or vocal tracks; do not use this tool for sound effects. The remote call polls server-side every 20 seconds and may wait up to 50 minutes. If generation is still running when the call times out, the result includes the task ID for operational tracking. Simple and custom generation controls are defined by the input schema. imageUrls, videoUrls, and audioUrls accept public http(s) URLs. Previously generated assets are rewritten to their recorded remote URL. Unsynced local files are rejected because these fields forbid data URLs and this proxy has no upload step. The local proxy attempts to materialize successful audio and metadata into the Maker project and record them for later Maker references; use returned local paths when present. This tool is not retried automatically by the local Maker runtime. If its response is interrupted after dispatch, its execution state may be unknown. For generation, usage, or state-changing operations, verify remote output, state, and usage before deciding whether to retry explicitly.",
|
|
39203
39314
|
inputSchema: {
|
|
39204
39315
|
type: "object",
|
|
39205
39316
|
properties: {
|
|
@@ -39213,12 +39324,6 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39213
39324
|
description: "Generate instrumental track without vocals. Default false (with vocals). Only effective in custom mode.",
|
|
39214
39325
|
default: false
|
|
39215
39326
|
},
|
|
39216
|
-
model: {
|
|
39217
|
-
type: "string",
|
|
39218
|
-
description: "Model version. V4_5 recommended for best quality. Newer models (V4_5+) support longer prompts and styles.",
|
|
39219
|
-
enum: ["V3_5", "V4", "V4_5", "V4_5PLUS", "V5"],
|
|
39220
|
-
default: "V4_5"
|
|
39221
|
-
},
|
|
39222
39327
|
prompt: {
|
|
39223
39328
|
type: "string",
|
|
39224
39329
|
description: 'Music description or lyrics. Simple mode: describe the music you want (max 500 chars), e.g. "epic orchestral battle theme". Custom mode: can include lyrics (max 3000-5000 chars depending on model).'
|
|
@@ -39239,6 +39344,24 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39239
39344
|
type: "string",
|
|
39240
39345
|
description: 'Preferred vocal gender when instrumental=false. Use "m" for male, "f" for female.'
|
|
39241
39346
|
},
|
|
39347
|
+
imageUrls: {
|
|
39348
|
+
type: "array",
|
|
39349
|
+
description: "Simple-mode image references. Up to 5 public http(s) URLs or project file paths. jpeg, png, webp, or bmp. imageUrls + videoUrls + audioUrls together cannot exceed 10. Data URLs and NAS project files over 10 MB are rejected here. Public URLs and clouddisk files are forwarded; Suno enforces its own size limit. Requires customMode false.",
|
|
39350
|
+
items: { type: "string" },
|
|
39351
|
+
maxItems: 5
|
|
39352
|
+
},
|
|
39353
|
+
videoUrls: {
|
|
39354
|
+
type: "array",
|
|
39355
|
+
description: "Simple-mode video reference. One public http(s) URL or project file path. mp4, mov, or webm. Data URLs and NAS project files over 100 MB are rejected here. This tool does not probe duration. Suno rejects video longer than 241 seconds and oversize public or clouddisk files. Requires customMode false.",
|
|
39356
|
+
items: { type: "string" },
|
|
39357
|
+
maxItems: 1
|
|
39358
|
+
},
|
|
39359
|
+
audioUrls: {
|
|
39360
|
+
type: "array",
|
|
39361
|
+
description: "Simple-mode audio references. Public http(s) URLs or project file paths. Data URLs and NAS project files over 500 MB are rejected here. This tool does not probe duration. Suno rejects audio outside 6 seconds to 30 minutes and oversize public or clouddisk files. Requires customMode false.",
|
|
39362
|
+
items: { type: "string" },
|
|
39363
|
+
maxItems: 10
|
|
39364
|
+
},
|
|
39242
39365
|
target_dir: {
|
|
39243
39366
|
type: "string",
|
|
39244
39367
|
description: "Optional local Maker project directory. When omitted, Maker MCP uses one unambiguous MCP Roots workspace and process cwd only as the final fallback. Pass it explicitly when Roots are unavailable or ambiguous, or when the fallback is not the intended project. This local-only value is not persisted in user-level MCP config and is not forwarded to the remote Maker tool."
|
|
@@ -39249,7 +39372,7 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39249
39372
|
},
|
|
39250
39373
|
{
|
|
39251
39374
|
name: "create_video_task",
|
|
39252
|
-
description: 'Create a video generation task only after the user explicitly requests video generation. Do not proactively or automatically generate videos while designing gameplay, implementing features, filling asset gaps, or self-improving the game. Estimate
|
|
39375
|
+
description: 'Create a video generation task only after the user explicitly requests video generation. Do not proactively or automatically generate videos while designing gameplay, implementing features, filling asset gaps, or self-improving the game. Estimate credit cost before calling as duration seconds times the tier rate: 200 credits per second for model="2.0", 300 credits per second for model="2.5", and for model="wan" 42 credits per second at 480p, 84 at 720p, and 168 at 1080p, which is 70% of the Beijing list price. When resolution is omitted, wan is billed as 1080p, so use 168 credits per second. This estimate is only for confirmation; actual billing is determined when the video is generated. If duration is omitted or -1, estimate using the selected model maximum duration. When the estimate exceeds 1000 credits, show the estimate and billing disclaimer, wait for explicit user confirmation, then repeat the same request with user_confirmed=true. Do not pass user_confirmed=true before that confirmation or when the estimate does not exceed 1000 credits. The remote service normally performs server-side polling and waits for the final result in this call. If the wait budget expires, the result returns a task_id; continue other work and use query_video_task no sooner than 120 seconds later. Mode-specific inputs and limits are defined by the input schema. Image, video, and audio references may use local project files, HTTP(S) URLs, or data URLs supported by the schema. Keep image references at 30 MiB or less, video references at 50 MiB or less, and audio references at 15 MiB or less. The local proxy attempts to materialize successful video results into the Maker project; prefer returned workspace paths when present, unless the user needs an external share URL. This tool is not retried automatically by the local Maker runtime. If its response is interrupted after dispatch, its execution state may be unknown. For generation, usage, or state-changing operations, verify remote output, state, and usage before deciding whether to retry explicitly.',
|
|
39253
39376
|
inputSchema: {
|
|
39254
39377
|
type: "object",
|
|
39255
39378
|
properties: {
|
|
@@ -39260,8 +39383,9 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39260
39383
|
},
|
|
39261
39384
|
model: {
|
|
39262
39385
|
type: "string",
|
|
39263
|
-
enum: ["2.0", "2.5"],
|
|
39264
|
-
|
|
39386
|
+
enum: ["default", "2.0", "2.5", "wan"],
|
|
39387
|
+
default: "default",
|
|
39388
|
+
description: '视频模型。用户未点名时传 "default"(等价于省略:MCP 入口按会话/平台默认与锁定解析为具体模型,缺省 Seedance 2.0)。\n也可显式传 "2.0"。\n- "2.0": Seedance 2.0 fast。duration 4-15s,参考图最多 9 张、参考视频 3 个、参考音频 3 个,音频不能单独输入。\n- "2.5": Seedance 2.5,效果与可控性更强、成本更高。duration 4-30s,参考图最多 30 张、参考视频 10 个、参考音频 10 个,支持仅传音频驱动生成。预计消耗超过 1000 积分时须二次确认。\n- "wan": 百炼 Wan3.0。duration 2-30s,支持 480p/720p/1080p,参考图最多 10 张、参考视频 5 个、参考音频 5 个。预计消耗超过 1000 积分时须向开发者展示积分预估并二次确认。'
|
|
39265
39389
|
},
|
|
39266
39390
|
prompt: {
|
|
39267
39391
|
type: "string",
|
|
@@ -39269,13 +39393,13 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39269
39393
|
},
|
|
39270
39394
|
images: {
|
|
39271
39395
|
type: "array",
|
|
39272
|
-
description: 'Image inputs. How images are used depends on the `mode` parameter:\n- mode="text_to_video": Do NOT provide images.\n- mode="first_frame": Provide exactly 1 image (role=first_frame).\n- mode="first_last_frame": Provide exactly 2 images (role=first_frame + last_frame).\n- mode="multi_modal_reference": Provide reference images (role=reference_image), up to 9 for model="2.0" / 30 for model="2.5". Can combine with videos/audios.\nRoles are auto-assigned based on mode. You may override by setting each image\'s role explicitly.\nSupported sources: local file path, https URL, asset://<asset_id> (from asset library), or data URL (data:image/png;base64,...).',
|
|
39396
|
+
description: 'Image inputs. How images are used depends on the `mode` parameter:\n- mode="text_to_video": Do NOT provide images.\n- mode="first_frame": Provide exactly 1 image (role=first_frame).\n- mode="first_last_frame": Provide exactly 2 images (role=first_frame + last_frame).\n- mode="multi_modal_reference": Provide reference images (role=reference_image), up to 9 for model="2.0" / 30 for model="2.5". Can combine with videos/audios.\nRoles are auto-assigned based on mode. You may override by setting each image\'s role explicitly.\nSupported sources: local file path, https URL, asset://<asset_id> (from asset library, Seedance only), or data URL (data:image/png;base64,...). model="wan" 不支持 asset://。',
|
|
39273
39397
|
items: {
|
|
39274
39398
|
type: "object",
|
|
39275
39399
|
properties: {
|
|
39276
39400
|
url: {
|
|
39277
39401
|
type: "string",
|
|
39278
|
-
description: "图片本地文件路径、远程 URL、素材库资产 URI(asset://<asset_id
|
|
39402
|
+
description: "图片本地文件路径、远程 URL、素材库资产 URI(asset://<asset_id>,仅 Seedance)或 data URL(data:image/png;base64,...)。"
|
|
39279
39403
|
},
|
|
39280
39404
|
role: {
|
|
39281
39405
|
type: "string",
|
|
@@ -39330,25 +39454,25 @@ var init_remoteProxyToolSnapshot = __esm({
|
|
|
39330
39454
|
},
|
|
39331
39455
|
resolution: {
|
|
39332
39456
|
type: "string",
|
|
39333
|
-
enum: ["480p", "720p"],
|
|
39334
|
-
description:
|
|
39457
|
+
enum: ["480p", "720p", "1080p"],
|
|
39458
|
+
description: '输出分辨率。Seedance(2.0/2.5)仅 480p/720p,默认 720p。model="wan" 支持 480p/720p/1080p,不传按 1080p 计费。'
|
|
39335
39459
|
},
|
|
39336
39460
|
ratio: {
|
|
39337
39461
|
type: "string",
|
|
39338
39462
|
enum: ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"],
|
|
39339
|
-
description: '输出宽高比,默认 "adaptive"(由模型按输入或 prompt 自动选择)。\nmodel="2.5" 的以下场景只接受 "adaptive",指定具体比例会被上游拒绝:mode="first_frame" / "first_last_frame"(跟随首帧图片)、以参考视频做视频编辑/延长(跟随输入视频)。\nmodel="2.0"
|
|
39463
|
+
description: '输出宽高比,默认 "adaptive"(由模型按输入或 prompt 自动选择)。\nmodel="2.5" 的以下场景只接受 "adaptive",指定具体比例会被上游拒绝:mode="first_frame" / "first_last_frame"(跟随首帧图片)、以参考视频做视频编辑/延长(跟随输入视频)。\nmodel="2.0" 各场景均可指定具体比例。\nmodel="wan" 仅支持 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / adaptive,不支持 21:9。'
|
|
39340
39464
|
},
|
|
39341
39465
|
duration: {
|
|
39342
39466
|
type: "integer",
|
|
39343
|
-
description: '视频时长(秒)。model="2.0" 支持 4-15,model="2.5" 支持 4-30
|
|
39467
|
+
description: '视频时长(秒)。model="2.0" 支持 4-15,model="2.5" 支持 4-30,model="wan" 支持 2-30;也可传 -1。未指定或传 -1 时按对应模型的最长时长保守估算;预估消耗超过 1000 积分时,须二次确认并设 user_confirmed=true。'
|
|
39344
39468
|
},
|
|
39345
39469
|
user_confirmed: {
|
|
39346
39470
|
type: "boolean",
|
|
39347
|
-
description:
|
|
39471
|
+
description: "仅当开发者已确认本次粗估后设为 true。触发条件:预估消耗超过 1000 积分。未确认时不要传 true;预估未超过该阈值时无需此参数。"
|
|
39348
39472
|
},
|
|
39349
39473
|
return_last_frame: {
|
|
39350
39474
|
type: "boolean",
|
|
39351
|
-
description:
|
|
39475
|
+
description: '是否返回尾帧图片 URL。默认 true;如不需要可显式传 false。Seedance 支持。model="wan" 忽略此参数且不返回尾帧。'
|
|
39352
39476
|
},
|
|
39353
39477
|
suppress_preview_links: {
|
|
39354
39478
|
type: "boolean",
|
|
@@ -39764,7 +39888,7 @@ var init_tracking = __esm({
|
|
|
39764
39888
|
MAKER_MCP_TRACKING_ACTION = "tapmaker_mcp_call";
|
|
39765
39889
|
MAKER_MCP_TRACKING_SOURCE = "local_mcp";
|
|
39766
39890
|
MAKER_MCP_TRACKING_TIMEOUT_MS = 1500;
|
|
39767
|
-
MAKER_MCP_VERSION = "0.0.37-beta.
|
|
39891
|
+
MAKER_MCP_VERSION = "0.0.37-beta.9".trim() ? "0.0.37-beta.9".trim() : "dev";
|
|
39768
39892
|
TRACKING_ERROR_MAX_LENGTH = 500;
|
|
39769
39893
|
}
|
|
39770
39894
|
});
|
|
@@ -58364,7 +58488,7 @@ var init_mcp = __esm({
|
|
|
58364
58488
|
init_remoteProxyManager();
|
|
58365
58489
|
init_proxyAssets();
|
|
58366
58490
|
init_diagnosticRedaction();
|
|
58367
|
-
VERSION = true ? "0.0.37-beta.
|
|
58491
|
+
VERSION = true ? "0.0.37-beta.9" : "dev";
|
|
58368
58492
|
DEFAULT_BUILD_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
58369
58493
|
DEFAULT_PROXY_RETRY_ATTEMPTS = 5;
|
|
58370
58494
|
DEFAULT_PROXY_RETRY_DELAY_MS = 30 * 1e3;
|
|
@@ -131320,7 +131444,7 @@ var init_cli = __esm({
|
|
|
131320
131444
|
init_types3();
|
|
131321
131445
|
init_owner();
|
|
131322
131446
|
init_diagnosticRedaction();
|
|
131323
|
-
VERSION3 = false ? "dev" : "0.0.37-beta.
|
|
131447
|
+
VERSION3 = false ? "dev" : "0.0.37-beta.9";
|
|
131324
131448
|
CONSOLE_PROTOCOL_VERSION = 3;
|
|
131325
131449
|
}
|
|
131326
131450
|
});
|
|
@@ -142455,7 +142579,7 @@ function hasControlCharacter(value) {
|
|
|
142455
142579
|
}
|
|
142456
142580
|
|
|
142457
142581
|
// src/maker/cli/commands.ts
|
|
142458
|
-
var VERSION4 = true ? "0.0.37-beta.
|
|
142582
|
+
var VERSION4 = true ? "0.0.37-beta.9" : "dev";
|
|
142459
142583
|
var DEFAULT_MCP_NAME = "taptap-maker";
|
|
142460
142584
|
var MAKER_NPM_PACKAGE = "@taptap/maker";
|
|
142461
142585
|
var TWO_PART_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -160,7 +160,7 @@ macOS/Linux:
|
|
|
160
160
|
|
|
161
161
|
```text
|
|
162
162
|
command: npx
|
|
163
|
-
args: ["-y", "-p", "@taptap/maker@0.0.37-beta.
|
|
163
|
+
args: ["-y", "-p", "@taptap/maker@0.0.37-beta.9", "taptap-maker"]
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
上面的 macOS/Linux npx 形式只是显式兼容模式;默认同样是绝对 Node + 版本化 self runtime。
|
|
@@ -265,7 +265,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
265
265
|
例如,配置使用 Windows 绝对 Node/npm CLI 时,按相同顺序复现:
|
|
266
266
|
|
|
267
267
|
```bat
|
|
268
|
-
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.37-beta.
|
|
268
|
+
"<绝对 node.exe>" "<绝对 npm-cli.js>" exec --yes --package @taptap/maker@0.0.37-beta.9 -- taptap-maker
|
|
269
269
|
```
|
|
270
270
|
|
|
271
271
|
然后用该 CLI 执行 `mcp verify --json`;不要只用 `help` 代替 MCP 协议握手。
|
|
@@ -273,7 +273,7 @@ stderr、尝试的编码和解码错误,不能把解码异常直接当成 Make
|
|
|
273
273
|
配置使用 macOS/Linux 标准 argv 时:
|
|
274
274
|
|
|
275
275
|
```bash
|
|
276
|
-
npx -y -p @taptap/maker@0.0.37-beta.
|
|
276
|
+
npx -y -p @taptap/maker@0.0.37-beta.9 taptap-maker help
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
如果终端成功而客户端失败,应继续排查客户端读取的配置、信任状态、PATH、cwd 和子进程启动方式,
|
|
@@ -296,7 +296,7 @@ npx -y -p @taptap/maker@0.0.37-beta.8 taptap-maker help
|
|
|
296
296
|
作为可选恢复方式,并先备份实际生效的配置:
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
-
npx -y -p @taptap/maker@0.0.37-beta.
|
|
299
|
+
npx -y -p @taptap/maker@0.0.37-beta.9 taptap-maker mcp install --launcher self
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm 的绝对路径启动这一次 CLI;安装器
|
|
@@ -328,7 +328,7 @@ Windows 如无法从 PATH 运行上述恢复命令,应使用当前可用 npm
|
|
|
328
328
|
指纹打扰。用户明确同意后无需第二次确认,AI 将已脱敏的当前会话错误 JSON 通过 stdin 传入:
|
|
329
329
|
|
|
330
330
|
```text
|
|
331
|
-
npx -y --package @taptap/maker@0.0.37-beta.
|
|
331
|
+
npx -y --package @taptap/maker@0.0.37-beta.9 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
332
332
|
```
|
|
333
333
|
|
|
334
334
|
优先原样复用当前客户端 Maker MCP 配置中的 command 和有序 args,再追加上述 `mcp report`
|
package/package.json
CHANGED
|
@@ -407,9 +407,13 @@ supports it. Follow the selected tool schema when one of these tools is used.
|
|
|
407
407
|
- Use `create_video_task` for game videos and image/video referenced generation.
|
|
408
408
|
- Only call `create_video_task` after the user explicitly requests video generation. Do not generate
|
|
409
409
|
video proactively while implementing gameplay, filling asset gaps, or improving the game.
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
410
|
+
- Estimate video cost as duration times 200 credits per second for `model="2.0"`, 300 for
|
|
411
|
+
`model="2.5"`, and for `model="wan"` 42 at 480p, 84 at 720p, and 168 at 1080p. When resolution is
|
|
412
|
+
omitted, wan is billed as 1080p, so use 168 credits per second. If duration is omitted or `duration=-1`, estimate
|
|
413
|
+
at the model maximum. When the estimate exceeds 1000 credits, show the estimate and say actual
|
|
414
|
+
billing is determined at generation, wait for explicit confirmation, then repeat the same request
|
|
415
|
+
with `user_confirmed=true`. Do not pass `user_confirmed=true` before confirmation or at or below
|
|
416
|
+
1000 credits.
|
|
413
417
|
- Use `query_video_task` to refresh video task status, release completed task quota, and fetch final videos.
|
|
414
418
|
- Use `text_to_music` for game music with Suno.
|
|
415
419
|
- Use `text_to_sound_effect` for one sound effect with Doubao Seed Audio.
|
|
@@ -639,7 +643,7 @@ request/correlation ID, reproduction steps, visible Maker tools, client version,
|
|
|
639
643
|
Do not include the complete conversation. Send that JSON through stdin, never argv, while running:
|
|
640
644
|
|
|
641
645
|
```text
|
|
642
|
-
npx -y --package @taptap/maker@0.0.37-beta.
|
|
646
|
+
npx -y --package @taptap/maker@0.0.37-beta.9 taptap-maker mcp report --ide <client> --target-dir <project> --context-stdin --consent --json
|
|
643
647
|
```
|
|
644
648
|
|
|
645
649
|
Prefer the active client's exact Maker MCP `command` plus ordered `args`, then append the `mcp
|