deepagents 1.10.8 → 1.11.1

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/README.md CHANGED
@@ -107,6 +107,23 @@ const agent = createDeepAgent({
107
107
  });
108
108
  ```
109
109
 
110
+ A string is placed before the built-in Deep Agent prompt. For full control over
111
+ prompt assembly, provide a structured configuration:
112
+
113
+ ```typescript
114
+ const agent = createDeepAgent({
115
+ systemPrompt: {
116
+ prefix: "You are the support assistant for Acme.",
117
+ base: null, // Remove the built-in Deep Agent prompt.
118
+ suffix: "Follow Acme's escalation policy.",
119
+ },
120
+ });
121
+ ```
122
+
123
+ Structured prompts are assembled as `prefix` → `base` → `suffix`, followed by
124
+ any model-specific harness profile suffix. Omit `base` to retain the active
125
+ base prompt, or set it to `null` to remove the base entirely.
126
+
110
127
  See the [JavaScript Deep Agents docs](https://docs.langchain.com/oss/javascript/deepagents/overview) for full configuration options.
111
128
 
112
129
  ## LangGraph Native
@@ -93,6 +93,13 @@ interface BackendProtocolV1 {
93
93
  * @returns EditResult with error, path, filesUpdate, and occurrences
94
94
  */
95
95
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): MaybePromise<EditResult>;
96
+ /**
97
+ * Delete a single file.
98
+ *
99
+ * @param filePath - Absolute path to the file to delete
100
+ * @returns DeleteResult with path on success or error on failure
101
+ */
102
+ delete?(filePath: string): MaybePromise<DeleteResult>;
96
103
  /**
97
104
  * Upload multiple files.
98
105
  * Optional - backends that don't support file upload can omit this.
@@ -192,6 +199,14 @@ interface BackendProtocolV2 extends Omit<BackendProtocolV1, "read" | "readRaw" |
192
199
  * @returns GlobResult with list of FileInfo objects matching the pattern on success or error on failure
193
200
  */
194
201
  glob(pattern: string, path?: string): MaybePromise<GlobResult>;
202
+ /**
203
+ * Delete a single file.
204
+ * Optional - backends that don't support file deletion can omit this.
205
+ *
206
+ * @param filePath - Absolute path to the file to delete
207
+ * @returns DeleteResult with path on success or error on failure
208
+ */
209
+ delete?(filePath: string): MaybePromise<DeleteResult>;
195
210
  }
196
211
  /**
197
212
  * Protocol for sandboxed backends with isolated runtime.
@@ -385,6 +400,15 @@ interface EditResult {
385
400
  /** Metadata for the edit operation, attached to the ToolMessage */
386
401
  metadata?: Record<string, unknown>;
387
402
  }
403
+ /**
404
+ * Result from backend delete operations.
405
+ */
406
+ interface DeleteResult {
407
+ /** Error message on failure, undefined on success */
408
+ error?: string;
409
+ /** File path of deleted file, undefined on failure */
410
+ path?: string;
411
+ }
388
412
  /**
389
413
  * Result of code execution.
390
414
  * Simplified schema optimized for LLM consumption.
@@ -737,6 +761,11 @@ interface FilesystemPermission {
737
761
  * collisions with user-supplied tools at construction time.
738
762
  */
739
763
  declare const FILESYSTEM_TOOL_NAMES: readonly ["ls", "read_file", "write_file", "edit_file", "glob", "grep", "execute"];
764
+ /**
765
+ * Built-in filesystem tool names accepted by
766
+ * {@link createFilesystemMiddleware}'s `tools` allowlist.
767
+ */
768
+ type FsToolName = (typeof FILESYSTEM_TOOL_NAMES)[number];
740
769
  /**
741
770
  * Type for the files state record.
742
771
  */
@@ -751,10 +780,46 @@ type FilesRecordUpdate = Record<string, FileData | null>;
751
780
  interface FilesystemMiddlewareOptions {
752
781
  /** Backend instance or factory (default: StateBackend) */
753
782
  backend?: AnyBackendProtocol | BackendFactory;
754
- /** Optional custom system prompt override */
783
+ /**
784
+ * Optional filesystem-specific system prompt override.
785
+ *
786
+ * When omitted, the middleware generates a prompt that reflects the tools
787
+ * visible for the current model request. Supplying a custom prompt replaces
788
+ * that generated filesystem prompt entirely.
789
+ */
755
790
  systemPrompt?: string | null;
756
- /** Optional custom tool descriptions override */
757
- customToolDescriptions?: Record<string, string> | null;
791
+ /**
792
+ * Optional descriptions for built-in filesystem tools.
793
+ *
794
+ * Keys correspond to {@link FsToolName}. Descriptions for tools that are not
795
+ * enabled by the `tools` allowlist are ignored because those tools are not
796
+ * exposed to the model.
797
+ */
798
+ customToolDescriptions?: Partial<Record<FsToolName, string>> | null;
799
+ /**
800
+ * Allowlist of built-in filesystem tools to expose to the model.
801
+ *
802
+ * - `undefined`, `null`, and `"all"` preserve the default behavior: every
803
+ * filesystem tool is registered, subject to backend capability filtering.
804
+ * - Passing an array restricts the middleware to only those tool names.
805
+ * - `read_file` must be included in every explicit array because it is used
806
+ * by normal file-inspection flows and by large-result recovery guidance.
807
+ * - Backend capability checks still narrow the final visible tool set. For
808
+ * example, `execute` is removed when the resolved backend does not support
809
+ * command execution, even if it appears in this allowlist.
810
+ * - User-provided non-filesystem tools are not affected by this allowlist.
811
+ *
812
+ * The generated filesystem system prompt is based on the tools that remain
813
+ * visible after this allowlist and backend capability filtering are applied.
814
+ *
815
+ * @example Read/search-only filesystem access
816
+ * ```ts
817
+ * createFilesystemMiddleware({
818
+ * tools: ["read_file", "ls", "glob", "grep"],
819
+ * });
820
+ * ```
821
+ */
822
+ tools?: readonly FsToolName[] | "all" | null;
758
823
  /** Optional token limit before evicting a tool result to the filesystem (default: 20000 tokens, ~80KB) */
759
824
  toolTokenLimitBeforeEvict?: number | null;
760
825
  /** Optional token limit before evicting a HumanMessage to the filesystem (default: 50000 tokens, ~200KB) */
@@ -769,15 +834,42 @@ interface FilesystemMiddlewareOptions {
769
834
  * **Note on `execute`**: permissions are not enforced on `execute` because
770
835
  * shell commands can access any path regardless of path-based rules. Using
771
836
  * permissions with an execution-capable backend (one where `isSandboxBackend`
772
- * returns `true`) throws a `ConfigurationError` unless the backend is a
773
- * `CompositeBackend` and every permission path is scoped to a route prefix.
837
+ * returns `true`) throws a `ConfigurationError` unless either:
838
+ *
839
+ * - `execute` is disabled via `tools`, or
840
+ * - the backend is a `CompositeBackend` and every permission path is scoped to
841
+ * a route prefix.
774
842
  *
775
843
  * When omitted or empty, all filesystem operations are permitted.
776
844
  */
777
845
  permissions?: FilesystemPermission[];
778
846
  }
779
847
  /**
780
- * Create filesystem middleware with all tools and features.
848
+ * Create middleware that provides built-in filesystem tools and filesystem-aware
849
+ * prompt guidance.
850
+ *
851
+ * By default, the middleware registers every built-in filesystem tool listed in
852
+ * {@link FILESYSTEM_TOOL_NAMES}. Use {@link FilesystemMiddlewareOptions.tools}
853
+ * to narrow that set for read-only, search-only, or otherwise restricted
854
+ * agents. The allowlist only controls built-in filesystem tools; custom tools
855
+ * from the agent or other middleware are left untouched.
856
+ *
857
+ * The middleware also filters tools whose backend capabilities are unavailable
858
+ * at request time. In particular, `execute` is only visible when the resolved
859
+ * backend supports command execution. The filesystem prompt is generated from
860
+ * the final visible filesystem tools so the model is not instructed to call
861
+ * tools it cannot see.
862
+ *
863
+ * @param options Filesystem middleware configuration.
864
+ * @returns Agent middleware that contributes filesystem state, tools, prompt
865
+ * guidance, permission checks, and large-result eviction.
866
+ *
867
+ * @example Read-only filesystem middleware
868
+ * ```ts
869
+ * const middleware = createFilesystemMiddleware({
870
+ * tools: ["read_file", "ls", "glob", "grep"],
871
+ * });
872
+ * ```
781
873
  */
782
874
  declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOptions): AgentMiddleware<StateSchema<{
783
875
  files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
@@ -787,7 +879,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
787
879
  path: string;
788
880
  }, {
789
881
  path?: string | undefined;
790
- }, string, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
882
+ }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
791
883
  file_path: z.ZodString;
792
884
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
793
885
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
@@ -795,7 +887,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
795
887
  file_path: string;
796
888
  offset: number;
797
889
  limit: number;
798
- }, unknown, {
890
+ }, unknown, ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | {
799
891
  type: string;
800
892
  text: string;
801
893
  }[] | {
@@ -833,7 +925,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
833
925
  }, {
834
926
  pattern: string;
835
927
  path?: string | undefined;
836
- }, string, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
928
+ }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
837
929
  pattern: z.ZodString;
838
930
  path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
839
931
  glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -845,7 +937,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
845
937
  pattern: string;
846
938
  path?: string | undefined;
847
939
  glob?: string | null | undefined;
848
- }, string, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
940
+ }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
849
941
  command: z.ZodString;
850
942
  }, z.core.$strip>, {
851
943
  command: string;
@@ -1584,7 +1676,8 @@ declare class StateBackend implements BackendProtocolV2 {
1584
1676
  * In legacy mode, this is a no-op — the caller uses `filesUpdate`
1585
1677
  * from the return value instead.
1586
1678
  *
1587
- * @param update - Map of file paths to their updated {@link FileData}
1679
+ * @param update - Map of file paths to their updated {@link FileData},
1680
+ * or null deletion markers.
1588
1681
  */
1589
1682
  private sendFilesUpdate;
1590
1683
  /**
@@ -1624,6 +1717,10 @@ declare class StateBackend implements BackendProtocolV2 {
1624
1717
  * Returns EditResult with filesUpdate and occurrences.
1625
1718
  */
1626
1719
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
1720
+ /**
1721
+ * Delete a file from state by sending a null deletion marker through Pregel.
1722
+ */
1723
+ delete(filePath: string): DeleteResult;
1627
1724
  /**
1628
1725
  * Search file contents for a literal text pattern.
1629
1726
  * Binary files are skipped.
@@ -2490,6 +2587,25 @@ type InferSubagentByName<T, TName extends string> = InferDeepAgentSubagents<T> e
2490
2587
  * ```
