mcp-use 1.11.2-canary.1 → 1.11.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/{chunk-37GE4CGF.js → chunk-CN263ZGG.js} +1 -1
- package/dist/{chunk-YQ5FNPLQ.js → chunk-DTHLI4WJ.js} +1 -1
- package/dist/{chunk-IAOHAND4.js → chunk-FDT46IKB.js} +2 -2
- package/dist/{chunk-2NEWVOVR.js → chunk-MUC4N6UU.js} +2 -2
- package/dist/{chunk-RE7QK7HC.js → chunk-T7EN7JPJ.js} +2 -2
- package/dist/{chunk-2F3QCL3B.js → chunk-UNSBX4AO.js} +2 -2
- package/dist/{chunk-IHFLTW5Y.js → chunk-XSB7YRNQ.js} +1 -1
- package/dist/{chunk-OWV5SZYV.js → chunk-YV6CCR64.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +7 -7
- package/dist/src/agents/index.cjs +1 -1
- package/dist/src/agents/index.js +5 -5
- package/dist/src/browser.cjs +1 -1
- package/dist/src/browser.js +5 -5
- package/dist/src/client.cjs +1 -1
- package/dist/src/client.js +3 -3
- package/dist/src/react/index.cjs +1 -1
- package/dist/src/react/index.js +4 -4
- package/dist/src/server/index.cjs +1 -1
- package/dist/src/server/index.js +5 -5
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.d.ts.map +1 -1
- package/dist/{tool-execution-helpers-OBS4V3TX.js → tool-execution-helpers-LDDTIU7I.js} +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MCPClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-T7EN7JPJ.js";
|
|
4
4
|
import {
|
|
5
5
|
LangChainAdapter
|
|
6
6
|
} from "./chunk-MFSO5PUW.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Telemetry,
|
|
9
9
|
extractModelInfo,
|
|
10
10
|
getPackageVersion
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CN263ZGG.js";
|
|
12
12
|
import {
|
|
13
13
|
logger
|
|
14
14
|
} from "./chunk-FRUZDWXH.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseMCPClient,
|
|
3
3
|
HttpConnector
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XSB7YRNQ.js";
|
|
5
5
|
import {
|
|
6
6
|
Tel,
|
|
7
7
|
getPackageVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CN263ZGG.js";
|
|
9
9
|
import {
|
|
10
10
|
logger
|
|
11
11
|
} from "./chunk-FRUZDWXH.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
ConnectionManager,
|
|
5
5
|
HttpConnector,
|
|
6
6
|
MCPSession
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XSB7YRNQ.js";
|
|
8
8
|
import {
|
|
9
9
|
Tel,
|
|
10
10
|
getPackageVersion
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CN263ZGG.js";
|
|
12
12
|
import {
|
|
13
13
|
logger
|
|
14
14
|
} from "./chunk-FRUZDWXH.js";
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "./chunk-GXNAXUDI.js";
|
|
12
12
|
import {
|
|
13
13
|
PROMPTS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DTHLI4WJ.js";
|
|
15
15
|
import {
|
|
16
16
|
AcquireActiveMCPServerTool,
|
|
17
17
|
AddMCPServerFromConfigTool,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getSupportedProviders,
|
|
27
27
|
isValidLLMString,
|
|
28
28
|
parseLLMString
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FDT46IKB.js";
|
|
30
30
|
import "./chunk-JRGQRPTN.js";
|
|
31
31
|
import {
|
|
32
32
|
BaseCodeExecutor,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
VMCodeExecutor,
|
|
37
37
|
isVMAvailable,
|
|
38
38
|
loadConfigFile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-T7EN7JPJ.js";
|
|
40
40
|
import {
|
|
41
41
|
BaseAdapter
|
|
42
42
|
} from "./chunk-MFSO5PUW.js";
|
|
@@ -52,20 +52,20 @@ import {
|
|
|
52
52
|
useWidgetProps,
|
|
53
53
|
useWidgetState,
|
|
54
54
|
useWidgetTheme
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-UNSBX4AO.js";
|
|
56
|
+
import "./chunk-MUC4N6UU.js";
|
|
57
57
|
import {
|
|
58
58
|
BaseConnector,
|
|
59
59
|
HttpConnector,
|
|
60
60
|
MCPSession
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XSB7YRNQ.js";
|
|
62
62
|
import {
|
|
63
63
|
Tel,
|
|
64
64
|
Telemetry,
|
|
65
65
|
VERSION,
|
|
66
66
|
getPackageVersion,
|
|
67
67
|
setTelemetrySource
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CN263ZGG.js";
|
|
69
69
|
import {
|
|
70
70
|
Logger,
|
|
71
71
|
logger
|
package/dist/src/agents/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseAgent,
|
|
3
3
|
PROMPTS
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-DTHLI4WJ.js";
|
|
5
5
|
import {
|
|
6
6
|
MCPAgent,
|
|
7
7
|
RemoteAgent
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-FDT46IKB.js";
|
|
9
9
|
import "../../chunk-JRGQRPTN.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-T7EN7JPJ.js";
|
|
11
11
|
import "../../chunk-MFSO5PUW.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-XSB7YRNQ.js";
|
|
13
|
+
import "../../chunk-CN263ZGG.js";
|
|
14
14
|
import "../../chunk-FRUZDWXH.js";
|
|
15
15
|
import "../../chunk-3GQAWCBQ.js";
|
|
16
16
|
export {
|
package/dist/src/browser.cjs
CHANGED
package/dist/src/browser.js
CHANGED
|
@@ -12,27 +12,27 @@ import {
|
|
|
12
12
|
getSupportedProviders,
|
|
13
13
|
isValidLLMString,
|
|
14
14
|
parseLLMString
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-FDT46IKB.js";
|
|
16
16
|
import "../chunk-JRGQRPTN.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-T7EN7JPJ.js";
|
|
18
18
|
import {
|
|
19
19
|
BaseAdapter
|
|
20
20
|
} from "../chunk-MFSO5PUW.js";
|
|
21
21
|
import {
|
|
22
22
|
BrowserMCPClient
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-MUC4N6UU.js";
|
|
24
24
|
import {
|
|
25
25
|
BaseConnector,
|
|
26
26
|
HttpConnector,
|
|
27
27
|
MCPSession
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-XSB7YRNQ.js";
|
|
29
29
|
import {
|
|
30
30
|
Tel,
|
|
31
31
|
Telemetry,
|
|
32
32
|
VERSION,
|
|
33
33
|
getPackageVersion,
|
|
34
34
|
setTelemetrySource
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-CN263ZGG.js";
|
|
36
36
|
import {
|
|
37
37
|
Logger,
|
|
38
38
|
logger
|
package/dist/src/client.cjs
CHANGED
package/dist/src/client.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
MCPClient,
|
|
5
5
|
VMCodeExecutor,
|
|
6
6
|
isVMAvailable
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-T7EN7JPJ.js";
|
|
8
8
|
import {
|
|
9
9
|
MCPSession
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-XSB7YRNQ.js";
|
|
11
|
+
import "../chunk-CN263ZGG.js";
|
|
12
12
|
import "../chunk-FRUZDWXH.js";
|
|
13
13
|
import "../chunk-3GQAWCBQ.js";
|
|
14
14
|
export {
|
package/dist/src/react/index.cjs
CHANGED
package/dist/src/react/index.js
CHANGED
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
useWidgetProps,
|
|
10
10
|
useWidgetState,
|
|
11
11
|
useWidgetTheme
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-UNSBX4AO.js";
|
|
13
|
+
import "../../chunk-MUC4N6UU.js";
|
|
14
|
+
import "../../chunk-XSB7YRNQ.js";
|
|
15
15
|
import {
|
|
16
16
|
Tel,
|
|
17
17
|
Telemetry,
|
|
18
18
|
setTelemetrySource
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-CN263ZGG.js";
|
|
20
20
|
import "../../chunk-FRUZDWXH.js";
|
|
21
21
|
import {
|
|
22
22
|
onMcpAuthorization
|
package/dist/src/server/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createEnhancedContext,
|
|
8
8
|
findSessionContext,
|
|
9
9
|
isValidLogLevel
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-YV6CCR64.js";
|
|
11
11
|
import {
|
|
12
12
|
convertToolResultToResourceResult
|
|
13
13
|
} from "../../chunk-362PI25Z.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getPackageVersion,
|
|
31
31
|
isDeno,
|
|
32
32
|
pathHelpers
|
|
33
|
-
} from "../../chunk-
|
|
33
|
+
} from "../../chunk-CN263ZGG.js";
|
|
34
34
|
import "../../chunk-FRUZDWXH.js";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
|
@@ -2240,7 +2240,7 @@ function registerResource(resourceDefinition, callback) {
|
|
|
2240
2240
|
const explicitMimeType = resourceDefinition.mimeType;
|
|
2241
2241
|
const wrappedCallback = /* @__PURE__ */ __name(async () => {
|
|
2242
2242
|
const { getRequestContext: getRequestContext2, runWithContext: runWithContext2 } = await import("../../context-storage-NA4MHWOZ.js");
|
|
2243
|
-
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-
|
|
2243
|
+
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-LDDTIU7I.js");
|
|
2244
2244
|
const initialRequestContext = getRequestContext2();
|
|
2245
2245
|
const sessions = this.sessions || /* @__PURE__ */ new Map();
|
|
2246
2246
|
const { requestContext } = findSessionContext2(
|
|
@@ -2318,7 +2318,7 @@ function registerResourceTemplate(resourceTemplateDefinition, callback) {
|
|
|
2318
2318
|
async (uri) => {
|
|
2319
2319
|
const params = this.parseTemplateUri(uriTemplate, uri.toString());
|
|
2320
2320
|
const { getRequestContext: getRequestContext2, runWithContext: runWithContext2 } = await import("../../context-storage-NA4MHWOZ.js");
|
|
2321
|
-
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-
|
|
2321
|
+
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-LDDTIU7I.js");
|
|
2322
2322
|
const initialRequestContext = getRequestContext2();
|
|
2323
2323
|
const sessions = this.sessions || /* @__PURE__ */ new Map();
|
|
2324
2324
|
const { requestContext } = findSessionContext2(
|
|
@@ -2373,7 +2373,7 @@ function registerPrompt(promptDefinition, callback) {
|
|
|
2373
2373
|
}
|
|
2374
2374
|
const wrappedCallback = /* @__PURE__ */ __name(async (params, extra) => {
|
|
2375
2375
|
const { getRequestContext: getRequestContext2, runWithContext: runWithContext2 } = await import("../../context-storage-NA4MHWOZ.js");
|
|
2376
|
-
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-
|
|
2376
|
+
const { findSessionContext: findSessionContext2 } = await import("../../tool-execution-helpers-LDDTIU7I.js");
|
|
2377
2377
|
const initialRequestContext = getRequestContext2();
|
|
2378
2378
|
const sessions = this.sessions || /* @__PURE__ */ new Map();
|
|
2379
2379
|
const { requestContext } = findSessionContext2(
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,WAAW,CAAC;AAEhC;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C"}
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
sendProgressNotification,
|
|
11
11
|
shouldLogMessage,
|
|
12
12
|
withTimeout
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YV6CCR64.js";
|
|
14
14
|
import "./chunk-KUEVOU4M.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CN263ZGG.js";
|
|
16
16
|
import "./chunk-FRUZDWXH.js";
|
|
17
17
|
import "./chunk-3GQAWCBQ.js";
|
|
18
18
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-use",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.11.2
|
|
4
|
+
"version": "1.11.2",
|
|
5
5
|
"description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.",
|
|
6
6
|
"author": "mcp-use, Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"posthog-node": "^5.17.2",
|
|
138
138
|
"ws": "^8.18.3",
|
|
139
139
|
"zod": "^4.2.0",
|
|
140
|
-
"@mcp-use/cli": "2.7.0
|
|
141
|
-
"@mcp-use/inspector": "0.13.2
|
|
140
|
+
"@mcp-use/cli": "2.7.0",
|
|
141
|
+
"@mcp-use/inspector": "0.13.2"
|
|
142
142
|
},
|
|
143
143
|
"optionalDependencies": {
|
|
144
144
|
"chalk": "^5.6.2",
|