deepagents 1.14.1 → 1.14.2

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.
@@ -5,6 +5,7 @@ import { AnnotationRoot, AnyStateSchema, Command, ReducedValue, StateDefinitionI
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";
8
+ import { BaseMessage } from "@langchain/core/messages";
8
9
  import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
9
10
  import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
10
11
  import { Runnable } from "@langchain/core/runnables";
@@ -927,6 +928,21 @@ interface FilesystemMiddlewareOptions {
927
928
  * argument overrides this default. Set to `null` to disable the cap.
928
929
  */
929
930
  grepMaxCount?: number | null;
931
+ /**
932
+ * Keep binary `read_file` content and inline `HumanMessage` media out of
933
+ * message history (default: `false`).
934
+ *
935
+ * Payloads are written to `/blobs` on the backend and state keeps a
936
+ * content-addressed reference instead; model requests are rehydrated from
937
+ * the backend. `HumanMessage` payloads added since the last model response
938
+ * are replaced starting at the next model call, so the original input
939
+ * write still lands in checkpoint history for that turn. Useful with
940
+ * sandbox backends. Has no effect when `/blobs` routes to a `StateBackend`,
941
+ * since that backend stores files as part of graph state — offloading
942
+ * there would just relocate the bytes to a different key within the same
943
+ * checkpoint, not out of it.
944
+ */
945
+ offloadBinaryContent?: boolean;
930
946
  }
931
947
  /**
932
948
  * Create middleware that provides built-in filesystem tools and optional custom
@@ -1802,8 +1818,12 @@ declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, un
1802
1818
  * for the middleware to apply via Command.
1803
1819
  */
1804
1820
  declare class StateBackend implements BackendProtocolV2 {
1821
+ /** Class identity discriminant for {@link StateBackend.isInstance}. */
1822
+ readonly backendKind: "state";
1805
1823
  private runtime;
1806
1824
  private fileFormat;
1825
+ /** Duck-typed so this survives the plain-object copies `adaptBackendProtocol` makes — a class check wouldn't. */
1826
+ static isInstance(backend: unknown): backend is StateBackend;
1807
1827
  constructor(options?: BackendOptions);
1808
1828
  /**
1809
1829
  * @deprecated Pass no `runtime` argument
@@ -2528,6 +2548,40 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2528
2548
  statusFilter?: string | null | undefined;
2529
2549
  }, string | Command<unknown, Record<string, unknown>, string>, unknown, "list_async_tasks">)[], readonly []>;
2530
2550
  //#endregion
2551
+ //#region src/middleware/unsupportedContent.d.ts
2552
+ /** Content block types `read_file` may emit that require multimodal model support. */
2553
+ declare const MULTIMODAL_BLOCK_TYPES: ReadonlySet<string>;
2554
+ type Profile = Record<string, unknown>;
2555
+ type Block = Record<string, unknown> & {
2556
+ type: string;
2557
+ };
2558
+ /**
2559
+ * Whether the model accepts a multimodal block.
2560
+ *
2561
+ * Missing profile fields default to supported, since profile coverage is
2562
+ * incomplete — except `file` blocks, where a missing `fileMimeTypes`
2563
+ * defaults to unsupported (see `fileBlockSupported`).
2564
+ */
2565
+ declare function multimodalBlockSupported(block: Block, profile: Profile, inToolMessage: boolean): boolean;
2566
+ /**
2567
+ * Without this, a request carrying content the model can't accept (e.g. a
2568
+ * `.zip` file sent to a model without file support) fails with a
2569
+ * non-retryable 400, and since the content stays in history, every later
2570
+ * turn fails the same way. Only the request is changed; messages in state
2571
+ * are left untouched, so switching to a model that accepts the content
2572
+ * sends it again.
2573
+ */
2574
+ declare function scrubUnsupportedMultimodalContent(messages: readonly BaseMessage[], model: unknown): BaseMessage[];
2575
+ /**
2576
+ * Support is read from `model.profile` (see
2577
+ * https://docs.langchain.com/oss/javascript/langchain/models#model-profiles).
2578
+ *
2579
+ * Place this middleware last in the agent's `middleware` list, so that if
2580
+ * some other middleware changes `request.model`, this one sees the model
2581
+ * that will actually receive the request.
2582
+ */
2583
+ declare function createUnsupportedContentMiddleware(): import("langchain").AgentMiddleware<undefined, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
2584
+ //#endregion
2531
2585
  //#region src/types.d.ts
2532
2586
  type AnyAnnotationRoot = AnnotationRoot<any>;
2533
2587
  /**
@@ -3619,6 +3673,8 @@ declare class CompositeBackend implements BackendProtocolV2 {
3619
3673
  * where `instanceof` may fail.
3620
3674
  */
3621
3675
  static isInstance(backend: unknown): backend is CompositeBackend;
3676
+ /** Returns the backend for `path`, with the matched prefix stripped from the returned path. */
3677
+ resolveBackendForPath(path: string): [BackendProtocolV2, string];
3622
3678
  /**
3623
3679
  * Determine which backend handles this key and strip prefix.
3624
3680
  *
@@ -4476,5 +4532,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4476
4532
  }, import("zod/v4/core").$strip>>;
4477
4533
  }, import("zod/v4/core").$strip>, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
4478
4534
  //#endregion
4479
- export { AsyncTaskStatus as $, PermissionMode as $t, createSettings as A, isSandboxBackend as An, HarnessProfileConfigData as At, FlattenSubAgentMiddleware as B, REQUIRED_MIDDLEWARE_NAMES as Bt, listSkills as C, SandboxGetOrCreateOptions as Cn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Ct, filesValue as D, StateAndStore as Dn, createSubAgentMiddleware as Dt, createAgentMemoryMiddleware as E, SandboxListResponse as En, createSubAgent as Et, CreateDeepAgentParams as F, BackendProtocolV1 as Fn, EMPTY_HARNESS_PROFILE as Ft, InferSubagentByName as G, EXECUTION_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, ConfigurationErrorCode as Ht, DeepAgent as I, SandboxBackendProtocolV1 as In, createHarnessProfile as It, ResolveDeepAgentTypeConfig as J, FilesystemMiddlewareOptions as Jt, InferSubagentReactAgentType as K, SystemPromptConfig as Kt, DeepAgentTypeConfig as L, GeneralPurposeSubagentConfig as Lt, DeepAgentRunStream as M, resolveBackend as Mn, harnessProfileConfigSchema as Mt, SubagentRunStream$1 as N, BackendProtocolV2 as Nn, parseHarnessProfileConfig as Nt, Settings as O, WriteResult as On, getHarnessProfile as Ot, AnySubAgent as P, SandboxBackendProtocolV2 as Pn, serializeProfile as Pt, AsyncTask as Q, FilesystemPermission as Qt, DefaultDeepAgentTypeConfig as R, HarnessProfile as Rt, SkillMetadata as S, SandboxErrorCode as Sn, GENERAL_PURPOSE_SUBAGENT as St, AgentMemoryMiddlewareOptions as T, SandboxListOptions as Tn, SubAgentMiddlewareOptions as Tt, InferStructuredResponse as U, ASYNC_TASK_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ConfigurationError as Vt, InferSubAgentMiddlewareStates as W, BASE_AGENT_PROMPT as Wt, AsyncSubAgent as X, createFilesystemMiddleware as Xt, SupportedResponseFormat as Y, FsToolName as Yt, AsyncSubAgentMiddlewareOptions as Z, FilesystemOperation as Zt, StoreBackend as _, ReadRawResult as _n, createPatchToolCallsMiddleware as _t, adaptBackendProtocol as a, EditResult as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxDeleteOptions as bn, DEFAULT_SUBAGENT_PROMPT as bt, LangSmithSandbox as c, FileDownloadResponse as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, FileUploadResponse as dn, SkillsMiddlewareOptions as dt, AnyBackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GlobResult as fn, createSkillsMiddleware as ft, FilesystemBackend as g, MaybePromise as gn, StateBackend as gt, CompositeBackend as h, LsResult as hn, createMemoryMiddleware as ht, LangSmithStartSandboxOptions as i, DeleteResult as in, CompletionCallbackOptions as it, findProjectRoot as j, isSandboxProtocol as jn, generalPurposeSubagentConfigSchema as jt, SettingsOptions as k, applyGrepMaxCount as kn, registerHarnessProfile as kt, LangSmithSandboxCreateOptions as l, FileInfo as ln, SkillMetadata$1 as lt, ContextHubBackend as m, GrepResult as mn, MemoryMiddlewareOptions as mt, LangSmithCaptureSnapshotOptions as n, BackendProtocol as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, ExecuteResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, GrepMatch as pn, skillsMetadataValue as pt, MergedDeepAgentState as q, TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, BackendRuntime as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileData as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendFactory as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, FileOperationError as un, SkillMetadataEntry as ut, StoreBackendContext as v, ReadResult as vn, CompiledSubAgent as vt, parseSkillMetadata as w, SandboxInfo as wn, SubAgent as wt, ListSkillsOptions as x, SandboxError as xn, ForkedSubAgent as xt, StoreBackendNamespaceFactory as y, SandboxBackendProtocol as yn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as yt, ExtractSubAgentMiddleware as z, HarnessProfileOptions as zt };
4480
- //# sourceMappingURL=agent-B05mw_iK.d.cts.map
4535
+ export { scrubUnsupportedMultimodalContent as $, FsToolName as $t, createSettings as A, SandboxListResponse as An, createSubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV1 as Bn, createHarnessProfile as Bt, listSkills as C, SandboxBackendProtocol as Cn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Ct, filesValue as D, SandboxGetOrCreateOptions as Dn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Dt, createAgentMemoryMiddleware as E, SandboxErrorCode as En, GENERAL_PURPOSE_SUBAGENT as Et, CreateDeepAgentParams as F, isSandboxProtocol as Fn, generalPurposeSubagentConfigSchema as Ft, InferSubagentByName as G, ConfigurationError as Gt, InferDeepAgentType as H, HarnessProfile as Ht, DeepAgent as I, resolveBackend as In, harnessProfileConfigSchema as It, ResolveDeepAgentTypeConfig as J, BASE_AGENT_PROMPT as Jt, InferSubagentReactAgentType as K, ConfigurationErrorCode as Kt, DeepAgentTypeConfig as L, BackendProtocolV2 as Ln, parseHarnessProfileConfig as Lt, DeepAgentRunStream as M, WriteResult as Mn, getHarnessProfile as Mt, SubagentRunStream$1 as N, applyGrepMaxCount as Nn, registerHarnessProfile as Nt, Settings as O, SandboxInfo as On, SubAgent as Ot, AnySubAgent as P, isSandboxBackend as Pn, HarnessProfileConfigData as Pt, multimodalBlockSupported as Q, FilesystemMiddlewareOptions as Qt, DefaultDeepAgentTypeConfig as R, SandboxBackendProtocolV2 as Rn, serializeProfile as Rt, SkillMetadata as S, ReadResult as Sn, CompiledSubAgent as St, AgentMemoryMiddlewareOptions as T, SandboxError as Tn, ForkedSubAgent as Tt, InferStructuredResponse as U, HarnessProfileOptions as Ut, InferDeepAgentSubagents as V, GeneralPurposeSubagentConfig as Vt, InferSubAgentMiddlewareStates as W, REQUIRED_MIDDLEWARE_NAMES as Wt, MULTIMODAL_BLOCK_TYPES as X, SystemPromptConfig as Xt, SupportedResponseFormat as Y, EXECUTION_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, TASK_SYSTEM_PROMPT as Zt, StoreBackend as _, GrepMatch as _n, skillsMetadataValue as _t, adaptBackendProtocol as a, BackendFactory as an, isAsyncSubAgent as at, StoreBackendOptions as b, MaybePromise as bn, StateBackend as bt, LangSmithSandbox as c, DeleteResult as cn, CompletionCallbackOptions as ct, BaseSandbox as d, FileData as dn, MAX_SKILL_FILE_SIZE as dt, createFilesystemMiddleware as en, AsyncSubAgent as et, LocalShellBackend as f, FileDownloadResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, GlobResult as gn, createSkillsMiddleware as gt, CompositeBackend as h, FileUploadResponse as hn, SkillsMiddlewareOptions as ht, LangSmithStartSandboxOptions as i, AnyBackendProtocol as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, StateAndStore as jn, createSubAgentMiddleware as jt, SettingsOptions as k, SandboxListOptions as kn, SubAgentMiddlewareOptions as kt, LangSmithSandboxCreateOptions as l, EditResult as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileOperationError as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, FilesystemPermission as nn, AsyncTask as nt, adaptSandboxProtocol as o, BackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileInfo as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ASYNC_TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, PermissionMode as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendRuntime as sn, createSummarizationMiddleware as st, createDeepAgent as t, FilesystemOperation as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, ExecuteResponse as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GrepResult as vn, MemoryMiddlewareOptions as vt, parseSkillMetadata as w, SandboxDeleteOptions as wn, DEFAULT_SUBAGENT_PROMPT as wt, ListSkillsOptions as x, ReadRawResult as xn, createPatchToolCallsMiddleware as xt, StoreBackendNamespaceFactory as y, LsResult as yn, createMemoryMiddleware as yt, ExtractSubAgentMiddleware as z, BackendProtocolV1 as zn, EMPTY_HARNESS_PROFILE as zt };
4536
+ //# sourceMappingURL=agent-3XynVB9Z.d.cts.map
@@ -4,7 +4,7 @@ import * as _langgraph from "@langchain/langgraph";
4
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
- import { SystemMessage as SystemMessage$1 } from "@langchain/core/messages";
7
+ import { BaseMessage, SystemMessage as SystemMessage$1 } from "@langchain/core/messages";
8
8
  import * as z$2 from "zod";
9
9
  import { z as z$1 } from "zod";
10
10
  import { Client } from "@langchain/langgraph-sdk";
@@ -928,6 +928,21 @@ interface FilesystemMiddlewareOptions {
928
928
  * argument overrides this default. Set to `null` to disable the cap.
929
929
  */
930
930
  grepMaxCount?: number | null;
931
+ /**
932
+ * Keep binary `read_file` content and inline `HumanMessage` media out of
933
+ * message history (default: `false`).
934
+ *
935
+ * Payloads are written to `/blobs` on the backend and state keeps a
936
+ * content-addressed reference instead; model requests are rehydrated from
937
+ * the backend. `HumanMessage` payloads added since the last model response
938
+ * are replaced starting at the next model call, so the original input
939
+ * write still lands in checkpoint history for that turn. Useful with
940
+ * sandbox backends. Has no effect when `/blobs` routes to a `StateBackend`,
941
+ * since that backend stores files as part of graph state — offloading
942
+ * there would just relocate the bytes to a different key within the same
943
+ * checkpoint, not out of it.
944
+ */
945
+ offloadBinaryContent?: boolean;
931
946
  }
932
947
  /**
933
948
  * Create middleware that provides built-in filesystem tools and optional custom
@@ -1803,8 +1818,12 @@ declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, un
1803
1818
  * for the middleware to apply via Command.
1804
1819
  */
1805
1820
  declare class StateBackend implements BackendProtocolV2 {
1821
+ /** Class identity discriminant for {@link StateBackend.isInstance}. */
1822
+ readonly backendKind: "state";
1806
1823
  private runtime;
1807
1824
  private fileFormat;
1825
+ /** Duck-typed so this survives the plain-object copies `adaptBackendProtocol` makes — a class check wouldn't. */
1826
+ static isInstance(backend: unknown): backend is StateBackend;
1808
1827
  constructor(options?: BackendOptions);
1809
1828
  /**
1810
1829
  * @deprecated Pass no `runtime` argument
@@ -2529,6 +2548,40 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2529
2548
  statusFilter?: string | null | undefined;
2530
2549
  }, string | Command<unknown, Record<string, unknown>, string>, unknown, "list_async_tasks">)[], readonly []>;
2531
2550
  //#endregion
2551
+ //#region src/middleware/unsupportedContent.d.ts
2552
+ /** Content block types `read_file` may emit that require multimodal model support. */
2553
+ declare const MULTIMODAL_BLOCK_TYPES: ReadonlySet<string>;
2554
+ type Profile = Record<string, unknown>;
2555
+ type Block = Record<string, unknown> & {
2556
+ type: string;
2557
+ };
2558
+ /**
2559
+ * Whether the model accepts a multimodal block.
2560
+ *
2561
+ * Missing profile fields default to supported, since profile coverage is
2562
+ * incomplete — except `file` blocks, where a missing `fileMimeTypes`
2563
+ * defaults to unsupported (see `fileBlockSupported`).
2564
+ */
2565
+ declare function multimodalBlockSupported(block: Block, profile: Profile, inToolMessage: boolean): boolean;
2566
+ /**
2567
+ * Without this, a request carrying content the model can't accept (e.g. a
2568
+ * `.zip` file sent to a model without file support) fails with a
2569
+ * non-retryable 400, and since the content stays in history, every later
2570
+ * turn fails the same way. Only the request is changed; messages in state
2571
+ * are left untouched, so switching to a model that accepts the content
2572
+ * sends it again.
2573
+ */
2574
+ declare function scrubUnsupportedMultimodalContent(messages: readonly BaseMessage[], model: unknown): BaseMessage[];
2575
+ /**
2576
+ * Support is read from `model.profile` (see
2577
+ * https://docs.langchain.com/oss/javascript/langchain/models#model-profiles).
2578
+ *
2579
+ * Place this middleware last in the agent's `middleware` list, so that if
2580
+ * some other middleware changes `request.model`, this one sees the model
2581
+ * that will actually receive the request.
2582
+ */
2583
+ declare function createUnsupportedContentMiddleware(): import("langchain").AgentMiddleware<undefined, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
2584
+ //#endregion
2532
2585
  //#region src/types.d.ts
2533
2586
  type AnyAnnotationRoot = AnnotationRoot<any>;
2534
2587
  /**
@@ -3620,6 +3673,8 @@ declare class CompositeBackend implements BackendProtocolV2 {
3620
3673
  * where `instanceof` may fail.
3621
3674
  */
3622
3675
  static isInstance(backend: unknown): backend is CompositeBackend;
3676
+ /** Returns the backend for `path`, with the matched prefix stripped from the returned path. */
3677
+ resolveBackendForPath(path: string): [BackendProtocolV2, string];
3623
3678
  /**
3624
3679
  * Determine which backend handles this key and strip prefix.
3625
3680
  *
@@ -4477,5 +4532,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4477
4532
  }, import("zod/v4/core").$strip>>;
4478
4533
  }, import("zod/v4/core").$strip>, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
4479
4534
  //#endregion
4480
- export { AsyncTaskStatus as $, PermissionMode as $t, createSettings as A, isSandboxBackend as An, HarnessProfileConfigData as At, FlattenSubAgentMiddleware as B, REQUIRED_MIDDLEWARE_NAMES as Bt, listSkills as C, SandboxGetOrCreateOptions as Cn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Ct, filesValue as D, StateAndStore as Dn, createSubAgentMiddleware as Dt, createAgentMemoryMiddleware as E, SandboxListResponse as En, createSubAgent as Et, CreateDeepAgentParams as F, BackendProtocolV1 as Fn, EMPTY_HARNESS_PROFILE as Ft, InferSubagentByName as G, EXECUTION_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, ConfigurationErrorCode as Ht, DeepAgent as I, SandboxBackendProtocolV1 as In, createHarnessProfile as It, ResolveDeepAgentTypeConfig as J, FilesystemMiddlewareOptions as Jt, InferSubagentReactAgentType as K, SystemPromptConfig as Kt, DeepAgentTypeConfig as L, GeneralPurposeSubagentConfig as Lt, DeepAgentRunStream as M, resolveBackend as Mn, harnessProfileConfigSchema as Mt, SubagentRunStream$1 as N, BackendProtocolV2 as Nn, parseHarnessProfileConfig as Nt, Settings as O, WriteResult as On, getHarnessProfile as Ot, AnySubAgent as P, SandboxBackendProtocolV2 as Pn, serializeProfile as Pt, AsyncTask as Q, FilesystemPermission as Qt, DefaultDeepAgentTypeConfig as R, HarnessProfile as Rt, SkillMetadata as S, SandboxErrorCode as Sn, GENERAL_PURPOSE_SUBAGENT as St, AgentMemoryMiddlewareOptions as T, SandboxListOptions as Tn, SubAgentMiddlewareOptions as Tt, InferStructuredResponse as U, ASYNC_TASK_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ConfigurationError as Vt, InferSubAgentMiddlewareStates as W, BASE_AGENT_PROMPT as Wt, AsyncSubAgent as X, createFilesystemMiddleware as Xt, SupportedResponseFormat as Y, FsToolName as Yt, AsyncSubAgentMiddlewareOptions as Z, FilesystemOperation as Zt, StoreBackend as _, ReadRawResult as _n, createPatchToolCallsMiddleware as _t, adaptBackendProtocol as a, EditResult as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxDeleteOptions as bn, DEFAULT_SUBAGENT_PROMPT as bt, LangSmithSandbox as c, FileDownloadResponse as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, FileUploadResponse as dn, SkillsMiddlewareOptions as dt, AnyBackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GlobResult as fn, createSkillsMiddleware as ft, FilesystemBackend as g, MaybePromise as gn, StateBackend as gt, CompositeBackend as h, LsResult as hn, createMemoryMiddleware as ht, LangSmithStartSandboxOptions as i, DeleteResult as in, CompletionCallbackOptions as it, findProjectRoot as j, isSandboxProtocol as jn, generalPurposeSubagentConfigSchema as jt, SettingsOptions as k, applyGrepMaxCount as kn, registerHarnessProfile as kt, LangSmithSandboxCreateOptions as l, FileInfo as ln, SkillMetadata$1 as lt, ContextHubBackend as m, GrepResult as mn, MemoryMiddlewareOptions as mt, LangSmithCaptureSnapshotOptions as n, BackendProtocol as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, ExecuteResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, GrepMatch as pn, skillsMetadataValue as pt, MergedDeepAgentState as q, TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, BackendRuntime as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileData as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendFactory as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, FileOperationError as un, SkillMetadataEntry as ut, StoreBackendContext as v, ReadResult as vn, CompiledSubAgent as vt, parseSkillMetadata as w, SandboxInfo as wn, SubAgent as wt, ListSkillsOptions as x, SandboxError as xn, ForkedSubAgent as xt, StoreBackendNamespaceFactory as y, SandboxBackendProtocol as yn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as yt, ExtractSubAgentMiddleware as z, HarnessProfileOptions as zt };
4481
- //# sourceMappingURL=agent-CxEdojMv.d.ts.map
4535
+ export { scrubUnsupportedMultimodalContent as $, FsToolName as $t, createSettings as A, SandboxListResponse as An, createSubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV1 as Bn, createHarnessProfile as Bt, listSkills as C, SandboxBackendProtocol as Cn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Ct, filesValue as D, SandboxGetOrCreateOptions as Dn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Dt, createAgentMemoryMiddleware as E, SandboxErrorCode as En, GENERAL_PURPOSE_SUBAGENT as Et, CreateDeepAgentParams as F, isSandboxProtocol as Fn, generalPurposeSubagentConfigSchema as Ft, InferSubagentByName as G, ConfigurationError as Gt, InferDeepAgentType as H, HarnessProfile as Ht, DeepAgent as I, resolveBackend as In, harnessProfileConfigSchema as It, ResolveDeepAgentTypeConfig as J, BASE_AGENT_PROMPT as Jt, InferSubagentReactAgentType as K, ConfigurationErrorCode as Kt, DeepAgentTypeConfig as L, BackendProtocolV2 as Ln, parseHarnessProfileConfig as Lt, DeepAgentRunStream as M, WriteResult as Mn, getHarnessProfile as Mt, SubagentRunStream$1 as N, applyGrepMaxCount as Nn, registerHarnessProfile as Nt, Settings as O, SandboxInfo as On, SubAgent as Ot, AnySubAgent as P, isSandboxBackend as Pn, HarnessProfileConfigData as Pt, multimodalBlockSupported as Q, FilesystemMiddlewareOptions as Qt, DefaultDeepAgentTypeConfig as R, SandboxBackendProtocolV2 as Rn, serializeProfile as Rt, SkillMetadata as S, ReadResult as Sn, CompiledSubAgent as St, AgentMemoryMiddlewareOptions as T, SandboxError as Tn, ForkedSubAgent as Tt, InferStructuredResponse as U, HarnessProfileOptions as Ut, InferDeepAgentSubagents as V, GeneralPurposeSubagentConfig as Vt, InferSubAgentMiddlewareStates as W, REQUIRED_MIDDLEWARE_NAMES as Wt, MULTIMODAL_BLOCK_TYPES as X, SystemPromptConfig as Xt, SupportedResponseFormat as Y, EXECUTION_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, TASK_SYSTEM_PROMPT as Zt, StoreBackend as _, GrepMatch as _n, skillsMetadataValue as _t, adaptBackendProtocol as a, BackendFactory as an, isAsyncSubAgent as at, StoreBackendOptions as b, MaybePromise as bn, StateBackend as bt, LangSmithSandbox as c, DeleteResult as cn, CompletionCallbackOptions as ct, BaseSandbox as d, FileData as dn, MAX_SKILL_FILE_SIZE as dt, createFilesystemMiddleware as en, AsyncSubAgent as et, LocalShellBackend as f, FileDownloadResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, GlobResult as gn, createSkillsMiddleware as gt, CompositeBackend as h, FileUploadResponse as hn, SkillsMiddlewareOptions as ht, LangSmithStartSandboxOptions as i, AnyBackendProtocol as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, StateAndStore as jn, createSubAgentMiddleware as jt, SettingsOptions as k, SandboxListOptions as kn, SubAgentMiddlewareOptions as kt, LangSmithSandboxCreateOptions as l, EditResult as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileOperationError as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, FilesystemPermission as nn, AsyncTask as nt, adaptSandboxProtocol as o, BackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileInfo as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ASYNC_TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, PermissionMode as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendRuntime as sn, createSummarizationMiddleware as st, createDeepAgent as t, FilesystemOperation as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, ExecuteResponse as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GrepResult as vn, MemoryMiddlewareOptions as vt, parseSkillMetadata as w, SandboxDeleteOptions as wn, DEFAULT_SUBAGENT_PROMPT as wt, ListSkillsOptions as x, ReadRawResult as xn, createPatchToolCallsMiddleware as xt, StoreBackendNamespaceFactory as y, LsResult as yn, createMemoryMiddleware as yt, ExtractSubAgentMiddleware as z, BackendProtocolV1 as zn, EMPTY_HARNESS_PROFILE as zt };
4536
+ //# sourceMappingURL=agent-BKShWAoi.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-Bhg_Q4ZO.cjs");
2
+ const require_langsmith = require("./langsmith-CjOWZAS2.cjs");
3
3
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
4
4
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
5
5
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -1,3 +1,3 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-B05mw_iK.cjs";
1
+ import { $t as FsToolName, An as SandboxListResponse, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nt as registerHarnessProfile, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, Sn as ReadResult, St as CompiledSubAgent, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, jn as StateAndStore, jt as createSubAgentMiddleware, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, pn as FileInfo, pt as SkillMetadata, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, rn as PermissionMode, rt as AsyncTaskStatus, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-3XynVB9Z.cjs";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, 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, skillsMetadataValue };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CxEdojMv.js";
1
+ import { $t as FsToolName, An as SandboxListResponse, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nt as registerHarnessProfile, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, Sn as ReadResult, St as CompiledSubAgent, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, jn as StateAndStore, jt as createSubAgentMiddleware, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, pn as FileInfo, pt as SkillMetadata, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, rn as PermissionMode, rt as AsyncTaskStatus, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-BKShWAoi.js";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, 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, skillsMetadataValue };
package/dist/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, V as StateBackend, W as isSandboxBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith-Bgi_Ta-k.js";
1
+ import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, G as StateBackend, I as createSubAgentMiddleware, J as isSandboxBackend, K as SandboxError, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, Q as adaptSandboxProtocol, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, X as resolveBackend, Y as isSandboxProtocol, Z as adaptBackendProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith--RbtjNdQ.js";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, skillsMetadataValue };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-Bhg_Q4ZO.cjs");
3
- const require_src = require("./src-CB_Eac87.cjs");
2
+ const require_langsmith = require("./langsmith-CjOWZAS2.cjs");
3
+ const require_src = require("./src-BuYhtaIW.cjs");
4
4
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
5
5
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
6
6
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -18,6 +18,7 @@ exports.LocalShellBackend = require_src.LocalShellBackend;
18
18
  exports.MAX_SKILL_DESCRIPTION_LENGTH = require_langsmith.MAX_SKILL_DESCRIPTION_LENGTH;
19
19
  exports.MAX_SKILL_FILE_SIZE = require_langsmith.MAX_SKILL_FILE_SIZE;
20
20
  exports.MAX_SKILL_NAME_LENGTH = require_langsmith.MAX_SKILL_NAME_LENGTH;
21
+ exports.MULTIMODAL_BLOCK_TYPES = require_langsmith.MULTIMODAL_BLOCK_TYPES;
21
22
  exports.REQUIRED_MIDDLEWARE_NAMES = require_langsmith.REQUIRED_MIDDLEWARE_NAMES;
22
23
  exports.SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY = require_langsmith.SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY;
23
24
  exports.SandboxError = require_langsmith.SandboxError;
@@ -41,6 +42,7 @@ exports.createSkillsMiddleware = require_langsmith.createSkillsMiddleware;
41
42
  exports.createSubAgent = require_langsmith.createSubAgent;
42
43
  exports.createSubAgentMiddleware = require_langsmith.createSubAgentMiddleware;
43
44
  exports.createSummarizationMiddleware = require_langsmith.createSummarizationMiddleware;
45
+ exports.createUnsupportedContentMiddleware = require_langsmith.createUnsupportedContentMiddleware;
44
46
  exports.filesValue = require_langsmith.filesValue;
45
47
  exports.findProjectRoot = require_src.findProjectRoot;
46
48
  exports.generalPurposeSubagentConfigSchema = require_langsmith.generalPurposeSubagentConfigSchema;
@@ -50,10 +52,12 @@ exports.isAsyncSubAgent = require_langsmith.isAsyncSubAgent;
50
52
  exports.isSandboxBackend = require_langsmith.isSandboxBackend;
51
53
  exports.isSandboxProtocol = require_langsmith.isSandboxProtocol;
52
54
  exports.listSkills = require_src.listSkills;
55
+ exports.multimodalBlockSupported = require_langsmith.multimodalBlockSupported;
53
56
  exports.normalizeReadPagination = require_langsmith.normalizeReadPagination;
54
57
  exports.parseHarnessProfileConfig = require_langsmith.parseHarnessProfileConfig;
55
58
  exports.parseSkillMetadata = require_src.parseSkillMetadata;
56
59
  exports.registerHarnessProfile = require_langsmith.registerHarnessProfile;
57
60
  exports.resolveBackend = require_langsmith.resolveBackend;
61
+ exports.scrubUnsupportedMultimodalContent = require_langsmith.scrubUnsupportedMultimodalContent;
58
62
  exports.serializeProfile = require_langsmith.serializeProfile;
59
63
  exports.skillsMetadataValue = require_langsmith.skillsMetadataValue;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-B05mw_iK.cjs";
2
- export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, type ForkedSubAgent, type FsToolName, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as FsToolName, A as createSettings, An as SandboxListResponse, At as createSubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, C as listSkills, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, Dt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, E as createAgentMemoryMiddleware, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nn as applyGrepMaxCount, Nt as registerHarnessProfile, O as Settings, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Q as multimodalBlockSupported, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, S as SkillMetadata, Sn as ReadResult, St as CompiledSubAgent, T as AgentMemoryMiddlewareOptions, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, X as MULTIMODAL_BLOCK_TYPES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, f as LocalShellBackend, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, i as LangSmithStartSandboxOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as StateAndStore, jt as createSubAgentMiddleware, k as SettingsOptions, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileInfo, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as PermissionMode, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, w as parseSkillMetadata, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, x as ListSkillsOptions, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-3XynVB9Z.cjs";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, type ForkedSubAgent, type FsToolName, 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, MULTIMODAL_BLOCK_TYPES, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CxEdojMv.js";
2
- export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, type ForkedSubAgent, type FsToolName, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as FsToolName, A as createSettings, An as SandboxListResponse, At as createSubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, C as listSkills, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, Dt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, E as createAgentMemoryMiddleware, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nn as applyGrepMaxCount, Nt as registerHarnessProfile, O as Settings, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Q as multimodalBlockSupported, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, S as SkillMetadata, Sn as ReadResult, St as CompiledSubAgent, T as AgentMemoryMiddlewareOptions, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, X as MULTIMODAL_BLOCK_TYPES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, f as LocalShellBackend, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, i as LangSmithStartSandboxOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as StateAndStore, jt as createSubAgentMiddleware, k as SettingsOptions, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileInfo, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as PermissionMode, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, w as parseSkillMetadata, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, x as ListSkillsOptions, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-BKShWAoi.js";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, 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, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, type ForkedSubAgent, type FsToolName, 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, MULTIMODAL_BLOCK_TYPES, 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 SkillMetadataEntry, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, F as createSubAgent, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, P as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, Q as normalizeReadPagination, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as applyGrepMaxCount, V as StateBackend, W as isSandboxBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith-Bgi_Ta-k.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-BGwHTd6z.js";
3
- export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, 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, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
1
+ import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, F as createSubAgent, G as StateBackend, H as createUnsupportedContentMiddleware, I as createSubAgentMiddleware, J as isSandboxBackend, K as SandboxError, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, P as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, Q as adaptSandboxProtocol, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as multimodalBlockSupported, V as MULTIMODAL_BLOCK_TYPES, W as scrubUnsupportedMultimodalContent, X as resolveBackend, Y as isSandboxProtocol, Z as adaptBackendProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, nt as normalizeReadPagination, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as applyGrepMaxCount, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith--RbtjNdQ.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-YqBMARBL.js";
3
+ export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };