@pixeldojo/mcp 0.11.0 → 0.12.0

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/index.cjs CHANGED
@@ -2043,7 +2043,7 @@ var init_library = __esm({
2043
2043
  };
2044
2044
  librarySkill = {
2045
2045
  name: "pixeldojo_library",
2046
- description: "Search your media library: saved My Media items (permanent) and recent API/MCP generations (expire after 24h), newest first. Returns asset URLs to reuse as reference inputs. Keep a result forever with pixeldojo_save.",
2046
+ description: "Search your media library: saved My Media items (permanent) and recent API/MCP generations (deleted 1 hour after they finish), newest first. Returns asset URLs to reuse as reference inputs.",
2047
2047
  inputZod: InputSchema14,
2048
2048
  inputJsonSchema: InputJsonSchema14,
2049
2049
  allowedModels: [],
@@ -2052,52 +2052,6 @@ var init_library = __esm({
2052
2052
  };
2053
2053
  }
2054
2054
  });
2055
- async function run15(input, ctx) {
2056
- const res = await ctx.client.saveMedia({
2057
- url: input.url,
2058
- prompt: input.prompt,
2059
- tool_name: input.tool_name,
2060
- modality: input.modality,
2061
- job_id: input.job_id
2062
- });
2063
- return {
2064
- kind: "text",
2065
- text: `Saved to My Media (permanent): ${res.url}
2066
- It will appear at https://pixeldojo.ai/my-images and in pixeldojo_library searches.`
2067
- };
2068
- }
2069
- var InputSchema15, InputJsonSchema15, saveSkill;
2070
- var init_save = __esm({
2071
- "src/skills/save.ts"() {
2072
- InputSchema15 = zod.z.object({
2073
- url: zod.z.string().url().describe("The asset URL to save (image or video)."),
2074
- prompt: zod.z.string().optional().describe("The prompt that produced it \u2014 makes it findable in the library later."),
2075
- tool_name: zod.z.string().optional().describe("Tool/model slug that produced it."),
2076
- modality: zod.z.enum(["image", "video", "audio"]).optional(),
2077
- job_id: zod.z.string().optional().describe("The jobId that produced this asset, when known.")
2078
- });
2079
- InputJsonSchema15 = {
2080
- type: "object",
2081
- properties: {
2082
- url: { type: "string", format: "uri" },
2083
- prompt: { type: "string" },
2084
- tool_name: { type: "string" },
2085
- modality: { type: "string", enum: ["image", "video", "audio"] },
2086
- job_id: { type: "string" }
2087
- },
2088
- required: ["url"]
2089
- };
2090
- saveSkill = {
2091
- name: "pixeldojo_save",
2092
- description: "Save a generated image or video into the user's My Media library permanently. Generation outputs otherwise expire after 24 hours \u2014 call this when the user wants to keep a result.",
2093
- inputZod: InputSchema15,
2094
- inputJsonSchema: InputJsonSchema15,
2095
- allowedModels: [],
2096
- defaultModel: "",
2097
- run: run15
2098
- };
2099
- }
2100
- });
2101
2055
  function substitutePlaceholders(args, inputs, prevUrl) {
2102
2056
  const missing = [];
2103
2057
  const fill = (value) => {
@@ -2319,7 +2273,6 @@ __export(skills_exports, {
2319
2273
  librarySkill: () => librarySkill,
2320
2274
  listWorkflowsSkill: () => listWorkflowsSkill,
2321
2275
  runWorkflowSkill: () => runWorkflowSkill,
2322
- saveSkill: () => saveSkill,
2323
2276
  saveWorkflowSkill: () => saveWorkflowSkill,
2324
2277
  statusSkill: () => statusSkill,
2325
2278
  storyboardSkill: () => storyboardSkill,
@@ -2347,7 +2300,6 @@ var init_skills = __esm({
2347
2300
  init_upload();
2348
2301
  init_audio();
2349
2302
  init_library();
2350
- init_save();
2351
2303
  init_workflows();
2352
2304
  exports.ALL_SKILLS = [
2353
2305
  generateSkill,
@@ -2357,7 +2309,6 @@ var init_skills = __esm({
2357
2309
  upscaleSkill,
2358
2310
  audioSkill,
2359
2311
  librarySkill,
2360
- saveSkill,
2361
2312
  saveWorkflowSkill,
2362
2313
  runWorkflowSkill,
2363
2314
  listWorkflowsSkill,
@@ -2422,7 +2373,7 @@ function makeRedactedLogger(target = console) {
2422
2373
  }
2423
2374
 
2424
2375
  // src/server.ts
2425
- var PACKAGE_VERSION = "0.11.0" ;
2376
+ var PACKAGE_VERSION = "0.12.0" ;
2426
2377
  function buildServer(options) {
2427
2378
  if (!options.apiKey) {
2428
2379
  throw new Error(