@clipform/mcp-server 2.15.1 → 2.15.2

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-L5JC7PQO.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-OI2B3SCS.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-ZAWP567M.js";
43
43
  import {
44
44
  getMcpAuth,
45
45
  runWithMcpTool
@@ -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-IUXD73XS.js.map