deepagents 1.13.0 → 1.13.2

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.
@@ -357,6 +357,23 @@ interface ReadResult {
357
357
  content?: string | Uint8Array;
358
358
  /** MIME type of the file, when available */
359
359
  mimeType?: string;
360
+ /**
361
+ * Total number of logical source lines for a text read, when known.
362
+ * Omitted for binary reads and for backends that cannot determine it.
363
+ */
364
+ totalLines?: number;
365
+ /**
366
+ * 1-indexed first source line represented by `content`.
367
+ * Text pagination fields are optional so older/custom backends remain valid.
368
+ */
369
+ startLine?: number;
370
+ /** 1-indexed last source line represented by `content`. */
371
+ endLine?: number;
372
+ /**
373
+ * 0-indexed offset of the next unread source line.
374
+ * Omitted when the returned text reaches EOF.
375
+ */
376
+ nextOffset?: number;
360
377
  }
361
378
  /**
362
379
  * Structured result from backend readRaw operations.
@@ -1188,11 +1205,12 @@ interface HarnessProfileOptions {
1188
1205
  */
1189
1206
  toolDescriptionOverrides?: Record<string, string>;
1190
1207
  /**
1191
- * Tool names to remove from the agent's visible tool set.
1208
+ * Tool names to remove from the agent's visible tool set and reject at the
1209
+ * tool-call boundary.
1192
1210
  *
1193
- * Applied via a filtering middleware after all tool-injecting
1194
- * middleware have run, so it catches both user-provided and
1195
- * middleware-provided tools.
1211
+ * Applied via middleware after all tool-injecting middleware have run, so it
1212
+ * catches both user-provided and middleware-provided tools. Exclusions are
1213
+ * model-facing calibration resolved per model, not a security boundary.
1196
1214
  *
1197
1215
  * @default [] (no tools excluded)
1198
1216
  */
@@ -1266,11 +1284,12 @@ interface HarnessProfile {
1266
1284
  */
1267
1285
  toolDescriptionOverrides: Record<string, string>;
1268
1286
  /**
1269
- * Tool names to remove from the agent's visible tool set.
1287
+ * Tool names to remove from the agent's visible tool set and reject at the
1288
+ * tool-call boundary.
1270
1289
  *
1271
- * Applied via a filtering middleware after all tool-injecting
1272
- * middleware have run, so it catches both user-provided and
1273
- * middleware-provided tools.
1290
+ * Applied via middleware after all tool-injecting middleware have run, so it
1291
+ * catches both user-provided and middleware-provided tools. Exclusions are
1292
+ * model-facing calibration resolved per model, not a security boundary.
1274
1293
  */
1275
1294
  excludedTools: Set<string>;
1276
1295
  /**
@@ -1509,8 +1528,9 @@ interface SubAgentBase {
1509
1528
  /** Description shown to the model for subagent selection */
1510
1529
  description: string;
1511
1530
  /**
1512
- * The system prompt for the agent. Required on {@link SubAgent}; forbidden
1513
- * on {@link ForkedSubAgent}, which always inherits the parent's instead.
1531
+ * The system prompt for the agent. Optional on {@link SubAgent} (falls
1532
+ * back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
1533
+ * which always inherits the parent's instead.
1514
1534
  */
1515
1535
  systemPrompt?: string | SystemMessage;
1516
1536
  /**
@@ -1643,6 +1663,7 @@ interface SubAgent extends SubAgentBase {
1643
1663
  * const researcher: ForkedSubAgent = {
1644
1664
  * name: "researcher",
1645
1665
  * description: "Continues the current investigation with full context",
1666
+ * mode: "fork",
1646
1667
  * tools: [webSearchTool],
1647
1668
  * };
1648
1669
  * ```
@@ -1653,10 +1674,10 @@ interface ForkedSubAgent extends SubAgentBase {
1653
1674
  /** A ForkedSubAgent never has its own system prompt — always the parent's. */
1654
1675
  systemPrompt?: undefined;
1655
1676
  /**
1656
- * Context mode. `"handoff"` (default) is fully isolated. `"fork"` inherits
1657
- * the parent's conversation history and system prompt.
1677
+ * Always `"fork"`. Required (not defaulted) so this can't structurally
1678
+ * collapse into a plain `SubAgent` see `isForkedSubAgent` below.
1658
1679
  */
1659
- mode?: "fork";
1680
+ mode: "fork";
1660
1681
  }