2491
2588
  */
2492
2589
  type InferSubagentReactAgentType<TSubagent extends SubAgent | CompiledSubAgent> = TSubagent extends CompiledSubAgent ? TSubagent["runnable"] : TSubagent extends SubAgent ? ReactAgent<AgentTypeConfig<ResponseFormatUndefined, undefined, AnyAnnotationRoot, ExtractSubAgentMiddleware<TSubagent>, readonly []>> : never;
2590
+ /**
2591
+ * Structured system prompt configuration for {@link createDeepAgent}.
2592
+ *
2593
+ * Prompt parts are assembled in the order `prefix` → `base` → `suffix`,
2594
+ * followed by any model-specific harness profile suffix.
2595
+ */
2596
+ interface SystemPromptConfig {
2597
+ /** Content placed before the base prompt. */
2598
+ prefix?: string | SystemMessage | null;
2599
+ /**
2600
+ * Replacement for the active base prompt.
2601
+ *
2602
+ * Omit this field to retain the harness profile base or built-in base prompt.
2603
+ * Set it to `null` to omit the base prompt entirely.
2604
+ */
2605
+ base?: string | SystemMessage | null;
2606
+ /** Content placed after the base prompt and before any harness profile suffix. */
2607
+ suffix?: string | SystemMessage | null;
2608
+ }
2493
2609
  /**
2494
2610
  * Configuration parameters for creating a Deep Agent
2495
2611
  * Matches Python's create_deep_agent parameters
@@ -2507,8 +2623,14 @@ interface CreateDeepAgentParams<TResponse extends SupportedResponseFormat = Supp
2507
2623
  model?: BaseLanguageModel | string;
2508
2624
  /** Tools the agent should have access to */
