deepagents 1.8.7 → 1.8.8
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/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -26
- package/dist/index.d.ts +26 -26
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod_v30 from "zod/v3";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _langchain from "langchain";
|
|
3
3
|
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool, SystemMessage, ToolMessage, ToolStrategy } from "langchain";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _langgraph from "@langchain/langgraph";
|
|
5
5
|
import { AnnotationRoot, Command, ReducedValue, StateSchema } from "@langchain/langgraph";
|
|
6
6
|
import { z } from "zod/v4";
|
|
7
7
|
import * as _langchain_core_tools0 from "@langchain/core/tools";
|
|
@@ -483,13 +483,13 @@ interface FilesystemMiddlewareOptions {
|
|
|
483
483
|
*/
|
|
484
484
|
declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOptions): AgentMiddleware<StateSchema<{
|
|
485
485
|
files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
486
|
-
}>, undefined, unknown, (
|
|
486
|
+
}>, undefined, unknown, (_langchain.DynamicStructuredTool<z.ZodObject<{
|
|
487
487
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
488
488
|
}, z.core.$strip>, {
|
|
489
489
|
path: string;
|
|
490
490
|
}, {
|
|
491
491
|
path?: string | undefined;
|
|
492
|
-
}, string, unknown, "ls"> |
|
|
492
|
+
}, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
493
493
|
file_path: z.ZodString;
|
|
494
494
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
495
495
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -501,7 +501,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
501
501
|
file_path: string;
|
|
502
502
|
offset?: unknown;
|
|
503
503
|
limit?: unknown;
|
|
504
|
-
}, string, unknown, "read_file"> |
|
|
504
|
+
}, string, unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
505
505
|
file_path: z.ZodString;
|
|
506
506
|
content: z.ZodDefault<z.ZodString>;
|
|
507
507
|
}, z.core.$strip>, {
|
|
@@ -513,7 +513,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
513
513
|
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
|
|
514
514
|
files: Record<string, FileData>;
|
|
515
515
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
516
|
-
}, string>, unknown, "write_file"> |
|
|
516
|
+
}, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
517
517
|
file_path: z.ZodString;
|
|
518
518
|
old_string: z.ZodString;
|
|
519
519
|
new_string: z.ZodString;
|
|
@@ -531,7 +531,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
531
531
|
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
|
|
532
532
|
files: Record<string, FileData>;
|
|
533
533
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
534
|
-
}, string>, unknown, "edit_file"> |
|
|
534
|
+
}, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
535
535
|
pattern: z.ZodString;
|
|
536
536
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
537
537
|
}, z.core.$strip>, {
|
|
@@ -540,7 +540,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
540
540
|
}, {
|
|
541
541
|
pattern: string;
|
|
542
542
|
path?: string | undefined;
|
|
543
|
-
}, string, unknown, "glob"> |
|
|
543
|
+
}, string, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
544
544
|
pattern: z.ZodString;
|
|
545
545
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
546
546
|
glob: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -552,7 +552,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
552
552
|
pattern: string;
|
|
553
553
|
path?: string | undefined;
|
|
554
554
|
glob?: string | null | undefined;
|
|
555
|
-
}, string, unknown, "grep"> |
|
|
555
|
+
}, string, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
556
556
|
command: z.ZodString;
|
|
557
557
|
}, z.core.$strip>, {
|
|
558
558
|
command: string;
|
|
@@ -761,7 +761,7 @@ interface SubAgentMiddlewareOptions {
|
|
|
761
761
|
/**
|
|
762
762
|
* Create subagent middleware with task tool
|
|
763
763
|
*/
|
|
764
|
-
declare function createSubAgentMiddleware(options: SubAgentMiddlewareOptions): AgentMiddleware$1<undefined, undefined, unknown, readonly [
|
|
764
|
+
declare function createSubAgentMiddleware(options: SubAgentMiddlewareOptions): AgentMiddleware$1<undefined, undefined, unknown, readonly [_langchain.DynamicStructuredTool<z.ZodObject<{
|
|
765
765
|
description: z.ZodString;
|
|
766
766
|
subagent_type: z.ZodString;
|
|
767
767
|
}, z.core.$strip>, {
|
|
@@ -943,7 +943,7 @@ declare function createMemoryMiddleware(options: MemoryMiddlewareOptions): Agent
|
|
|
943
943
|
* Marked as private so it's not included in the final agent state.
|
|
944
944
|
*/
|
|
945
945
|
memoryContents: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
946
|
-
files:
|
|
946
|
+
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
947
947
|
}>, undefined, unknown, readonly (_langchain_core_tools0.ClientTool | _langchain_core_tools0.ServerTool)[]>;
|
|
948
948
|
//#endregion
|
|
949
949
|
//#region src/middleware/skills.d.ts
|
|
@@ -2226,7 +2226,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2226
2226
|
content: string;
|
|
2227
2227
|
status: "completed" | "in_progress" | "pending";
|
|
2228
2228
|
}[] | undefined;
|
|
2229
|
-
}>, undefined, unknown, readonly [
|
|
2229
|
+
}>, undefined, unknown, readonly [_langchain.DynamicStructuredTool<zod_v30.ZodObject<{
|
|
2230
2230
|
todos: zod_v30.ZodArray<zod_v30.ZodObject<{
|
|
2231
2231
|
content: zod_v30.ZodString;
|
|
2232
2232
|
status: zod_v30.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
@@ -2257,21 +2257,21 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2257
2257
|
content: string;
|
|
2258
2258
|
status: "completed" | "in_progress" | "pending";
|
|
2259
2259
|
}[];
|
|
2260
|
-
},
|
|
2260
|
+
}, _langgraph.Command<unknown, {
|
|
2261
2261
|
todos: {
|
|
2262
2262
|
content: string;
|
|
2263
2263
|
status: "completed" | "in_progress" | "pending";
|
|
2264
2264
|
}[];
|
|
2265
2265
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2266
|
-
}, string>, unknown, "write_todos">]>, AgentMiddleware<
|
|
2267
|
-
files:
|
|
2268
|
-
}>, undefined, unknown, (
|
|
2266
|
+
}, string>, unknown, "write_todos">]>, AgentMiddleware<_langgraph.StateSchema<{
|
|
2267
|
+
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
2268
|
+
}>, undefined, unknown, (_langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2269
2269
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2270
2270
|
}, zod_v4_core0.$strip>, {
|
|
2271
2271
|
path: string;
|
|
2272
2272
|
}, {
|
|
2273
2273
|
path?: string | undefined;
|
|
2274
|
-
}, string, unknown, "ls"> |
|
|
2274
|
+
}, string, unknown, "ls"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2275
2275
|
file_path: zod.ZodString;
|
|
2276
2276
|
offset: zod.ZodDefault<zod.ZodOptional<zod.ZodCoercedNumber<unknown>>>;
|
|
2277
2277
|
limit: zod.ZodDefault<zod.ZodOptional<zod.ZodCoercedNumber<unknown>>>;
|
|
@@ -2283,7 +2283,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2283
2283
|
file_path: string;
|
|
2284
2284
|
offset?: unknown;
|
|
2285
2285
|
limit?: unknown;
|
|
2286
|
-
}, string, unknown, "read_file"> |
|
|
2286
|
+
}, string, unknown, "read_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2287
2287
|
file_path: zod.ZodString;
|
|
2288
2288
|
content: zod.ZodDefault<zod.ZodString>;
|
|
2289
2289
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2292,10 +2292,10 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2292
2292
|
}, {
|
|
2293
2293
|
file_path: string;
|
|
2294
2294
|
content?: string | undefined;
|
|
2295
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> |
|
|
2295
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
|
|
2296
2296
|
files: Record<string, FileData>;
|
|
2297
2297
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2298
|
-
}, string>, unknown, "write_file"> |
|
|
2298
|
+
}, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2299
2299
|
file_path: zod.ZodString;
|
|
2300
2300
|
old_string: zod.ZodString;
|
|
2301
2301
|
new_string: zod.ZodString;
|
|
@@ -2310,10 +2310,10 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2310
2310
|
old_string: string;
|
|
2311
2311
|
new_string: string;
|
|
2312
2312
|
replace_all?: boolean | undefined;
|
|
2313
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> |
|
|
2313
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
|
|
2314
2314
|
files: Record<string, FileData>;
|
|
2315
2315
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2316
|
-
}, string>, unknown, "edit_file"> |
|
|
2316
|
+
}, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2317
2317
|
pattern: zod.ZodString;
|
|
2318
2318
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2319
2319
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2322,7 +2322,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2322
2322
|
}, {
|
|
2323
2323
|
pattern: string;
|
|
2324
2324
|
path?: string | undefined;
|
|
2325
|
-
}, string, unknown, "glob"> |
|
|
2325
|
+
}, string, unknown, "glob"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2326
2326
|
pattern: zod.ZodString;
|
|
2327
2327
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2328
2328
|
glob: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
|
|
@@ -2334,13 +2334,13 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2334
2334
|
pattern: string;
|
|
2335
2335
|
path?: string | undefined;
|
|
2336
2336
|
glob?: string | null | undefined;
|
|
2337
|
-
}, string, unknown, "grep"> |
|
|
2337
|
+
}, string, unknown, "grep"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2338
2338
|
command: zod.ZodString;
|
|
2339
2339
|
}, zod_v4_core0.$strip>, {
|
|
2340
2340
|
command: string;
|
|
2341
2341
|
}, {
|
|
2342
2342
|
command: string;
|
|
2343
|
-
}, string, unknown, "execute">)[]>, AgentMiddleware<undefined, undefined, unknown, readonly [
|
|
2343
|
+
}, string, unknown, "execute">)[]>, AgentMiddleware<undefined, undefined, unknown, readonly [_langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2344
2344
|
description: zod.ZodString;
|
|
2345
2345
|
subagent_type: zod.ZodString;
|
|
2346
2346
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2349,7 +2349,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2349
2349
|
}, {
|
|
2350
2350
|
description: string;
|
|
2351
2351
|
subagent_type: string;
|
|
2352
|
-
}, string |
|
|
2352
|
+
}, string | _langgraph.Command<unknown, Record<string, unknown>, string>, unknown, "task">]>, AgentMiddleware<zod.ZodObject<{
|
|
2353
2353
|
_summarizationSessionId: zod.ZodOptional<zod.ZodString>;
|
|
2354
2354
|
_summarizationEvent: zod.ZodOptional<zod.ZodObject<{
|
|
2355
2355
|
cutoffIndex: zod.ZodNumber;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _langchain from "langchain";
|
|
2
2
|
import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool, SystemMessage, ToolMessage, ToolStrategy } from "langchain";
|
|
3
3
|
import { Runnable } from "@langchain/core/runnables";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _langgraph from "@langchain/langgraph";
|
|
5
5
|
import { AnnotationRoot, Command, ReducedValue, StateSchema } from "@langchain/langgraph";
|
|
6
6
|
import { z } from "zod/v4";
|
|
7
7
|
import * as _messages from "@langchain/core/messages";
|
|
@@ -483,13 +483,13 @@ interface FilesystemMiddlewareOptions {
|
|
|
483
483
|
*/
|
|
484
484
|
declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOptions): AgentMiddleware<StateSchema<{
|
|
485
485
|
files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
486
|
-
}>, undefined, unknown, (
|
|
486
|
+
}>, undefined, unknown, (_langchain.DynamicStructuredTool<z.ZodObject<{
|
|
487
487
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
488
488
|
}, z.core.$strip>, {
|
|
489
489
|
path: string;
|
|
490
490
|
}, {
|
|
491
491
|
path?: string | undefined;
|
|
492
|
-
}, string, unknown, "ls"> |
|
|
492
|
+
}, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
493
493
|
file_path: z.ZodString;
|
|
494
494
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
495
495
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -501,7 +501,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
501
501
|
file_path: string;
|
|
502
502
|
offset?: unknown;
|
|
503
503
|
limit?: unknown;
|
|
504
|
-
}, string, unknown, "read_file"> |
|
|
504
|
+
}, string, unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
505
505
|
file_path: z.ZodString;
|
|
506
506
|
content: z.ZodDefault<z.ZodString>;
|
|
507
507
|
}, z.core.$strip>, {
|
|
@@ -513,7 +513,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
513
513
|
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
|
|
514
514
|
files: Record<string, FileData>;
|
|
515
515
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
516
|
-
}, string>, unknown, "write_file"> |
|
|
516
|
+
}, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
517
517
|
file_path: z.ZodString;
|
|
518
518
|
old_string: z.ZodString;
|
|
519
519
|
new_string: z.ZodString;
|
|
@@ -531,7 +531,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
531
531
|
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | Command<unknown, {
|
|
532
532
|
files: Record<string, FileData>;
|
|
533
533
|
messages: ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
534
|
-
}, string>, unknown, "edit_file"> |
|
|
534
|
+
}, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
535
535
|
pattern: z.ZodString;
|
|
536
536
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
537
537
|
}, z.core.$strip>, {
|
|
@@ -540,7 +540,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
540
540
|
}, {
|
|
541
541
|
pattern: string;
|
|
542
542
|
path?: string | undefined;
|
|
543
|
-
}, string, unknown, "glob"> |
|
|
543
|
+
}, string, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
544
544
|
pattern: z.ZodString;
|
|
545
545
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
546
546
|
glob: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -552,7 +552,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
552
552
|
pattern: string;
|
|
553
553
|
path?: string | undefined;
|
|
554
554
|
glob?: string | null | undefined;
|
|
555
|
-
}, string, unknown, "grep"> |
|
|
555
|
+
}, string, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
556
556
|
command: z.ZodString;
|
|
557
557
|
}, z.core.$strip>, {
|
|
558
558
|
command: string;
|
|
@@ -761,7 +761,7 @@ interface SubAgentMiddlewareOptions {
|
|
|
761
761
|
/**
|
|
762
762
|
* Create subagent middleware with task tool
|
|
763
763
|
*/
|
|
764
|
-
declare function createSubAgentMiddleware(options: SubAgentMiddlewareOptions): AgentMiddleware$1<undefined, undefined, unknown, readonly [
|
|
764
|
+
declare function createSubAgentMiddleware(options: SubAgentMiddlewareOptions): AgentMiddleware$1<undefined, undefined, unknown, readonly [_langchain.DynamicStructuredTool<z.ZodObject<{
|
|
765
765
|
description: z.ZodString;
|
|
766
766
|
subagent_type: z.ZodString;
|
|
767
767
|
}, z.core.$strip>, {
|
|
@@ -943,7 +943,7 @@ declare function createMemoryMiddleware(options: MemoryMiddlewareOptions): Agent
|
|
|
943
943
|
* Marked as private so it's not included in the final agent state.
|
|
944
944
|
*/
|
|
945
945
|
memoryContents: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
946
|
-
files:
|
|
946
|
+
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
947
947
|
}>, undefined, unknown, readonly (_langchain_core_tools0.ClientTool | _langchain_core_tools0.ServerTool)[]>;
|
|
948
948
|
//#endregion
|
|
949
949
|
//#region src/middleware/skills.d.ts
|
|
@@ -2226,7 +2226,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2226
2226
|
content: string;
|
|
2227
2227
|
status: "completed" | "in_progress" | "pending";
|
|
2228
2228
|
}[] | undefined;
|
|
2229
|
-
}>, undefined, unknown, readonly [
|
|
2229
|
+
}>, undefined, unknown, readonly [_langchain.DynamicStructuredTool<zod_v30.ZodObject<{
|
|
2230
2230
|
todos: zod_v30.ZodArray<zod_v30.ZodObject<{
|
|
2231
2231
|
content: zod_v30.ZodString;
|
|
2232
2232
|
status: zod_v30.ZodEnum<["pending", "in_progress", "completed"]>;
|
|
@@ -2257,21 +2257,21 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2257
2257
|
content: string;
|
|
2258
2258
|
status: "completed" | "in_progress" | "pending";
|
|
2259
2259
|
}[];
|
|
2260
|
-
},
|
|
2260
|
+
}, _langgraph.Command<unknown, {
|
|
2261
2261
|
todos: {
|
|
2262
2262
|
content: string;
|
|
2263
2263
|
status: "completed" | "in_progress" | "pending";
|
|
2264
2264
|
}[];
|
|
2265
2265
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2266
|
-
}, string>, unknown, "write_todos">]>, AgentMiddleware<
|
|
2267
|
-
files:
|
|
2268
|
-
}>, undefined, unknown, (
|
|
2266
|
+
}, string>, unknown, "write_todos">]>, AgentMiddleware<_langgraph.StateSchema<{
|
|
2267
|
+
files: _langgraph.ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
2268
|
+
}>, undefined, unknown, (_langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2269
2269
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2270
2270
|
}, zod_v4_core0.$strip>, {
|
|
2271
2271
|
path: string;
|
|
2272
2272
|
}, {
|
|
2273
2273
|
path?: string | undefined;
|
|
2274
|
-
}, string, unknown, "ls"> |
|
|
2274
|
+
}, string, unknown, "ls"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2275
2275
|
file_path: zod.ZodString;
|
|
2276
2276
|
offset: zod.ZodDefault<zod.ZodOptional<zod.ZodCoercedNumber<unknown>>>;
|
|
2277
2277
|
limit: zod.ZodDefault<zod.ZodOptional<zod.ZodCoercedNumber<unknown>>>;
|
|
@@ -2283,7 +2283,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2283
2283
|
file_path: string;
|
|
2284
2284
|
offset?: unknown;
|
|
2285
2285
|
limit?: unknown;
|
|
2286
|
-
}, string, unknown, "read_file"> |
|
|
2286
|
+
}, string, unknown, "read_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2287
2287
|
file_path: zod.ZodString;
|
|
2288
2288
|
content: zod.ZodDefault<zod.ZodString>;
|
|
2289
2289
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2292,10 +2292,10 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2292
2292
|
}, {
|
|
2293
2293
|
file_path: string;
|
|
2294
2294
|
content?: string | undefined;
|
|
2295
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> |
|
|
2295
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
|
|
2296
2296
|
files: Record<string, FileData>;
|
|
2297
2297
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2298
|
-
}, string>, unknown, "write_file"> |
|
|
2298
|
+
}, string>, unknown, "write_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2299
2299
|
file_path: zod.ZodString;
|
|
2300
2300
|
old_string: zod.ZodString;
|
|
2301
2301
|
new_string: zod.ZodString;
|
|
@@ -2310,10 +2310,10 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2310
2310
|
old_string: string;
|
|
2311
2311
|
new_string: string;
|
|
2312
2312
|
replace_all?: boolean | undefined;
|
|
2313
|
-
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> |
|
|
2313
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | _langgraph.Command<unknown, {
|
|
2314
2314
|
files: Record<string, FileData>;
|
|
2315
2315
|
messages: _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>[];
|
|
2316
|
-
}, string>, unknown, "edit_file"> |
|
|
2316
|
+
}, string>, unknown, "edit_file"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2317
2317
|
pattern: zod.ZodString;
|
|
2318
2318
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2319
2319
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2322,7 +2322,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2322
2322
|
}, {
|
|
2323
2323
|
pattern: string;
|
|
2324
2324
|
path?: string | undefined;
|
|
2325
|
-
}, string, unknown, "glob"> |
|
|
2325
|
+
}, string, unknown, "glob"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2326
2326
|
pattern: zod.ZodString;
|
|
2327
2327
|
path: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2328
2328
|
glob: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
|
|
@@ -2334,13 +2334,13 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2334
2334
|
pattern: string;
|
|
2335
2335
|
path?: string | undefined;
|
|
2336
2336
|
glob?: string | null | undefined;
|
|
2337
|
-
}, string, unknown, "grep"> |
|
|
2337
|
+
}, string, unknown, "grep"> | _langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2338
2338
|
command: zod.ZodString;
|
|
2339
2339
|
}, zod_v4_core0.$strip>, {
|
|
2340
2340
|
command: string;
|
|
2341
2341
|
}, {
|
|
2342
2342
|
command: string;
|
|
2343
|
-
}, string, unknown, "execute">)[]>, AgentMiddleware<undefined, undefined, unknown, readonly [
|
|
2343
|
+
}, string, unknown, "execute">)[]>, AgentMiddleware<undefined, undefined, unknown, readonly [_langchain.DynamicStructuredTool<zod.ZodObject<{
|
|
2344
2344
|
description: zod.ZodString;
|
|
2345
2345
|
subagent_type: zod.ZodString;
|
|
2346
2346
|
}, zod_v4_core0.$strip>, {
|
|
@@ -2349,7 +2349,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
2349
2349
|
}, {
|
|
2350
2350
|
description: string;
|
|
2351
2351
|
subagent_type: string;
|
|
2352
|
-
}, string |
|
|
2352
|
+
}, string | _langgraph.Command<unknown, Record<string, unknown>, string>, unknown, "task">]>, AgentMiddleware<zod.ZodObject<{
|
|
2353
2353
|
_summarizationSessionId: zod.ZodOptional<zod.ZodString>;
|
|
2354
2354
|
_summarizationEvent: zod.ZodOptional<zod.ZodObject<{
|
|
2355
2355
|
cutoffIndex: zod.ZodNumber;
|