1661
1682
  /**
1662
1683
  * Base specification for the general-purpose subagent.
@@ -4211,6 +4232,20 @@ declare class LangSmithSandbox extends BaseSandbox {
4211
4232
  }
4212
4233
  //#endregion
4213
4234
  //#region src/backends/utils.d.ts
4235
+ /**
4236
+ * Normalize model- or caller-supplied text pagination bounds.
4237
+ *
4238
+ * Every backend must slice content and calculate pagination metadata from the
4239
+ * same normalized values. Otherwise a fractional or negative argument could
4240
+ * return one window while advertising a different `nextOffset`.
4241
+ *
4242
+ * Binary reads do not use this helper because their backend contract ignores
4243
+ * line-based offset and limit values.
4244
+ */
4245
+ declare function normalizeReadPagination(offset: number, limit: number): {
4246
+ offset: number;
4247
+ limit: number;
4248
+ };
4214
4249
  /**
4215
4250
  * Adapt a v1 {@link BackendProtocol} to {@link BackendProtocolV2}.
4216
4251
  *
@@ -4378,5 +4413,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4378
4413
  }, import("zod/v4/core").$strip>>;
4379
4414
  }, 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
4415
  //#endregion
4381
- 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
4416
+ export { AsyncTaskStatus as $, BackendFactory as $t, createSettings as A, resolveBackend as An, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, listSkills as C, SandboxListOptions as Cn, SubAgentMiddlewareOptions as Ct, filesValue as D, applyGrepMaxCount as Dn, registerHarnessProfile as Dt, createAgentMemoryMiddleware as E, WriteResult as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, TASK_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, BASE_AGENT_PROMPT as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, createFilesystemMiddleware as Jt, InferSubagentReactAgentType as K, FilesystemMiddlewareOptions as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, DeepAgentRunStream as M, SandboxBackendProtocolV2 as Mn, serializeProfile as Mt, SubagentRunStream$1 as N, BackendProtocolV1 as Nn, EMPTY_HARNESS_PROFILE as Nt, Settings as O, isSandboxBackend as On, HarnessProfileConfigData as Ot, AnySubAgent as P, SandboxBackendProtocolV1 as Pn, createHarnessProfile as Pt, AsyncTask as Q, AnyBackendProtocol as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, SkillMetadata as S, SandboxInfo as Sn, SubAgent as St, AgentMemoryMiddlewareOptions as T, StateAndStore as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, EXECUTION_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ASYNC_TASK_SYSTEM_PROMPT as Vt, InferSubAgentMiddlewareStates as W, SystemPromptConfig as Wt, AsyncSubAgent as X, FilesystemPermission as Xt, SupportedResponseFormat as Y, FilesystemOperation as Yt, AsyncSubAgentMiddlewareOptions as Z, PermissionMode as Zt, StoreBackend as _, SandboxBackendProtocol as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, FileData as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxErrorCode as bn, GENERAL_PURPOSE_SUBAGENT as bt, LangSmithSandbox as c, FileOperationError as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, GrepMatch as dn, createSkillsMiddleware as dt, BackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GrepResult as fn, MemoryMiddlewareOptions as ft, FilesystemBackend as g, ReadResult as gn, CompiledSubAgent as gt, CompositeBackend as h, ReadRawResult as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, ExecuteResponse as in, CompletionCallbackOptions as it, findProjectRoot as j, BackendProtocolV2 as jn, parseHarnessProfileConfig as jt, SettingsOptions as k, isSandboxProtocol as kn, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxCreateOptions as l, FileUploadResponse as ln, SkillMetadata$1 as lt, ContextHubBackend as m, MaybePromise as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, DeleteResult as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, FileDownloadResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, LsResult as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, FsToolName as qt, LangSmithSnapshot as r, EditResult as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileInfo as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendRuntime as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, GlobResult as un, SkillsMiddlewareOptions as ut, StoreBackendContext as v, SandboxDeleteOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, parseSkillMetadata as w, SandboxListResponse as wn, createSubAgent as wt, ListSkillsOptions as x, SandboxGetOrCreateOptions as xn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as xt, StoreBackendNamespaceFactory as y, SandboxError as yn, ForkedSubAgent as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
4417
+ //# sourceMappingURL=agent-BwYXPTyT.d.cts.map
@@ -357,6 +357,23 @@ interface ReadResult {
357
357
  content?: string | Uint8Array;
358
358
  /** MIME type of the file, when available */
359
359
  mimeType?: string;
360
+ /**
361
+ * Total number of logical source lines for a text read, when known.
362
+ * Omitted for binary reads and for backends that cannot determine it.
363
+ */
364
+ totalLines?: number;
365
+ /**
366
+ * 1-indexed first source line represented by `content`.
367
+ * Text pagination fields are optional so older/custom backends remain valid.
368
+ */
369
+ startLine?: number;
370
+ /** 1-indexed last source line represented by `content`. */
371
+ endLine?: number;
372
+ /**
373
+ * 0-indexed offset of the next unread source line.
374
+ * Omitted when the returned text reaches EOF.
375
+ */
376
+ nextOffset?: number;
360
377
  }
361
378
  /**
362
379
  * Structured result from backend readRaw operations.
@@ -1188,11 +1205,12 @@ interface HarnessProfileOptions {
1188
1205
  */
1189
1206
  toolDescriptionOverrides?: Record<string, string>;
1190
1207
  /**
1191
- * Tool names to remove from the agent's visible tool set.
1208
+ * Tool names to remove from the agent's visible tool set and reject at the
1209
+ * tool-call boundary.
1192
1210
  *
1193
- * Applied via a filtering middleware after all tool-injecting
1194
- * middleware have run, so it catches both user-provided and
1195
- * middleware-provided tools.
1211
+ * Applied via middleware after all tool-injecting middleware have run, so it
1212
+ * catches both user-provided and middleware-provided tools. Exclusions are
1213
+ * model-facing calibration resolved per model, not a security boundary.
1196
1214
  *
1197
1215
  * @default [] (no tools excluded)
1198
1216
  */
@@ -1266,11 +1284,12 @@ interface HarnessProfile {
1266
1284
  */
1267
1285
  toolDescriptionOverrides: Record<string, string>;
1268
1286
  /**
1269
- * Tool names to remove from the agent's visible tool set.
1287
+ * Tool names to remove from the agent's visible tool set and reject at the
1288
+ * tool-call boundary.
1270
1289
  *
1271
- * Applied via a filtering middleware after all tool-injecting
1272
- * middleware have run, so it catches both user-provided and
1273
- * middleware-provided tools.
1290
+ * Applied via middleware after all tool-injecting middleware have run, so it
1291
+ * catches both user-provided and middleware-provided tools. Exclusions are
1292
+ * model-facing calibration resolved per model, not a security boundary.
1274
1293
  */
1275
1294
  excludedTools: Set<string>;
1276
1295
  /**
@@ -1509,8 +1528,9 @@ interface SubAgentBase {
1509
1528
  /** Description shown to the model for subagent selection */
1510
1529
  description: string;
1511
1530
  /**
1512
- * The system prompt for the agent. Required on {@link SubAgent}; forbidden
1513
- * on {@link ForkedSubAgent}, which always inherits the parent's instead.
1531
+ * The system prompt for the agent. Optional on {@link SubAgent} (falls
1532
+ * back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
1533
+ * which always inherits the parent's instead.
1514
1534
  */
1515
1535
  systemPrompt?: string | SystemMessage;
1516
1536
  /**
@@ -1643,6 +1663,7 @@ interface SubAgent extends SubAgentBase {
1643
1663
  * const researcher: ForkedSubAgent = {
1644
1664
  * name: "researcher",
1645
1665
  * description: "Continues the current investigation with full context",
1666
+ * mode: "fork",
1646
1667
  * tools: [webSearchTool],
1647
1668
  * };
1648
1669
  * ```
@@ -1653,10 +1674,10 @@ interface ForkedSubAgent extends SubAgentBase {
1653
1674
  /** A ForkedSubAgent never has its own system prompt — always the parent's. */
1654
1675
  systemPrompt?: undefined;
1655
1676
  /**
1656
- * Context mode. `"handoff"` (default) is fully isolated. `"fork"` inherits
1657
- * the parent's conversation history and system prompt.
1677
+ * Always `"fork"`. Required (not defaulted) so this can't structurally
1678
+ * collapse into a plain `SubAgent` see `isForkedSubAgent` below.
1658
1679
  */
1659
- mode?: "fork";
1680
+ mode: "fork";
1660
1681
  }