2509
2625
  tools?: TTools | StructuredTool$1[];
2510
- /** Custom system prompt for the agent. This will be combined with the base agent prompt */
2511
- systemPrompt?: string | SystemMessage;
2626
+ /**
2627
+ * Custom system instructions for the agent.
2628
+ *
2629
+ * A string or {@link SystemMessage} is placed before the active base prompt.
2630
+ * For more control, provide a {@link SystemPromptConfig} to replace or remove
2631
+ * the base prompt and add content after it.
2632
+ */
2633
+ systemPrompt?: string | SystemMessage | SystemPromptConfig;
2512
2634
  /**
2513
2635
  * Optional schema for custom agent state. Allows you to define custom state properties
2514
2636
  * beyond built-in `messages`, `todos`, and `files`. These properties can be accessed
@@ -3077,6 +3199,13 @@ declare class StoreBackend implements BackendProtocolV2 {
3077
3199
  * Returns EditResult. External storage sets filesUpdate=null.
3078
3200
  */
3079
3201
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
3202
+ /**
3203
+ * Delete a file from the store.
3204
+ *
3205
+ * The file path is used as an exact store key. Wildcards are treated
3206
+ * literally and do not expand to multiple entries.
3207
+ */
3208
+ delete(filePath: string): Promise<DeleteResult>;
3080
3209
  /**
3081
3210
  * Search file contents for a literal text pattern.
3082
3211
  * Binary files are skipped.
@@ -3132,6 +3261,15 @@ declare class FilesystemBackend implements BackendProtocolV2 {
3132
3261
  * @throws Error if path traversal detected or path outside root
3133
3262
  */
