@clipform/mcp-server 4.7.0 → 4.8.0
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/dist/api-client.js +1 -1
- package/dist/{chunk-D4Q5ZWFO.js → chunk-7KKHHANA.js} +3 -3
- package/dist/{chunk-HV5FRLYK.js → chunk-LJZVIYLO.js} +11 -9
- package/dist/{chunk-HV5FRLYK.js.map → chunk-LJZVIYLO.js.map} +1 -1
- package/dist/{chunk-VSSV3IOU.js → chunk-MSJJEURL.js} +3 -3
- package/dist/{chunk-EFPJA3JE.js → chunk-R6E7I4GW.js} +6 -2
- package/dist/chunk-R6E7I4GW.js.map +1 -0
- package/dist/{chunk-XC3YMWCN.js → chunk-URQXLZEB.js} +84 -50
- package/dist/chunk-URQXLZEB.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 -4
- package/server.json +2 -2
- package/dist/chunk-EFPJA3JE.js.map +0 -1
- package/dist/chunk-XC3YMWCN.js.map +0 -1
- /package/dist/{chunk-D4Q5ZWFO.js.map → chunk-7KKHHANA.js.map} +0 -0
- /package/dist/{chunk-VSSV3IOU.js.map → chunk-MSJJEURL.js.map} +0 -0
package/dist/api-client.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContextWithAuth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R6E7I4GW.js";
|
|
5
5
|
import {
|
|
6
6
|
FORM_TYPES,
|
|
7
7
|
WORKFLOW_TYPES,
|
|
8
8
|
getDiscoveryParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-URQXLZEB.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -15231,4 +15231,4 @@ export {
|
|
|
15231
15231
|
getWorkflowText,
|
|
15232
15232
|
registerPrompts
|
|
15233
15233
|
};
|
|
15234
|
-
//# sourceMappingURL=chunk-
|
|
15234
|
+
//# sourceMappingURL=chunk-7KKHHANA.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
union,
|
|
30
30
|
unknown,
|
|
31
31
|
url
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7KKHHANA.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-
|
|
41
|
+
} from "./chunk-MSJJEURL.js";
|
|
42
42
|
import {
|
|
43
43
|
ANON_PREVIEW_LINK_LABEL,
|
|
44
44
|
ANON_PREVIEW_NOTICE,
|
|
@@ -47,11 +47,12 @@ import {
|
|
|
47
47
|
PREVIEW_URL_DESCRIPTION,
|
|
48
48
|
anonPreviewNotice,
|
|
49
49
|
capsFromToolsets,
|
|
50
|
+
isAnonymousSession,
|
|
50
51
|
isConnectorGuest,
|
|
51
52
|
isPreviewViewerUrl,
|
|
52
53
|
previewOnlyNotice,
|
|
53
54
|
withAdoptedNotice
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-R6E7I4GW.js";
|
|
55
56
|
import {
|
|
56
57
|
ACTIVE_NODE_TYPES,
|
|
57
58
|
ANON_MCP_BLOCKED_NODE_TYPES,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
stripGatedConfigKeys,
|
|
80
81
|
structuredResult,
|
|
81
82
|
textResult
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-URQXLZEB.js";
|
|
83
84
|
import {
|
|
84
85
|
getMcpAuth,
|
|
85
86
|
runWithMcpAuth,
|
|
@@ -16475,8 +16476,9 @@ Example: A form that asks a question, collects contact info, then finishes:
|
|
|
16475
16476
|
);
|
|
16476
16477
|
}
|
|
16477
16478
|
planContext = {
|
|
16478
|
-
|
|
16479
|
-
|
|
16479
|
+
// /me says "api_key" for the anonymous MCP lane (bot key): the auth context is the truth.
|
|
16480
|
+
auth_mode: isAnonymousSession() ? "anonymous" : me.auth_mode ?? "anonymous",
|
|
16481
|
+
is_authenticated: me.auth_mode != null && me.auth_mode !== "anonymous" && !isAnonymousSession(),
|
|
16480
16482
|
workspace_id: workspaceId,
|
|
16481
16483
|
workspace_name: me.workspace?.name ?? null,
|
|
16482
16484
|
plan_name: me.plan?.name ?? "Free",
|
|
@@ -16814,7 +16816,7 @@ function registerImportFormTool(server) {
|
|
|
16814
16816
|
}
|
|
16815
16817
|
const me = meResult.data;
|
|
16816
16818
|
const workspaceId = me.workspace?.id ?? null;
|
|
16817
|
-
const workspaceName = me.auth_mode && me.auth_mode !== "anonymous" ? me.workspace?.name ?? void 0 : void 0;
|
|
16819
|
+
const workspaceName = me.auth_mode && me.auth_mode !== "anonymous" && !isAnonymousSession() ? me.workspace?.name ?? void 0 : void 0;
|
|
16818
16820
|
if (!workspaceId) {
|
|
16819
16821
|
return errorResult(
|
|
16820
16822
|
"No workspace available. This usually means authentication is misconfigured - check your API key or OAuth connection."
|
|
@@ -18160,7 +18162,7 @@ Provide media via \`items\` (explicit type + URL), \`files\` (files attached by
|
|
|
18160
18162
|
}
|
|
18161
18163
|
const me = meResult.data;
|
|
18162
18164
|
const workspaceId = me.workspace?.id ?? null;
|
|
18163
|
-
const workspaceName = me.auth_mode && me.auth_mode !== "anonymous" ? me.workspace?.name ?? void 0 : void 0;
|
|
18165
|
+
const workspaceName = me.auth_mode && me.auth_mode !== "anonymous" && !isAnonymousSession() ? me.workspace?.name ?? void 0 : void 0;
|
|
18164
18166
|
if (!workspaceId) {
|
|
18165
18167
|
return errorResult(
|
|
18166
18168
|
"No workspace available. This usually means authentication is misconfigured - check your API key or OAuth connection."
|
|
@@ -20350,4 +20352,4 @@ export {
|
|
|
20350
20352
|
* MIT Licensed
|
|
20351
20353
|
*)
|
|
20352
20354
|
*/
|
|
20353
|
-
//# sourceMappingURL=chunk-
|
|
20355
|
+
//# sourceMappingURL=chunk-LJZVIYLO.js.map
|