@clipform/mcp-server 2.2.2 → 2.2.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.
- package/dist/auth-context.js +2 -1
- package/dist/{chunk-HCZI2UJ5.js → chunk-G3PMV62Z.js} +2 -20
- package/dist/chunk-G3PMV62Z.js.map +1 -0
- package/dist/{chunk-XKVU6UN7.js → chunk-GRIUCE3Q.js} +10 -8
- package/dist/{chunk-XKVU6UN7.js.map → chunk-GRIUCE3Q.js.map} +1 -1
- package/dist/chunk-PBQ5BQWD.js +60 -0
- package/dist/chunk-PBQ5BQWD.js.map +1 -0
- package/dist/chunk-V4L5RQWK.js +21 -0
- package/dist/{chunk-HCZI2UJ5.js.map → chunk-V4L5RQWK.js.map} +1 -1
- package/dist/{chunk-T6L5Z4J5.js → chunk-WCPHQ4GU.js} +3 -3
- package/dist/{chunk-EOAGENT6.js → chunk-WNXTF76M.js} +2 -2
- package/dist/{chunk-GZRTOCD2.js → chunk-YZJZ5NPL.js} +33 -51
- package/dist/chunk-YZJZ5NPL.js.map +1 -0
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/prompts.js +5 -3
- package/dist/resources.js +5 -3
- package/dist/server.js +7 -5
- package/dist/telemetry.d.ts +27 -0
- package/dist/telemetry.js +16 -0
- package/dist/telemetry.js.map +1 -0
- package/package.json +5 -1
- package/dist/chunk-GZRTOCD2.js.map +0 -1
- /package/dist/{chunk-T6L5Z4J5.js.map → chunk-WCPHQ4GU.js.map} +0 -0
- /package/dist/{chunk-EOAGENT6.js.map → chunk-WNXTF76M.js.map} +0 -0
package/dist/auth-context.js
CHANGED
|
@@ -28,27 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// src/lib/auth-context.ts
|
|
32
|
-
import { AsyncLocalStorage } from "async_hooks";
|
|
33
|
-
var storage = new AsyncLocalStorage();
|
|
34
|
-
function runWithMcpAuth(ctx, fn) {
|
|
35
|
-
return storage.run(ctx, fn);
|
|
36
|
-
}
|
|
37
|
-
function getMcpAuth() {
|
|
38
|
-
return storage.getStore();
|
|
39
|
-
}
|
|
40
|
-
function runWithMcpTool(toolName, fn) {
|
|
41
|
-
const parent = storage.getStore();
|
|
42
|
-
if (!parent) return fn();
|
|
43
|
-
return storage.run({ ...parent, tool_name: toolName }, fn);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
31
|
export {
|
|
47
32
|
__commonJS,
|
|
48
33
|
__export,
|
|
49
|
-
__toESM
|
|
50
|
-
runWithMcpAuth,
|
|
51
|
-
getMcpAuth,
|
|
52
|
-
runWithMcpTool
|
|
34
|
+
__toESM
|
|
53
35
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-G3PMV62Z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getWorkflowText,
|
|
7
7
|
objectType,
|
|
8
8
|
registerPrompts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WCPHQ4GU.js";
|
|
10
10
|
import {
|
|
11
11
|
GUIDE_TYPES,
|
|
12
12
|
QUIZ_VARIANTS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getGuideUri,
|
|
15
15
|
guideFallbackText,
|
|
16
16
|
registerResources
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WNXTF76M.js";
|
|
18
18
|
import {
|
|
19
19
|
ACTIVE_NODE_TYPES,
|
|
20
20
|
BUSINESS,
|
|
@@ -33,14 +33,16 @@ import {
|
|
|
33
33
|
resolveFormType,
|
|
34
34
|
structuredResult,
|
|
35
35
|
textResult
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YZJZ5NPL.js";
|
|
37
37
|
import {
|
|
38
|
-
__commonJS,
|
|
39
|
-
__export,
|
|
40
|
-
__toESM,
|
|
41
38
|
getMcpAuth,
|
|
42
39
|
runWithMcpTool
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-V4L5RQWK.js";
|
|
41
|
+
import {
|
|
42
|
+
__commonJS,
|
|
43
|
+
__export,
|
|
44
|
+
__toESM
|
|
45
|
+
} from "./chunk-G3PMV62Z.js";
|
|
44
46
|
|
|
45
47
|
// ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
46
48
|
var require_code = __commonJS({
|
|
@@ -19977,4 +19979,4 @@ export {
|
|
|
19977
19979
|
RENDER_TIMING,
|
|
19978
19980
|
createServer
|
|
19979
19981
|
};
|
|
19980
|
-
//# sourceMappingURL=chunk-
|
|
19982
|
+
//# sourceMappingURL=chunk-GRIUCE3Q.js.map
|