3134
3263
  private resolvePath;
3264
+ /**
3265
+ * Resolve the concrete path to unlink for a virtual delete operation.
3266
+ *
3267
+ * Virtual-mode path containment is lexical in resolvePath(), so deleting via
3268
+ * that path could follow a symlinked parent outside the virtual root. Resolve
3269
+ * and validate the real parent, then unlink through that real parent path so a
3270
+ * replacement of the original lexical parent cannot redirect the unlink.
3271
+ */
3272
+ private resolveDeletePath;
3135
3273
  /**
3136
3274
  * List files and directories in the specified directory (non-recursive).
3137
3275
  *
@@ -3166,6 +3304,10 @@ declare class FilesystemBackend implements BackendProtocolV2 {
3166
3304
  * Returns EditResult. External storage sets filesUpdate=null.
3167
3305
  */
3168
3306
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
3307
+ /**
3308
+ * Delete a file from the filesystem.
3309
+ */
3310
+ delete(filePath: string): Promise<DeleteResult>;
3169
3311
  /**
3170
3312
  * Search for a literal text pattern in files.
3171
3313
  *
@@ -3315,6 +3457,10 @@ declare class CompositeBackend implements BackendProtocolV2 {
3315
3457
  * @returns EditResult with path, occurrences, or error
3316
3458
  */
3317
3459
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
3460
+ /**
3461
+ * Delete a file, routing to the appropriate backend.
3462
+ */
3463
+ delete(filePath: string): Promise<DeleteResult>;
3318
3464
  /**
3319
3465
  * Execute a command via the default backend.
3320
3466
  * Execution is not path-specific, so it always delegates to the default backend.
@@ -3373,6 +3519,7 @@ declare class ContextHubBackend implements BackendProtocolV2 {
3373
3519
  glob(pattern: string, _path?: string): Promise<GlobResult>;
3374
3520
  write(filePath: string, content: string): Promise<WriteResult>;
3375
3521
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
3522
+ delete(filePath: string): Promise<DeleteResult>;
3376
3523
  uploadFiles(files: Array<[string, Uint8Array]>): Promise<FileUploadResponse[]>;
3377
3524
  downloadFiles(paths: string[]): Promise<FileDownloadResponse[]>;
3378
3525
  }
@@ -3653,6 +3800,12 @@ declare abstract class BaseSandbox implements SandboxBackendProtocolV2 {
3653
3800
  * reclaim buffers before the next large allocation is made.
3654
3801
  */
3655
3802
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
3803
+ /**
3804
+ * Delete a file from the sandbox via a server-side rm.
3805
+ *
3806
+ * Uses rm -f, so deleting a path that does not exist succeeds silently.
3807
+ */
3808
+ delete(filePath: string): Promise<DeleteResult>;
3656
3809
  }
