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-B2Wfp1cf.d.cts.map
|