deepagents 1.14.0 → 1.14.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.
@@ -3485,13 +3485,16 @@ declare class FilesystemBackend implements BackendProtocolV2 {
3485
3485
  * @throws Error if path traversal detected or path outside root
3486
3486
  */
3487
3487
  private resolvePath;
3488
+ /**
3489
+ * resolvePath()'s containment check is lexical, so a symlink component
3490
+ * (intermediate, or the leaf when includeLeaf) can alias a location
3491
+ * outside the virtual root. Resolve the deepest existing segment for real
3492
+ * and reject only if that escapes the root; includeLeaf is false only for
3493
+ * delete(), which may target a symlink itself without following it.
3494
+ */
3495
+ private assertRealPathWithinRoot;
3488
3496
  /**
3489
3497
  * Resolve the concrete path to unlink for a virtual delete operation.
3490
- *
3491
- * Virtual-mode path containment is lexical in resolvePath(), so deleting via
3492
- * that path could follow a symlinked parent outside the virtual root. Resolve
3493
- * and validate the real parent, then unlink through that real parent path so a
3494
- * replacement of the original lexical parent cannot redirect the unlink.
3495
3498
  */
3496
3499
  private resolveDeletePath;
3497
3500
  /**
@@ -4474,4 +4477,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4474
4477
  }, 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>>;
4475
4478
  //#endregion
4476
4479
  export { AsyncTaskStatus as $, PermissionMode as $t, createSettings as A, isSandboxBackend as An, HarnessProfileConfigData as At, FlattenSubAgentMiddleware as B, REQUIRED_MIDDLEWARE_NAMES as Bt, listSkills as C, SandboxGetOrCreateOptions as Cn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Ct, filesValue as D, StateAndStore as Dn, createSubAgentMiddleware as Dt, createAgentMemoryMiddleware as E, SandboxListResponse as En, createSubAgent as Et, CreateDeepAgentParams as F, BackendProtocolV1 as Fn, EMPTY_HARNESS_PROFILE as Ft, InferSubagentByName as G, EXECUTION_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, ConfigurationErrorCode as Ht, DeepAgent as I, SandboxBackendProtocolV1 as In, createHarnessProfile as It, ResolveDeepAgentTypeConfig as J, FilesystemMiddlewareOptions as Jt, InferSubagentReactAgentType as K, SystemPromptConfig as Kt, DeepAgentTypeConfig as L, GeneralPurposeSubagentConfig as Lt, DeepAgentRunStream as M, resolveBackend as Mn, harnessProfileConfigSchema as Mt, SubagentRunStream$1 as N, BackendProtocolV2 as Nn, parseHarnessProfileConfig as Nt, Settings as O, WriteResult as On, getHarnessProfile as Ot, AnySubAgent as P, SandboxBackendProtocolV2 as Pn, serializeProfile as Pt, AsyncTask as Q, FilesystemPermission as Qt, DefaultDeepAgentTypeConfig as R, HarnessProfile as Rt, SkillMetadata as S, SandboxErrorCode as Sn, GENERAL_PURPOSE_SUBAGENT as St, AgentMemoryMiddlewareOptions as T, SandboxListOptions as Tn, SubAgentMiddlewareOptions as Tt, InferStructuredResponse as U, ASYNC_TASK_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ConfigurationError as Vt, InferSubAgentMiddlewareStates as W, BASE_AGENT_PROMPT as Wt, AsyncSubAgent as X, createFilesystemMiddleware as Xt, SupportedResponseFormat as Y, FsToolName as Yt, AsyncSubAgentMiddlewareOptions as Z, FilesystemOperation as Zt, StoreBackend as _, ReadRawResult as _n, createPatchToolCallsMiddleware as _t, adaptBackendProtocol as a, EditResult as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxDeleteOptions as bn, DEFAULT_SUBAGENT_PROMPT as bt, LangSmithSandbox as c, FileDownloadResponse as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, FileUploadResponse as dn, SkillsMiddlewareOptions as dt, AnyBackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GlobResult as fn, createSkillsMiddleware as ft, FilesystemBackend as g, MaybePromise as gn, StateBackend as gt, CompositeBackend as h, LsResult as hn, createMemoryMiddleware as ht, LangSmithStartSandboxOptions as i, DeleteResult as in, CompletionCallbackOptions as it, findProjectRoot as j, isSandboxProtocol as jn, generalPurposeSubagentConfigSchema as jt, SettingsOptions as k, applyGrepMaxCount as kn, registerHarnessProfile as kt, LangSmithSandboxCreateOptions as l, FileInfo as ln, SkillMetadata$1 as lt, ContextHubBackend as m, GrepResult as mn, MemoryMiddlewareOptions as mt, LangSmithCaptureSnapshotOptions as n, BackendProtocol as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, ExecuteResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, GrepMatch as pn, skillsMetadataValue as pt, MergedDeepAgentState as q, TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, BackendRuntime as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileData as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendFactory as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, FileOperationError as un, SkillMetadataEntry as ut, StoreBackendContext as v, ReadResult as vn, CompiledSubAgent as vt, parseSkillMetadata as w, SandboxInfo as wn, SubAgent as wt, ListSkillsOptions as x, SandboxError as xn, ForkedSubAgent as xt, StoreBackendNamespaceFactory as y, SandboxBackendProtocol as yn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as yt, ExtractSubAgentMiddleware as z, HarnessProfileOptions as zt };
4477
- //# sourceMappingURL=agent-CrQgOsbl.d.cts.map
4480
+ //# sourceMappingURL=agent-B05mw_iK.d.cts.map
@@ -3486,13 +3486,16 @@ declare class FilesystemBackend implements BackendProtocolV2 {
3486
3486
  * @throws Error if path traversal detected or path outside root
3487
3487
  */
3488
3488
  private resolvePath;
3489
+ /**
3490
+ * resolvePath()'s containment check is lexical, so a symlink component
3491
+ * (intermediate, or the leaf when includeLeaf) can alias a location
3492
+ * outside the virtual root. Resolve the deepest existing segment for real
3493
+ * and reject only if that escapes the root; includeLeaf is false only for
3494
+ * delete(), which may target a symlink itself without following it.
3495
+ */
3496
+ private assertRealPathWithinRoot;
3489
3497
  /**
3490
3498
  * Resolve the concrete path to unlink for a virtual delete operation.
3491
- *
3492
- * Virtual-mode path containment is lexical in resolvePath(), so deleting via
3493
- * that path could follow a symlinked parent outside the virtual root. Resolve
3494
- * and validate the real parent, then unlink through that real parent path so a
3495
- * replacement of the original lexical parent cannot redirect the unlink.
3496
3499
  */
3497
3500
  private resolveDeletePath;
3498
3501
  /**
@@ -4475,4 +4478,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4475
4478
  }, 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>>;
4476
4479
  //#endregion
4477
4480
  export { AsyncTaskStatus as $, PermissionMode as $t, createSettings as A, isSandboxBackend as An, HarnessProfileConfigData as At, FlattenSubAgentMiddleware as B, REQUIRED_MIDDLEWARE_NAMES as Bt, listSkills as C, SandboxGetOrCreateOptions as Cn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Ct, filesValue as D, StateAndStore as Dn, createSubAgentMiddleware as Dt, createAgentMemoryMiddleware as E, SandboxListResponse as En, createSubAgent as Et, CreateDeepAgentParams as F, BackendProtocolV1 as Fn, EMPTY_HARNESS_PROFILE as Ft, InferSubagentByName as G, EXECUTION_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, ConfigurationErrorCode as Ht, DeepAgent as I, SandboxBackendProtocolV1 as In, createHarnessProfile as It, ResolveDeepAgentTypeConfig as J, FilesystemMiddlewareOptions as Jt, InferSubagentReactAgentType as K, SystemPromptConfig as Kt, DeepAgentTypeConfig as L, GeneralPurposeSubagentConfig as Lt, DeepAgentRunStream as M, resolveBackend as Mn, harnessProfileConfigSchema as Mt, SubagentRunStream$1 as N, BackendProtocolV2 as Nn, parseHarnessProfileConfig as Nt, Settings as O, WriteResult as On, getHarnessProfile as Ot, AnySubAgent as P, SandboxBackendProtocolV2 as Pn, serializeProfile as Pt, AsyncTask as Q, FilesystemPermission as Qt, DefaultDeepAgentTypeConfig as R, HarnessProfile as Rt, SkillMetadata as S, SandboxErrorCode as Sn, GENERAL_PURPOSE_SUBAGENT as St, AgentMemoryMiddlewareOptions as T, SandboxListOptions as Tn, SubAgentMiddlewareOptions as Tt, InferStructuredResponse as U, ASYNC_TASK_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ConfigurationError as Vt, InferSubAgentMiddlewareStates as W, BASE_AGENT_PROMPT as Wt, AsyncSubAgent as X, createFilesystemMiddleware as Xt, SupportedResponseFormat as Y, FsToolName as Yt, AsyncSubAgentMiddlewareOptions as Z, FilesystemOperation as Zt, StoreBackend as _, ReadRawResult as _n, createPatchToolCallsMiddleware as _t, adaptBackendProtocol as a, EditResult as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxDeleteOptions as bn, DEFAULT_SUBAGENT_PROMPT as bt, LangSmithSandbox as c, FileDownloadResponse as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, FileUploadResponse as dn, SkillsMiddlewareOptions as dt, AnyBackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GlobResult as fn, createSkillsMiddleware as ft, FilesystemBackend as g, MaybePromise as gn, StateBackend as gt, CompositeBackend as h, LsResult as hn, createMemoryMiddleware as ht, LangSmithStartSandboxOptions as i, DeleteResult as in, CompletionCallbackOptions as it, findProjectRoot as j, isSandboxProtocol as jn, generalPurposeSubagentConfigSchema as jt, SettingsOptions as k, applyGrepMaxCount as kn, registerHarnessProfile as kt, LangSmithSandboxCreateOptions as l, FileInfo as ln, SkillMetadata$1 as lt, ContextHubBackend as m, GrepResult as mn, MemoryMiddlewareOptions as mt, LangSmithCaptureSnapshotOptions as n, BackendProtocol as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, ExecuteResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, GrepMatch as pn, skillsMetadataValue as pt, MergedDeepAgentState as q, TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, BackendRuntime as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileData as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendFactory as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, FileOperationError as un, SkillMetadataEntry as ut, StoreBackendContext as v, ReadResult as vn, CompiledSubAgent as vt, parseSkillMetadata as w, SandboxInfo as wn, SubAgent as wt, ListSkillsOptions as x, SandboxError as xn, ForkedSubAgent as xt, StoreBackendNamespaceFactory as y, SandboxBackendProtocol as yn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as yt, ExtractSubAgentMiddleware as z, HarnessProfileOptions as zt };
4478
- //# sourceMappingURL=agent-DGkf2K7U.d.ts.map
4481
+ //# sourceMappingURL=agent-CxEdojMv.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-C9zNPKIz.cjs");
2
+ const require_langsmith = require("./langsmith-Bhg_Q4ZO.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 AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CrQgOsbl.cjs";
1
+ import { $ as AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-B05mw_iK.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 SkillMetadataEntry, 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, skillsMetadataValue };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-DGkf2K7U.js";
1
+ import { $ as AsyncTaskStatus, $t as PermissionMode, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, Cn as SandboxGetOrCreateOptions, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, En as SandboxListResponse, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, fn as GlobResult, ft as createSkillsMiddleware, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, in as DeleteResult, it as CompletionCallbackOptions, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, rn as BackendRuntime, rt as createSummarizationMiddleware, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, wn as SandboxInfo, wt as SubAgent, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CxEdojMv.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 SkillMetadataEntry, 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, skillsMetadataValue };
package/dist/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, V as StateBackend, W as isSandboxBackend, _ 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_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, 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 createFilesystemMiddleware } from "./langsmith-3LzYb-m7.js";
1
+ import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, V as StateBackend, W as isSandboxBackend, _ 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_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, 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 createFilesystemMiddleware } from "./langsmith-Bgi_Ta-k.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, skillsMetadataValue };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-C9zNPKIz.cjs");
3
- const require_src = require("./src-Nhlq1O0Y.cjs");
2
+ const require_langsmith = require("./langsmith-Bhg_Q4ZO.cjs");
3
+ const require_src = require("./src-CB_Eac87.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;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CrQgOsbl.cjs";
1
+ import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-B05mw_iK.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 SkillMetadataEntry, 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, skillsMetadataValue };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-DGkf2K7U.js";
1
+ import { $ as AsyncTaskStatus, $t as PermissionMode, A as createSettings, An as isSandboxBackend, At as HarnessProfileConfigData, B as FlattenSubAgentMiddleware, Bt as REQUIRED_MIDDLEWARE_NAMES, C as listSkills, Cn as SandboxGetOrCreateOptions, Ct as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, D as filesValue, Dn as StateAndStore, Dt as createSubAgentMiddleware, E as createAgentMemoryMiddleware, En as SandboxListResponse, Et as createSubAgent, F as CreateDeepAgentParams, Fn as BackendProtocolV1, Ft as EMPTY_HARNESS_PROFILE, G as InferSubagentByName, Gt as EXECUTION_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as ConfigurationErrorCode, I as DeepAgent, In as SandboxBackendProtocolV1, It as createHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as FilesystemMiddlewareOptions, K as InferSubagentReactAgentType, Kt as SystemPromptConfig, L as DeepAgentTypeConfig, Lt as GeneralPurposeSubagentConfig, M as DeepAgentRunStream, Mn as resolveBackend, Mt as harnessProfileConfigSchema, N as SubagentRunStream, Nn as BackendProtocolV2, Nt as parseHarnessProfileConfig, O as Settings, On as WriteResult, Ot as getHarnessProfile, P as AnySubAgent, Pn as SandboxBackendProtocolV2, Pt as serializeProfile, Q as AsyncTask, Qt as FilesystemPermission, R as DefaultDeepAgentTypeConfig, Rt as HarnessProfile, S as SkillMetadata, Sn as SandboxErrorCode, St as GENERAL_PURPOSE_SUBAGENT, T as AgentMemoryMiddlewareOptions, Tn as SandboxListOptions, Tt as SubAgentMiddlewareOptions, U as InferStructuredResponse, Ut as ASYNC_TASK_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ConfigurationError, W as InferSubAgentMiddlewareStates, Wt as BASE_AGENT_PROMPT, X as AsyncSubAgent, Xt as createFilesystemMiddleware, Y as SupportedResponseFormat, Yt as FsToolName, Z as AsyncSubAgentMiddlewareOptions, Zt as FilesystemOperation, _ as StoreBackend, _n as ReadRawResult, _t as createPatchToolCallsMiddleware, a as adaptBackendProtocol, an as EditResult, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxDeleteOptions, bt as DEFAULT_SUBAGENT_PROMPT, c as LangSmithSandbox, cn as FileDownloadResponse, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as FileUploadResponse, dt as SkillsMiddlewareOptions, en as AnyBackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GlobResult, ft as createSkillsMiddleware, g as FilesystemBackend, gn as MaybePromise, gt as StateBackend, h as CompositeBackend, hn as LsResult, ht as createMemoryMiddleware, i as LangSmithStartSandboxOptions, in as DeleteResult, it as CompletionCallbackOptions, j as findProjectRoot, jn as isSandboxProtocol, jt as generalPurposeSubagentConfigSchema, k as SettingsOptions, kn as applyGrepMaxCount, kt as registerHarnessProfile, l as LangSmithSandboxCreateOptions, ln as FileInfo, lt as SkillMetadata$1, m as ContextHubBackend, mn as GrepResult, mt as MemoryMiddlewareOptions, n as LangSmithCaptureSnapshotOptions, nn as BackendProtocol, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as ExecuteResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as GrepMatch, pt as skillsMetadataValue, q as MergedDeepAgentState, qt as TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as BackendRuntime, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileData, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendFactory, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as FileOperationError, ut as SkillMetadataEntry, v as StoreBackendContext, vn as ReadResult, vt as CompiledSubAgent, w as parseSkillMetadata, wn as SandboxInfo, wt as SubAgent, x as ListSkillsOptions, xn as SandboxError, xt as ForkedSubAgent, y as StoreBackendNamespaceFactory, yn as SandboxBackendProtocol, yt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, z as ExtractSubAgentMiddleware, zt as HarnessProfileOptions } from "./agent-CxEdojMv.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 SkillMetadataEntry, 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, skillsMetadataValue };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, F as createSubAgent, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, P as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, Q as normalizeReadPagination, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as applyGrepMaxCount, V as StateBackend, W as isSandboxBackend, _ 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_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, 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 createFilesystemMiddleware } from "./langsmith-3LzYb-m7.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-gIoHrhh3.js";
1
+ import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, F as createSubAgent, G as isSandboxProtocol, H as SandboxError, I as createSubAgentMiddleware, J as adaptSandboxProtocol, K as resolveBackend, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, P as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, Q as normalizeReadPagination, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as applyGrepMaxCount, V as StateBackend, W as isSandboxBackend, _ 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_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptBackendProtocol, 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 createFilesystemMiddleware } from "./langsmith-Bgi_Ta-k.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-BGwHTd6z.js";
3
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, skillsMetadataValue };
@@ -2659,10 +2659,11 @@ function createFilesystemMiddleware(options = {}) {
2659
2659
  ...runtime,
2660
2660
  state
2661
2661
  });
2662
- const evictPath = `/large_tool_results/${sanitizeToolCallId(fallbackToolCallId || msg.tool_call_id)}.txt`;
2662
+ const sanitizedId = sanitizeToolCallId(fallbackToolCallId || msg.tool_call_id);
2663
+ const evictPath = `/large_tool_results/${new TextEncoder().encode(sanitizedId).length > 128 ? `call-${crypto.randomUUID()}` : sanitizedId}.txt`;
2663
2664
  const writeResult = await resolvedBackend.write(evictPath, textContent);
2664
2665
  const contentSample = createContentPreview(textContent);
2665
- const replacementText = writeResult.error ? `Tool result too large, but the result could not be saved to the filesystem: ${writeResult.error}` : TOO_LARGE_TOOL_MSG.replace("{tool_call_id}", msg.tool_call_id).replace("{file_path}", evictPath).replace("{content_sample}", contentSample);
2666
+ const replacementText = writeResult.error ? `Tool result too large, but the result could not be saved to the filesystem: ${writeResult.error}` : TOO_LARGE_TOOL_MSG.replace("{tool_call_id}", msg.tool_call_id.length > 32 ? `${msg.tool_call_id.slice(0, 32)}...` : msg.tool_call_id).replace("{file_path}", evictPath).replace("{content_sample}", contentSample);
2666
2667
  return {
2667
2668
  message: new ToolMessage({
2668
2669
  content: replacementText,
@@ -8880,4 +8881,4 @@ var LangSmithSandbox = class LangSmithSandbox extends BaseSandbox {
8880
8881
  //#endregion
8881
8882
  export { performStringReplacement as $, createPatchToolCallsMiddleware as A, CompositeBackend as B, MAX_SKILL_DESCRIPTION_LENGTH as C, skillsMetadataValue as D, createSkillsMiddleware as E, createSubAgent as F, isSandboxProtocol as G, SandboxError as H, createSubAgentMiddleware as I, adaptSandboxProtocol as J, resolveBackend as K, computeSummarizationDefaults as L, DEFAULT_SUBAGENT_PROMPT as M, GENERAL_PURPOSE_SUBAGENT as N, createMemoryMiddleware as O, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as P, normalizeReadPagination as Q, createSummarizationMiddleware as R, createCompletionCallbackMiddleware as S, MAX_SKILL_NAME_LENGTH as T, applyGrepMaxCount as U, StateBackend as V, isSandboxBackend as W, getMimeType as X, checkEmptyContent as Y, isTextMimeType as Z, createHarnessProfile as _, ASYNC_TASK_SYSTEM_PROMPT as a, createAsyncSubAgentMiddleware as b, TASK_SYSTEM_PROMPT as c, registerHarnessProfile as d, generalPurposeSubagentConfigSchema as f, EMPTY_HARNESS_PROFILE as g, serializeProfile as h, StoreBackend as i, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as j, filesValue as k, createDeepAgent as l, parseHarnessProfileConfig as m, BaseSandbox as n, BASE_AGENT_PROMPT as o, harnessProfileConfigSchema as p, adaptBackendProtocol as q, ContextHubBackend as r, EXECUTION_SYSTEM_PROMPT as s, LangSmithSandbox as t, getHarnessProfile as u, REQUIRED_MIDDLEWARE_NAMES as v, MAX_SKILL_FILE_SIZE as w, isAsyncSubAgent as x, ConfigurationError as y, createFilesystemMiddleware as z };
8882
8883
 
8883
- //# sourceMappingURL=langsmith-3LzYb-m7.js.map
8884
+ //# sourceMappingURL=langsmith-Bgi_Ta-k.js.map