@clipform/mcp-server 4.2.2 → 4.2.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.
- package/dist/api-client.js +1 -1
- package/dist/{caps-DBnfcEyJ.d.ts → caps-KNlvfilv.d.ts} +2 -0
- package/dist/{chunk-5AAKB4S5.js → chunk-FFOQNI3B.js} +3 -3
- package/dist/{chunk-APCG2RRD.js → chunk-LBNRRZTC.js} +6 -6
- package/dist/{chunk-APCG2RRD.js.map → chunk-LBNRRZTC.js.map} +1 -1
- package/dist/{chunk-FGTU764J.js → chunk-NN77UKUQ.js} +5 -4
- package/dist/chunk-NN77UKUQ.js.map +1 -0
- package/dist/{chunk-KZNBYHHR.js → chunk-NZCRZDRQ.js} +21 -1
- package/dist/chunk-NZCRZDRQ.js.map +1 -0
- package/dist/{chunk-XOV5ILOJ.js → chunk-XW3FEMD4.js} +65 -20
- package/dist/{chunk-XOV5ILOJ.js.map → chunk-XW3FEMD4.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/prompts.d.ts +1 -1
- package/dist/prompts.js +3 -3
- package/dist/resources.d.ts +1 -1
- package/dist/resources.js +3 -3
- package/dist/server.d.ts +1 -1
- package/dist/server.js +5 -5
- package/package.json +3 -3
- package/server.json +2 -2
- package/dist/chunk-FGTU764J.js.map +0 -1
- package/dist/chunk-KZNBYHHR.js.map +0 -1
- /package/dist/{chunk-5AAKB4S5.js.map → chunk-FFOQNI3B.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NN77UKUQ.js";
|
|
5
5
|
import {
|
|
6
6
|
ALL_VARIANTS,
|
|
7
7
|
FORM_TYPES,
|
|
8
8
|
FORM_TYPE_KEYS,
|
|
9
9
|
callApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NZCRZDRQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getMcpAuth
|
|
13
13
|
} from "./chunk-VPF6MLKM.js";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
getGuideUri,
|
|
156
156
|
registerResources
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-FFOQNI3B.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NN77UKUQ.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKFLOW_TYPES,
|
|
7
7
|
getDiscoveryParams
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NZCRZDRQ.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -14633,10 +14633,10 @@ var quizWorkflow = (args, sessionContext, authMode, caps) => {
|
|
|
14633
14633
|
- title and message that fit the quiz's voice - short, punchy, and specific to the topic (not generic "Good job!"). Example: title: "Well played!", message: "Share your score and challenge a friend."
|
|
14634
14634
|
- NOTE: Personalised messages per score tier (score_ranges) are coming soon. For now, write one great end screen message that works for all scores.
|
|
14635
14635
|
${TAGS_LINE}`,
|
|
14636
|
-
caps.media && "**Generate narration** with clipform_generate_tts - batch ALL questions in a single call (pass an array of items).
|
|
14636
|
+
caps.media && "**Generate narration** with clipform_generate_tts - batch ALL questions in a single call (pass an array of items). Narration asks the full question in natural words so the clip stands alone (never a verbatim read of the prompt, never the answer); the on-screen prompt is then a short reminder. Without narration, the prompt carries the full question.",
|
|
14637
14637
|
caps.media && `**Build video** for each question - pass each question's node_id (and form_id) on the render call so it attaches automatically once done. Pick per question; mixing treatments across one quiz is fine:
|
|
14638
14638
|
- Default - narrated slideshow: clipform_search_media (kind: "image", 3 images per question, batch all queries in one call), then clipform_render_video_template (template: "slideshow", controls.items + controls.audio_url) with wait: false per question - fires all renders in parallel - then collect URLs with clipform_check_render.
|
|
14639
|
-
- Designed visual - when a recipe or composition fits the question or the user asks for one (e.g. a versus, a grid reveal, guess-the-city): recipe book first - clipform_list_video_templates and match the mechanic to a recipe, then clipform_render_video_template with its curated controls (wait: false, one call per question). Only if no recipe fits, drop to the raw primitives - clipform_list_compositions, then ONE clipform_render_composition call with items (all clips render in parallel). Collect job_ids with clipform_check_render.
|
|
14639
|
+
- Designed visual - when a recipe or composition fits the question or the user asks for one (e.g. a versus, a grid reveal, guess-the-city): recipe book first - clipform_list_video_templates and match the mechanic to a recipe, then clipform_render_video_template with its curated controls (wait: false, one call per question). Only if no recipe fits, drop to the raw primitives - clipform_list_compositions, then ONE clipform_render_composition call with items (all clips render in parallel). Collect job_ids with clipform_check_render. Recipes take the narration as audio_url (the clip sizes to it); raw compositions take it as sound.narration. Never pass a duration.`,
|
|
14640
14640
|
caps.media && ATTACH_MEDIA_STEP,
|
|
14641
14641
|
REPUBLISH_STEP,
|
|
14642
14642
|
caps.research && `${LOG_STEP} (sources, images, attributions)`
|
|
@@ -14755,7 +14755,7 @@ Build a standard scored quiz${topic} instead: call clipform_get_workflow with ty
|
|
|
14755
14755
|
- Optional reveal beat (type: "button"): add one only when the quiz wants extra context or celebration - the answer in the prompt ("It was Japan!"), config { button_text: "Next one" }
|
|
14756
14756
|
- Final end_screen node: show_score: true, icon: "trophy", show_share_button: true, cta_type: "restart", cta_text: a short challenge. NOTE: per-tier messages (score_ranges) are coming soon - write one great message.
|
|
14757
14757
|
- tags: format "quiz", genre "trivia", and 2-3 topic words`,
|
|
14758
|
-
"**Generate narration** with clipform_generate_tts - batch ALL items in one call.
|
|
14758
|
+
"**Generate narration** with clipform_generate_tts - batch ALL items in one call. Narration asks the full question so the clip stands alone (compare mechanics name both sides; decode mechanics like flag or rebus ask the question but never decode the clue) and never describes what's on screen. An optional reveal node's narration gives the answer plus one surprising fact.",
|
|
14759
14759
|
`${ATTACH_MEDIA_STEP} Attach the clue clip to each choice node; attach reveal clips to their button nodes only on questions that use one.`,
|
|
14760
14760
|
REPUBLISH_STEP,
|
|
14761
14761
|
caps.research && `${LOG_STEP} - record the composition IDs used per question alongside sources and attributions`
|
|
@@ -15224,4 +15224,4 @@ export {
|
|
|
15224
15224
|
getWorkflowText,
|
|
15225
15225
|
registerPrompts
|
|
15226
15226
|
};
|
|
15227
|
-
//# sourceMappingURL=chunk-
|
|
15227
|
+
//# sourceMappingURL=chunk-LBNRRZTC.js.map
|