mcp-use 1.2.2-canary.1 → 1.2.3-canary.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.
@@ -0,0 +1,28 @@
1
+ import {
2
+ MCPAgent,
3
+ RemoteAgent
4
+ } from "../../chunk-UP63KLTQ.js";
5
+ import "../../chunk-MZLETWQQ.js";
6
+ import "../../chunk-3RJENWH4.js";
7
+ import {
8
+ __name
9
+ } from "../../chunk-SHUYVCID.js";
10
+
11
+ // src/agents/base.ts
12
+ var BaseAgent = class {
13
+ static {
14
+ __name(this, "BaseAgent");
15
+ }
16
+ session;
17
+ /**
18
+ * @param session MCP session used for tool invocation
19
+ */
20
+ constructor(session) {
21
+ this.session = session;
22
+ }
23
+ };
24
+ export {
25
+ BaseAgent,
26
+ MCPAgent,
27
+ RemoteAgent
28
+ };
@@ -1,13 +1,15 @@
1
+ import {
2
+ createReadableStreamFromGenerator,
3
+ streamEventsToAISDK,
4
+ streamEventsToAISDKWithTools
5
+ } from "../chunk-H3ACYEVW.js";
1
6
  import {
2
7
  BaseAdapter,
3
8
  LangChainAdapter,
4
9
  MCPAgent,
5
10
  ObservabilityManager,
6
- RemoteAgent,
7
- createReadableStreamFromGenerator,
8
- streamEventsToAISDK,
9
- streamEventsToAISDKWithTools
10
- } from "../chunk-7UX634PO.js";
11
+ RemoteAgent
12
+ } from "../chunk-UP63KLTQ.js";
11
13
  import {
12
14
  BaseConnector,
13
15
  BrowserMCPClient,
@@ -1 +1 @@
1
- {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAyBG"}
1
+ {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBA0BG"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.2.2-canary.1",
4
+ "version": "1.2.3-canary.0",
5
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -29,6 +29,10 @@
29
29
  "types": "./dist/index.d.ts",
30
30
  "import": "./dist/index.js"
31
31
  },
32
+ "./agent": {
33
+ "types": "./dist/src/agents/index.d.ts",
34
+ "import": "./dist/src/agents/index.js"
35
+ },
32
36
  "./browser": {
33
37
  "types": "./dist/src/browser.d.ts",
34
38
  "import": "./dist/src/browser.js"
@@ -112,8 +116,8 @@
112
116
  "ws": "^8.18.2",
113
117
  "zod": "^3.25.48",
114
118
  "zod-to-json-schema": "^3.24.6",
115
- "@mcp-use/cli": "2.1.23-canary.1",
116
- "@mcp-use/inspector": "0.4.11-canary.1"
119
+ "@mcp-use/cli": "2.1.24-canary.0",
120
+ "@mcp-use/inspector": "0.4.12-canary.0"
117
121
  },
118
122
  "devDependencies": {
119
123
  "@antfu/eslint-config": "^4.13.2",