deepagents 1.10.6 → 1.10.7

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.
@@ -788,53 +788,41 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
788
788
  path: string;
789
789
  }, {
790
790
  path?: string | undefined;
791
- }, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodObject<{
791
+ }, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
792
792
  file_path: z.ZodString;
793
793
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
794
794
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
795
- }, z.core.$strip>, {
795
+ }, z.core.$strip>>, {
796
796
  file_path: string;
797
797
  offset: number;
798
798
  limit: number;
799
- }, {
800
- file_path: string;
801
- offset?: unknown;
802
- limit?: unknown;
803
- }, {
799
+ }, unknown, {
804
800
  type: string;
805
801
  text: string;
806
802
  }[] | {
807
803
  type: string;
808
804
  mimeType: string;
809
805
  data: string;
810
- }[], unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
806
+ }[], unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
811
807
  file_path: z.ZodString;
812
808
  content: z.ZodDefault<z.ZodString>;
813
- }, z.core.$strip>, {
809
+ }, z.core.$strip>>, {
814
810
  file_path: string;
815
811
  content: string;
816
- }, {
817
- file_path: string;
818
- content?: string | undefined;
819
- }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
812
+ }, unknown, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
820
813
  files: Record<string, FileData>;
821
814
  messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
822
- }, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
815
+ }, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
823
816
  file_path: z.ZodString;
824
817
  old_string: z.ZodString;
825
818
  new_string: z.ZodString;
826
819
  replace_all: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
827
- }, z.core.$strip>, {
820
+ }, z.core.$strip>>, {
828
821
  file_path: string;
829
822
  old_string: string;
830
823
  new_string: string;
831
824
  replace_all: boolean;
832
- }, {
833
- file_path: string;
834
- old_string: string;
835
- new_string: string;
836
- replace_all?: boolean | undefined;
837
- }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
825
+ }, unknown, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
838
826
  files: Record<string, FileData>;
839
827
  messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
840
828
  }, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
@@ -3926,53 +3914,41 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3926
3914
  path: string;
3927
3915
  }, {
3928
3916
  path?: string | undefined;
3929
- }, string, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3917
+ }, string, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3930
3918
  file_path: import("zod").ZodString;
3931
3919
  offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
3932
3920
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
3933
- }, import("zod/v4/core").$strip>, {
3921
+ }, import("zod/v4/core").$strip>>, {
3934
3922
  file_path: string;
3935
3923
  offset: number;
3936
3924
  limit: number;
3937
- }, {
3938
- file_path: string;
3939
- offset?: unknown;
3940
- limit?: unknown;
3941
- }, {
3925
+ }, unknown, {
3942
3926
  type: string;
3943
3927
  text: string;
3944
3928
  }[] | {
3945
3929
  type: string;
3946
3930
  mimeType: string;
3947
3931
  data: string;
3948
- }[], unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3932
+ }[], unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3949
3933
  file_path: import("zod").ZodString;
3950
3934
  content: import("zod").ZodDefault<import("zod").ZodString>;
3951
- }, import("zod/v4/core").$strip>, {
3935
+ }, import("zod/v4/core").$strip>>, {
3952
3936
  file_path: string;
3953
3937
  content: string;
3954
- }, {
3955
- file_path: string;
3956
- content?: string | undefined;
3957
- }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3938
+ }, unknown, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3958
3939
  files: Record<string, FileData>;
3959
3940
  messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
3960
- }, string>, unknown, "write_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3941
+ }, string>, unknown, "write_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3961
3942
  file_path: import("zod").ZodString;
3962
3943
  old_string: import("zod").ZodString;
3963
3944
  new_string: import("zod").ZodString;
3964
3945
  replace_all: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
3965
- }, import("zod/v4/core").$strip>, {
3946
+ }, import("zod/v4/core").$strip>>, {
3966
3947
  file_path: string;
3967
3948
  old_string: string;
3968
3949
  new_string: string;
3969
3950
  replace_all: boolean;
3970
- }, {
3971
- file_path: string;
3972
- old_string: string;
3973
- new_string: string;
3974
- replace_all?: boolean | undefined;
3975
- }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3951
+ }, unknown, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3976
3952
  files: Record<string, FileData>;
