@clipform/mcp-server 4.11.1 → 4.11.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.
@@ -29,7 +29,7 @@ import {
29
29
  union,
30
30
  unknown,
31
31
  url
32
- } from "./chunk-VYKTDKCM.js";
32
+ } from "./chunk-HYJJ4OG7.js";
33
33
  import {
34
34
  GUIDE_TYPES,
35
35
  QUIZ_VARIANTS,
@@ -38,7 +38,7 @@ import {
38
38
  getGuideUri,
39
39
  guideFallbackText,
40
40
  registerResources
41
- } from "./chunk-S2GEKYOU.js";
41
+ } from "./chunk-D752UXMA.js";
42
42
  import {
43
43
  ANON_PREVIEW_LINK_LABEL,
44
44
  ANON_PREVIEW_NOTICE,
@@ -52,7 +52,7 @@ import {
52
52
  isPreviewViewerUrl,
53
53
  previewOnlyNotice,
54
54
  withAdoptedNotice
55
- } from "./chunk-NHV5MS4J.js";
55
+ } from "./chunk-TYN34MUZ.js";
56
56
  import {
57
57
  ACTIVE_NODE_TYPES,
58
58
  ANON_MCP_BLOCKED_NODE_TYPES,
@@ -82,7 +82,7 @@ import {
82
82
  stripGatedConfigKeys,
83
83
  structuredResult,
84
84
  textResult
85
- } from "./chunk-GDHIIUZR.js";
85
+ } from "./chunk-7PQJ5FHR.js";
86
86
  import {
87
87
  getMcpAuth,
88
88
  runWithMcpAuth,
@@ -19145,7 +19145,10 @@ async function createRenderPlaceholder(input) {
19145
19145
  method: "POST",
19146
19146
  body: { media_asset_id: assetId }
19147
19147
  });
19148
- if (!attached.ok) return void 0;
19148
+ if (!attached.ok) {
19149
+ await failPlaceholder({ workspaceId, assetId }, `Failed to attach placeholder to node: ${attached.error}`);
19150
+ return void 0;
19151
+ }
19149
19152
  await callApi(`/forms/${input.formId}/nodes/${input.nodeId}/media`, {
19150
19153
  method: "PATCH",
19151
19154
  body: { fit_media: true, show_captions: input.narrated !== false }
@@ -20413,6 +20416,9 @@ function createServer(options) {
20413
20416
 
20414
20417
  export {
20415
20418
  SUPPORTED_PROTOCOL_VERSIONS,
20419
+ ProtocolErrorCode,
20420
+ ProtocolError,
20421
+ MissingRequiredClientCapabilityError,
20416
20422
  ReadBuffer,
20417
20423
  serializeMessage,
20418
20424
  process2 as process,
@@ -20433,4 +20439,4 @@ export {
20433
20439
  * MIT Licensed
20434
20440
  *)
20435
20441
  */
20436
- //# sourceMappingURL=chunk-VKMZAGHJ.js.map
20442
+ //# sourceMappingURL=chunk-ACNV5D4O.js.map