deepagents 1.10.4 → 1.10.5
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/{agent-DNSq5NSK.d.cts → agent-2caqZpg2.d.cts} +19 -42
- package/dist/{agent-taGqnaXM.d.ts → agent-DURA4_mf.d.ts} +19 -42
- package/dist/browser.cjs +1 -2
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +2 -2
- package/dist/index.cjs +2 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{langsmith-D-SD2NFy.cjs → langsmith-ZfNZ_Pyb.cjs} +6 -277
- package/dist/langsmith-ZfNZ_Pyb.cjs.map +1 -0
- package/dist/{langsmith-agEHKB-W.js → langsmith-wdF8zG42.js} +8 -273
- package/dist/langsmith-wdF8zG42.js.map +1 -0
- package/dist/node.cjs +2 -3
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/{src-i9LWYTHF.js → src-DybKvM4T.js} +3 -3
- package/dist/{src-i9LWYTHF.js.map → src-DybKvM4T.js.map} +1 -1
- package/dist/{src-CZWQ_Lxm.cjs → src-plSII1Kf.cjs} +3 -3
- package/dist/{src-CZWQ_Lxm.cjs.map → src-plSII1Kf.cjs.map} +1 -1
- package/package.json +8 -8
- package/dist/langsmith-D-SD2NFy.cjs.map +0 -1
- package/dist/langsmith-agEHKB-W.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _langchain from "langchain";
|
|
2
|
-
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentRunStream, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool,
|
|
2
|
+
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentRunStream, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool, SubagentRunStream, SubagentRunStream as SubagentRunStream$1, SystemMessage, ToolMessage, ToolRuntime, ToolStrategy } from "langchain";
|
|
3
3
|
import * as _langgraph from "@langchain/langgraph";
|
|
4
|
-
import { AnnotationRoot, AnyStateSchema,
|
|
4
|
+
import { AnnotationRoot, AnyStateSchema, Command, ReducedValue, StateDefinitionInit, StateSchema, StreamTransformer } from "@langchain/langgraph";
|
|
5
5
|
import { z } from "zod/v4";
|
|
6
6
|
import { BaseCheckpointSaver, BaseStore } from "@langchain/langgraph-checkpoint";
|
|
7
7
|
import * as _messages from "@langchain/core/messages";
|
|
@@ -2640,29 +2640,18 @@ interface CreateDeepAgentParams<TResponse extends SupportedResponseFormat = Supp
|
|
|
2640
2640
|
/**
|
|
2641
2641
|
* Optional {@link StreamTransformer} factories to register with the underlying agent.
|
|
2642
2642
|
*
|
|
2643
|
-
*
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2643
|
+
* These are forwarded as-is to `createAgent` and their projections are
|
|
2644
|
+
* exposed under `run.extensions` when using `streamEvents(..., { version:
|
|
2645
|
+
* "v3" })`.
|
|
2646
|
+
*
|
|
2647
|
+
* This is separate from the built-in streams `createAgent` provides on its
|
|
2648
|
+
* own — such as `run.subagents` (nested named agents) and `run.toolCalls`
|
|
2649
|
+
* (tool calls), which land directly on the run, not under `run.extensions`.
|
|
2646
2650
|
*/
|
|
2647
2651
|
streamTransformers?: TStreamTransformers;
|
|
2648
2652
|
}
|
|
2649
2653
|
//#endregion
|
|
2650
2654
|
//#region src/stream.d.ts
|
|
2651
|
-
/**
|
|
2652
|
-
* Represents a single subagent invocation observed during a deep agent run.
|
|
2653
|
-
*
|
|
2654
|
-
* @typeParam TOutput - The subagent's output state type. Defaults to
|
|
2655
|
-
* `unknown`; inferred to the subagent's `MergedAgentState` for
|
|
2656
|
-
* `CompiledSubAgent` via {@link SubagentRunStreamUnion}.
|
|
2657
|
-
*/
|
|
2658
|
-
interface SubagentRunStream<TOutput = unknown, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[]> {
|
|
2659
|
-
readonly name: string;
|
|
2660
|
-
readonly taskInput: Promise<string>;
|
|
2661
|
-
readonly output: Promise<TOutput>;
|
|
2662
|
-
readonly messages: AsyncIterable<ChatModelStream>;
|
|
2663
|
-
readonly toolCalls: AsyncIterable<ToolCallStreamUnion<TTools>>;
|
|
2664
|
-
readonly subagents: AsyncIterable<SubagentRunStream>;
|
|
2665
|
-
}
|
|
2666
2655
|
/**
|
|
2667
2656
|
* Extract the output state type from a subagent spec.
|
|
2668
2657
|
* For `CompiledSubAgent<ReactAgent<Types>>`, resolves to the agent's
|
|
@@ -2695,29 +2684,17 @@ type NamedSubagentRunStream<T extends AnySubAgent> = T extends {
|
|
|
2695
2684
|
*/
|
|
2696
2685
|
type SubagentRunStreamUnion<TSubagents extends readonly AnySubAgent[]> = { [K in keyof TSubagents]: NamedSubagentRunStream<TSubagents[K]> }[number];
|
|
2697
2686
|
/**
|
|
2698
|
-
* An {@link AgentRunStream}
|
|
2699
|
-
*
|
|
2700
|
-
* transformers).
|
|
2687
|
+
* An {@link AgentRunStream} whose `subagents` projection is narrowed to the
|
|
2688
|
+
* deep agent's declared subagents.
|
|
2701
2689
|
*
|
|
2702
|
-
* This is a pure type overlay — no runtime class exists.
|
|
2703
|
-
*
|
|
2704
|
-
*
|
|
2690
|
+
* This is a pure type overlay — no runtime class exists. The `subagents`
|
|
2691
|
+
* iterable is populated by the `SubagentTransformer` that `createAgent`
|
|
2692
|
+
* registers (langchain#37739); this overlay only refines its element type from
|
|
2693
|
+
* the generic `SubagentRunStream` to the typed {@link SubagentRunStreamUnion}.
|
|
2705
2694
|
*/
|
|
2706
|
-
type DeepAgentRunStream<TValues = Record<string, unknown>, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[], TSubagents extends readonly AnySubAgent[] = readonly AnySubAgent[], TExtensions extends Record<string, unknown> = Record<string, unknown>> = AgentRunStream<TValues, TTools, TExtensions> & {
|
|
2707
|
-
/**
|
|
2695
|
+
type DeepAgentRunStream<TValues = Record<string, unknown>, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[], TSubagents extends readonly AnySubAgent[] = readonly AnySubAgent[], TExtensions extends Record<string, unknown> = Record<string, unknown>> = Omit<AgentRunStream<TValues, TTools, TExtensions>, "subagents"> & {
|
|
2696
|
+
/** Declared-subagent invocation streams from `createAgent`'s transformer. */subagents: AsyncIterable<SubagentRunStreamUnion<TSubagents>>;
|
|
2708
2697
|
};
|
|
2709
|
-
interface SubagentProjection {
|
|
2710
|
-
subagents: AsyncIterable<SubagentRunStream>;
|
|
2711
|
-
}
|
|
2712
|
-
/**
|
|
2713
|
-
* Native transformer that correlates `task` tool calls into
|
|
2714
|
-
* {@link SubagentRunStream} objects and routes child-namespace
|
|
2715
|
-
* `tools` and `messages` events into per-subagent channels.
|
|
2716
|
-
*
|
|
2717
|
-
* Marked `__native: true` — the `subagents` projection key lands
|
|
2718
|
-
* directly on the `GraphRunStream` instance as `run.subagents`.
|
|
2719
|
-
*/
|
|
2720
|
-
declare function createSubagentTransformer(path: Namespace): () => NativeStreamTransformer<SubagentProjection>;
|
|
2721
2698
|
//#endregion
|
|
2722
2699
|
//#region src/config.d.ts
|
|
2723
2700
|
/**
|
|
@@ -4042,5 +4019,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4042
4019
|
}, import("zod/v4/core").$strip>>;
|
|
4043
4020
|
}, import("zod/v4/core").$strip>, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
|
|
4044
4021
|
//#endregion
|
|
4045
|
-
export {
|
|
4046
|
-
//# sourceMappingURL=agent-
|
|
4022
|
+
export { createAsyncSubAgentMiddleware as $, FileInfo as $t, findProjectRoot as A, parseHarnessProfileConfig as At, InferDeepAgentSubagents as B, FilesystemMiddlewareOptions as Bt, parseSkillMetadata as C, SandboxBackendProtocolV2 as Cn, createSubAgent as Ct, Settings as D, HarnessProfileConfigData as Dt, filesValue as E, registerHarnessProfile as Et, DeepAgent as F, HarnessProfile as Ft, InferSubagentReactAgentType as G, AnyBackendProtocol as Gt, InferStructuredResponse as H, FilesystemOperation as Ht, DeepAgentTypeConfig as I, HarnessProfileOptions as It, SupportedResponseFormat as J, BackendRuntime as Jt, MergedDeepAgentState as K, BackendFactory as Kt, DefaultDeepAgentTypeConfig as L, REQUIRED_MIDDLEWARE_NAMES as Lt, SubagentRunStream$1 as M, EMPTY_HARNESS_PROFILE as Mt, AnySubAgent as N, createHarnessProfile as Nt, SettingsOptions as O, generalPurposeSubagentConfigSchema as Ot, CreateDeepAgentParams as P, GeneralPurposeSubagentConfig as Pt, AsyncTaskStatus as Q, FileDownloadResponse as Qt, ExtractSubAgentMiddleware as R, ConfigurationError as Rt, listSkills as S, BackendProtocolV2 as Sn, TASK_SYSTEM_PROMPT as St, createAgentMemoryMiddleware as T, SandboxBackendProtocolV1 as Tn, getHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, FilesystemPermission as Ut, InferDeepAgentType as V, createFilesystemMiddleware as Vt, InferSubagentByName as W, PermissionMode as Wt, AsyncSubAgentMiddlewareOptions as X, ExecuteResponse as Xt, AsyncSubAgent as Y, EditResult as Yt, AsyncTask as Z, FileData as Zt, StoreBackendContext as _, StateAndStore as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, LsResult as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, isSandboxProtocol as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, ReadResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, SandboxError as dn, MemoryMiddlewareOptions as dt, FileOperationError as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, SandboxErrorCode as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxListResponse as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxListOptions as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, GrepResult as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, serializeProfile as jt, createSettings as k, harnessProfileConfigSchema as kt, LangSmithSandboxOptions as l, SandboxBackendProtocol as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, SandboxInfo as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, GlobResult as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, MaybePromise as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, SandboxGetOrCreateOptions as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, BackendProtocol as qt, LangSmithSnapshot as r, GrepMatch as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, ReadRawResult as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, FileUploadResponse as tn, computeSummarizationDefaults as tt, BaseSandbox as u, SandboxDeleteOptions as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, WriteResult as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, BackendProtocolV1 as wn, createSubAgentMiddleware as wt, SkillMetadata as x, resolveBackend as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, isSandboxBackend as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ConfigurationErrorCode as zt };
|
|
4023
|
+
//# sourceMappingURL=agent-2caqZpg2.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _langchain from "langchain";
|
|
2
|
-
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentRunStream, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool,
|
|
2
|
+
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentRunStream, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool, SubagentRunStream, SubagentRunStream as SubagentRunStream$1, SystemMessage, ToolMessage, ToolRuntime, ToolStrategy } from "langchain";
|
|
3
3
|
import * as _langgraph from "@langchain/langgraph";
|
|
4
|
-
import { AnnotationRoot, AnyStateSchema,
|
|
4
|
+
import { AnnotationRoot, AnyStateSchema, Command, ReducedValue, StateDefinitionInit, StateSchema, StreamTransformer } from "@langchain/langgraph";
|
|
5
5
|
import { z } from "zod/v4";
|
|
6
6
|
import * as _messages from "@langchain/core/messages";
|
|
7
7
|
import * as z$2 from "zod";
|
|
@@ -2641,29 +2641,18 @@ interface CreateDeepAgentParams<TResponse extends SupportedResponseFormat = Supp
|
|
|
2641
2641
|
/**
|
|
2642
2642
|
* Optional {@link StreamTransformer} factories to register with the underlying agent.
|
|
2643
2643
|
*
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2646
|
-
*
|
|
2644
|
+
* These are forwarded as-is to `createAgent` and their projections are
|
|
2645
|
+
* exposed under `run.extensions` when using `streamEvents(..., { version:
|
|
2646
|
+
* "v3" })`.
|
|
2647
|
+
*
|
|
2648
|
+
* This is separate from the built-in streams `createAgent` provides on its
|
|
2649
|
+
* own — such as `run.subagents` (nested named agents) and `run.toolCalls`
|
|
2650
|
+
* (tool calls), which land directly on the run, not under `run.extensions`.
|
|
2647
2651
|
*/
|
|
2648
2652
|
streamTransformers?: TStreamTransformers;
|
|
2649
2653
|
}
|
|
2650
2654
|
//#endregion
|
|
2651
2655
|
//#region src/stream.d.ts
|
|
2652
|
-
/**
|
|
2653
|
-
* Represents a single subagent invocation observed during a deep agent run.
|
|
2654
|
-
*
|
|
2655
|
-
* @typeParam TOutput - The subagent's output state type. Defaults to
|
|
2656
|
-
* `unknown`; inferred to the subagent's `MergedAgentState` for
|
|
2657
|
-
* `CompiledSubAgent` via {@link SubagentRunStreamUnion}.
|
|
2658
|
-
*/
|
|
2659
|
-
interface SubagentRunStream<TOutput = unknown, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[]> {
|
|
2660
|
-
readonly name: string;
|
|
2661
|
-
readonly taskInput: Promise<string>;
|
|
2662
|
-
readonly output: Promise<TOutput>;
|
|
2663
|
-
readonly messages: AsyncIterable<ChatModelStream>;
|
|
2664
|
-
readonly toolCalls: AsyncIterable<ToolCallStreamUnion<TTools>>;
|
|
2665
|
-
readonly subagents: AsyncIterable<SubagentRunStream>;
|
|
2666
|
-
}
|
|
2667
2656
|
/**
|
|
2668
2657
|
* Extract the output state type from a subagent spec.
|
|
2669
2658
|
* For `CompiledSubAgent<ReactAgent<Types>>`, resolves to the agent's
|
|
@@ -2696,29 +2685,17 @@ type NamedSubagentRunStream<T extends AnySubAgent> = T extends {
|
|
|
2696
2685
|
*/
|
|
2697
2686
|
type SubagentRunStreamUnion<TSubagents extends readonly AnySubAgent[]> = { [K in keyof TSubagents]: NamedSubagentRunStream<TSubagents[K]> }[number];
|
|
2698
2687
|
/**
|
|
2699
|
-
* An {@link AgentRunStream}
|
|
2700
|
-
*
|
|
2701
|
-
* transformers).
|
|
2688
|
+
* An {@link AgentRunStream} whose `subagents` projection is narrowed to the
|
|
2689
|
+
* deep agent's declared subagents.
|
|
2702
2690
|
*
|
|
2703
|
-
* This is a pure type overlay — no runtime class exists.
|
|
2704
|
-
*
|
|
2705
|
-
*
|
|
2691
|
+
* This is a pure type overlay — no runtime class exists. The `subagents`
|
|
2692
|
+
* iterable is populated by the `SubagentTransformer` that `createAgent`
|
|
2693
|
+
* registers (langchain#37739); this overlay only refines its element type from
|
|
2694
|
+
* the generic `SubagentRunStream` to the typed {@link SubagentRunStreamUnion}.
|
|
2706
2695
|
*/
|
|
2707
|
-
type DeepAgentRunStream<TValues = Record<string, unknown>, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[], TSubagents extends readonly AnySubAgent[] = readonly AnySubAgent[], TExtensions extends Record<string, unknown> = Record<string, unknown>> = AgentRunStream<TValues, TTools, TExtensions> & {
|
|
2708
|
-
/**
|
|
2696
|
+
type DeepAgentRunStream<TValues = Record<string, unknown>, TTools extends readonly (ClientTool | ServerTool)[] = readonly (ClientTool | ServerTool)[], TSubagents extends readonly AnySubAgent[] = readonly AnySubAgent[], TExtensions extends Record<string, unknown> = Record<string, unknown>> = Omit<AgentRunStream<TValues, TTools, TExtensions>, "subagents"> & {
|
|
2697
|
+
/** Declared-subagent invocation streams from `createAgent`'s transformer. */subagents: AsyncIterable<SubagentRunStreamUnion<TSubagents>>;
|
|
2709
2698
|
};
|
|
2710
|
-
interface SubagentProjection {
|
|
2711
|
-
subagents: AsyncIterable<SubagentRunStream>;
|
|
2712
|
-
}
|
|
2713
|
-
/**
|
|
2714
|
-
* Native transformer that correlates `task` tool calls into
|
|
2715
|
-
* {@link SubagentRunStream} objects and routes child-namespace
|
|
2716
|
-
* `tools` and `messages` events into per-subagent channels.
|
|
2717
|
-
*
|
|
2718
|
-
* Marked `__native: true` — the `subagents` projection key lands
|
|
2719
|
-
* directly on the `GraphRunStream` instance as `run.subagents`.
|
|
2720
|
-
*/
|
|
2721
|
-
declare function createSubagentTransformer(path: Namespace): () => NativeStreamTransformer<SubagentProjection>;
|
|
2722
2699
|
//#endregion
|
|
2723
2700
|
//#region src/config.d.ts
|
|
2724
2701
|
/**
|
|
@@ -4043,5 +4020,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4043
4020
|
}, import("zod/v4/core").$strip>>;
|
|
4044
4021
|
}, import("zod/v4/core").$strip>, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
|
|
4045
4022
|
//#endregion
|
|
4046
|
-
export {
|
|
4047
|
-
//# sourceMappingURL=agent-
|
|
4023
|
+
export { createAsyncSubAgentMiddleware as $, FileInfo as $t, findProjectRoot as A, parseHarnessProfileConfig as At, InferDeepAgentSubagents as B, FilesystemMiddlewareOptions as Bt, parseSkillMetadata as C, SandboxBackendProtocolV2 as Cn, createSubAgent as Ct, Settings as D, HarnessProfileConfigData as Dt, filesValue as E, registerHarnessProfile as Et, DeepAgent as F, HarnessProfile as Ft, InferSubagentReactAgentType as G, AnyBackendProtocol as Gt, InferStructuredResponse as H, FilesystemOperation as Ht, DeepAgentTypeConfig as I, HarnessProfileOptions as It, SupportedResponseFormat as J, BackendRuntime as Jt, MergedDeepAgentState as K, BackendFactory as Kt, DefaultDeepAgentTypeConfig as L, REQUIRED_MIDDLEWARE_NAMES as Lt, SubagentRunStream$1 as M, EMPTY_HARNESS_PROFILE as Mt, AnySubAgent as N, createHarnessProfile as Nt, SettingsOptions as O, generalPurposeSubagentConfigSchema as Ot, CreateDeepAgentParams as P, GeneralPurposeSubagentConfig as Pt, AsyncTaskStatus as Q, FileDownloadResponse as Qt, ExtractSubAgentMiddleware as R, ConfigurationError as Rt, listSkills as S, BackendProtocolV2 as Sn, TASK_SYSTEM_PROMPT as St, createAgentMemoryMiddleware as T, SandboxBackendProtocolV1 as Tn, getHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, FilesystemPermission as Ut, InferDeepAgentType as V, createFilesystemMiddleware as Vt, InferSubagentByName as W, PermissionMode as Wt, AsyncSubAgentMiddlewareOptions as X, ExecuteResponse as Xt, AsyncSubAgent as Y, EditResult as Yt, AsyncTask as Z, FileData as Zt, StoreBackendContext as _, StateAndStore as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, LsResult as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, isSandboxProtocol as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, ReadResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, SandboxError as dn, MemoryMiddlewareOptions as dt, FileOperationError as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, SandboxErrorCode as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxListResponse as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxListOptions as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, GrepResult as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, serializeProfile as jt, createSettings as k, harnessProfileConfigSchema as kt, LangSmithSandboxOptions as l, SandboxBackendProtocol as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, SandboxInfo as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, GlobResult as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, MaybePromise as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, SandboxGetOrCreateOptions as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, BackendProtocol as qt, LangSmithSnapshot as r, GrepMatch as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, ReadRawResult as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, FileUploadResponse as tn, computeSummarizationDefaults as tt, BaseSandbox as u, SandboxDeleteOptions as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, WriteResult as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, BackendProtocolV1 as wn, createSubAgentMiddleware as wt, SkillMetadata as x, resolveBackend as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, isSandboxBackend as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ConfigurationErrorCode as zt };
|
|
4024
|
+
//# sourceMappingURL=agent-DURA4_mf.d.ts.map
|
package/dist/browser.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_langsmith = require("./langsmith-
|
|
2
|
+
const require_langsmith = require("./langsmith-ZfNZ_Pyb.cjs");
|
|
3
3
|
exports.BaseSandbox = require_langsmith.BaseSandbox;
|
|
4
4
|
exports.CompositeBackend = require_langsmith.CompositeBackend;
|
|
5
5
|
exports.ConfigurationError = require_langsmith.ConfigurationError;
|
|
@@ -29,7 +29,6 @@ exports.createMemoryMiddleware = require_langsmith.createMemoryMiddleware;
|
|
|
29
29
|
exports.createPatchToolCallsMiddleware = require_langsmith.createPatchToolCallsMiddleware;
|
|
30
30
|
exports.createSkillsMiddleware = require_langsmith.createSkillsMiddleware;
|
|
31
31
|
exports.createSubAgentMiddleware = require_langsmith.createSubAgentMiddleware;
|
|
32
|
-
exports.createSubagentTransformer = require_langsmith.createSubagentTransformer;
|
|
33
32
|
exports.createSummarizationMiddleware = require_langsmith.createSummarizationMiddleware;
|
|
34
33
|
exports.filesValue = require_langsmith.filesValue;
|
|
35
34
|
exports.generalPurposeSubagentConfigSchema = require_langsmith.generalPurposeSubagentConfigSchema;
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, Cn as SandboxBackendProtocolV2, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxListOptions, ht as CompiledSubAgent, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, wn as BackendProtocolV1, wt as createSubAgentMiddleware, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-2caqZpg2.cjs";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
|
-
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware,
|
|
3
|
+
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, Cn as SandboxBackendProtocolV2, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxListOptions, ht as CompiledSubAgent, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, wn as BackendProtocolV1, wt as createSubAgentMiddleware, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-DURA4_mf.js";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
|
-
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware,
|
|
3
|
+
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware,
|
|
1
|
+
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-wdF8zG42.js";
|
|
2
|
+
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_langsmith = require("./langsmith-
|
|
3
|
-
const require_src = require("./src-
|
|
2
|
+
const require_langsmith = require("./langsmith-ZfNZ_Pyb.cjs");
|
|
3
|
+
const require_src = require("./src-plSII1Kf.cjs");
|
|
4
4
|
exports.BaseSandbox = require_langsmith.BaseSandbox;
|
|
5
5
|
exports.CompositeBackend = require_langsmith.CompositeBackend;
|
|
6
6
|
exports.ConfigurationError = require_langsmith.ConfigurationError;
|
|
@@ -36,7 +36,6 @@ exports.createSettings = require_src.createSettings;
|
|
|
36
36
|
exports.createSkillsMiddleware = require_langsmith.createSkillsMiddleware;
|
|
37
37
|
exports.createSubAgent = require_langsmith.createSubAgent;
|
|
38
38
|
exports.createSubAgentMiddleware = require_langsmith.createSubAgentMiddleware;
|
|
39
|
-
exports.createSubagentTransformer = require_langsmith.createSubagentTransformer;
|
|
40
39
|
exports.createSummarizationMiddleware = require_langsmith.createSummarizationMiddleware;
|
|
41
40
|
exports.filesValue = require_langsmith.filesValue;
|
|
42
41
|
exports.findProjectRoot = require_src.findProjectRoot;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware,
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, A as findProjectRoot, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, C as parseSkillMetadata, Cn as SandboxBackendProtocolV2, Ct as createSubAgent, D as Settings, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, O as SettingsOptions, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, T as createAgentMemoryMiddleware, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxListOptions, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, k as createSettings, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, r as LangSmithSnapshot, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as BackendProtocolV1, wt as createSubAgentMiddleware, x as SkillMetadata, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-2caqZpg2.cjs";
|
|
2
|
+
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware,
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, A as findProjectRoot, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, C as parseSkillMetadata, Cn as SandboxBackendProtocolV2, Ct as createSubAgent, D as Settings, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, O as SettingsOptions, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, T as createAgentMemoryMiddleware, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxListOptions, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, k as createSettings, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, r as LangSmithSnapshot, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as BackendProtocolV1, wt as createSubAgentMiddleware, x as SkillMetadata, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-DURA4_mf.js";
|
|
2
|
+
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-
|
|
3
|
-
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware,
|
|
1
|
+
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, N as createSubAgent, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, j as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-wdF8zG42.js";
|
|
2
|
+
import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-DybKvM4T.js";
|
|
3
|
+
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|