1661
1682
  /**
1662
1683
  * Base specification for the general-purpose subagent.
@@ -4211,6 +4232,20 @@ declare class LangSmithSandbox extends BaseSandbox {
4211
4232
  }
4212
4233
  //#endregion
4213
4234
  //#region src/backends/utils.d.ts
4235
+ /**
4236
+ * Normalize model- or caller-supplied text pagination bounds.
4237
+ *
4238
+ * Every backend must slice content and calculate pagination metadata from the
4239
+ * same normalized values. Otherwise a fractional or negative argument could
4240
+ * return one window while advertising a different `nextOffset`.
4241
+ *
4242
+ * Binary reads do not use this helper because their backend contract ignores
4243
+ * line-based offset and limit values.
4244
+ */
4245
+ declare function normalizeReadPagination(offset: number, limit: number): {
4246
+ offset: number;
4247
+ limit: number;
4248
+ };
4214
4249
  /**
4215
4250
  * Adapt a v1 {@link BackendProtocol} to {@link BackendProtocolV2}.
4216
4251
  *
@@ -4378,5 +4413,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4378
4413
  }, import("zod/v4/core").$strip>>;
4379
4414
  }, 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
4415
  //#endregion
4381
- 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
4416
+ export { AsyncTaskStatus as $, BackendFactory as $t, createSettings as A, resolveBackend as An, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, listSkills as C, SandboxListOptions as Cn, SubAgentMiddlewareOptions as Ct, filesValue as D, applyGrepMaxCount as Dn, registerHarnessProfile as Dt, createAgentMemoryMiddleware as E, WriteResult as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, TASK_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, BASE_AGENT_PROMPT as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, createFilesystemMiddleware as Jt, InferSubagentReactAgentType as K, FilesystemMiddlewareOptions as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, DeepAgentRunStream as M, SandboxBackendProtocolV2 as Mn, serializeProfile as Mt, SubagentRunStream$1 as N, BackendProtocolV1 as Nn, EMPTY_HARNESS_PROFILE as Nt, Settings as O, isSandboxBackend as On, HarnessProfileConfigData as Ot, AnySubAgent as P, SandboxBackendProtocolV1 as Pn, createHarnessProfile as Pt, AsyncTask as Q, AnyBackendProtocol as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, SkillMetadata as S, SandboxInfo as Sn, SubAgent as St, AgentMemoryMiddlewareOptions as T, StateAndStore as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, EXECUTION_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ASYNC_TASK_SYSTEM_PROMPT as Vt, InferSubAgentMiddlewareStates as W, SystemPromptConfig as Wt, AsyncSubAgent as X, FilesystemPermission as Xt, SupportedResponseFormat as Y, FilesystemOperation as Yt, AsyncSubAgentMiddlewareOptions as Z, PermissionMode as Zt, StoreBackend as _, SandboxBackendProtocol as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, FileData as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxErrorCode as bn, GENERAL_PURPOSE_SUBAGENT as bt, LangSmithSandbox as c, FileOperationError as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, GrepMatch as dn, createSkillsMiddleware as dt, BackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GrepResult as fn, MemoryMiddlewareOptions as ft, FilesystemBackend as g, ReadResult as gn, CompiledSubAgent as gt, CompositeBackend as h, ReadRawResult as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, ExecuteResponse as in, CompletionCallbackOptions as it, findProjectRoot as j, BackendProtocolV2 as jn, parseHarnessProfileConfig as jt, SettingsOptions as k, isSandboxProtocol as kn, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxCreateOptions as l, FileUploadResponse as ln, SkillMetadata$1 as lt, ContextHubBackend as m, MaybePromise as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, DeleteResult as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, FileDownloadResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, LsResult as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, FsToolName as qt, LangSmithSnapshot as r, EditResult as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileInfo as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendRuntime as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, GlobResult as un, SkillsMiddlewareOptions as ut, StoreBackendContext as v, SandboxDeleteOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, parseSkillMetadata as w, SandboxListResponse as wn, createSubAgent as wt, ListSkillsOptions as x, SandboxGetOrCreateOptions as xn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as xt, StoreBackendNamespaceFactory as y, SandboxError as yn, ForkedSubAgent as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
4417
+ //# sourceMappingURL=agent-CH8GB5HD.d.ts.map
package/dist/browser.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-Ck9t7AGW.cjs");
2
+ const require_langsmith = require("./langsmith-DL32swQ3.cjs");
3
3
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
4
4
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
5
5
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -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 AsyncTaskStatus, $t as BackendFactory, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dt as registerHarnessProfile, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as SandboxInfo, St as SubAgent, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, fn as GrepResult, ft as MemoryMiddlewareOptions, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, in as ExecuteResponse, it as CompletionCallbackOptions, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, rn as EditResult, rt as createSummarizationMiddleware, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxListResponse, xn as SandboxGetOrCreateOptions, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-BwYXPTyT.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 AsyncTaskStatus, $t as BackendFactory, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dt as registerHarnessProfile, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as SandboxInfo, St as SubAgent, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, fn as GrepResult, ft as MemoryMiddlewareOptions, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, in as ExecuteResponse, it as CompletionCallbackOptions, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, rn as EditResult, rt as createSummarizationMiddleware, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxListResponse, xn as SandboxGetOrCreateOptions, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-CH8GB5HD.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/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, O as filesValue, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-zm0ILQsV.js";
1
+ import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, O as filesValue, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-BBV5JlNW.js";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, 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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-Ck9t7AGW.cjs");
3
- const require_src = require("./src-C97zNx7s.cjs");
2
+ const require_langsmith = require("./langsmith-DL32swQ3.cjs");
3
+ const require_src = require("./src-DdGDIhZk.cjs");
4
4
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
5
5
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
6
6
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -50,6 +50,7 @@ exports.isAsyncSubAgent = require_langsmith.isAsyncSubAgent;
50
50
  exports.isSandboxBackend = require_langsmith.isSandboxBackend;
51
51
  exports.isSandboxProtocol = require_langsmith.isSandboxProtocol;
52
52
  exports.listSkills = require_src.listSkills;
53
+ exports.normalizeReadPagination = require_langsmith.normalizeReadPagination;
53
54
  exports.parseHarnessProfileConfig = require_langsmith.parseHarnessProfileConfig;
54
55
  exports.parseSkillMetadata = require_src.parseSkillMetadata;
55
56
  exports.registerHarnessProfile = require_langsmith.registerHarnessProfile;
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";
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 };
1
+ import { $ as AsyncTaskStatus, $t as BackendFactory, A as createSettings, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as listSkills, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dn as applyGrepMaxCount, Dt as registerHarnessProfile, E as createAgentMemoryMiddleware, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, O as Settings, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as SkillMetadata, Sn as SandboxInfo, St as SubAgent, T as AgentMemoryMiddlewareOptions, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GrepResult, ft as MemoryMiddlewareOptions, g as FilesystemBackend, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as ExecuteResponse, it as CompletionCallbackOptions, j as findProjectRoot, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, k as SettingsOptions, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata$1, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, r as LangSmithSnapshot, rn as EditResult, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as parseSkillMetadata, wn as SandboxListResponse, wt as createSubAgent, x as ListSkillsOptions, xn as SandboxGetOrCreateOptions, xt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-BwYXPTyT.cjs";
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, normalizeReadPagination, 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";
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 };
1
+ import { $ as AsyncTaskStatus, $t as BackendFactory, A as createSettings, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as listSkills, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dn as applyGrepMaxCount, Dt as registerHarnessProfile, E as createAgentMemoryMiddleware, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, O as Settings, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as SkillMetadata, Sn as SandboxInfo, St as SubAgent, T as AgentMemoryMiddlewareOptions, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GrepResult, ft as MemoryMiddlewareOptions, g as FilesystemBackend, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as ExecuteResponse, it as CompletionCallbackOptions, j as findProjectRoot, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, k as SettingsOptions, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata$1, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, r as LangSmithSnapshot, rn as EditResult, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as parseSkillMetadata, wn as SandboxListResponse, wt as createSubAgent, x as ListSkillsOptions, xn as SandboxGetOrCreateOptions, xt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-CH8GB5HD.js";
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, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, H as applyGrepMaxCount, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, N as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, O as filesValue, P as createSubAgent, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-zm0ILQsV.js";
2
- import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-C9o7b5C6.js";
3
- export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, 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 };
1
+ import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, H as applyGrepMaxCount, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, N as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, O as filesValue, P as createSubAgent, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, Z as normalizeReadPagination, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-BBV5JlNW.js";
2
+ import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-CKk0apeE.js";
3
+ export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, 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, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };