@pixeldojo/mcp 0.15.1 → 0.16.1
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/dist/cli.cjs +40 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +40 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +41 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +41 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -921,6 +921,7 @@ var init_character = __esm({
|
|
|
921
921
|
ALLOWED = [
|
|
922
922
|
"seedream-5",
|
|
923
923
|
"seedream-4",
|
|
924
|
+
"seedream-5-flash",
|
|
924
925
|
"google-nano-banana",
|
|
925
926
|
"wan-2.7-image-edit",
|
|
926
927
|
"qwen-3-pro",
|
|
@@ -932,6 +933,7 @@ var init_character = __esm({
|
|
|
932
933
|
FALLBACK_REF_KEY = {
|
|
933
934
|
"seedream-5": "image_urls",
|
|
934
935
|
"seedream-4": "image_urls",
|
|
936
|
+
"seedream-5-flash": "image_urls",
|
|
935
937
|
"google-nano-banana": "image_input",
|
|
936
938
|
"wan-2.7-image-edit": "image_urls",
|
|
937
939
|
"qwen-3-pro": "image",
|
|
@@ -3052,6 +3054,7 @@ var skills_exports = {};
|
|
|
3052
3054
|
__export(skills_exports, {
|
|
3053
3055
|
ALL_SKILLS: () => ALL_SKILLS,
|
|
3054
3056
|
HOSTED_SKILLS: () => HOSTED_SKILLS,
|
|
3057
|
+
TOOL_ANNOTATIONS: () => TOOL_ANNOTATIONS,
|
|
3055
3058
|
adSkill: () => adSkill,
|
|
3056
3059
|
audioSkill: () => audioSkill,
|
|
3057
3060
|
campaignSkill: () => campaignSkill,
|
|
@@ -3070,10 +3073,21 @@ __export(skills_exports, {
|
|
|
3070
3073
|
saveWorkflowSkill: () => saveWorkflowSkill,
|
|
3071
3074
|
statusSkill: () => statusSkill,
|
|
3072
3075
|
storyboardSkill: () => storyboardSkill,
|
|
3076
|
+
toolListing: () => toolListing,
|
|
3073
3077
|
uploadSkill: () => uploadSkill,
|
|
3074
3078
|
upscaleSkill: () => upscaleSkill,
|
|
3075
3079
|
videoSkill: () => videoSkill
|
|
3076
3080
|
});
|
|
3081
|
+
function toolListing(skill) {
|
|
3082
|
+
const { title, ...hints } = TOOL_ANNOTATIONS[skill.name];
|
|
3083
|
+
return {
|
|
3084
|
+
name: skill.name,
|
|
3085
|
+
title,
|
|
3086
|
+
description: skill.description,
|
|
3087
|
+
inputSchema: skill.inputJsonSchema,
|
|
3088
|
+
annotations: { title, ...hints }
|
|
3089
|
+
};
|
|
3090
|
+
}
|
|
3077
3091
|
function findHostedSkill(name) {
|
|
3078
3092
|
const wanted = name.replace(/^pixeldojo:/, "pixeldojo_");
|
|
3079
3093
|
return HOSTED_SKILLS.find((s) => s.name === wanted);
|
|
@@ -3082,7 +3096,7 @@ function findSkill(name) {
|
|
|
3082
3096
|
const wanted = name.replace(/^pixeldojo:/, "pixeldojo_");
|
|
3083
3097
|
return ALL_SKILLS.find((s) => s.name === wanted);
|
|
3084
3098
|
}
|
|
3085
|
-
var ALL_SKILLS, isLocalPathField, HOSTED_SKILLS;
|
|
3099
|
+
var ALL_SKILLS, isLocalPathField, HOSTED_SKILLS, render, read, TOOL_ANNOTATIONS;
|
|
3086
3100
|
var init_skills = __esm({
|
|
3087
3101
|
"src/skills/index.ts"() {
|
|
3088
3102
|
init_generate();
|
|
@@ -3137,6 +3151,29 @@ var init_skills = __esm({
|
|
|
3137
3151
|
}
|
|
3138
3152
|
};
|
|
3139
3153
|
});
|
|
3154
|
+
render = (title) => ({ title, readOnlyHint: false, destructiveHint: false, openWorldHint: false });
|
|
3155
|
+
read = (title) => ({ title, readOnlyHint: true, destructiveHint: false, openWorldHint: false });
|
|
3156
|
+
TOOL_ANNOTATIONS = {
|
|
3157
|
+
pixeldojo_generate: render("Generate image or video"),
|
|
3158
|
+
pixeldojo_edit: render("Edit image"),
|
|
3159
|
+
pixeldojo_character: render("Consistent character image"),
|
|
3160
|
+
pixeldojo_storyboard: render("Storyboard preview video"),
|
|
3161
|
+
pixeldojo_upscale: render("Upscale image or video"),
|
|
3162
|
+
pixeldojo_audio: render("Generate music, speech or sound"),
|
|
3163
|
+
pixeldojo_video: render("Change, animate or extend video"),
|
|
3164
|
+
pixeldojo_ad: render("Make video ad"),
|
|
3165
|
+
pixeldojo_campaign: render("Make product launch campaign"),
|
|
3166
|
+
pixeldojo_film: render("Make short film"),
|
|
3167
|
+
pixeldojo_episode: render("Make faceless video"),
|
|
3168
|
+
pixeldojo_run_workflow: render("Run saved workflow"),
|
|
3169
|
+
pixeldojo_upload: render("Upload local file"),
|
|
3170
|
+
pixeldojo_save_workflow: { ...render("Save workflow"), destructiveHint: true },
|
|
3171
|
+
pixeldojo_status: read("Check job status"),
|
|
3172
|
+
pixeldojo_campaign_status: read("Check campaign status"),
|
|
3173
|
+
pixeldojo_library: read("Search media library"),
|
|
3174
|
+
pixeldojo_list_workflows: read("List saved workflows"),
|
|
3175
|
+
pixeldojo_from_url: { ...read("Read product page"), openWorldHint: true }
|
|
3176
|
+
};
|
|
3140
3177
|
}
|
|
3141
3178
|
});
|
|
3142
3179
|
function makeAttributedClient(options) {
|
|
@@ -3190,7 +3227,7 @@ function makeRedactedLogger(target = console) {
|
|
|
3190
3227
|
}
|
|
3191
3228
|
|
|
3192
3229
|
// src/server.ts
|
|
3193
|
-
var PACKAGE_VERSION = "0.
|
|
3230
|
+
var PACKAGE_VERSION = "0.16.1" ;
|
|
3194
3231
|
var SERVER_INSTRUCTIONS = "PixelDojo generates images, video, audio and short films across 100+ models, billed in credits from the connected PixelDojo account. A job that runs past the 30-second wait returns a jobId to check later; check it rather than submitting again, since every new submission is charged. Generated asset URLs are deleted one hour after they are created, so download anything the user wants to keep. Finished films are the exception and stay in the account library.";
|
|
3195
3232
|
function buildServer(options) {
|
|
3196
3233
|
if (!options.apiKey) {
|
|
@@ -3215,11 +3252,7 @@ function buildServer(options) {
|
|
|
3215
3252
|
);
|
|
3216
3253
|
server.setRequestHandler(types_js.ListToolsRequestSchema, async () => {
|
|
3217
3254
|
return {
|
|
3218
|
-
tools: ALL_SKILLS.map(
|
|
3219
|
-
name: skill.name,
|
|
3220
|
-
description: skill.description,
|
|
3221
|
-
inputSchema: skill.inputJsonSchema
|
|
3222
|
-
}))
|
|
3255
|
+
tools: ALL_SKILLS.map(toolListing)
|
|
3223
3256
|
};
|
|
3224
3257
|
});
|
|
3225
3258
|
server.setRequestHandler(types_js.CallToolRequestSchema, async (req) => {
|