@clipform/mcp-server 2.15.9 → 2.15.10

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.
@@ -16998,6 +16998,22 @@ import { readFileSync } from "fs";
16998
16998
  import { dirname, join } from "path";
16999
16999
  import { fileURLToPath } from "url";
17000
17000
 
17001
+ // src/lib/onboarding-copy.ts
17002
+ var ONBOARDING_OFFER_CONTROL_VARIANT = "control";
17003
+ var ONBOARDING_OFFER_COPY = {
17004
+ // #4089 review: this cohort has already completed OAuth to connect - they
17005
+ // have an account. Never claim "no account needed" or otherwise imply an
17006
+ // anonymous/no-sign-up lane here; that framing contradicts what they just
17007
+ // did and reads as broken. Acknowledge the connection instead, then offer
17008
+ // to build. (The anonymous/no-auth entry point is a different surface,
17009
+ // #4088 - not this cohort.)
17010
+ [ONBOARDING_OFFER_CONTROL_VARIANT]: "When this is the start of a new conversation and the user has not yet said what they want to build, welcome them as someone who is now connected to Clipform and offer to build their first form together, then offer these starting points as plain text: lead-gen, feedback, quiz, or something else - ask which one fits, or invite them to describe what they need instead. If the user's first message already states what they want to build, even loosely, skip that offer entirely and go straight into the brief-driven flow below."
17011
+ };
17012
+ function buildOnboardingOffer(variant = ONBOARDING_OFFER_CONTROL_VARIANT) {
17013
+ return ONBOARDING_OFFER_COPY[variant] ?? ONBOARDING_OFFER_COPY[ONBOARDING_OFFER_CONTROL_VARIANT];
17014
+ }
17015
+ var ONBOARDING_OFFER_TOOL_CUE = "If the user hasn't said what to build yet, offer to build their first form and suggest starting points: lead-gen, feedback, quiz, or something else.";
17016
+
17001
17017
  // src/lib/config.ts
17002
17018
  var _endScreen = NODE_TYPES.end_screen.config_schema.properties;
17003
17019
  var END_SCREEN_ICONS = _endScreen.icon.enum;
@@ -17185,6 +17201,8 @@ function registerCreateFormTool(server) {
17185
17201
  title: "Create Clipform",
17186
17202
  description: `Create a new Clipform (interactive video-style form). Returns a viewer URL and form ID. When connected via an authenticated MCP client (e.g. claude.ai), the form lands directly in the user's workspace. Anonymous sessions get a claim URL to transfer ownership later.
17187
17203
 
17204
+ ${ONBOARDING_OFFER_TOOL_CUE}
17205
+
17188
17206
  ${NODE_TYPES_DESCRIPTION}
17189
17207
 
17190
17208
  All type definitions and config schemas are derived from @vid-master/config (node-types). Refer to the config descriptions above for the correct keys and shapes. AI-PROTECTED parameters have restrictions noted in their descriptions.
@@ -20681,6 +20699,7 @@ var MCP_SERVER_IDENTITY = Object.freeze({
20681
20699
  });
20682
20700
  function buildInstructions(caps) {
20683
20701
  return [
20702
+ buildOnboardingOffer(),
20684
20703
  "Clipform builds interactive video-style forms. When the brief is clear, build the form directly; when it's vague, ask one or two short questions first.",
20685
20704
  caps.media && "Prefer rich media: video over images over plain text.",
20686
20705
  caps.media ? "Before building, derive a register from the topic and audience (e.g. hype, playful, warm, considered, elegant, sombre); if the user states a mood explicitly, that wins. State the register once, then apply it to every rendering choice - narration tone, motion preset, music, pacing. Never mix registers in one form." : "Before building, derive a register from the topic and audience (e.g. hype, playful, warm, considered, elegant, sombre); if the user states a mood explicitly, that wins. State the register once, then apply it to every question, option, and end-screen line. Never mix registers in one form.",
@@ -20773,4 +20792,4 @@ export {
20773
20792
  buildInstructions,
20774
20793
  createServer
20775
20794
  };
20776
- //# sourceMappingURL=chunk-4YDGMSPG.js.map
20795
+ //# sourceMappingURL=chunk-IP7263ND.js.map