3657
3810
  //#endregion
3658
3811
  //#region src/backends/langsmith.d.ts
@@ -3913,7 +4066,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3913
4066
  path: string;
3914
4067
  }, {
3915
4068
  path?: string | undefined;
3916
- }, string, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
4069
+ }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
3917
4070
  file_path: import("zod").ZodString;
3918
4071
  offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
3919
4072
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
@@ -3921,7 +4074,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3921
4074
  file_path: string;
3922
4075
  offset: number;
3923
4076
  limit: number;
3924
- }, unknown, {
4077
+ }, unknown, _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | {
3925
4078
  type: string;
3926
4079
  text: string;
3927
4080
  }[] | {
@@ -3959,7 +4112,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3959
4112
  }, {
3960
4113
  pattern: string;
3961
4114
  path?: string | undefined;
3962
- }, string, unknown, "glob"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
4115
+ }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3963
4116
  pattern: import("zod").ZodString;
3964
4117
  path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
3965
4118
  glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
@@ -3971,7 +4124,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3971
4124
  pattern: string;
3972
4125
  path?: string | undefined;
3973
4126
  glob?: string | null | undefined;
3974
- }, string, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
4127
+ }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
3975
4128
  command: import("zod").ZodString;
3976
4129
  }, import("zod/v4/core").$strip>, {
3977
4130
  command: string;
@@ -3995,5 +4148,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
3995
4148
  }, import("zod/v4/core").$strip>>;
3996
4149
  }, import("zod/v4/core").$strip>, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
3997
4150
  //#endregion
