@clipform/mcp-server 2.10.3 → 2.10.5

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.
@@ -20580,6 +20580,10 @@ Optional args by type:
20580
20580
  var __dirname = dirname(fileURLToPath(import.meta.url));
20581
20581
  var pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
20582
20582
  var MCP_VERSION = pkg.version;
20583
+ var MCP_SERVER_IDENTITY = Object.freeze({
20584
+ name: "clipform-mcp-server",
20585
+ version: MCP_VERSION
20586
+ });
20583
20587
  function buildInstructions(caps) {
20584
20588
  return [
20585
20589
  "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.",
@@ -20588,16 +20592,13 @@ function buildInstructions(caps) {
20588
20592
  "At the start of a build, call clipform_get_workflow to load the recipe for the form type, and clipform_get_guide for craft detail.",
20589
20593
  "Every *_id argument is a UUID returned by the tools - not the short share_id from a form URL.",
20590
20594
  "For an account-scoped request, call clipform_whoami first to confirm the active workspace and plan.",
20591
- caps.media ? "Deleting a form, node, or its media is permanent; those tools ask the user to confirm before running." : "Deleting a form or node is permanent; those tools ask the user to confirm before running."
20595
+ caps.media ? "Deleting a form moves it to the trash (restorable from the dashboard); deleting a node or media is permanent. Those tools ask the user to confirm before running." : "Deleting a form moves it to the trash (restorable from the dashboard); deleting a node is permanent. Those tools ask the user to confirm before running."
20592
20596
  ].filter((line) => typeof line === "string").join(" ");
20593
20597
  }
20594
20598
  function createServer(options) {
20595
20599
  const caps = capsFromToolsets(options?.toolsets);
20596
20600
  const server = new McpServer(
20597
- {
20598
- name: "clipform-mcp-server",
20599
- version: MCP_VERSION
20600
- },
20601
+ { ...MCP_SERVER_IDENTITY },
20601
20602
  { instructions: buildInstructions(caps) }
20602
20603
  );
20603
20604
  const _registerTool = server.registerTool.bind(server);
@@ -20667,7 +20668,8 @@ function createServer(options) {
20667
20668
  export {
20668
20669
  JSONRPCMessageSchema,
20669
20670
  RENDER_TIMING,
20671
+ MCP_SERVER_IDENTITY,
20670
20672
  buildInstructions,
20671
20673
  createServer
20672
20674
  };
20673
- //# sourceMappingURL=chunk-ZOBK6CK7.js.map
20675
+ //# sourceMappingURL=chunk-44LRAJJ3.js.map