deepagents 1.13.0 → 1.13.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.
@@ -1509,8 +1509,9 @@ interface SubAgentBase {
1509
1509
  /** Description shown to the model for subagent selection */
1510
1510
  description: string;
1511
1511
  /**
1512
- * The system prompt for the agent. Required on {@link SubAgent}; forbidden
1513
- * on {@link ForkedSubAgent}, which always inherits the parent's instead.
1512
+ * The system prompt for the agent. Optional on {@link SubAgent} (falls
1513
+ * back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
1514
+ * which always inherits the parent's instead.
1514
1515
  */
1515
1516
  systemPrompt?: string | SystemMessage;
1516
1517
  /**
@@ -1643,6 +1644,7 @@ interface SubAgent extends SubAgentBase {
1643
1644
  * const researcher: ForkedSubAgent = {
1644
1645
  * name: "researcher",
1645
1646
  * description: "Continues the current investigation with full context",
1647
+ * mode: "fork",
1646
1648
  * tools: [webSearchTool],
1647
1649
  * };
1648
1650
  * ```
@@ -1653,10 +1655,10 @@ interface ForkedSubAgent extends SubAgentBase {
1653
1655
  /** A ForkedSubAgent never has its own system prompt — always the parent's. */
1654
1656
  systemPrompt?: undefined;
1655
1657
  /**
1656
- * Context mode. `"handoff"` (default) is fully isolated. `"fork"` inherits
1657
- * the parent's conversation history and system prompt.
1658
+ * Always `"fork"`. Required (not defaulted) so this can't structurally
1659
+ * collapse into a plain `SubAgent` see `isForkedSubAgent` below.
1658
1660
  */
1659
- mode?: "fork";
1661
+ mode: "fork";
1660
1662
  }
1661
1663
  /**
1662
1664
  * Base specification for the general-purpose subagent.
@@ -4379,4 +4381,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4379
4381
  }, 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>>;
4380
4382
  //#endregion
4381
4383
  export { createAsyncSubAgentMiddleware as $, BackendProtocol as $t, findProjectRoot as A, BackendProtocolV2 as An, parseHarnessProfileConfig as At, InferDeepAgentSubagents as B, ASYNC_TASK_SYSTEM_PROMPT as Bt, parseSkillMetadata as C, SandboxListResponse as Cn, createSubAgent as Ct, Settings as D, isSandboxBackend as Dn, HarnessProfileConfigData as Dt, filesValue as E, applyGrepMaxCount as En, registerHarnessProfile as Et, DeepAgent as F, HarnessProfile as Ft, InferSubagentReactAgentType as G, FilesystemMiddlewareOptions as Gt, InferStructuredResponse as H, EXECUTION_SYSTEM_PROMPT as Ht, DeepAgentTypeConfig as I, HarnessProfileOptions as It, SupportedResponseFormat as J, FilesystemOperation as Jt, MergedDeepAgentState as K, FsToolName as Kt, DefaultDeepAgentTypeConfig as L, REQUIRED_MIDDLEWARE_NAMES as Lt, SubagentRunStream$1 as M, BackendProtocolV1 as Mn, EMPTY_HARNESS_PROFILE as Mt, AnySubAgent as N, SandboxBackendProtocolV1 as Nn, createHarnessProfile as Nt, SettingsOptions as O, isSandboxProtocol as On, generalPurposeSubagentConfigSchema as Ot, CreateDeepAgentParams as P, GeneralPurposeSubagentConfig as Pt, AsyncTaskStatus as Q, BackendFactory as Qt, ExtractSubAgentMiddleware as R, ConfigurationError as Rt, listSkills as S, SandboxListOptions as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, WriteResult as Tn, getHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, SystemPromptConfig as Ut, InferDeepAgentType as V, BASE_AGENT_PROMPT as Vt, InferSubagentByName as W, TASK_SYSTEM_PROMPT as Wt, AsyncSubAgentMiddlewareOptions as X, PermissionMode as Xt, AsyncSubAgent as Y, FilesystemPermission as Yt, AsyncTask as Z, AnyBackendProtocol as Zt, StoreBackendContext as _, SandboxDeleteOptions as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, FileDownloadResponse as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, SandboxGetOrCreateOptions as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, FileUploadResponse as cn, SkillMetadata$1 as ct, LocalShellBackend as d, GrepResult as dn, MemoryMiddlewareOptions as dt, BackendRuntime as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, LsResult as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxBackendProtocol as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, ReadResult as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, FileData as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, SandboxBackendProtocolV2 as jn, serializeProfile as jt, createSettings as k, resolveBackend as kn, harnessProfileConfigSchema as kt, LangSmithSandboxOptions as l, GlobResult as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, ReadRawResult as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, EditResult as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, FileInfo as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, MaybePromise as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, createFilesystemMiddleware as qt, LangSmithSnapshot as r, ExecuteResponse as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, FileOperationError as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, DeleteResult as tn, computeSummarizationDefaults as tt, BaseSandbox as u, GrepMatch as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, SandboxError as vn, ForkedSubAgent as vt, AgentMemoryMiddlewareOptions as w, StateAndStore as wn, createSubAgentMiddleware as wt, SkillMetadata as x, SandboxInfo as xn, SubAgent as xt, StoreBackendOptions as y, SandboxErrorCode as yn, GENERAL_PURPOSE_SUBAGENT as yt, FlattenSubAgentMiddleware as z, ConfigurationErrorCode as zt };
4382
- //# sourceMappingURL=agent-Bx0owr-O.d.ts.map
4384
+ //# sourceMappingURL=agent-D50BBbJT.d.ts.map
@@ -1509,8 +1509,9 @@ interface SubAgentBase {
1509
1509
  /** Description shown to the model for subagent selection */