3977
3953
  messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
3978
3954
  }, string>, unknown, "edit_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
@@ -4021,4 +3997,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4021
3997
  }, 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>>;
4022
3998
  //#endregion
4023
3999
  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
4000
+ //# sourceMappingURL=agent-DgVtHOV7.d.ts.map
@@ -787,53 +787,41 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
787
787
  path: string;
788
788
  }, {
789
789
  path?: string | undefined;
790
- }, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodObject<{
790
+ }, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
791
791
  file_path: z.ZodString;
792
792
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
793
793
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
794
- }, z.core.$strip>, {
794
+ }, z.core.$strip>>, {
795
795
  file_path: string;
796
796
  offset: number;
797
797
  limit: number;
798
- }, {
799
- file_path: string;
800
- offset?: unknown;
801
- limit?: unknown;
802
- }, {
798
+ }, unknown, {
803
799
  type: string;
804
800
  text: string;
805
801
  }[] | {
806
802
  type: string;
807
803
  mimeType: string;
808
804
  data: string;
809
- }[], unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
805
+ }[], unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
810
806
  file_path: z.ZodString;
811
807
  content: z.ZodDefault<z.ZodString>;
812
- }, z.core.$strip>, {
808
+ }, z.core.$strip>>, {
813
809
  file_path: string;
814
810
  content: string;
815
- }, {
816
- file_path: string;
817
- content?: string | undefined;
818
- }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
811
+ }, unknown, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
819
812
  files: Record<string, FileData>;
820
813
  messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
821
- }, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
814
+ }, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
822
815
  file_path: z.ZodString;
823
816
  old_string: z.ZodString;
824
817
  new_string: z.ZodString;
825
818
  replace_all: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
826
- }, z.core.$strip>, {
819
+ }, z.core.$strip>>, {
827
820
  file_path: string;
828
821
  old_string: string;
829
822
  new_string: string;
830
823
  replace_all: boolean;
831
- }, {
832
- file_path: string;
833
- old_string: string;
834
- new_string: string;
835
- replace_all?: boolean | undefined;
836
- }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
824
+ }, unknown, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
837
825
  files: Record<string, FileData>;
838
826
  messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
839
827
  }, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
@@ -3925,53 +3913,41 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3925
3913
  path: string;
3926
3914
  }, {
3927
3915
  path?: string | undefined;
3928
- }, string, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3916
+ }, string, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3929
3917
  file_path: import("zod").ZodString;
3930
3918
  offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
3931
3919
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
3932
- }, import("zod/v4/core").$strip>, {
3920
+ }, import("zod/v4/core").$strip>>, {
3933
3921
  file_path: string;
3934
3922
  offset: number;
3935
3923
  limit: number;
3936
- }, {
3937
- file_path: string;
3938
- offset?: unknown;
3939
- limit?: unknown;
3940
- }, {
3924
+ }, unknown, {
3941
3925
  type: string;
3942
3926
  text: string;
3943
3927
  }[] | {
3944
3928
  type: string;
3945
3929
  mimeType: string;
3946
3930
  data: string;
3947
- }[], unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3931
+ }[], unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3948
3932
  file_path: import("zod").ZodString;
3949
3933
  content: import("zod").ZodDefault<import("zod").ZodString>;
3950
- }, import("zod/v4/core").$strip>, {
3934
+ }, import("zod/v4/core").$strip>>, {
3951
3935
  file_path: string;
3952
3936
  content: string;
3953
- }, {
3954
- file_path: string;
3955
- content?: string | undefined;
3956
- }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3937
+ }, unknown, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3957
3938
  files: Record<string, FileData>;
3958
3939
  messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
3959
- }, string>, unknown, "write_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3940
+ }, string>, unknown, "write_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3960
3941
  file_path: import("zod").ZodString;
3961
3942
  old_string: import("zod").ZodString;
3962
3943
  new_string: import("zod").ZodString;
3963
3944
  replace_all: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
3964
- }, import("zod/v4/core").$strip>, {
3945
+ }, import("zod/v4/core").$strip>>, {
3965
3946
  file_path: string;
3966
3947
  old_string: string;
3967
3948
  new_string: string;
3968
3949
  replace_all: boolean;
3969
- }, {
3970
- file_path: string;
3971
- old_string: string;
3972
- new_string: string;
3973
- replace_all?: boolean | undefined;
3974
- }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3950
+ }, unknown, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
3975
3951
  files: Record<string, FileData>;
3976
3952
  messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
3977
3953
  }, string>, unknown, "edit_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
@@ -4020,4 +3996,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4020
3996
  }, 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>>;
4021
3997
  //#endregion
4022
3998
  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
3999
+ //# sourceMappingURL=agent-DsjC63Eg.d.cts.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-Cpzy6cFq.cjs");
2
+ const require_langsmith = require("./langsmith-CiAeUke2.cjs");
3
3
  exports.BaseSandbox = require_langsmith.BaseSandbox;
4
4
  exports.CompositeBackend = require_langsmith.CompositeBackend;
5
5
  exports.ConfigurationError = require_langsmith.ConfigurationError;
@@ -1,3 +1,3 @@
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";
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-DsjC63Eg.cjs";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
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 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";
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-DgVtHOV7.js";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
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 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-CbVMIRaK.js";
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-DjCMSywL.js";
2
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-Cpzy6cFq.cjs");
3
- const require_src = require("./src-Cu2or9PN.cjs");
2
+ const require_langsmith = require("./langsmith-CiAeUke2.cjs");
3
+ const require_src = require("./src-ez4XwElW.cjs");
4
4
  exports.BaseSandbox = require_langsmith.BaseSandbox;
5
5
  exports.CompositeBackend = require_langsmith.CompositeBackend;
