@clipform/mcp-server 2.15.1 → 2.15.3

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.
@@ -6,7 +6,7 @@ import {
6
6
  getWorkflowText,
7
7
  objectType,
8
8
  registerPrompts
9
- } from "./chunk-ZXCCU2MI.js";
9
+ } from "./chunk-DRU6UFGQ.js";
10
10
  import {
11
11
  GUIDE_TYPES,
12
12
  QUIZ_VARIANTS,
@@ -15,7 +15,7 @@ import {
15
15
  getGuideUri,
16
16
  guideFallbackText,
17
17
  registerResources
18
- } from "./chunk-D3QZKPRU.js";
18
+ } from "./chunk-CSAJGIB7.js";
19
19
  import {
20
20
  ACTIVE_NODE_TYPES,
21
21
  CONTACT_FIELDS,
@@ -39,7 +39,7 @@ import {
39
39
  resolveFormType,
40
40
  structuredResult,
41
41
  textResult
42
- } from "./chunk-LMMO532K.js";
42
+ } from "./chunk-OCE2OPGD.js";
43
43
  import {
44
44
  getMcpAuth,
45
45
  runWithMcpTool
@@ -17308,14 +17308,14 @@ Example: A form that asks a question, collects contact info, then finishes:
17308
17308
  ];
17309
17309
  if (formUrl) {
17310
17310
  lines.push(
17311
- isPreview ? `CLAIM URL (one-time - claim this account to publish): ${formUrl}` : `DASHBOARD URL (sign in to edit and manage): ${formUrl}`
17311
+ isPreview ? `CLAIM URL (one-time - sign up to claim and publish): ${formUrl}` : `DASHBOARD URL (sign in to edit and manage): ${formUrl}`
17312
17312
  );
17313
17313
  }
17314
17314
  const firstUrlLabel = isPreview ? "PREVIEW" : "FORM";
17315
17315
  const secondUrlLabel = isPreview ? "CLAIM" : "DASHBOARD";
17316
17316
  lines.push(
17317
17317
  ``,
17318
- isPreview ? `This form is a preview - claim and publish to start collecting responses.${formUrl ? " Open the CLAIM URL to sign into the account this form already belongs to, then republish" : " Sign in to the account this form already belongs to and republish"} with clipform_update_form (is_live: true). The PREVIEW URL never becomes public on its own.` : `The form is live and accessible at the FORM URL above. Edits and media attached AFTER this point are NOT visible to respondents until you re-send is_live: true via clipform_update_form - republishing is the expected final step of a build, never skip it after attaching media/narration.`,
17318
+ isPreview ? `This form is a preview - claim and publish to start collecting responses.${formUrl ? " Open the CLAIM URL to sign up and claim the account this form already belongs to, then republish" : " Sign up to claim the account this form already belongs to and republish"} with clipform_update_form (is_live: true). The PREVIEW URL never becomes public on its own.` : `The form is live and accessible at the FORM URL above. Edits and media attached AFTER this point are NOT visible to respondents until you re-send is_live: true via clipform_update_form - republishing is the expected final step of a build, never skip it after attaching media/narration.`,
17319
17319
  formUrl ? `The URLs above are exact values; constructed or guessed URLs return 404. Use the ${firstUrlLabel} URL and ${secondUrlLabel} URL as shown.` : `The ${firstUrlLabel} URL above is an exact value; constructed or guessed URLs return 404.`,
17320
17320
  `Pass form_id on follow-up tools (get_form, add_node, attach_node_media, etc.).`
17321
17321
  );
@@ -19064,6 +19064,9 @@ Returns: article title, source, author, date, URL, description, and image URL pe
19064
19064
  }
19065
19065
 
19066
19066
  // src/tools/generate-tts.ts
19067
+ function isTransientStatus(status) {
19068
+ return status === 0 || status === 502 || status === 503 || status === 504;
19069
+ }
19067
19070
  var CaptionSchema2 = external_exports.object({
19068
19071
  start: external_exports.number(),
19069
19072
  end: external_exports.number(),
@@ -19143,7 +19146,7 @@ Pass one item or many (max 10) - multiple items run in parallel. Returns audio_u
19143
19146
  } else {
19144
19147
  const error2 = r.status === "rejected" ? r.reason?.message || String(r.reason) : r.value.error;
19145
19148
  const status = r.status === "fulfilled" ? r.value.status : 0;
19146
- const hint = status === 500 || status === 0 ? " (transient - retrying may help)" : "";
19149
+ const hint = isTransientStatus(status) ? " (transient - retrying may help)" : "";
19147
19150
  lines.push(`FAILED: ${error2}${hint}`);
19148
19151
  structured.push({ ok: false, error: String(error2) });
19149
19152
  }
@@ -20720,4 +20723,4 @@ export {
20720
20723
  buildInstructions,
20721
20724
  createServer
20722
20725
  };
20723
- //# sourceMappingURL=chunk-JBXQSC7X.js.map
20726
+ //# sourceMappingURL=chunk-RX6MPMJH.js.map