deepagents 1.8.5 → 1.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,21 +1,21 @@
1
1
  import * as zod_v30 from "zod/v3";
2
2
  import * as langchain from "langchain";
3
- import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, StructuredTool, SystemMessage, ToolMessage, ToolStrategy } from "langchain";
3
+ import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, Runtime, StructuredTool, SystemMessage, ToolMessage, ToolStrategy } from "langchain";
4
4
  import * as _langchain_langgraph0 from "@langchain/langgraph";
5
5
  import { AnnotationRoot, Command, ReducedValue, StateSchema } from "@langchain/langgraph";
6
6
  import { z } from "zod/v4";
7
+ import * as _langchain_core_tools0 from "@langchain/core/tools";
8
+ import { ClientTool, ServerTool, StructuredTool as StructuredTool$1, ToolRuntime } from "@langchain/core/tools";
7
9
  import { BaseCheckpointSaver, BaseStore } from "@langchain/langgraph-checkpoint";
8
10
  import * as _messages from "@langchain/core/messages";
9
11
  import * as zod from "zod";
10
12
  import { z as z$1 } from "zod";
11
13
  import * as zod_v4_core0 from "zod/v4/core";
12
- import * as _langchain_core_tools0 from "@langchain/core/tools";
13
- import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
14
14
  import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
15
15
  import { Runnable } from "@langchain/core/runnables";
16
16
  import { BaseChatModel } from "@langchain/core/language_models/chat_models";
17
17
  import { InteropZodObject } from "@langchain/core/utils/types";
18
- import { Sandbox } from "langsmith/experimental/sandbox";
18
+ import { CreateSandboxOptions, Sandbox } from "langsmith/experimental/sandbox";
19
19
 
20
20
  //#region src/backends/protocol.d.ts
21
21
  type MaybePromise<T> = T | Promise<T>;
