@clipform/mcp-server 3.0.0 → 3.2.1
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.
- package/README.md +2 -2
- package/README.template.md +1 -1
- package/dist/auth-context.d.ts +13 -0
- package/dist/auth-context.js +1 -1
- package/dist/{chunk-EXV5M7YV.js → chunk-236IGTEY.js} +2 -2
- package/dist/{chunk-HZMMOSEM.js → chunk-A5CFGL27.js} +1 -1
- package/dist/chunk-A5CFGL27.js.map +1 -0
- package/dist/{chunk-KCF7ZVDI.js → chunk-EQ6WNIA5.js} +2 -2
- package/dist/{chunk-QBPE32AV.js → chunk-J7727374.js} +318 -80
- package/dist/chunk-J7727374.js.map +1 -0
- package/dist/{chunk-KNOCYZHG.js → chunk-VZKMOMFJ.js} +29 -10
- package/dist/chunk-VZKMOMFJ.js.map +1 -0
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.js +5 -5
- package/package.json +4 -3
- package/dist/chunk-HZMMOSEM.js.map +0 -1
- package/dist/chunk-KNOCYZHG.js.map +0 -1
- package/dist/chunk-QBPE32AV.js.map +0 -1
- /package/dist/{chunk-EXV5M7YV.js.map → chunk-236IGTEY.js.map} +0 -0
- /package/dist/{chunk-KCF7ZVDI.js.map → chunk-EQ6WNIA5.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MCP_AUTH_VIA_HEADER,
|
|
4
4
|
MCP_MINT_PROOF_HEADER,
|
|
5
5
|
getMcpAuth
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A5CFGL27.js";
|
|
7
7
|
import {
|
|
8
8
|
isAuthFault,
|
|
9
9
|
isServerFault,
|
|
@@ -37,9 +37,10 @@ var FEATURES = {
|
|
|
37
37
|
consent_documents: {
|
|
38
38
|
name: "Agreement documents",
|
|
39
39
|
description: "Attach a PDF agreement to a consent item, read inline in the viewer with scroll-to-accept",
|
|
40
|
-
enabled:
|
|
41
|
-
status: "
|
|
42
|
-
category: "builder"
|
|
40
|
+
enabled: true,
|
|
41
|
+
status: "live",
|
|
42
|
+
category: "builder",
|
|
43
|
+
wentLiveAt: "2026-10-02"
|
|
43
44
|
},
|
|
44
45
|
node_logic: {
|
|
45
46
|
name: "Node routing logic",
|
|
@@ -156,8 +157,8 @@ var FEATURES = {
|
|
|
156
157
|
// Widened (#4338): the checkbox items are typed 'consent' (required,
|
|
157
158
|
// blocks submission until checked) or 'opt_in' (optional) - see
|
|
158
159
|
// CONSENT_TYPES in node-types.js and the viewer's Contact.tsx. Both are
|
|
159
|
-
// plain text checkboxes available to every creator with no gate
|
|
160
|
-
//
|
|
160
|
+
// plain text checkboxes available to every creator with no gate. Attaching
|
|
161
|
+
// a PDF agreement document is the separate consent_documents feature (live).
|
|
161
162
|
description: "Structured fields (name, email, phone, company) with consent and opt-in checkboxes",
|
|
162
163
|
enabled: true,
|
|
163
164
|
status: "live",
|
|
@@ -1282,7 +1283,17 @@ var NODE_TYPES = {
|
|
|
1282
1283
|
// document version they saw, and when they accepted.
|
|
1283
1284
|
reached_end: { type: "boolean" },
|
|
1284
1285
|
document_version: { type: "string" },
|
|
1285
|
-
accepted_at: { type: "string" }
|
|
1286
|
+
accepted_at: { type: "string" },
|
|
1287
|
+
// Server-stamped on write (#4552) when the node's current document
|
|
1288
|
+
// matches document_version; any client-supplied value is discarded.
|
|
1289
|
+
document: {
|
|
1290
|
+
type: "object",
|
|
1291
|
+
properties: {
|
|
1292
|
+
storage_path: { type: "string" },
|
|
1293
|
+
url: { type: "string" },
|
|
1294
|
+
filename: { type: "string" }
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1286
1297
|
}
|
|
1287
1298
|
},
|
|
1288
1299
|
description: "Consent checkbox entries"
|
|
@@ -1321,7 +1332,15 @@ var NODE_TYPES = {
|
|
|
1321
1332
|
// Scrollwrap audit trail (#2760), emitted only for document-gated items.
|
|
1322
1333
|
reached_end: { type: "boolean" },
|
|
1323
1334
|
document_version: { type: "string" },
|
|
1324
|
-
accepted_at: { type: "string" }
|
|
1335
|
+
accepted_at: { type: "string" },
|
|
1336
|
+
// The exact agreement file accepted (#4552). storage_path is not emitted.
|
|
1337
|
+
document: {
|
|
1338
|
+
type: "object",
|
|
1339
|
+
properties: {
|
|
1340
|
+
url: { type: "string" },
|
|
1341
|
+
filename: { type: "string" }
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1325
1344
|
}
|
|
1326
1345
|
}
|
|
1327
1346
|
}
|
|
@@ -2593,7 +2612,6 @@ var HELP_TOPICS = {
|
|
|
2593
2612
|
emailShare: { path: "/help/sharing", anchor: "share-by-email" },
|
|
2594
2613
|
publicResults: { path: "/help/public-results", anchor: null },
|
|
2595
2614
|
trash: { path: "/help/managing-forms", anchor: "trash" },
|
|
2596
|
-
agreementVersions: { path: "/help/responses", anchor: "agreement-versions" },
|
|
2597
2615
|
customDomains: { path: "/help/domains", anchor: null },
|
|
2598
2616
|
customPath: { path: "/help/links", anchor: "custom-path-on-your-domain" },
|
|
2599
2617
|
// Per-node-type deep-links into help/node-types.mdx (#3963). Keyed
|
|
@@ -2750,6 +2768,7 @@ var BUSINESS = {
|
|
|
2750
2768
|
};
|
|
2751
2769
|
var MEDIA_DIRECT_MAX_BYTES = 20 * 1024 * 1024;
|
|
2752
2770
|
var MEDIA_IMAGE_MAX_BYTES = 10 * 1024 * 1024;
|
|
2771
|
+
var MEDIA_DOCUMENT_MAX_BYTES = 20 * 1024 * 1024;
|
|
2753
2772
|
var SUPABASE_STORAGE_MAX_BYTES = 200 * 1024 * 1024;
|
|
2754
2773
|
var VIDEO_COMPRESS_FLOOR_BYTES = 1 * 1024 * 1024;
|
|
2755
2774
|
var HELP_LINKS = buildHelpLinks(BUSINESS.urls.docs);
|
|
@@ -3235,4 +3254,4 @@ export {
|
|
|
3235
3254
|
getSessionContextWithAuth,
|
|
3236
3255
|
getSessionContext
|
|
3237
3256
|
};
|
|
3238
|
-
//# sourceMappingURL=chunk-
|
|
3257
|
+
//# sourceMappingURL=chunk-VZKMOMFJ.js.map
|