@mcp-use/agent 2.0.0-beta.17 → 2.0.0-beta.18

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-use/agent",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.17",
4
+ "version": "2.0.0-beta.18",
5
5
  "description": "Native cross-platform MCP agent. Inspector → MCPAgent → loop → fetch + @mcp-use/client. LangChain bridge at @mcp-use/agent/langchain.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -27,10 +27,6 @@
27
27
  "types": "./dist/index.d.ts",
28
28
  "import": "./dist/index.js"
29
29
  },
30
- "./browser": {
31
- "types": "./dist/browser-agent.d.ts",
32
- "import": "./dist/browser-agent.js"
33
- },
34
30
  "./langchain": {
35
31
  "types": "./dist/langchain.d.ts",
36
32
  "import": "./dist/langchain.js"
@@ -46,12 +42,8 @@
46
42
  },
47
43
  "dependencies": {
48
44
  "@modelcontextprotocol/client": "2.0.0-beta.5",
49
- "chalk": "4.1.2",
50
45
  "@mcp-use/client": "2.0.0-beta.16"
51
46
  },
52
- "optionalDependencies": {
53
- "cli-highlight": "2.1.11"
54
- },
55
47
  "peerDependencies": {
56
48
  "@langchain/anthropic": "^1.3.0",
57
49
  "@langchain/core": "^1.1.0",
@@ -85,11 +77,14 @@
85
77
  }
86
78
  },
87
79
  "devDependencies": {
80
+ "@langchain/anthropic": "^1.3.0",
88
81
  "@langchain/openai": "^1.2.8",
82
+ "@modelcontextprotocol/sdk": ">=1.25.2",
89
83
  "@vitest/coverage-v8": "^4.1.9",
90
84
  "ai": "^6.0.116",
91
85
  "rimraf": "^6.1.3",
92
86
  "tsup": "^8.5.1",
87
+ "tsx": "^4.21.0",
93
88
  "typescript": "^7.0.2",
94
89
  "vitest": "^4.1.0",
95
90
  "zod": "4.3.5"
@@ -112,6 +107,7 @@
112
107
  "test:integration:manager": "vitest run tests/integration/agent/test_server_manager.test.ts",
113
108
  "test:integration:observability": "vitest run tests/integration/agent/test_agent_observability.test.ts",
114
109
  "test:integration:codemode": "vitest run tests/integration/agent/test_code_mode.test.ts",
115
- "test:integration:native-openai": "vitest run tests/integration/agent/test_agent_native_openai.test.ts"
110
+ "test:integration:native-openai": "vitest run tests/integration/agent/test_agent_native_openai.test.ts",
111
+ "example:verify": "bash examples/run-verify.sh"
116
112
  }
117
113
  }
@@ -1,9 +0,0 @@
1
- /**
2
- * Browser agent entry — native MCPAgent (LangChain-free).
3
- */
4
- export { MCPAgent, convertMessagesToProvider, providerConfigFromOptions, type MCPAgentOptions, type McpConnectionLike, type McpServersInput, type RunOptions, type ProviderName, type ProviderConfig, type ProviderMessage, type LlmStreamEvent, } from "./agents/mcp_agent.js";
5
- export { completeChat, completeChat as chat } from "./llm/chat.js";
6
- export { DEFAULT_OLLAMA_BASE_URL } from "./llm/providers/ollama/utils.js";
7
- export { RemoteAgent } from "./agents/remote.js";
8
- export { BaseAdapter, NativeAdapter } from "./adapters/index.js";
9
- //# sourceMappingURL=browser-agent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser-agent.d.ts","sourceRoot":"","sources":["../src/browser-agent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,QAAQ,EACR,yBAAyB,EACzB,yBAAyB,EACzB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,YAAY,IAAI,IAAI,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}