managed-deepagents 0.5.0-dev.97 → 0.5.1-dev.101
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/README.md +33 -7
- package/dist/connectors/mcp/load.d.ts +2 -2
- package/dist/connectors/mcp/load.d.ts.map +1 -1
- package/dist/connectors/mcp/load.js +23 -15
- package/dist/connectors/mcp/load.js.map +1 -1
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- markdownlint-disable MD033 MD041 -->
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
<a href="https://
|
|
5
|
-
<img alt="Managed Deep Agents logo" src="https://raw.githubusercontent.com/langchain-ai/managed-deepagents
|
|
4
|
+
<a href="https://docs.langchain.com/langsmith/python/managed-deep-agents-overview">
|
|
5
|
+
<img alt="Managed Deep Agents logo" src="https://raw.githubusercontent.com/langchain-ai/managed-deepagents/main/logo.png" width="70%">
|
|
6
6
|
</a>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
|
|
13
13
|
> [!IMPORTANT]
|
|
14
|
-
> **
|
|
15
|
-
>
|
|
16
|
-
>
|
|
17
|
-
>
|
|
18
|
-
> for access and updates.
|
|
14
|
+
> **Public beta.** Managed Deep Agents is in public beta. The npm package API
|
|
15
|
+
> and managed runtime contract may change. See the
|
|
16
|
+
> [docs](https://docs.langchain.com/langsmith/python/managed-deep-agents-overview)
|
|
17
|
+
> for getting started and updates.
|
|
19
18
|
|
|
20
19
|
`managed-deepagents` is the npm package for authoring Managed Deep Agents in
|
|
21
20
|
TypeScript and Node.js. It includes:
|
|
@@ -122,6 +121,7 @@ my-agent/
|
|
|
122
121
|
middleware/ # optional middleware
|
|
123
122
|
skills/ # optional skills synced to Context Hub
|
|
124
123
|
sandbox/ # LangSmith sandbox (`mda init` includes this; delete to opt out)
|
|
124
|
+
connectors/mcp.ts # optional MCP server declaration
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
The CLI copies your project files into the managed build and generates the entry
|
|
@@ -168,6 +168,32 @@ If `sandbox/setup.sh` exists, MDA embeds it and runs it once when the sandbox is
|
|
|
168
168
|
first provisioned. MDA owns sandbox naming, image/snapshot selection, reuse, and
|
|
169
169
|
lifecycle.
|
|
170
170
|
|
|
171
|
+
## MCP Connectors
|
|
172
|
+
|
|
173
|
+
Add `connectors/mcp.ts` to attach MCP servers. The file must export a named
|
|
174
|
+
`connector`. By default, MDA exposes every tool loaded from each declared
|
|
175
|
+
server. Supply your own auth via static `headers` when the server requires
|
|
176
|
+
credentials:
|
|
177
|
+
|
|
178
|
+
```ts
|
|
179
|
+
import { connectors } from "managed-deepagents";
|
|
180
|
+
|
|
181
|
+
export const connector = connectors.mcp({
|
|
182
|
+
mcpServers: {
|
|
183
|
+
langchainDocs: {
|
|
184
|
+
transport: "http",
|
|
185
|
+
url: "https://docs.langchain.com/mcp",
|
|
186
|
+
includeTools: ["search", "fetch"],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Use `includeTools` or `excludeTools` inside a server config to select a subset.
|
|
193
|
+
Tool names are raw MCP tool names before the managed `{server}__` prefix is
|
|
194
|
+
applied, so `includeTools: ["search"]` on server `langchainDocs` exposes
|
|
195
|
+
`langchainDocs__search` when prefixing is enabled.
|
|
196
|
+
|
|
171
197
|
## CLI
|
|
172
198
|
|
|
173
199
|
Create a new project:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { McpServersDefinition } from "./index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Load (and cache) the MCP tools
|
|
3
|
+
* Load (and cache) the MCP tools for one connector declaration.
|
|
4
4
|
*
|
|
5
5
|
* A failed load is never cached, so a transient connection error on the first
|
|
6
6
|
* run can be retried on the next, but a misconfigured deployment surfaces the
|
|
@@ -8,5 +8,5 @@ import type { McpServersDefinition } from "./index.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare function loadManagedMcpTools(connectors: McpServersDefinition): Promise<unknown[]>;
|
|
10
10
|
/** Clear the process-level MCP tool cache. Test-only. */
|
|
11
|
-
export declare function clearManagedMcpToolsCacheForTests(): void;
|
|
11
|
+
export declare function clearManagedMcpToolsCacheForTests(connectors?: McpServersDefinition): void;
|
|
12
12
|
//# sourceMappingURL=load.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../src/connectors/mcp/load.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAA0B,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../src/connectors/mcp/load.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAA0B,MAAM,YAAY,CAAC;AAc/E;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,oBAAoB,GAC/B,OAAO,CAAC,OAAO,EAAE,CAAC,CAWpB;AAED,yDAAyD;AACzD,wBAAgB,iCAAiC,CAC/C,UAAU,CAAC,EAAE,oBAAoB,GAChC,IAAI,CAMN"}
|
|
@@ -1,34 +1,42 @@
|
|
|
1
1
|
import { MultiServerMCPClient } from "@langchain/mcp-adapters";
|
|
2
2
|
import { selectTools } from "../tool-selection.js";
|
|
3
3
|
/**
|
|
4
|
-
* MCP tools loaded
|
|
4
|
+
* MCP tools loaded per declared connector, cached for the process lifetime.
|
|
5
5
|
*
|
|
6
6
|
* The compiled entry's graph factory runs `compileManagedAgent` on every
|
|
7
|
-
* invocation, but
|
|
8
|
-
* of the deployment — so the client is created and its tools
|
|
9
|
-
* once, and every subsequent run reuses them. Storing
|
|
10
|
-
* also dedupes concurrent first runs
|
|
7
|
+
* invocation, but each connector's MCP connection and tool surface are stable
|
|
8
|
+
* for the life of the deployment — so the client is created and its tools
|
|
9
|
+
* loaded once per declaration, and every subsequent run reuses them. Storing
|
|
10
|
+
* the in-flight promise also dedupes concurrent first runs for the same
|
|
11
|
+
* connector. Multiple `connectors.mcp(...)` modules each get their own entry.
|
|
11
12
|
*/
|
|
12
|
-
|
|
13
|
+
const cachedTools = new Map();
|
|
13
14
|
/**
|
|
14
|
-
* Load (and cache) the MCP tools
|
|
15
|
+
* Load (and cache) the MCP tools for one connector declaration.
|
|
15
16
|
*
|
|
16
17
|
* A failed load is never cached, so a transient connection error on the first
|
|
17
18
|
* run can be retried on the next, but a misconfigured deployment surfaces the
|
|
18
19
|
* error rather than silently starting with no tools.
|
|
19
20
|
*/
|
|
20
21
|
export function loadManagedMcpTools(connectors) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
throw error;
|
|
25
|
-
});
|
|
22
|
+
const cached = cachedTools.get(connectors);
|
|
23
|
+
if (cached) {
|
|
24
|
+
return cached;
|
|
26
25
|
}
|
|
27
|
-
|
|
26
|
+
const loading = createClientAndLoadTools(connectors).catch((error) => {
|
|
27
|
+
cachedTools.delete(connectors);
|
|
28
|
+
throw error;
|
|
29
|
+
});
|
|
30
|
+
cachedTools.set(connectors, loading);
|
|
31
|
+
return loading;
|
|
28
32
|
}
|
|
29
33
|
/** Clear the process-level MCP tool cache. Test-only. */
|
|
30
|
-
export function clearManagedMcpToolsCacheForTests() {
|
|
31
|
-
|
|
34
|
+
export function clearManagedMcpToolsCacheForTests(connectors) {
|
|
35
|
+
if (connectors) {
|
|
36
|
+
cachedTools.delete(connectors);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
cachedTools.clear();
|
|
32
40
|
}
|
|
33
41
|
/**
|
|
34
42
|
* Create the `@langchain/mcp-adapters` client from the declaration and load its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../src/connectors/mcp/load.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD
|
|
1
|
+
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../src/connectors/mcp/load.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD;;;;;;;;;GASG;AACH,MAAM,WAAW,GAAG,IAAI,GAAG,EAA4C,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CACjC,UAAgC;IAEhC,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAC3C,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,wBAAwB,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QACnE,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/B,MAAM,KAAK,CAAC;IACd,CAAC,CAAC,CAAC;IACH,WAAW,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACrC,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,yDAAyD;AACzD,MAAM,UAAU,iCAAiC,CAC/C,UAAiC;IAEjC,IAAI,UAAU,EAAE,CAAC;QACf,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC/B,OAAO;IACT,CAAC;IACD,WAAW,CAAC,KAAK,EAAE,CAAC;AACtB,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,wBAAwB,CACrC,UAAgC;IAEhC,MAAM,4BAA4B,GAChC,UAAU,CAAC,4BAA4B,IAAI,IAAI,CAAC;IAElD,MAAM,MAA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U,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;YAC/D,yEAAyE;YACzE,4DAA4D,CAC/D,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,43 @@ export { defineMemory } from "./memory/index.js";
|
|
|
5
5
|
export { auth, channels, credentials } from "./namespaces.js";
|
|
6
6
|
export { defineSandbox } from "./sandbox.js";
|
|
7
7
|
export type { Channels } from "./namespaces.js";
|
|
8
|
+
import { mcpConnector } from "./connectors/mcp/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Public connectors surface for this release: remote MCP only.
|
|
11
|
+
*
|
|
12
|
+
* Product toolserver / marketplace factories remain in `namespaces` for
|
|
13
|
+
* in-tree tests and a later re-enable; they are not part of the package export.
|
|
14
|
+
*/
|
|
15
|
+
export interface Connectors {
|
|
16
|
+
/**
|
|
17
|
+
* Declare remote MCP servers (HTTP/SSE) whose tools load at agent-graph
|
|
18
|
+
* construction. Stdio servers are not supported. Use static `headers` (or
|
|
19
|
+
* similar) when the server needs credentials — roll your own auth.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* export const connector = connectors.mcp({
|
|
24
|
+
* mcpServers: {
|
|
25
|
+
* docs: {
|
|
26
|
+
* transport: "http",
|
|
27
|
+
* url: "https://docs.example.com/mcp",
|
|
28
|
+
* headers: { Authorization: `Bearer ${process.env.DOCS_TOKEN}` },
|
|
29
|
+
* },
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @see {@link mcpConnector}
|
|
35
|
+
*/
|
|
36
|
+
mcp: typeof mcpConnector;
|
|
37
|
+
}
|
|
38
|
+
/** Public connectors namespace — MCP only for this release. */
|
|
39
|
+
export declare const connectors: Connectors;
|
|
8
40
|
export type { DeepAgentDefinition, DefineDeepAgentConfig, ManagedDeepAgentKey, } from "./types.js";
|
|
9
41
|
export type { ScheduleConfig, ScheduleDefinition, ScheduleDeliveryTarget, ScheduleThreadConfig, } from "./schedules.js";
|
|
10
42
|
export type { ClaimMapping, CredentialConnectRequirements, CredentialResolver, CredentialResolverConfig, CredentialResolvers, CredentialScope, CredentialTarget, GitHubAppJwtArgs, GitHubCredentialsOptions, GitHubTokenSource, GitHubUserTokenArgs, HttpIngress, IdentityAuth, IdentityConfig, IdentityDefinition, IdentityOptions, LangSmithApiKeyIngress, ResolvedCredential, RuntimeIdentity, ValidatedTokenIngress, ValidatedTokenProvider, } from "./identity/index.js";
|
|
11
43
|
export type { MemoryConfig, MemoryDefinition, MemoryOptions, MemoryScope, MemoryScopeInput, MemorySliceInput, MemorySliceKind, ResolvedMemorySlice, } from "./memory/index.js";
|
|
44
|
+
export type { HttpMcpServerConfig, McpServersConfig, McpServersDefinition, McpToolSelectionConfig, RemoteMcpServerBaseConfig, RemoteMcpServerConfig, SseMcpServerConfig, } from "./connectors/mcp/index.js";
|
|
12
45
|
export type { ChannelManifest, RequiredSlackChannelConfig, SlackChannel, SlackChannelConfig, SlackChannelFilters, SlackChannelTrigger, SlackConversationPolicy, SlackMentionBehavior, } from "./channels/slack/index.js";
|
|
13
46
|
export type { SandboxDefinition, SandboxOptions, SandboxScope, } from "./sandbox.js";
|
|
14
47
|
export type { ManagedDeepAgentRuntime, ManagedRuntimeExtras, } from "./runtime/managed-tools.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,YAAY,EACV,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,YAAY,EACZ,6BAA6B,EAC7B,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,eAAe,EACf,0BAA0B,EAC1B,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,YAAY,GACb,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;A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,EACrB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,eAAe,EACf,0BAA0B,EAC1B,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,iBAAiB,EACjB,cAAc,EACd,YAAY,GACb,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,4 +4,9 @@ export { defineIdentity } from "./identity/index.js";
|
|
|
4
4
|
export { defineMemory } from "./memory/index.js";
|
|
5
5
|
export { auth, channels, credentials } from "./namespaces.js";
|
|
6
6
|
export { defineSandbox } from "./sandbox.js";
|
|
7
|
+
import { mcpConnector } from "./connectors/mcp/index.js";
|
|
8
|
+
/** Public connectors namespace — MCP only for this release. */
|
|
9
|
+
export const connectors = {
|
|
10
|
+
mcp: mcpConnector,
|
|
11
|
+
};
|
|
7
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAgCzD,+DAA+D;AAC/D,MAAM,CAAC,MAAM,UAAU,GAAe;IACpC,GAAG,EAAE,YAAY;CAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "managed-deepagents",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1-dev.101",
|
|
4
4
|
"description": "Managed Deep Agents — the `defineDeepAgent` authoring interface plus the CLI that compiles and deploys a code-first Deep Agent repository to a managed LangGraph runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"langchain",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"zod": "^4.4.3"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
|
-
"@langchain/managed-deepagents-darwin-arm64": "0.5.
|
|
68
|
-
"@langchain/managed-deepagents-darwin-x64": "0.5.
|
|
69
|
-
"@langchain/managed-deepagents-linux-arm64": "0.5.
|
|
70
|
-
"@langchain/managed-deepagents-linux-x64": "0.5.
|
|
71
|
-
"@langchain/managed-deepagents-win32-arm64": "0.5.
|
|
72
|
-
"@langchain/managed-deepagents-win32-x64": "0.5.
|
|
67
|
+
"@langchain/managed-deepagents-darwin-arm64": "0.5.1-dev.101",
|
|
68
|
+
"@langchain/managed-deepagents-darwin-x64": "0.5.1-dev.101",
|
|
69
|
+
"@langchain/managed-deepagents-linux-arm64": "0.5.1-dev.101",
|
|
70
|
+
"@langchain/managed-deepagents-linux-x64": "0.5.1-dev.101",
|
|
71
|
+
"@langchain/managed-deepagents-win32-arm64": "0.5.1-dev.101",
|
|
72
|
+
"@langchain/managed-deepagents-win32-x64": "0.5.1-dev.101"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/node": "^26.1.1",
|