@@ -412,6 +412,8 @@ declare class SandboxError extends Error {
412
412
  * Different contexts build this differently:
413
413
  * - Tools: Extract state via getCurrentTaskInput(config)
414
414
  * - Middleware: Use request.state directly
415
+ *
416
+ * @deprecated Use {@link BackendRuntime} instead.
415
417
  */
416
418
  interface StateAndStore {
417
419
  /** Current agent state with files, messages, etc. */
@@ -421,21 +423,36 @@ interface StateAndStore {
421
423
  /** Optional assistant ID for per-assistant isolation in store */
422
424
  assistantId?: string;
423
425
  }
426
+ /**
427
+ * Agent {@link Runtime} with `state`
428
+ */
429
+ interface BackendRuntime<StateT = unknown> extends Runtime {
430
+ /** Current agent state with files, messages, etc. */
431
+ state: StateT;
432
+ }
424
433
  /**
425
434
  * Factory function type for creating backend instances.
426
435
  *
427
- * Backends receive StateAndStore which contains the current state
428
- * and optional store, extracted from the execution context.
436
+ * Backends receive {@link BackendRuntime} which contains the current state
437
+ * and runtime information, extracted from the execution context.
429
438
  *
430
439
  * @example
431
440
  * ```typescript
432
441
  * // Using in middleware
433
442
  * const middleware = createFilesystemMiddleware({
434
- * backend: (stateAndStore) => new StateBackend(stateAndStore)
443
+ * backend: (runtime) => new StateBackend(runtime)
435
444
  * });
436
445
  * ```
437
446
  */
438
- type BackendFactory = (stateAndStore: StateAndStore) => BackendProtocol;
447
+ type BackendFactory = (runtime: BackendRuntime) => MaybePromise<BackendProtocol>;
448
+ /**
449
+ * Resolve a backend instance or await a {@link BackendFactory}.
450
+ *
451
+ * Accepts {@link BackendRuntime} or {@link ToolRuntime} — store typing differs
452
+ * between LangGraph checkpoint stores and core `ToolRuntime`; factories receive
453
+ * a value that is structurally compatible at runtime.
454
+ */
455
+ declare function resolveBackend(backend: BackendProtocol | BackendFactory, runtime: BackendRuntime | ToolRuntime): Promise<BackendProtocol>;
439
456
  //#endregion
440
457
  //#region src/middleware/fs.d.ts
441
458
  /**
@@ -458,6 +475,8 @@ interface FilesystemMiddlewareOptions {
458
475
  customToolDescriptions?: Record<string, string> | null;
459
476
  /** Optional token limit before evicting a tool result to the filesystem (default: 20000 tokens, ~80KB) */
460
477
  toolTokenLimitBeforeEvict?: number | null;
478
+ /** Optional token limit before evicting a HumanMessage to the filesystem (default: 50000 tokens, ~200KB) */
479
+ humanMessageTokenLimitBeforeEvict?: number | null;
461
480
  }
462
481
  /**
463
482
  * Create filesystem middleware with all tools and features.
@@ -802,8 +821,8 @@ declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, un
802
821
  * for the middleware to apply via Command.
803
822
  */
804
823
  declare class StateBackend implements BackendProtocol {
805
- private stateAndStore;
806
- constructor(stateAndStore: StateAndStore);
824
+ private runtime;
825
+ constructor(runtime: BackendRuntime);
807
826
  /**
808
827
  * Get files from current state.
809
828
  */
@@ -1176,17 +1195,17 @@ interface StoreBackendOptions {
1176
1195
  * Determines where files are stored in the LangGraph store, enabling
1177
1196
  * user-scoped, org-scoped, or any custom isolation pattern.
1178
1197
  *
1179
- * If not provided, falls back to legacy behavior using assistantId from StateAndStore.
1198
+ * If not provided, falls back to legacy behavior using assistantId from {@link BackendRuntime}.
1180
1199
  *
1181
1200
  * @example
1182
1201
  * ```typescript
1183
1202
  * // User-scoped storage
1184
- * new StoreBackend(stateAndStore, {
1203
+ * new StoreBackend(runtime, {
1185
1204
  * namespace: ["memories", orgId, userId, "filesystem"],
1186
1205
  * });
1187
1206
  *
1188
1207
  * // Org-scoped storage
1189
- * new StoreBackend(stateAndStore, {
1208
+ * new StoreBackend(runtime, {
1190
1209
  * namespace: ["memories", orgId, "filesystem"],
1191
1210
  * });
1192
1211
  * ```
@@ -1807,7 +1826,7 @@ interface LangSmithSandboxOptions {
1807
1826
  defaultTimeout?: number;
1808
1827
  }
1809
1828
  /** Options for the `LangSmithSandbox.create()` static factory. */
1810
- interface LangSmithSandboxCreateOptions {
1829
+ interface LangSmithSandboxCreateOptions extends Omit<CreateSandboxOptions, "name" | "timeout" | "waitForReady"> {
1811
1830
  /**
1812
1831
  * Name of the LangSmith sandbox template to use.
1813
1832
  * @default "deepagents"
@@ -2584,5 +2603,5 @@ declare function parseSkillMetadata(skillMdPath: string, source: "user" | "proje
2584
2603
  */
2585
2604
  declare function listSkills(options: ListSkillsOptions): SkillMetadata[];
2586
2605
  //#endregion
2587
- export { type AgentMemoryMiddlewareOptions, type BackendFactory, type BackendProtocol, BaseSandbox, type CompiledSubAgent, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GrepMatch, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, LangSmithSandbox, type LangSmithSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, 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 StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, computeSummarizationDefaults, createAgentMemoryMiddleware, createDeepAgent, createFilesystemMiddleware, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, isSandboxBackend, listSkills, parseSkillMetadata };
2606
+ export { type AgentMemoryMiddlewareOptions, type BackendFactory, type BackendProtocol, type BackendRuntime, BaseSandbox, type CompiledSubAgent, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GrepMatch, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, LangSmithSandbox, type LangSmithSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, 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 StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, computeSummarizationDefaults, createAgentMemoryMiddleware, createDeepAgent, createFilesystemMiddleware, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, isSandboxBackend, listSkills, parseSkillMetadata, resolveBackend };
2588
2607
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as langchain from "langchain";
2
- import { AgentMiddleware, AgentMiddleware as AgentMiddleware$1, AgentTypeConfig, CreateAgentParams, HumanMessage, InferMiddlewareStates, InterruptOnConfig, ProviderStrategy, ReactAgent, ResponseFormat, ResponseFormatUndefined, StructuredTool, SystemMessage, ToolMessage, ToolStrategy } from "langchain";
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
4
  import * as _langchain_langgraph0 from "@langchain/langgraph";
5
5
  import { AnnotationRoot, Command, ReducedValue, StateSchema } from "@langchain/langgraph";
@@ -7,12 +7,12 @@ import { z } from "zod/v4";
7
7
  import * as _messages from "@langchain/core/messages";
8
8
  import * as zod from "zod";
9
9
  import { z as z$1 } from "zod";
10
- import { Sandbox } from "langsmith/experimental/sandbox";
10
+ import { CreateSandboxOptions, Sandbox } from "langsmith/experimental/sandbox";
11
11
  import * as zod_v30 from "zod/v3";
12
+ import * as _langchain_core_tools0 from "@langchain/core/tools";
13
+ import { ClientTool, ServerTool, StructuredTool as StructuredTool$1, ToolRuntime } from "@langchain/core/tools";
12
14
  import { BaseCheckpointSaver, BaseStore } from "@langchain/langgraph-checkpoint";
13
15
  import * as zod_v4_core0 from "zod/v4/core";
14
- import * as _langchain_core_tools0 from "@langchain/core/tools";
15
- import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
16
16
  import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
17
17
  import { BaseChatModel } from "@langchain/core/language_models/chat_models";
18
18
  import { InteropZodObject } from "@langchain/core/utils/types";
@@ -412,6 +412,8 @@ declare class SandboxError extends Error {
412
412
  * Different contexts build this differently:
413
413
  * - Tools: Extract state via getCurrentTaskInput(config)
414
414
  * - Middleware: Use request.state directly
415
+ *
416
+ * @deprecated Use {@link BackendRuntime} instead.
415
417
  */
416
418
  interface StateAndStore {
417
419
  /** Current agent state with files, messages, etc. */
@@ -421,21 +423,36 @@ interface StateAndStore {
421
423
  /** Optional assistant ID for per-assistant isolation in store */
422
424
  assistantId?: string;
423
425
  }
426
+ /**
427
+ * Agent {@link Runtime} with `state`
428
+ */
429
+ interface BackendRuntime<StateT = unknown> extends Runtime {
430
+ /** Current agent state with files, messages, etc. */
431
+ state: StateT;
432
+ }
424
433
  /**
425
434
  * Factory function type for creating backend instances.
426
435
  *
427
- * Backends receive StateAndStore which contains the current state
428
- * and optional store, extracted from the execution context.
436
+ * Backends receive {@link BackendRuntime} which contains the current state
437
+ * and runtime information, extracted from the execution context.
429
438
  *
430
439
  * @example
431
440
  * ```typescript
432
441
  * // Using in middleware
433
442
  * const middleware = createFilesystemMiddleware({
434
- * backend: (stateAndStore) => new StateBackend(stateAndStore)
443
+ * backend: (runtime) => new StateBackend(runtime)
435
444
  * });
436
445
  * ```
437
446
  */
438
- type BackendFactory = (stateAndStore: StateAndStore) => BackendProtocol;
447
+ type BackendFactory = (runtime: BackendRuntime) => MaybePromise<BackendProtocol>;
448
+ /**
449
+ * Resolve a backend instance or await a {@link BackendFactory}.
450
+ *
451
+ * Accepts {@link BackendRuntime} or {@link ToolRuntime} — store typing differs
452
+ * between LangGraph checkpoint stores and core `ToolRuntime`; factories receive
453
+ * a value that is structurally compatible at runtime.
454
+ */
455
+ declare function resolveBackend(backend: BackendProtocol | BackendFactory, runtime: BackendRuntime | ToolRuntime): Promise<BackendProtocol>;
439
456
  //#endregion
440
457
  //#region src/middleware/fs.d.ts
441
458
  /**
@@ -458,6 +475,8 @@ interface FilesystemMiddlewareOptions {
458
475
  customToolDescriptions?: Record<string, string> | null;
459
476
  /** Optional token limit before evicting a tool result to the filesystem (default: 20000 tokens, ~80KB) */
460
477
  toolTokenLimitBeforeEvict?: number | null;
478
+ /** Optional token limit before evicting a HumanMessage to the filesystem (default: 50000 tokens, ~200KB) */
479
+ humanMessageTokenLimitBeforeEvict?: number | null;
461
480
  }
462
481
  /**
463
482
  * Create filesystem middleware with all tools and features.
@@ -802,8 +821,8 @@ declare function createPatchToolCallsMiddleware(): AgentMiddleware<undefined, un
802
821
  * for the middleware to apply via Command.
803
822
  */
804
823
  declare class StateBackend implements BackendProtocol {
805
- private stateAndStore;
806
- constructor(stateAndStore: StateAndStore);
824
+ private runtime;
825
+ constructor(runtime: BackendRuntime);
807
826
  /**
808
827
  * Get files from current state.
809
828
  */
@@ -1176,17 +1195,17 @@ interface StoreBackendOptions {
1176
1195
  * Determines where files are stored in the LangGraph store, enabling
1177
1196
  * user-scoped, org-scoped, or any custom isolation pattern.
1178
1197
  *
1179
- * If not provided, falls back to legacy behavior using assistantId from StateAndStore.
1198
+ * If not provided, falls back to legacy behavior using assistantId from {@link BackendRuntime}.
1180
1199
  *
1181
1200
  * @example
1182
1201
  * ```typescript
1183
1202
  * // User-scoped storage
1184
- * new StoreBackend(stateAndStore, {
1203
+ * new StoreBackend(runtime, {
1185
1204
  * namespace: ["memories", orgId, userId, "filesystem"],
1186
1205
  * });
1187
1206
  *
1188
1207
  * // Org-scoped storage
1189
- * new StoreBackend(stateAndStore, {
1208
+ * new StoreBackend(runtime, {
1190
1209
  * namespace: ["memories", orgId, "filesystem"],
1191
1210
  * });
1192
1211
  * ```
@@ -1807,7 +1826,7 @@ interface LangSmithSandboxOptions {
1807
1826
  defaultTimeout?: number;
1808
1827
  }
1809
1828
  /** Options for the `LangSmithSandbox.create()` static factory. */
1810
- interface LangSmithSandboxCreateOptions {
1829
+ interface LangSmithSandboxCreateOptions extends Omit<CreateSandboxOptions, "name" | "timeout" | "waitForReady"> {
1811
1830
  /**
1812
1831
  * Name of the LangSmith sandbox template to use.
1813
1832
  * @default "deepagents"
@@ -2584,5 +2603,5 @@ declare function parseSkillMetadata(skillMdPath: string, source: "user" | "proje
2584
2603
  */
2585
2604
  declare function listSkills(options: ListSkillsOptions): SkillMetadata[];
2586
2605
  //#endregion
2587
- export { type AgentMemoryMiddlewareOptions, type BackendFactory, type BackendProtocol, BaseSandbox, type CompiledSubAgent, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GrepMatch, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, LangSmithSandbox, type LangSmithSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, 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 StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, computeSummarizationDefaults, createAgentMemoryMiddleware, createDeepAgent, createFilesystemMiddleware, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, isSandboxBackend, listSkills, parseSkillMetadata };
2606
+ export { type AgentMemoryMiddlewareOptions, type BackendFactory, type BackendProtocol, type BackendRuntime, BaseSandbox, type CompiledSubAgent, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GrepMatch, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, LangSmithSandbox, type LangSmithSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, 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 StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, computeSummarizationDefaults, createAgentMemoryMiddleware, createDeepAgent, createFilesystemMiddleware, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, isSandboxBackend, listSkills, parseSkillMetadata, resolveBackend };
2588
2607
  //# sourceMappingURL=index.d.ts.map