1510
1510
  description: string;
1511
1511
  /**
1512
- * The system prompt for the agent. Required on {@link SubAgent}; forbidden
1513
- * on {@link ForkedSubAgent}, which always inherits the parent's instead.
1512
+ * The system prompt for the agent. Optional on {@link SubAgent} (falls
1513
+ * back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
1514
+ * which always inherits the parent's instead.
1514
1515
  */
1515
1516
  systemPrompt?: string | SystemMessage;
1516
1517
  /**
@@ -1643,6 +1644,7 @@ interface SubAgent extends SubAgentBase {
1643
1644
  * const researcher: ForkedSubAgent = {
1644
1645
  * name: "researcher",
1645
1646
  * description: "Continues the current investigation with full context",
1647
+ * mode: "fork",
1646
1648
  * tools: [webSearchTool],
1647
1649
  * };
1648
1650
  * ```
@@ -1653,10 +1655,10 @@ interface ForkedSubAgent extends SubAgentBase {
1653
1655
  /** A ForkedSubAgent never has its own system prompt — always the parent's. */
1654
1656
  systemPrompt?: undefined;
1655
1657
  /**
1656
- * Context mode. `"handoff"` (default) is fully isolated. `"fork"` inherits
1657
- * the parent's conversation history and system prompt.
1658
+ * Always `"fork"`. Required (not defaulted) so this can't structurally
1659
+ * collapse into a plain `SubAgent` see `isForkedSubAgent` below.
1658
1660
  */
1659
- mode?: "fork";
1661
+ mode: "fork";
1660
1662
  }