6
6
  exports.ConfigurationError = require_langsmith.ConfigurationError;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
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";
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-DsjC63Eg.cjs";
2
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 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";
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-DgVtHOV7.js";
2
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 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-CbVMIRaK.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-5s_gtczU.js";
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-DjCMSywL.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-CoLnjzWB.js";
3
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 };
@@ -1272,6 +1272,22 @@ var CompositeBackend = class {
1272
1272
  */
1273
1273
  const INT_FORMATTER = new Intl.NumberFormat("en-US");
1274
1274
  /**
1275
+ * Normalizes tool input so that models sending `path` instead of `file_path`
1276
+ * still work. If the input has `path` but not `file_path`, copies `path` into
1277
+ * `file_path`. This makes the filesystem tools resilient to parameter-name
1278
+ * variations across models of different capability levels.
1279
+ */
1280
+ function normalizeFilePathInput(input) {
1281
+ if (typeof input === "object" && input !== null && "path" in input && !("file_path" in input)) {
1282
+ const { path, ...rest } = input;
1283
+ return {
1284
+ ...rest,
1285
+ file_path: path
1286
+ };
1287
+ }
1288
+ return input;
1289
+ }
1290
+ /**
1275
1291
  * Tools that should be excluded from the large result eviction logic.
1276
1292
  *
1277
1293
  * This array contains tools that should NOT have their results evicted to the filesystem
@@ -1548,10 +1564,10 @@ const READ_FILE_TOOL_DESCRIPTION = langchain.context`
1548
1564
  Usage:
1549
1565
  - By default, it reads up to ${100} lines starting from the beginning of the file
1550
1566
  - **IMPORTANT for large files and codebase exploration**: Use pagination with offset and limit parameters to avoid context overflow
1551
- - First scan: read_file(path, limit=${100}) to see file structure
1552
- - Read more sections: read_file(path, offset=${100}, limit=200) for next 200 lines
1567
+ - First scan: read_file(file_path, limit=${100}) to see file structure
1568
+ - Read more sections: read_file(file_path, offset=${100}, limit=200) for next 200 lines
1553
1569
  - Only omit limit (read full file) when necessary for editing
1554
- - Specify offset and limit: read_file(path, offset=0, limit=${100}) reads first ${100} lines
1570
+ - Specify offset and limit: read_file(file_path, offset=0, limit=${100}) reads first ${100} lines
1555
1571
  - Results are returned using cat -n format, with line numbers starting at 1
1556
1572
  - Lines longer than ${INT_FORMATTER.format(MAX_LINE_LENGTH)} characters will be split into multiple lines with continuation markers (e.g., 5.1, 5.2, etc.). When you specify a limit, these continuation lines count towards the limit.
1557
1573
  - You have the capability to call multiple tools in a single response. It is always better to speculatively read multiple files as a batch that are potentially useful.
@@ -1749,11 +1765,11 @@ function createReadFileTool(backend, options) {
1749
1765
  }, {
1750
1766
  name: "read_file",
1751
1767
  description: customDescription || READ_FILE_TOOL_DESCRIPTION,
1752
- schema: zod_v4.z.object({
1768
+ schema: zod_v4.z.preprocess(normalizeFilePathInput, zod_v4.z.object({
1753
1769
  file_path: zod_v4.z.string().describe("Absolute path to the file to read"),
1754
1770
  offset: zod_v4.z.coerce.number().optional().default(0).describe("Line offset to start reading from (0-indexed)"),
1755
1771
  limit: zod_v4.z.coerce.number().optional().default(100).describe("Maximum number of lines to read")
1756
- })
1772
+ }))
1757
1773
  });
1758
1774
  }
1759
1775
  /**
@@ -1781,10 +1797,10 @@ function createWriteFileTool(backend, options) {
1781
1797
  }, {
1782
1798
  name: "write_file",
1783
1799
  description: customDescription || WRITE_FILE_TOOL_DESCRIPTION,
1784
- schema: zod_v4.z.object({
1800
+ schema: zod_v4.z.preprocess(normalizeFilePathInput, zod_v4.z.object({
1785
1801
  file_path: zod_v4.z.string().describe("Absolute path to the file to write"),
1786
1802
  content: zod_v4.z.string().default("").describe("Content to write to the file")
1787
- })
1803
+ }))
1788
1804
  });
1789
1805
  }
1790
1806
  /**
@@ -1812,12 +1828,12 @@ function createEditFileTool(backend, options) {
1812
1828
  }, {
1813
1829
  name: "edit_file",
1814
1830
  description: customDescription || EDIT_FILE_TOOL_DESCRIPTION,
1815
- schema: zod_v4.z.object({
1831
+ schema: zod_v4.z.preprocess(normalizeFilePathInput, zod_v4.z.object({
1816
1832
  file_path: zod_v4.z.string().describe("Absolute path to the file to edit"),
1817
1833
  old_string: zod_v4.z.string().describe("String to be replaced (must match exactly)"),
1818
1834
  new_string: zod_v4.z.string().describe("String to replace with"),
1819
1835
  replace_all: zod_v4.z.boolean().optional().default(false).describe("Whether to replace all occurrences")
1820
- })
1836
+ }))
1821
1837
  });
1822
1838
  }
1823
1839
  /**
@@ -3122,7 +3138,7 @@ const SKILLS_SYSTEM_PROMPT = langchain.context`
3122
3138
  User: "Can you research the latest developments in quantum computing?"
3123
3139
 
3124
3140
  1. Check available skills above → See "web-research" skill with its full path
3125
- 2. Read the full skill file: \`read_file(path, limit=${DEFAULT_SKILL_READ_LINE_LIMIT})\`
3141
+ 2. Read the full skill file: \`read_file(file_path, limit=${DEFAULT_SKILL_READ_LINE_LIMIT})\`
3126
3142
  3. Follow the skill's research workflow (search → organize → synthesize)
3127
3143
  4. Use any helper scripts with absolute paths
3128
3144
 
@@ -7675,4 +7691,4 @@ Object.defineProperty(exports, "serializeProfile", {
7675
7691
  }
7676
7692
  });
7677
7693
 
7678
- //# sourceMappingURL=langsmith-Cpzy6cFq.cjs.map
7694
+ //# sourceMappingURL=langsmith-CiAeUke2.cjs.map