@clipform/mcp-server 2.15.6 → 2.15.8

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.
@@ -2436,6 +2436,233 @@ function isInactiveOptionEdge(node, action) {
2436
2436
  return isOptionEdge(action) && !isBranchingActive(node);
2437
2437
  }
2438
2438
 
2439
+ // ../config/video-templates.js
2440
+ var PRESET_BG = {
2441
+ bold: "#0a0a14",
2442
+ elegant: "#1a1a2e",
2443
+ minimal: "#fafafa",
2444
+ typewriter: "#0d1117",
2445
+ neon: "#0a0a0a",
2446
+ cinematic: "#000000"
2447
+ };
2448
+ var PRESET_NAMES = Object.keys(PRESET_BG);
2449
+ var THEME_MOTION = {
2450
+ calm: { holdMultiplier: 1.4 },
2451
+ balanced: { holdMultiplier: 1 },
2452
+ energetic: { holdMultiplier: 0.7 }
2453
+ };
2454
+ var THEME_NAMES = Object.keys(THEME_MOTION);
2455
+ var SLIDESHOW_COMPOSITION_TRANSITIONS = ["fade", "slide", "wipe", "none"];
2456
+ var VIDEO_LOOKS = {
2457
+ clean: {
2458
+ transition: { type: "fade", duration: 1 },
2459
+ motionPreset: "cinematic"
2460
+ },
2461
+ editorial: {
2462
+ transition: { type: "fade", duration: 1 },
2463
+ motionPreset: "calm",
2464
+ texture: { type: "halftone" },
2465
+ duotone: { shadow: "#1a1633", highlight: "#f5c542" }
2466
+ },
2467
+ punchy: {
2468
+ transition: { type: "slide", duration: 0.5 },
2469
+ motionPreset: "energetic",
2470
+ randomEffects: true
2471
+ },
2472
+ "bold-poster": {
2473
+ transition: { type: "fade", duration: 1 },
2474
+ motionPreset: "dramatic",
2475
+ texture: { type: "halftone" },
2476
+ duotone: { shadow: "#0a0a14", highlight: "#f59e0b" },
2477
+ backgroundColor: "#0a0a14"
2478
+ }
2479
+ };
2480
+ var VIDEO_LOOK_NAMES = Object.keys(VIDEO_LOOKS);
2481
+ var VIDEO_TEMPLATE_REGISTRY = [
2482
+ {
2483
+ name: "title-card",
2484
+ tier: "labs",
2485
+ description: "An intro, section break, or outro card: a title with optional tagline and subtitle over an image or solid-colour background.",
2486
+ keywords: ["intro card", "title screen", "opening", "outro", "section header", "branded end screen"],
2487
+ controls: ["title", "subtitle?", "tagline?", "preset?", "backgroundImage?", "variant?", "theme?"],
2488
+ exampleControls: {
2489
+ title: "Welcome to Clipform",
2490
+ subtitle: "Video-first forms that actually get answered",
2491
+ tagline: "Get started",
2492
+ preset: "cinematic"
2493
+ }
2494
+ },
2495
+ {
2496
+ name: "mystery-reveal",
2497
+ tier: "public",
2498
+ description: 'A "guess what this is" reveal - a single image that resolves from obscured (blurred, pixelated, or zoomed-in) to sharp.',
2499
+ keywords: ["guess what this is", "reveal quiz", "blurred photo", "zoom and reveal", "mystery image", "guess the picture", "guess the flag"],
2500
+ controls: ["image", "variant?", "revealSeconds?", "theme?"],
2501
+ exampleControls: {
2502
+ image: "https://picsum.photos/seed/clipform-mystery/1080/1920",
2503
+ variant: "blur"
2504
+ }
2505
+ },
2506
+ {
2507
+ name: "colour-grid",
2508
+ tier: "labs",
2509
+ description: "A colour-matching or palette game: a grid of colour swatches to pick from or reveal.",
2510
+ keywords: ["colour matching", "palette quiz", "pick the colour", "swatch game", "build the flag"],
2511
+ controls: ["colors", "labels?", "variant?", "theme?"],
2512
+ exampleControls: {
2513
+ colors: ["#6366F1", "#EC4899", "#F59E0B", "#10B981"],
2514
+ labels: ["Indigo", "Pink", "Amber", "Emerald"]
2515
+ }
2516
+ },
2517
+ {
2518
+ name: "question-card",
2519
+ tier: "labs",
2520
+ description: "A survey or quiz prompt: a question over an image or solid-colour background, with an optional helper line - the workhorse for a form's question nodes.",
2521
+ keywords: ["ask a question", "survey question", "quiz prompt", "poll question", "form question"],
2522
+ controls: ["question", "helper?", "preset?", "backgroundImage?", "variant?", "theme?"],
2523
+ exampleControls: {
2524
+ question: "What are you hoping to achieve?",
2525
+ helper: "One sentence is plenty",
2526
+ preset: "minimal"
2527
+ }
2528
+ },
2529
+ {
2530
+ name: "stat-highlight",
2531
+ tier: "labs",
2532
+ description: "An impressive-number beat: one big statistic or metric that pops in, with an optional label and caption - social proof and emphasis.",
2533
+ keywords: ["big number", "statistic", "metric highlight", "impressive figure", "social proof number"],
2534
+ controls: ["value", "label?", "caption?", "preset?", "backgroundImage?", "variant?", "theme?"],
2535
+ exampleControls: {
2536
+ value: "10,000+",
2537
+ label: "forms created this month",
2538
+ preset: "bold"
2539
+ }
2540
+ },
2541
+ {
2542
+ name: "quote-card",
2543
+ tier: "labs",
2544
+ description: "A testimonial or pull-quote beat for social proof, with optional attribution.",
2545
+ keywords: ["testimonial", "pull quote", "social proof", "customer quote", "review highlight"],
2546
+ controls: ["quote", "attribution?", "preset?", "backgroundImage?", "variant?", "theme?"],
2547
+ exampleControls: {
2548
+ quote: "The fastest way we've found to talk to customers at scale.",
2549
+ attribution: "Jamie R., Head of Growth",
2550
+ preset: "elegant"
2551
+ }
2552
+ },
2553
+ {
2554
+ name: "list-card",
2555
+ tier: "labs",
2556
+ description: `An agenda, steps, or "what you'll get" beat: a headline with a short bulleted list revealed sequentially.`,
2557
+ keywords: ["bullet list", "agenda", "steps", "what you'll get", "checklist", "how it works"],
2558
+ controls: ["title", "items", "preset?", "backgroundImage?", "variant?", "theme?"],
2559
+ exampleControls: {
2560
+ title: "What you'll get",
2561
+ items: ["A custom quote", "A 15-minute call", "A live demo", "A follow-up plan"],
2562
+ preset: "bold"
2563
+ }
2564
+ },
2565
+ {
2566
+ name: "cta-card",
2567
+ tier: "labs",
2568
+ description: "A closing call-to-action: headline, action line, and optional subtext telling the viewer what to do next.",
2569
+ keywords: ["call to action", "closing screen", "do this next", "sign up prompt", "end card"],
2570
+ controls: ["headline", "action", "subtext?", "preset?", "backgroundImage?", "variant?", "theme?"],
2571
+ exampleControls: {
2572
+ headline: "Ready to get started?",
2573
+ action: "Sign up free",
2574
+ subtext: "No credit card required",
2575
+ preset: "cinematic"
2576
+ }
2577
+ },
2578
+ {
2579
+ name: "slideshow",
2580
+ tier: "public",
2581
+ description: "A photo montage or gallery walkthrough: multiple images with Ken Burns motion and configurable transitions between them. Silent (motion only) - for a montage narrated or synced to a voice track, use clipform_generate_video instead.",
2582
+ keywords: ["photo montage", "image slideshow", "ken burns", "picture story", "gallery", "photo gallery"],
2583
+ controls: ["images", "effect?", "transition?", "preset?", "secondsPerImage?", "theme?"],
2584
+ exampleControls: {
2585
+ images: [
2586
+ "https://picsum.photos/seed/clipform-slideshow-1/1080/1920",
2587
+ "https://picsum.photos/seed/clipform-slideshow-2/1080/1920",
2588
+ "https://picsum.photos/seed/clipform-slideshow-3/1080/1920"
2589
+ ],
2590
+ transition: "fade"
2591
+ }
2592
+ },
2593
+ {
2594
+ name: "guess-the-city",
2595
+ tier: "public",
2596
+ description: 'A map "guess where this is" reveal - the camera flies from a globe down onto a mystery city with place names hidden, then optionally reveals the answer.',
2597
+ keywords: ["guess the location", "guess the city", "where in the world", "geography trivia", "map flyover", "guess the country"],
2598
+ controls: ["lat", "lng", "name?", "motion?", "basemap?", "revealName?", "theme?"],
2599
+ exampleControls: {
2600
+ lat: 48.8566,
2601
+ lng: 2.3522,
2602
+ name: "Paris",
2603
+ motion: "zoom-in"
2604
+ }
2605
+ },
2606
+ {
2607
+ name: "versus",
2608
+ tier: "public",
2609
+ description: 'A head-to-head "this or that" comparison: two options side by side for the viewer to pick between.',
2610
+ keywords: ["this or that", "versus", "a or b", "which do you prefer", "head to head", "pick a side", "would you rather"],
2611
+ controls: ["left", "right", "leftLabel?", "rightLabel?", "theme?"],
2612
+ exampleControls: {
2613
+ left: "https://picsum.photos/seed/clipform-versus-left/1080/1920",
2614
+ right: "https://picsum.photos/seed/clipform-versus-right/1080/1920",
2615
+ leftLabel: "Option A",
2616
+ rightLabel: "Option B"
2617
+ }
2618
+ },
2619
+ {
2620
+ name: "pick-the-answer",
2621
+ tier: "public",
2622
+ description: "A multiple-choice question grid - the everyday quiz beat. Pair with a choice node's own answer feedback for the win/lose beat; set reveal: true for an optional spotlight-the-correct-option-with-a-green-tick payoff variant.",
2623
+ keywords: ["multiple choice", "quiz options", "pick the answer", "pick the correct one", "reveal the answer", "trivia question", "question grid"],
2624
+ controls: ["options", "reveal?", "correctIndex?", "columns?", "theme?"],
2625
+ exampleControls: {
2626
+ options: ["Paris", "London", "Rome", "Berlin"],
2627
+ reveal: true,
2628
+ correctIndex: 0
2629
+ }
2630
+ },
2631
+ {
2632
+ name: "odd-one-out",
2633
+ tier: "public",
2634
+ description: `A "spot the one that does not belong" grid puzzle. Pair with a choice node's own answer feedback for the win/lose beat; set reveal: true for an optional spotlight-the-odd-item payoff variant.`,
2635
+ keywords: ["odd one out", "spot the odd one", "which does not belong", "find the different one", "which is different"],
2636
+ controls: ["items", "reveal?", "oddIndex?", "columns?", "theme?"],
2637
+ exampleControls: {
2638
+ items: [
2639
+ "https://picsum.photos/seed/clipform-odd-1/1080/1920",
2640
+ "https://picsum.photos/seed/clipform-odd-2/1080/1920",
2641
+ "https://picsum.photos/seed/clipform-odd-3/1080/1920",
2642
+ "https://picsum.photos/seed/clipform-odd-4/1080/1920"
2643
+ ],
2644
+ reveal: true,
2645
+ oddIndex: 2
2646
+ }
2647
+ },
2648
+ {
2649
+ name: "photo-grid",
2650
+ tier: "public",
2651
+ description: "A photo wall or mosaic: several images shown together in one grid, with optional captions.",
2652
+ keywords: ["photo grid", "photo wall", "mosaic", "image grid", "moodboard", "gallery grid"],
2653
+ controls: ["images", "columns?", "labels?", "theme?"],
2654
+ exampleControls: {
2655
+ images: [
2656
+ "https://picsum.photos/seed/clipform-photo-1/1080/1920",
2657
+ "https://picsum.photos/seed/clipform-photo-2/1080/1920",
2658
+ "https://picsum.photos/seed/clipform-photo-3/1080/1920",
2659
+ "https://picsum.photos/seed/clipform-photo-4/1080/1920"
2660
+ ]
2661
+ }
2662
+ }
2663
+ ];
2664
+ var VIDEO_TEMPLATE_NAMES = VIDEO_TEMPLATE_REGISTRY.map((r) => r.name);
2665
+
2439
2666
  // ../config/logic-chain.js
2440
2667
  function outgoingTargets(actions, node) {
2441
2668
  const out = [];
@@ -2767,26 +2994,6 @@ var KEN_BURNS_PRESETS = [
2767
2994
  "energetic"
2768
2995
  ];
2769
2996
  var KEN_BURNS_FIT_MODES = ["cover", "blur-pad", "auto"];
2770
- var SLIDESHOW_TRANSITIONS = [
2771
- "fade",
2772
- "fadeblack",
2773
- "fadewhite",
2774
- "slideleft",
2775
- "slideright",
2776
- "circlecrop",
2777
- "circleopen",
2778
- "circleclose",
2779
- "dissolve",
2780
- "pixelize",
2781
- "radial",
2782
- "smoothleft",
2783
- "smoothright",
2784
- "wipeleft",
2785
- "wiperight",
2786
- "diagtl",
2787
- "diagbr",
2788
- "hblur"
2789
- ];
2790
2997
  var COMPOSITION_REGISTRY = [
2791
2998
  // Beds (full-bleed backgrounds)
2792
2999
  { id: "Slideshow", tier: "public", kind: "bed", scene_layer: true },
@@ -3067,13 +3274,14 @@ export {
3067
3274
  ALL_VARIANTS,
3068
3275
  resolveFormType,
3069
3276
  getDiscoveryParams,
3277
+ SLIDESHOW_COMPOSITION_TRANSITIONS,
3278
+ VIDEO_LOOK_NAMES,
3070
3279
  defaultTarget,
3071
3280
  bfsOrder,
3072
3281
  CONTACT_FIELDS,
3073
3282
  KEN_BURNS_EFFECTS,
3074
3283
  KEN_BURNS_PRESETS,
3075
3284
  KEN_BURNS_FIT_MODES,
3076
- SLIDESHOW_TRANSITIONS,
3077
3285
  exposedCompositionIds,
3078
3286
  MCP_TOOL_TIERS,
3079
3287
  MCP_TOOL_TOOLSETS,
@@ -3086,4 +3294,4 @@ export {
3086
3294
  getSessionContextWithAuth,
3087
3295
  getSessionContext
3088
3296
  };
3089
- //# sourceMappingURL=chunk-XJZKMMY2.js.map
3297
+ //# sourceMappingURL=chunk-4DVA4LDZ.js.map