3998
- export { createAsyncSubAgentMiddleware as $, FileInfo as $t, findProjectRoot as A, parseHarnessProfileConfig as At, InferDeepAgentSubagents as B, FilesystemMiddlewareOptions as Bt, parseSkillMetadata as C, SandboxBackendProtocolV2 as Cn, createSubAgent as Ct, Settings as D, HarnessProfileConfigData as Dt, filesValue as E, registerHarnessProfile as Et, DeepAgent as F, HarnessProfile as Ft, InferSubagentReactAgentType as G, AnyBackendProtocol as Gt, InferStructuredResponse as H, FilesystemOperation as Ht, DeepAgentTypeConfig as I, HarnessProfileOptions as It, SupportedResponseFormat as J, BackendRuntime as Jt, MergedDeepAgentState as K, BackendFactory as Kt, DefaultDeepAgentTypeConfig as L, REQUIRED_MIDDLEWARE_NAMES as Lt, SubagentRunStream$1 as M, EMPTY_HARNESS_PROFILE as Mt, AnySubAgent as N, createHarnessProfile as Nt, SettingsOptions as O, generalPurposeSubagentConfigSchema as Ot, CreateDeepAgentParams as P, GeneralPurposeSubagentConfig as Pt, AsyncTaskStatus as Q, FileDownloadResponse as Qt, ExtractSubAgentMiddleware as R, ConfigurationError as Rt, listSkills as S, BackendProtocolV2 as Sn, TASK_SYSTEM_PROMPT as St, createAgentMemoryMiddleware as T, SandboxBackendProtocolV1 as Tn, getHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, FilesystemPermission as Ut, InferDeepAgentType as V, createFilesystemMiddleware as Vt, InferSubagentByName as W, PermissionMode as Wt, AsyncSubAgentMiddlewareOptions as X, ExecuteResponse as Xt, AsyncSubAgent as Y, EditResult as Yt, AsyncTask as Z, FileData as Zt, StoreBackendContext as _, StateAndStore as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, LsResult as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, isSandboxProtocol as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, ReadResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, SandboxError as dn, MemoryMiddlewareOptions as dt, FileOperationError as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, SandboxErrorCode as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxListResponse as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxListOptions as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, GrepResult as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, serializeProfile as jt, createSettings as k, harnessProfileConfigSchema as kt, LangSmithSandboxOptions as l, SandboxBackendProtocol as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, SandboxInfo as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, GlobResult as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, MaybePromise as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, SandboxGetOrCreateOptions as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, BackendProtocol as qt, LangSmithSnapshot as r, GrepMatch as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, ReadRawResult as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, FileUploadResponse as tn, computeSummarizationDefaults as tt, BaseSandbox as u, SandboxDeleteOptions as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, WriteResult as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, BackendProtocolV1 as wn, createSubAgentMiddleware as wt, SkillMetadata as x, resolveBackend as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, isSandboxBackend as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ConfigurationErrorCode as zt };
3999
- //# sourceMappingURL=agent-DsjC63Eg.d.cts.map
4151
+ export { AsyncTaskStatus as $, ExecuteResponse as $t, findProjectRoot as A, harnessProfileConfigSchema as At, InferDeepAgentSubagents as B, ConfigurationErrorCode as Bt, parseSkillMetadata as C, isSandboxProtocol as Cn, TASK_SYSTEM_PROMPT as Ct, Settings as D, BackendProtocolV1 as Dn, registerHarnessProfile as Dt, filesValue as E, SandboxBackendProtocolV2 as En, getHarnessProfile as Et, DeepAgent as F, GeneralPurposeSubagentConfig as Ft, InferSubagentReactAgentType as G, FilesystemPermission as Gt, InferStructuredResponse as H, FsToolName as Ht, DeepAgentTypeConfig as I, HarnessProfile as It, SupportedResponseFormat as J, BackendFactory as Jt, MergedDeepAgentState as K, PermissionMode as Kt, DefaultDeepAgentTypeConfig as L, HarnessProfileOptions as Lt, SubagentRunStream$1 as M, serializeProfile as Mt, AnySubAgent as N, EMPTY_HARNESS_PROFILE as Nt, SettingsOptions as O, SandboxBackendProtocolV1 as On, HarnessProfileConfigData as Ot, CreateDeepAgentParams as P, createHarnessProfile as Pt, AsyncTask as Q, EditResult as Qt, ExtractSubAgentMiddleware as R, REQUIRED_MIDDLEWARE_NAMES as Rt, listSkills as S, isSandboxBackend as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, BackendProtocolV2 as Tn, createSubAgentMiddleware as Tt, InferSubAgentMiddlewareStates as U, createFilesystemMiddleware as Ut, InferDeepAgentType as V, FilesystemMiddlewareOptions as Vt, InferSubagentByName as W, FilesystemOperation as Wt, AsyncSubAgent as X, BackendRuntime as Xt, SystemPromptConfig as Y, BackendProtocol as Yt, AsyncSubAgentMiddlewareOptions as Z, DeleteResult as Zt, StoreBackendContext as _, SandboxInfo as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, GlobResult as an, createCompletionCallbackMiddleware as at, ListSkillsOptions as b, StateAndStore as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, LsResult as cn, MAX_SKILL_NAME_LENGTH as ct, LocalShellBackend as d, ReadResult as dn, createSkillsMiddleware as dt, FileData as en, createAsyncSubAgentMiddleware as et, LocalShellBackendOptions as f, SandboxBackendProtocol as fn, MemoryMiddlewareOptions as ft, StoreBackend as g, SandboxGetOrCreateOptions as gn, CompiledSubAgent as gt, FilesystemBackend as h, SandboxErrorCode as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, FileUploadResponse as in, CompletionCallbackOptions as it, DeepAgentRunStream as j, parseHarnessProfileConfig as jt, createSettings as k, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxOptions as l, MaybePromise as ln, SkillMetadata$1 as lt, CompositeBackend as m, SandboxError as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, FileInfo as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, GrepMatch as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, ContextHubBackend as p, SandboxDeleteOptions as pn, createMemoryMiddleware as pt, ResolveDeepAgentTypeConfig as q, AnyBackendProtocol as qt, LangSmithSnapshot as r, FileOperationError as rn, createSummarizationMiddleware as rt, LangSmithSandbox as s, GrepResult as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, FileDownloadResponse as tn, isAsyncSubAgent as tt, BaseSandbox as u, ReadRawResult as un, SkillsMiddlewareOptions as ut, StoreBackendNamespaceFactory as v, SandboxListOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, AgentMemoryMiddlewareOptions as w, resolveBackend as wn, createSubAgent as wt, SkillMetadata as x, WriteResult as xn, SubAgent as xt, StoreBackendOptions as y, SandboxListResponse as yn, GENERAL_PURPOSE_SUBAGENT as yt, FlattenSubAgentMiddleware as z, ConfigurationError as zt };
4152
+ //# sourceMappingURL=agent-B2XFuA-E.d.cts.map