1661
1663
  /**
1662
1664
  * Base specification for the general-purpose subagent.
@@ -4379,4 +4381,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4379
4381
  }, 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>>;
4380
4382
  //#endregion
4381
4383
  export { createAsyncSubAgentMiddleware as $, BackendProtocol as $t, findProjectRoot as A, BackendProtocolV2 as An, parseHarnessProfileConfig as At, InferDeepAgentSubagents as B, ASYNC_TASK_SYSTEM_PROMPT as Bt, parseSkillMetadata as C, SandboxListResponse as Cn, createSubAgent as Ct, Settings as D, isSandboxBackend as Dn, HarnessProfileConfigData as Dt, filesValue as E, applyGrepMaxCount as En, registerHarnessProfile as Et, DeepAgent as F, HarnessProfile as Ft, InferSubagentReactAgentType as G, FilesystemMiddlewareOptions as Gt, InferStructuredResponse as H, EXECUTION_SYSTEM_PROMPT as Ht, DeepAgentTypeConfig as I, HarnessProfileOptions as It, SupportedResponseFormat as J, FilesystemOperation as Jt, MergedDeepAgentState as K, FsToolName as Kt, DefaultDeepAgentTypeConfig as L, REQUIRED_MIDDLEWARE_NAMES as Lt, SubagentRunStream$1 as M, BackendProtocolV1 as Mn, EMPTY_HARNESS_PROFILE as Mt, AnySubAgent as N, SandboxBackendProtocolV1 as Nn, createHarnessProfile as Nt, SettingsOptions as O, isSandboxProtocol as On, generalPurposeSubagentConfigSchema as Ot, CreateDeepAgentParams as P, GeneralPurposeSubagentConfig as Pt, AsyncTaskStatus as Q, BackendFactory as Qt, ExtractSubAgentMiddleware as R, ConfigurationError as Rt, listSkills as S, SandboxListOptions as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, WriteResult as Tn, getHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, SystemPromptConfig as Ut, InferDeepAgentType as V, BASE_AGENT_PROMPT as Vt, InferSubagentByName as W, TASK_SYSTEM_PROMPT as Wt, AsyncSubAgentMiddlewareOptions as X, PermissionMode as Xt, AsyncSubAgent as Y, FilesystemPermission as Yt, AsyncTask as Z, AnyBackendProtocol as Zt, StoreBackendContext as _, SandboxDeleteOptions as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, FileDownloadResponse as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, SandboxGetOrCreateOptions as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, FileUploadResponse as cn, SkillMetadata$1 as ct, LocalShellBackend as d, GrepResult as dn, MemoryMiddlewareOptions as dt, BackendRuntime as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, LsResult as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxBackendProtocol as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, ReadResult as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, FileData as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, SandboxBackendProtocolV2 as jn, serializeProfile as jt, createSettings as k, resolveBackend as kn, harnessProfileConfigSchema as kt, LangSmithSandboxOptions as l, GlobResult as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, ReadRawResult as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, EditResult as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, FileInfo as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, MaybePromise as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, createFilesystemMiddleware as qt, LangSmithSnapshot as r, ExecuteResponse as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, FileOperationError as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, DeleteResult as tn, computeSummarizationDefaults as tt, BaseSandbox as u, GrepMatch as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, SandboxError as vn, ForkedSubAgent as vt, AgentMemoryMiddlewareOptions as w, StateAndStore as wn, createSubAgentMiddleware as wt, SkillMetadata as x, SandboxInfo as xn, SubAgent as xt, StoreBackendOptions as y, SandboxErrorCode as yn, GENERAL_PURPOSE_SUBAGENT as yt, FlattenSubAgentMiddleware as z, ConfigurationErrorCode as zt };
4382
- //# sourceMappingURL=agent-LUvc15zz.d.cts.map
4384
+ //# sourceMappingURL=agent-HW8KptlB.d.cts.map
@@ -1,3 +1,3 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, Cn as SandboxListResponse, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxGetOrCreateOptions, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as ReadResult, ht as CompiledSubAgent, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, wn as StateAndStore, wt as createSubAgentMiddleware, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-LUvc15zz.cjs";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, Cn as SandboxListResponse, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxGetOrCreateOptions, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as ReadResult, ht as CompiledSubAgent, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, wn as StateAndStore, wt as createSubAgentMiddleware, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-HW8KptlB.cjs";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, Cn as SandboxListResponse, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxGetOrCreateOptions, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as ReadResult, ht as CompiledSubAgent, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, wn as StateAndStore, wt as createSubAgentMiddleware, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-Bx0owr-O.js";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, Cn as SandboxListResponse, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxGetOrCreateOptions, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as ReadResult, ht as CompiledSubAgent, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, wn as StateAndStore, wt as createSubAgentMiddleware, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-D50BBbJT.js";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, A as findProjectRoot, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, C as parseSkillMetadata, Cn as SandboxListResponse, Ct as createSubAgent, D as Settings, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, En as applyGrepMaxCount, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, O as SettingsOptions, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxGetOrCreateOptions, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata$1, d as LocalShellBackend, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as ReadResult, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, k as createSettings, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, r as LangSmithSnapshot, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, w as AgentMemoryMiddlewareOptions, wn as StateAndStore, wt as createSubAgentMiddleware, x as SkillMetadata, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-LUvc15zz.cjs";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, A as findProjectRoot, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, C as parseSkillMetadata, Cn as SandboxListResponse, Ct as createSubAgent, D as Settings, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, En as applyGrepMaxCount, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, O as SettingsOptions, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxGetOrCreateOptions, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata$1, d as LocalShellBackend, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as ReadResult, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, k as createSettings, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, r as LangSmithSnapshot, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, w as AgentMemoryMiddlewareOptions, wn as StateAndStore, wt as createSubAgentMiddleware, x as SkillMetadata, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-HW8KptlB.cjs";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, A as findProjectRoot, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, C as parseSkillMetadata, Cn as SandboxListResponse, Ct as createSubAgent, D as Settings, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, En as applyGrepMaxCount, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, O as SettingsOptions, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxGetOrCreateOptions, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata$1, d as LocalShellBackend, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as ReadResult, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, k as createSettings, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, r as LangSmithSnapshot, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, w as AgentMemoryMiddlewareOptions, wn as StateAndStore, wt as createSubAgentMiddleware, x as SkillMetadata, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-Bx0owr-O.js";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendProtocol, A as findProjectRoot, An as BackendProtocolV2, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as ASYNC_TASK_SYSTEM_PROMPT, C as parseSkillMetadata, Cn as SandboxListResponse, Ct as createSubAgent, D as Settings, Dn as isSandboxBackend, Dt as HarnessProfileConfigData, E as filesValue, En as applyGrepMaxCount, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as FilesystemMiddlewareOptions, H as InferStructuredResponse, Ht as EXECUTION_SYSTEM_PROMPT, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as FilesystemOperation, K as MergedDeepAgentState, Kt as FsToolName, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mn as BackendProtocolV1, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nn as SandboxBackendProtocolV1, Nt as createHarnessProfile, O as SettingsOptions, On as isSandboxProtocol, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as BackendFactory, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as SandboxListOptions, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as WriteResult, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as SystemPromptConfig, V as InferDeepAgentType, Vt as BASE_AGENT_PROMPT, W as InferSubagentByName, Wt as TASK_SYSTEM_PROMPT, X as AsyncSubAgentMiddlewareOptions, Xt as PermissionMode, Y as AsyncSubAgent, Yt as FilesystemPermission, Z as AsyncTask, Zt as AnyBackendProtocol, _ as StoreBackendContext, _n as SandboxDeleteOptions, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileDownloadResponse, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxGetOrCreateOptions, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as FileUploadResponse, ct as SkillMetadata$1, d as LocalShellBackend, dn as GrepResult, dt as MemoryMiddlewareOptions, en as BackendRuntime, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as LsResult, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxBackendProtocol, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as ReadResult, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileData, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as SandboxBackendProtocolV2, jt as serializeProfile, k as createSettings, kn as resolveBackend, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as GlobResult, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadRawResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as EditResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileInfo, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as MaybePromise, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as createFilesystemMiddleware, r as LangSmithSnapshot, rn as ExecuteResponse, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileOperationError, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as DeleteResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepMatch, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxError, vt as ForkedSubAgent, w as AgentMemoryMiddlewareOptions, wn as StateAndStore, wt as createSubAgentMiddleware, x as SkillMetadata, xn as SandboxInfo, xt as SubAgent, y as StoreBackendOptions, yn as SandboxErrorCode, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-D50BBbJT.js";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };