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.
@@ -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, SystemMessage, ToolCallStreamUnion, ToolMessage, ToolRuntime, ToolStrategy } from "langchain";
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, ChatModelStream, Command, Namespace, NativeStreamTransformer, ReducedValue, StateDefinitionInit, StateSchema, StreamTransformer } from "@langchain/langgraph";
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
- * Deepagents always registers its built-in subagent transformer; custom
2644
- * transformers are appended after it and are exposed on `run.extensions`
2645
- * when using `streamEvents(..., { version: "v3" })`.
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} with native deep-agent projections assigned
2699
- * directly on the instance by `createGraphRunStream` (via `__native`
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. The
2703
- * `subagents` property is populated at runtime by the
2704
- * `createSubagentTransformer` registered at compile time.
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
- /** Subagent invocation streams from the native SubagentTransformer. */subagents: AsyncIterable<SubagentRunStreamUnion<TSubagents>>;
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 { AsyncTaskStatus as $, FileDownloadResponse as $t, findProjectRoot as A, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, parseSkillMetadata as C, BackendProtocolV2 as Cn, TASK_SYSTEM_PROMPT as Ct, Settings as D, registerHarnessProfile as Dt, filesValue as E, SandboxBackendProtocolV1 as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, PermissionMode as Gt, InferDeepAgentType as H, createFilesystemMiddleware as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, BackendProtocol as Jt, InferSubagentReactAgentType as K, AnyBackendProtocol as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, SubagentRunStream as M, serializeProfile as Mt, createSubagentTransformer as N, EMPTY_HARNESS_PROFILE as Nt, SettingsOptions as O, HarnessProfileConfigData as Ot, AnySubAgent as P, createHarnessProfile as Pt, AsyncTask as Q, FileData as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, listSkills as S, resolveBackend as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, BackendProtocolV1 as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, FilesystemOperation as Ut, InferDeepAgentSubagents as V, FilesystemMiddlewareOptions as Vt, InferSubAgentMiddlewareStates as W, FilesystemPermission as Wt, AsyncSubAgent as X, EditResult as Xt, SupportedResponseFormat as Y, BackendRuntime as Yt, AsyncSubAgentMiddlewareOptions as Z, ExecuteResponse as Zt, StoreBackendContext as _, SandboxListResponse as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, GrepResult as an, createCompletionCallbackMiddleware as at, ListSkillsOptions as b, isSandboxBackend as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, ReadRawResult as cn, MAX_SKILL_NAME_LENGTH as ct, LocalShellBackend as d, SandboxDeleteOptions as dn, createSkillsMiddleware as dt, FileInfo as en, createAsyncSubAgentMiddleware as et, LocalShellBackendOptions as f, SandboxError as fn, MemoryMiddlewareOptions as ft, StoreBackend as g, SandboxListOptions as gn, CompiledSubAgent as gt, FilesystemBackend as h, SandboxInfo as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, GrepMatch as in, CompletionCallbackOptions as it, DeepAgentRunStream as j, parseHarnessProfileConfig as jt, createSettings as k, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxOptions as l, ReadResult as ln, SkillMetadata$1 as lt, CompositeBackend as m, SandboxGetOrCreateOptions as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, FileUploadResponse as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, LsResult as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, ContextHubBackend as p, SandboxErrorCode as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, BackendFactory as qt, LangSmithSnapshot as r, GlobResult as rn, createSummarizationMiddleware as rt, LangSmithSandbox as s, MaybePromise as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, FileOperationError as tn, isAsyncSubAgent as tt, BaseSandbox as u, SandboxBackendProtocol as un, SkillsMiddlewareOptions as ut, StoreBackendNamespaceFactory as v, StateAndStore as vn, DEFAULT_SUBAGENT_PROMPT as vt, AgentMemoryMiddlewareOptions as w, SandboxBackendProtocolV2 as wn, createSubAgent as wt, SkillMetadata as x, isSandboxProtocol as xn, SubAgent as xt, StoreBackendOptions as y, WriteResult as yn, GENERAL_PURPOSE_SUBAGENT as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
4046
- //# sourceMappingURL=agent-DNSq5NSK.d.cts.map
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, SystemMessage, ToolCallStreamUnion, ToolMessage, ToolRuntime, ToolStrategy } from "langchain";
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, ChatModelStream, Command, Namespace, NativeStreamTransformer, ReducedValue, StateDefinitionInit, StateSchema, StreamTransformer } from "@langchain/langgraph";
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
- * Deepagents always registers its built-in subagent transformer; custom
2645
- * transformers are appended after it and are exposed on `run.extensions`
2646
- * when using `streamEvents(..., { version: "v3" })`.
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} with native deep-agent projections assigned
2700
- * directly on the instance by `createGraphRunStream` (via `__native`
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. The
2704
- * `subagents` property is populated at runtime by the
2705
- * `createSubagentTransformer` registered at compile time.
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
- /** Subagent invocation streams from the native SubagentTransformer. */subagents: AsyncIterable<SubagentRunStreamUnion<TSubagents>>;
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 { AsyncTaskStatus as $, FileDownloadResponse as $t, findProjectRoot as A, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, parseSkillMetadata as C, BackendProtocolV2 as Cn, TASK_SYSTEM_PROMPT as Ct, Settings as D, registerHarnessProfile as Dt, filesValue as E, SandboxBackendProtocolV1 as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, PermissionMode as Gt, InferDeepAgentType as H, createFilesystemMiddleware as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, BackendProtocol as Jt, InferSubagentReactAgentType as K, AnyBackendProtocol as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, SubagentRunStream as M, serializeProfile as Mt, createSubagentTransformer as N, EMPTY_HARNESS_PROFILE as Nt, SettingsOptions as O, HarnessProfileConfigData as Ot, AnySubAgent as P, createHarnessProfile as Pt, AsyncTask as Q, FileData as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, listSkills as S, resolveBackend as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, BackendProtocolV1 as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, FilesystemOperation as Ut, InferDeepAgentSubagents as V, FilesystemMiddlewareOptions as Vt, InferSubAgentMiddlewareStates as W, FilesystemPermission as Wt, AsyncSubAgent as X, EditResult as Xt, SupportedResponseFormat as Y, BackendRuntime as Yt, AsyncSubAgentMiddlewareOptions as Z, ExecuteResponse as Zt, StoreBackendContext as _, SandboxListResponse as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, GrepResult as an, createCompletionCallbackMiddleware as at, ListSkillsOptions as b, isSandboxBackend as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, ReadRawResult as cn, MAX_SKILL_NAME_LENGTH as ct, LocalShellBackend as d, SandboxDeleteOptions as dn, createSkillsMiddleware as dt, FileInfo as en, createAsyncSubAgentMiddleware as et, LocalShellBackendOptions as f, SandboxError as fn, MemoryMiddlewareOptions as ft, StoreBackend as g, SandboxListOptions as gn, CompiledSubAgent as gt, FilesystemBackend as h, SandboxInfo as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, GrepMatch as in, CompletionCallbackOptions as it, DeepAgentRunStream as j, parseHarnessProfileConfig as jt, createSettings as k, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxOptions as l, ReadResult as ln, SkillMetadata$1 as lt, CompositeBackend as m, SandboxGetOrCreateOptions as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, FileUploadResponse as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, LsResult as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, ContextHubBackend as p, SandboxErrorCode as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, BackendFactory as qt, LangSmithSnapshot as r, GlobResult as rn, createSummarizationMiddleware as rt, LangSmithSandbox as s, MaybePromise as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, FileOperationError as tn, isAsyncSubAgent as tt, BaseSandbox as u, SandboxBackendProtocol as un, SkillsMiddlewareOptions as ut, StoreBackendNamespaceFactory as v, StateAndStore as vn, DEFAULT_SUBAGENT_PROMPT as vt, AgentMemoryMiddlewareOptions as w, SandboxBackendProtocolV2 as wn, createSubAgent as wt, SkillMetadata as x, isSandboxProtocol as xn, SubAgent as xt, StoreBackendOptions as y, WriteResult as yn, GENERAL_PURPOSE_SUBAGENT as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
4047
- //# sourceMappingURL=agent-taGqnaXM.d.ts.map
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-D-SD2NFy.cjs");
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;
@@ -1,3 +1,3 @@
1
- import { $ as AsyncTaskStatus, $t as FileDownloadResponse, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as resolveBackend, St as SubAgentMiddlewareOptions, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, bn as isSandboxBackend, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxBackendProtocolV2, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-DNSq5NSK.cjs";
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, createSubagentTransformer, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
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 AsyncTaskStatus, $t as FileDownloadResponse, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as resolveBackend, St as SubAgentMiddlewareOptions, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, bn as isSandboxBackend, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxBackendProtocolV2, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-taGqnaXM.js";
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, createSubagentTransformer, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
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 DEFAULT_SUBAGENT_PROMPT, B as isSandboxBackend, C as MAX_SKILL_FILE_SIZE, D as filesValue, E as createMemoryMiddleware, F as createSubAgentMiddleware, H as resolveBackend, I as createFilesystemMiddleware, L as CompositeBackend, N as TASK_SYSTEM_PROMPT, O as createPatchToolCallsMiddleware, R as StateBackend, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as adaptBackendProtocol, V as isSandboxProtocol, W as adaptSandboxProtocol, _ as createAsyncSubAgentMiddleware, a as createDeepAgent, b as createSummarizationMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as ConfigurationError, h as createSubagentTransformer, i as StoreBackend, j as GENERAL_PURPOSE_SUBAGENT, k as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, 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 isAsyncSubAgent, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as computeSummarizationDefaults, z as SandboxError } from "./langsmith-agEHKB-W.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, createSubagentTransformer, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
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-D-SD2NFy.cjs");
3
- const require_src = require("./src-CZWQ_Lxm.cjs");
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 AsyncTaskStatus, $t as FileDownloadResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as resolveBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as isSandboxBackend, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, r as LangSmithSnapshot, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as SandboxBackendProtocolV2, wt as createSubAgent, x as SkillMetadata, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-DNSq5NSK.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, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
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 AsyncTaskStatus, $t as FileDownloadResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as resolveBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as isSandboxBackend, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, r as LangSmithSnapshot, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as SandboxBackendProtocolV2, wt as createSubAgent, x as SkillMetadata, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-taGqnaXM.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, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
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 DEFAULT_SUBAGENT_PROMPT, B as isSandboxBackend, C as MAX_SKILL_FILE_SIZE, D as filesValue, E as createMemoryMiddleware, F as createSubAgentMiddleware, H as resolveBackend, I as createFilesystemMiddleware, L as CompositeBackend, M as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, N as TASK_SYSTEM_PROMPT, O as createPatchToolCallsMiddleware, P as createSubAgent, R as StateBackend, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as adaptBackendProtocol, V as isSandboxProtocol, W as adaptSandboxProtocol, _ as createAsyncSubAgentMiddleware, a as createDeepAgent, b as createSummarizationMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as ConfigurationError, h as createSubagentTransformer, i as StoreBackend, j as GENERAL_PURPOSE_SUBAGENT, k as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, 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 isAsyncSubAgent, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as computeSummarizationDefaults, z as SandboxError } from "./langsmith-agEHKB-W.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-i9LWYTHF.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, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
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 };