deepagents 1.12.0-rc.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-a2Rs6dm8.d.cts → agent-B2Wfp1cf.d.cts} +84 -142
- package/dist/{agent-BHm2eFEE.d.ts → agent-C_iR-pdx.d.ts} +84 -142
- package/dist/browser.cjs +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{langsmith-CyORon4P.cjs → langsmith-CiiwzXI3.cjs} +11 -9
- package/dist/langsmith-CiiwzXI3.cjs.map +1 -0
- package/dist/{langsmith-COC2ZzbQ.js → langsmith-hz83LfzA.js} +11 -9
- package/dist/langsmith-hz83LfzA.js.map +1 -0
- package/dist/node.cjs +2 -2
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/{src-2FgDsCyk.cjs → src-BMXphRFQ.cjs} +2 -2
- package/dist/{src-2FgDsCyk.cjs.map → src-BMXphRFQ.cjs.map} +1 -1
- package/dist/{src-sRjmLlgg.js → src-BMn6YVTo.js} +2 -2
- package/dist/{src-sRjmLlgg.js.map → src-BMn6YVTo.js.map} +1 -1
- package/package.json +3 -3
- package/dist/langsmith-COC2ZzbQ.js.map +0 -1
- package/dist/langsmith-CyORon4P.cjs.map +0 -1
|
@@ -887,7 +887,34 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
887
887
|
path: string;
|
|
888
888
|
}, {
|
|
889
889
|
path?: string | undefined;
|
|
890
|
-
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | _langchain.DynamicStructuredTool<z.
|
|
890
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
891
|
+
pattern: z.ZodString;
|
|
892
|
+
path: z.ZodOptional<z.ZodString>;
|
|
893
|
+
}, z.core.$strip>, {
|
|
894
|
+
pattern: string;
|
|
895
|
+
path?: string | undefined;
|
|
896
|
+
}, {
|
|
897
|
+
pattern: string;
|
|
898
|
+
path?: string | undefined;
|
|
899
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
900
|
+
pattern: z.ZodString;
|
|
901
|
+
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
902
|
+
glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
903
|
+
}, z.core.$strip>, {
|
|
904
|
+
pattern: string;
|
|
905
|
+
path: string;
|
|
906
|
+
glob: string | null;
|
|
907
|
+
}, {
|
|
908
|
+
pattern: string;
|
|
909
|
+
path?: string | undefined;
|
|
910
|
+
glob?: string | null | undefined;
|
|
911
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
912
|
+
command: z.ZodString;
|
|
913
|
+
}, z.core.$strip>, {
|
|
914
|
+
command: string;
|
|
915
|
+
}, {
|
|
916
|
+
command: string;
|
|
917
|
+
}, string, unknown, "execute"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
|
|
891
918
|
file_path: z.ZodString;
|
|
892
919
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
893
920
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -895,23 +922,23 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
895
922
|
file_path: string;
|
|
896
923
|
offset: number;
|
|
897
924
|
limit: number;
|
|
898
|
-
}, unknown,
|
|
925
|
+
}, unknown, {
|
|
899
926
|
type: string;
|
|
900
927
|
text: string;
|
|
901
928
|
}[] | {
|
|
902
929
|
type: string;
|
|
903
930
|
mimeType: string;
|
|
904
931
|
data: string;
|
|
905
|
-
}[]
|
|
932
|
+
}[] | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
|
|
906
933
|
file_path: z.ZodString;
|
|
907
934
|
content: z.ZodDefault<z.ZodString>;
|
|
908
935
|
}, z.core.$strip>>, {
|
|
909
936
|
file_path: string;
|
|
910
937
|
content: string;
|
|
911
|
-
}, unknown, string |
|
|
938
|
+
}, unknown, string | Command<unknown, {
|
|
912
939
|
files: Record<string, FileData>;
|
|
913
940
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
914
|
-
}, string
|
|
941
|
+
}, string> | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
|
|
915
942
|
file_path: z.ZodString;
|
|
916
943
|
old_string: z.ZodString;
|
|
917
944
|
new_string: z.ZodString;
|
|
@@ -921,37 +948,10 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
921
948
|
old_string: string;
|
|
922
949
|
new_string: string;
|
|
923
950
|
replace_all: boolean;
|
|
924
|
-
}, unknown, string |
|
|
951
|
+
}, unknown, string | Command<unknown, {
|
|
925
952
|
files: Record<string, FileData>;
|
|
926
953
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
927
|
-
}, string
|
|
928
|
-
pattern: z.ZodString;
|
|
929
|
-
path: z.ZodOptional<z.ZodString>;
|
|
930
|
-
}, z.core.$strip>, {
|
|
931
|
-
pattern: string;
|
|
932
|
-
path?: string | undefined;
|
|
933
|
-
}, {
|
|
934
|
-
pattern: string;
|
|
935
|
-
path?: string | undefined;
|
|
936
|
-
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
937
|
-
pattern: z.ZodString;
|
|
938
|
-
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
939
|
-
glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
940
|
-
}, z.core.$strip>, {
|
|
941
|
-
pattern: string;
|
|
942
|
-
path: string;
|
|
943
|
-
glob: string | null;
|
|
944
|
-
}, {
|
|
945
|
-
pattern: string;
|
|
946
|
-
path?: string | undefined;
|
|
947
|
-
glob?: string | null | undefined;
|
|
948
|
-
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
949
|
-
command: z.ZodString;
|
|
950
|
-
}, z.core.$strip>, {
|
|
951
|
-
command: string;
|
|
952
|
-
}, {
|
|
953
|
-
command: string;
|
|
954
|
-
}, string, unknown, "execute">)[], readonly []>;
|
|
954
|
+
}, string> | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "edit_file">)[], readonly []>;
|
|
955
955
|
//#endregion
|
|
956
956
|
//#region src/compat.d.ts
|
|
957
957
|
/**
|
|
@@ -1422,8 +1422,8 @@ interface CompiledSubAgent<TRunnable extends ReactAgent<any> | Runnable = ReactA
|
|
|
1422
1422
|
* Specification for a subagent that can be dynamically created.
|
|
1423
1423
|
*
|
|
1424
1424
|
* When using `createDeepAgent`, subagents automatically receive a default middleware
|
|
1425
|
-
* stack (
|
|
1426
|
-
*
|
|
1425
|
+
* stack (filesystemMiddleware, summarizationMiddleware, etc.) before any custom
|
|
1426
|
+
* `middleware` specified in this spec. Add `todoListMiddleware` explicitly to opt in.
|
|
1427
1427
|
*
|
|
1428
1428
|
* Required fields:
|
|
1429
1429
|
* - `name`: Identifier used to select this subagent in the task tool
|
|
@@ -1660,7 +1660,7 @@ declare function createSubAgentMiddleware(options: SubAgentMiddlewareOptions): A
|
|
|
1660
1660
|
* });
|
|
1661
1661
|
* ```
|
|
1662
1662
|
*/
|
|
1663
|
-
declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, undefined, unknown, readonly (import("@langchain/core/tools").
|
|
1663
|
+
declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
|
|
1664
1664
|
//#endregion
|
|
1665
1665
|
//#region src/backends/state.d.ts
|
|
1666
1666
|
/**
|
|
@@ -1835,7 +1835,7 @@ declare function createMemoryMiddleware(options: MemoryMiddlewareOptions): Agent
|
|
|
1835
1835
|
*/
|
|
1836
1836
|
memoryContents: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
1837
1837
|
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
1838
|
-
}>, undefined, unknown, readonly (import("@langchain/core/tools").
|
|
1838
|
+
}>, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
|
|
1839
1839
|
//#endregion
|
|
1840
1840
|
//#region src/middleware/skills.d.ts
|
|
1841
1841
|
declare const MAX_SKILL_FILE_SIZE: number;
|
|
@@ -1982,7 +1982,7 @@ declare function createSkillsMiddleware(options: SkillsMiddlewareOptions): Agent
|
|
|
1982
1982
|
module?: string | undefined;
|
|
1983
1983
|
}[] | undefined>;
|
|
1984
1984
|
files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
1985
|
-
}>, undefined, unknown, readonly (import("@langchain/core/tools").
|
|
1985
|
+
}>, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
|
|
1986
1986
|
//#endregion
|
|
1987
1987
|
//#region src/middleware/completion_callback.d.ts
|
|
1988
1988
|
/**
|
|
@@ -2039,7 +2039,7 @@ interface CompletionCallbackOptions {
|
|
|
2039
2039
|
*/
|
|
2040
2040
|
declare function createCompletionCallbackMiddleware(options: CompletionCallbackOptions): AgentMiddleware<z$2.ZodObject<{
|
|
2041
2041
|
callbackThreadId: z$2.ZodOptional<z$2.ZodString>;
|
|
2042
|
-
}, z$2.core.$strip>, undefined, unknown, readonly (import("@langchain/core/tools").
|
|
2042
|
+
}, z$2.core.$strip>, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
|
|
2043
2043
|
//#endregion
|
|
2044
2044
|
//#region src/middleware/summarization.d.ts
|
|
2045
2045
|
/**
|
|
@@ -2156,7 +2156,7 @@ declare function createSummarizationMiddleware(options: SummarizationMiddlewareO
|
|
|
2156
2156
|
summaryMessage: z$1.ZodCustom<HumanMessage<_messages.MessageStructure<_messages.MessageToolSet>>, HumanMessage<_messages.MessageStructure<_messages.MessageToolSet>>>;
|
|
2157
2157
|
filePath: z$1.ZodNullable<z$1.ZodString>;
|
|
2158
2158
|
}, z$1.core.$strip>>;
|
|
2159
|
-
}, z$1.core.$strip>, undefined, unknown, readonly (
|
|
2159
|
+
}, z$1.core.$strip>, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>;
|
|
2160
2160
|
//#endregion
|
|
2161
2161
|
//#region src/middleware/async_subagents.d.ts
|
|
2162
2162
|
/**
|
|
@@ -2335,10 +2335,10 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
|
|
|
2335
2335
|
//#region src/types.d.ts
|
|
2336
2336
|
type AnyAnnotationRoot = AnnotationRoot<any>;
|
|
2337
2337
|
/**
|
|
2338
|
-
* Literal union of
|
|
2339
|
-
*
|
|
2338
|
+
* Literal union of deep agent tool names that are always present regardless of
|
|
2339
|
+
* user-provided tools.
|
|
2340
2340
|
*/
|
|
2341
|
-
type DeepAgentBuiltinToolName = (typeof FILESYSTEM_TOOL_NAMES)[number] | (typeof ASYNC_TASK_TOOL_NAMES)[number] | "task"
|
|
2341
|
+
type DeepAgentBuiltinToolName = (typeof FILESYSTEM_TOOL_NAMES)[number] | (typeof ASYNC_TASK_TOOL_NAMES)[number] | "task";
|
|
2342
2342
|
/**
|
|
2343
2343
|
* A placeholder StructuredTool type with a literal `name` for each
|
|
2344
2344
|
* built-in tool. Used to thread built-in tool names into the
|
|
@@ -2641,8 +2641,8 @@ interface CreateDeepAgentParams<TResponse extends SupportedResponseFormat = Supp
|
|
|
2641
2641
|
systemPrompt?: string | SystemMessage | SystemPromptConfig;
|
|
2642
2642
|
/**
|
|
2643
2643
|
* Optional schema for custom agent state. Allows you to define custom state properties
|
|
2644
|
-
* beyond built-in `messages
|
|
2645
|
-
* in hooks, middleware, and throughout the agent's execution.
|
|
2644
|
+
* beyond built-in `messages` and `files`. The optional todo middleware adds `todos`.
|
|
2645
|
+
* These properties can be accessed in hooks, middleware, and throughout the agent's execution.
|
|
2646
2646
|
*
|
|
2647
2647
|
* Unlike `contextSchema` the state is persisted between agent invocations when using a
|
|
2648
2648
|
* checkpointer, making it suitable for maintaining conversation history, user preferences,
|
|
@@ -2966,7 +2966,7 @@ interface AgentMemoryMiddlewareOptions {
|
|
|
2966
2966
|
* @deprecated Use `createMemoryMiddleware` from `./memory.js` instead.
|
|
2967
2967
|
* This function uses direct filesystem access which limits portability.
|
|
2968
2968
|
*/
|
|
2969
|
-
declare function createAgentMemoryMiddleware(options: AgentMemoryMiddlewareOptions): AgentMiddleware<any, undefined, unknown, readonly (import("@langchain/core/tools").
|
|
2969
|
+
declare function createAgentMemoryMiddleware(options: AgentMemoryMiddlewareOptions): AgentMiddleware<any, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
|
|
2970
2970
|
//#endregion
|
|
2971
2971
|
//#region src/skills/loader.d.ts
|
|
2972
2972
|
/**
|
|
@@ -4008,65 +4008,7 @@ declare function adaptSandboxProtocol(sandbox: AnySandboxProtocol): SandboxBacke
|
|
|
4008
4008
|
* // result.research and result.author are properly typed as strings
|
|
4009
4009
|
* ```
|
|
4010
4010
|
*/
|
|
4011
|
-
declare function createDeepAgent<TResponse extends SupportedResponseFormat = SupportedResponseFormat, ContextSchema extends InteropZodObject = InteropZodObject, const TMiddleware extends readonly AgentMiddleware[] = readonly [], const TSubagents extends readonly AnySubAgent[] = readonly [], const TTools extends readonly (ClientTool | ServerTool)[] = readonly [], const TStreamTransformers extends ReadonlyArray<() => StreamTransformer<any>> = readonly [], TStateSchema extends AnyStateSchema | InteropZodObject | undefined = undefined>(params?: CreateDeepAgentParams<TResponse, ContextSchema, TMiddleware, TSubagents, TTools, TStreamTransformers, TStateSchema>): DeepAgent<DeepAgentTypeConfig<InferStructuredResponse<TResponse>, TStateSchema, ContextSchema, readonly [AgentMiddleware<
|
|
4012
|
-
todos: import("zod/v3").ZodDefault<import("zod/v3").ZodArray<import("zod/v3").ZodObject<{
|
|
4013
|
-
content: import("zod/v3").ZodString;
|
|
4014
|
-
status: import("zod/v3").ZodEnum<["pending", "in_progress", "completed"]>;
|
|
4015
|
-
}, "strip", import("zod/v3").ZodTypeAny, {
|
|
4016
|
-
content: string;
|
|
4017
|
-
status: "completed" | "in_progress" | "pending";
|
|
4018
|
-
}, {
|
|
4019
|
-
content: string;
|
|
4020
|
-
status: "completed" | "in_progress" | "pending";
|
|
4021
|
-
}>, "many">>;
|
|
4022
|
-
}, "strip", import("zod/v3").ZodTypeAny, {
|
|
4023
|
-
todos: {
|
|
4024
|
-
content: string;
|
|
4025
|
-
status: "completed" | "in_progress" | "pending";
|
|
4026
|
-
}[];
|
|
4027
|
-
}, {
|
|
4028
|
-
todos?: {
|
|
4029
|
-
content: string;
|
|
4030
|
-
status: "completed" | "in_progress" | "pending";
|
|
4031
|
-
}[] | undefined;
|
|
4032
|
-
}>, undefined, unknown, readonly [import("langchain").DynamicStructuredTool<import("zod/v3").ZodObject<{
|
|
4033
|
-
todos: import("zod/v3").ZodArray<import("zod/v3").ZodObject<{
|
|
4034
|
-
content: import("zod/v3").ZodString;
|
|
4035
|
-
status: import("zod/v3").ZodEnum<["pending", "in_progress", "completed"]>;
|
|
4036
|
-
}, "strip", import("zod/v3").ZodTypeAny, {
|
|
4037
|
-
content: string;
|
|
4038
|
-
status: "completed" | "in_progress" | "pending";
|
|
4039
|
-
}, {
|
|
4040
|
-
content: string;
|
|
4041
|
-
status: "completed" | "in_progress" | "pending";
|
|
4042
|
-
}>, "many">;
|
|
4043
|
-
}, "strip", import("zod/v3").ZodTypeAny, {
|
|
4044
|
-
todos: {
|
|
4045
|
-
content: string;
|
|
4046
|
-
status: "completed" | "in_progress" | "pending";
|
|
4047
|
-
}[];
|
|
4048
|
-
}, {
|
|
4049
|
-
todos: {
|
|
4050
|
-
content: string;
|
|
4051
|
-
status: "completed" | "in_progress" | "pending";
|
|
4052
|
-
}[];
|
|
4053
|
-
}>, {
|
|
4054
|
-
todos: {
|
|
4055
|
-
content: string;
|
|
4056
|
-
status: "completed" | "in_progress" | "pending";
|
|
4057
|
-
}[];
|
|
4058
|
-
}, {
|
|
4059
|
-
todos: {
|
|
4060
|
-
content: string;
|
|
4061
|
-
status: "completed" | "in_progress" | "pending";
|
|
4062
|
-
}[];
|
|
4063
|
-
}, _langgraph.Command<unknown, {
|
|
4064
|
-
todos: {
|
|
4065
|
-
content: string;
|
|
4066
|
-
status: "completed" | "in_progress" | "pending";
|
|
4067
|
-
}[];
|
|
4068
|
-
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
4069
|
-
}, string>, unknown, "write_todos">], readonly []>, AgentMiddleware<_langgraph.StateSchema<{
|
|
4011
|
+
declare function createDeepAgent<TResponse extends SupportedResponseFormat = SupportedResponseFormat, ContextSchema extends InteropZodObject = InteropZodObject, const TMiddleware extends readonly AgentMiddleware[] = readonly [], const TSubagents extends readonly AnySubAgent[] = readonly [], const TTools extends readonly (ClientTool | ServerTool)[] = readonly [], const TStreamTransformers extends ReadonlyArray<() => StreamTransformer<any>> = readonly [], TStateSchema extends AnyStateSchema | InteropZodObject | undefined = undefined>(params?: CreateDeepAgentParams<TResponse, ContextSchema, TMiddleware, TSubagents, TTools, TStreamTransformers, TStateSchema>): DeepAgent<DeepAgentTypeConfig<InferStructuredResponse<TResponse>, TStateSchema, ContextSchema, readonly [AgentMiddleware<_langgraph.StateSchema<{
|
|
4070
4012
|
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
4071
4013
|
}>, undefined, unknown, (import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4072
4014
|
path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
@@ -4074,7 +4016,34 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4074
4016
|
path: string;
|
|
4075
4017
|
}, {
|
|
4076
4018
|
path?: string | undefined;
|
|
4077
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").
|
|
4019
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4020
|
+
pattern: import("zod").ZodString;
|
|
4021
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4022
|
+
}, import("zod/v4/core").$strip>, {
|
|
4023
|
+
pattern: string;
|
|
4024
|
+
path?: string | undefined;
|
|
4025
|
+
}, {
|
|
4026
|
+
pattern: string;
|
|
4027
|
+
path?: string | undefined;
|
|
4028
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4029
|
+
pattern: import("zod").ZodString;
|
|
4030
|
+
path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4031
|
+
glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
4032
|
+
}, import("zod/v4/core").$strip>, {
|
|
4033
|
+
pattern: string;
|
|
4034
|
+
path: string;
|
|
4035
|
+
glob: string | null;
|
|
4036
|
+
}, {
|
|
4037
|
+
pattern: string;
|
|
4038
|
+
path?: string | undefined;
|
|
4039
|
+
glob?: string | null | undefined;
|
|
4040
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4041
|
+
command: import("zod").ZodString;
|
|
4042
|
+
}, import("zod/v4/core").$strip>, {
|
|
4043
|
+
command: string;
|
|
4044
|
+
}, {
|
|
4045
|
+
command: string;
|
|
4046
|
+
}, string, unknown, "execute"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
|
|
4078
4047
|
file_path: import("zod").ZodString;
|
|
4079
4048
|
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
4080
4049
|
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
@@ -4082,23 +4051,23 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4082
4051
|
file_path: string;
|
|
4083
4052
|
offset: number;
|
|
4084
4053
|
limit: number;
|
|
4085
|
-
}, unknown,
|
|
4054
|
+
}, unknown, {
|
|
4086
4055
|
type: string;
|
|
4087
4056
|
text: string;
|
|
4088
4057
|
}[] | {
|
|
4089
4058
|
type: string;
|
|
4090
4059
|
mimeType: string;
|
|
4091
4060
|
data: string;
|
|
4092
|
-
}[]
|
|
4061
|
+
}[] | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
|
|
4093
4062
|
file_path: import("zod").ZodString;
|
|
4094
4063
|
content: import("zod").ZodDefault<import("zod").ZodString>;
|
|
4095
4064
|
}, import("zod/v4/core").$strip>>, {
|
|
4096
4065
|
file_path: string;
|
|
4097
4066
|
content: string;
|
|
4098
|
-
}, unknown, string |
|
|
4067
|
+
}, unknown, string | _langgraph.Command<unknown, {
|
|
4099
4068
|
files: Record<string, FileData>;
|
|
4100
4069
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
4101
|
-
}, string
|
|
4070
|
+
}, string> | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "write_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
|
|
4102
4071
|
file_path: import("zod").ZodString;
|
|
4103
4072
|
old_string: import("zod").ZodString;
|
|
4104
4073
|
new_string: import("zod").ZodString;
|
|
@@ -4108,37 +4077,10 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4108
4077
|
old_string: string;
|
|
4109
4078
|
new_string: string;
|
|
4110
4079
|
replace_all: boolean;
|
|
4111
|
-
}, unknown, string |
|
|
4080
|
+
}, unknown, string | _langgraph.Command<unknown, {
|
|
4112
4081
|
files: Record<string, FileData>;
|
|
4113
4082
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
4114
|
-
}, string
|
|
4115
|
-
pattern: import("zod").ZodString;
|
|
4116
|
-
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4117
|
-
}, import("zod/v4/core").$strip>, {
|
|
4118
|
-
pattern: string;
|
|
4119
|
-
path?: string | undefined;
|
|
4120
|
-
}, {
|
|
4121
|
-
pattern: string;
|
|
4122
|
-
path?: string | undefined;
|
|
4123
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4124
|
-
pattern: import("zod").ZodString;
|
|
4125
|
-
path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
4126
|
-
glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
4127
|
-
}, import("zod/v4/core").$strip>, {
|
|
4128
|
-
pattern: string;
|
|
4129
|
-
path: string;
|
|
4130
|
-
glob: string | null;
|
|
4131
|
-
}, {
|
|
4132
|
-
pattern: string;
|
|
4133
|
-
path?: string | undefined;
|
|
4134
|
-
glob?: string | null | undefined;
|
|
4135
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4136
|
-
command: import("zod").ZodString;
|
|
4137
|
-
}, import("zod/v4/core").$strip>, {
|
|
4138
|
-
command: string;
|
|
4139
|
-
}, {
|
|
4140
|
-
command: string;
|
|
4141
|
-
}, string, unknown, "execute">)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly [import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4083
|
+
}, string> | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "edit_file">)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly [import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
4142
4084
|
description: import("zod").ZodString;
|
|
4143
4085
|
subagent_type: import("zod").ZodString;
|
|
4144
4086
|
}, import("zod/v4/core").$strip>, {
|
|
@@ -4154,7 +4096,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4154
4096
|
summaryMessage: import("zod").ZodCustom<_messages.HumanMessage<_messages.MessageStructure<_messages.MessageToolSet>>, _messages.HumanMessage<_messages.MessageStructure<_messages.MessageToolSet>>>;
|
|
4155
4097
|
filePath: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4156
4098
|
}, import("zod/v4/core").$strip>>;
|
|
4157
|
-
}, import("zod/v4/core").$strip>, undefined, unknown, readonly (
|
|
4099
|
+
}, 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>>;
|
|
4158
4100
|
//#endregion
|
|
4159
4101
|
export { createAsyncSubAgentMiddleware as $, BackendRuntime as $t, findProjectRoot as A, BackendProtocolV1 as An, serializeProfile as At, InferDeepAgentSubagents as B, BASE_AGENT_PROMPT as Bt, parseSkillMetadata as C, StateAndStore as Cn, createSubAgentMiddleware as Ct, Settings as D, resolveBackend as Dn, generalPurposeSubagentConfigSchema as Dt, filesValue as E, isSandboxProtocol as En, HarnessProfileConfigData as Et, DeepAgent as F, HarnessProfileOptions as Ft, InferSubagentReactAgentType as G, FsToolName as Gt, InferStructuredResponse as H, SystemPromptConfig as Ht, DeepAgentTypeConfig as I, REQUIRED_MIDDLEWARE_NAMES as It, SupportedResponseFormat as J, FilesystemPermission as Jt, MergedDeepAgentState as K, createFilesystemMiddleware as Kt, DefaultDeepAgentTypeConfig as L, ConfigurationError as Lt, SubagentRunStream$1 as M, createHarnessProfile as Mt, AnySubAgent as N, GeneralPurposeSubagentConfig as Nt, SettingsOptions as O, BackendProtocolV2 as On, harnessProfileConfigSchema as Ot, CreateDeepAgentParams as P, HarnessProfile as Pt, AsyncTaskStatus as Q, BackendProtocol as Qt, ExtractSubAgentMiddleware as R, ConfigurationErrorCode as Rt, listSkills as S, SandboxListResponse as Sn, createSubAgent as St, createAgentMemoryMiddleware as T, isSandboxBackend as Tn, registerHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, TASK_SYSTEM_PROMPT as Ut, InferDeepAgentType as V, EXECUTION_SYSTEM_PROMPT as Vt, InferSubagentByName as W, FilesystemMiddlewareOptions as Wt, AsyncSubAgentMiddlewareOptions as X, AnyBackendProtocol as Xt, AsyncSubAgent as Y, PermissionMode as Yt, AsyncTask as Z, BackendFactory as Zt, StoreBackendContext as _, SandboxError as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, FileInfo as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, SandboxInfo as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, GlobResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, LsResult as dn, MemoryMiddlewareOptions as dt, DeleteResult as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, MaybePromise as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxDeleteOptions as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxBackendProtocol as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, FileDownloadResponse as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, SandboxBackendProtocolV1 as jn, EMPTY_HARNESS_PROFILE as jt, createSettings as k, SandboxBackendProtocolV2 as kn, parseHarnessProfileConfig as kt, LangSmithSandboxOptions as l, GrepMatch as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, ReadResult as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, ExecuteResponse as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, FileOperationError as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, ReadRawResult as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, FilesystemOperation as qt, LangSmithSnapshot as r, FileData as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, FileUploadResponse as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, EditResult as tn, computeSummarizationDefaults as tt, BaseSandbox as u, GrepResult as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, SandboxErrorCode as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, WriteResult as wn, getHarnessProfile as wt, SkillMetadata as x, SandboxListOptions as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, SandboxGetOrCreateOptions as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ASYNC_TASK_SYSTEM_PROMPT as zt };
|
|
4160
|
-
//# sourceMappingURL=agent-
|
|
4102
|
+
//# sourceMappingURL=agent-C_iR-pdx.d.ts.map
|
package/dist/browser.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_langsmith = require("./langsmith-
|
|
2
|
+
const require_langsmith = require("./langsmith-CiiwzXI3.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;
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-B2Wfp1cf.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 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 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 };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-C_iR-pdx.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 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 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 };
|
package/dist/browser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, G as adaptBackendProtocol, H as isSandboxBackend, K as adaptSandboxProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxProtocol, V as SandboxError, W as resolveBackend, _ 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 createPatchToolCallsMiddleware, k as createMemoryMiddleware, 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 createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-
|
|
1
|
+
import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, G as adaptBackendProtocol, H as isSandboxBackend, K as adaptSandboxProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxProtocol, V as SandboxError, W as resolveBackend, _ 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 createPatchToolCallsMiddleware, k as createMemoryMiddleware, 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 createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-hz83LfzA.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 };
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_langsmith = require("./langsmith-
|
|
3
|
-
const require_src = require("./src-
|
|
2
|
+
const require_langsmith = require("./langsmith-CiiwzXI3.cjs");
|
|
3
|
+
const require_src = require("./src-BMXphRFQ.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;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-B2Wfp1cf.cjs";
|
|
2
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 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 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, 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 BackendRuntime, A as findProjectRoot, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-
|
|
1
|
+
import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as BackendProtocolV1, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as resolveBackend, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxProtocol, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as BackendProtocolV2, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as isSandboxBackend, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as SandboxBackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-C_iR-pdx.js";
|
|
2
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 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 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, 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 filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as adaptBackendProtocol, H as isSandboxBackend, I as createSubAgent, K as adaptSandboxProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxProtocol, V as SandboxError, W as resolveBackend, _ 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 createPatchToolCallsMiddleware, k as createMemoryMiddleware, 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 createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-
|
|
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-
|
|
1
|
+
import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as adaptBackendProtocol, H as isSandboxBackend, I as createSubAgent, K as adaptSandboxProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxProtocol, V as SandboxError, W as resolveBackend, _ 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 createPatchToolCallsMiddleware, k as createMemoryMiddleware, 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 createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-hz83LfzA.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-BMn6YVTo.js";
|
|
3
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, 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 };
|
|
@@ -5453,6 +5453,9 @@ without seeing a prior result.
|
|
|
5453
5453
|
- Before finishing, reconcile every TODO or plan item created via write_todos. \
|
|
5454
5454
|
Mark each as done, blocked (with a one-sentence reason), or cancelled. Do not \
|
|
5455
5455
|
finish with pending items.`;
|
|
5456
|
+
function createExtraMiddleware() {
|
|
5457
|
+
return [(0, langchain.todoListMiddleware)()];
|
|
5458
|
+
}
|
|
5456
5459
|
/**
|
|
5457
5460
|
* Register the built-in Codex harness profiles.
|
|
5458
5461
|
*
|
|
@@ -5463,7 +5466,10 @@ finish with pending items.`;
|
|
|
5463
5466
|
* @internal
|
|
5464
5467
|
*/
|
|
5465
5468
|
function register() {
|
|
5466
|
-
const profile = createHarnessProfile({
|
|
5469
|
+
const profile = createHarnessProfile({
|
|
5470
|
+
systemPromptSuffix: SYSTEM_PROMPT_SUFFIX,
|
|
5471
|
+
extraMiddleware: createExtraMiddleware
|
|
5472
|
+
});
|
|
5467
5473
|
for (const spec of CODEX_MODEL_SPECS) registerHarnessProfileImpl(spec, profile);
|
|
5468
5474
|
}
|
|
5469
5475
|
//#endregion
|
|
@@ -5697,8 +5703,7 @@ function assemblePromptParts(parts) {
|
|
|
5697
5703
|
const BUILTIN_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
5698
5704
|
...FILESYSTEM_TOOL_NAMES,
|
|
5699
5705
|
...ASYNC_TASK_TOOL_NAMES,
|
|
5700
|
-
"task"
|
|
5701
|
-
"write_todos"
|
|
5706
|
+
"task"
|
|
5702
5707
|
]);
|
|
5703
5708
|
/**
|
|
5704
5709
|
* Create a Deep Agent.
|
|
@@ -5765,7 +5770,6 @@ function createDeepAgent(params = {}) {
|
|
|
5765
5770
|
const createSubagentDefaultMiddleware = (input) => {
|
|
5766
5771
|
const effectivePermissions = input.permissions ?? permissions;
|
|
5767
5772
|
return [
|
|
5768
|
-
(0, langchain.todoListMiddleware)({ systemPrompt: "" }),
|
|
5769
5773
|
createFilesystemMiddleware({
|
|
5770
5774
|
backend,
|
|
5771
5775
|
permissions: effectivePermissions,
|
|
@@ -5780,7 +5784,7 @@ function createDeepAgent(params = {}) {
|
|
|
5780
5784
|
];
|
|
5781
5785
|
};
|
|
5782
5786
|
const normalizeSubagentSpec = (input) => {
|
|
5783
|
-
let subagentMiddleware = mergeMiddlewareStack(createSubagentDefaultMiddleware(input), input.middleware ?? [], cacheMiddleware);
|
|
5787
|
+
let subagentMiddleware = mergeMiddlewareStack(createSubagentDefaultMiddleware(input), input.middleware ?? [], [...resolveMiddleware(harnessProfile.extraMiddleware), ...cacheMiddleware]);
|
|
5784
5788
|
if (harnessProfile.excludedMiddleware.size > 0) subagentMiddleware = subagentMiddleware.filter((middleware) => !harnessProfile.excludedMiddleware.has(middleware.name));
|
|
5785
5789
|
return {
|
|
5786
5790
|
...input,
|
|
@@ -5809,8 +5813,7 @@ function createDeepAgent(params = {}) {
|
|
|
5809
5813
|
backend,
|
|
5810
5814
|
sources: skills
|
|
5811
5815
|
})] : [];
|
|
5812
|
-
const [
|
|
5813
|
-
(0, langchain.todoListMiddleware)({ systemPrompt: "" }),
|
|
5816
|
+
const [fsMiddleware, subagentMiddleware, summarizationMiddleware, patchToolCallsMiddleware] = [
|
|
5814
5817
|
createFilesystemMiddleware({
|
|
5815
5818
|
backend,
|
|
5816
5819
|
permissions,
|
|
@@ -5827,7 +5830,6 @@ function createDeepAgent(params = {}) {
|
|
|
5827
5830
|
createPatchToolCallsMiddleware()
|
|
5828
5831
|
];
|
|
5829
5832
|
let middleware = mergeMiddlewareStack([
|
|
5830
|
-
todoMiddleware,
|
|
5831
5833
|
...skillsMiddleware,
|
|
5832
5834
|
fsMiddleware,
|
|
5833
5835
|
subagentMiddleware,
|
|
@@ -7779,4 +7781,4 @@ Object.defineProperty(exports, "serializeProfile", {
|
|
|
7779
7781
|
}
|
|
7780
7782
|
});
|
|
7781
7783
|
|
|
7782
|
-
//# sourceMappingURL=langsmith-
|
|
7784
|
+
//# sourceMappingURL=langsmith-CiiwzXI3.cjs.map
|