deepagents 1.15.0 → 1.15.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.
@@ -4019,6 +4019,11 @@ declare class ContextHubBackend implements BackendProtocolV2 {
4019
4019
  client?: Client;
4020
4020
  });
4021
4021
  private static stripPrefix;
4022
+ /**
4023
+ * `filePath` relative to the glob root `root`, or `null` when it is outside
4024
+ * it. An exact file root yields the file's basename.
4025
+ */
4026
+ private static relativeToRoot;
4022
4027
  private static toHubUnavailableError;
4023
4028
  private fetchTree;
4024
4029
  private publishSnapshot;
@@ -4092,7 +4097,7 @@ declare class ContextHubBackend implements BackendProtocolV2 {
4092
4097
  read(filePath: string, offset?: number, limit?: number): Promise<ReadResult>;
4093
4098
  readRaw(filePath: string): Promise<ReadRawResult>;
4094
4099
  grep(pattern: string, path?: string | null, glob?: string | null, maxCount?: number | null): Promise<GrepResult>;
4095
- glob(pattern: string, _path?: string): Promise<GlobResult>;
4100
+ glob(pattern: string, path?: string): Promise<GlobResult>;
4096
4101
  write(filePath: string, content: string): Promise<WriteResult>;
4097
4102
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
4098
4103
  delete(filePath: string): Promise<DeleteResult>;
@@ -4706,4 +4711,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4706
4711
  }, 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>>;
4707
4712
  //#endregion
4708
4713
  export { scrubUnsupportedMultimodalContent as $, TASK_SYSTEM_PROMPT as $t, createSettings as A, SandboxInfo as An, SubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV2 as Bn, serializeProfile as Bt, listSkills as C, ReadRawResult as Cn, createPatchToolCallsMiddleware as Ct, filesValue as D, SandboxError as Dn, ForkedSubAgent as Dt, createAgentMemoryMiddleware as E, SandboxDeleteOptions as En, DEFAULT_SUBAGENT_PROMPT as Et, CreateDeepAgentParams as F, applyGrepMaxCount as Fn, registerHarnessProfile as Ft, InferSubagentByName as G, HarnessProfileOptions as Gt, InferDeepAgentType as H, SandboxBackendProtocolV1 as Hn, createHarnessProfile as Ht, DeepAgent as I, isSandboxBackend as In, HarnessProfileConfigData as It, ResolveDeepAgentTypeConfig as J, ConfigurationErrorCode as Jt, InferSubagentReactAgentType as K, REQUIRED_MIDDLEWARE_NAMES as Kt, DeepAgentTypeConfig as L, isSandboxProtocol as Ln, generalPurposeSubagentConfigSchema as Lt, DeepAgentRunStream as M, SandboxListResponse as Mn, createSubAgent as Mt, SubagentRunStream$1 as N, StateAndStore as Nn, createSubAgentMiddleware as Nt, Settings as O, SandboxErrorCode as On, GENERAL_PURPOSE_SUBAGENT as Ot, AnySubAgent as P, WriteResult as Pn, getHarnessProfile as Pt, multimodalBlockSupported as Q, SystemPromptConfig as Qt, DefaultDeepAgentTypeConfig as R, resolveBackend as Rn, harnessProfileConfigSchema as Rt, SkillMetadata as S, MaybePromise as Sn, StateBackend as St, AgentMemoryMiddlewareOptions as T, SandboxBackendProtocol as Tn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Tt, InferStructuredResponse as U, GeneralPurposeSubagentConfig as Ut, InferDeepAgentSubagents as V, BackendProtocolV1 as Vn, EMPTY_HARNESS_PROFILE as Vt, InferSubAgentMiddlewareStates as W, HarnessProfile as Wt, MULTIMODAL_BLOCK_TYPES as X, BASE_AGENT_PROMPT as Xt, SupportedResponseFormat as Y, ASYNC_TASK_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, EXECUTION_SYSTEM_PROMPT as Zt, StoreBackend as _, FileUploadResponse as _n, createSkillsMiddleware as _t, adaptBackendProtocol as a, PermissionMode as an, isAsyncSubAgent as at, StoreBackendOptions as b, GrepResult as bn, MemoryMiddlewareOptions as bt, LangSmithSandbox as c, BackendProtocol as cn, CompletionCallbackOptions as ct, BaseSandbox as d, EditResult as dn, MAX_SKILL_FILE_SIZE as dt, FilesystemMiddlewareOptions as en, AsyncSubAgent as et, LocalShellBackend as f, ExecuteResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, FileOperationError as gn, SkillsMiddlewareOptions as gt, CompositeBackend as h, FileInfo as hn, SkillToolResolver as ht, LangSmithStartSandboxOptions as i, FilesystemPermission as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, SandboxListOptions as jn, SubAgentMiddlewareOptions as jt, SettingsOptions as k, SandboxGetOrCreateOptions as kn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as kt, LangSmithSandboxCreateOptions as l, BackendRuntime as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileDownloadResponse as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, createFilesystemMiddleware as nn, AsyncTask as nt, adaptSandboxProtocol as o, AnyBackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileData as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ConfigurationError as qt, LangSmithSnapshot as r, FilesystemOperation as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendFactory as sn, createSummarizationMiddleware as st, createDeepAgent as t, FsToolName as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, DeleteResult as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GlobResult as vn, pinnedSkillsValue as vt, parseSkillMetadata as w, ReadResult as wn, CompiledSubAgent as wt, ListSkillsOptions as x, LsResult as xn, createMemoryMiddleware as xt, StoreBackendNamespaceFactory as y, GrepMatch as yn, skillsMetadataValue as yt, ExtractSubAgentMiddleware as z, BackendProtocolV2 as zn, parseHarnessProfileConfig as zt };
4709
- //# sourceMappingURL=agent-FG1QOMBi.d.cts.map
4714
+ //# sourceMappingURL=agent-CYPLa3Vi.d.cts.map
@@ -4019,6 +4019,11 @@ declare class ContextHubBackend implements BackendProtocolV2 {
4019
4019
  client?: Client$1;
4020
4020
  });
4021
4021
  private static stripPrefix;
4022
+ /**
4023
+ * `filePath` relative to the glob root `root`, or `null` when it is outside
4024
+ * it. An exact file root yields the file's basename.
4025
+ */
4026
+ private static relativeToRoot;
4022
4027
  private static toHubUnavailableError;
4023
4028
  private fetchTree;
4024
4029
  private publishSnapshot;
@@ -4092,7 +4097,7 @@ declare class ContextHubBackend implements BackendProtocolV2 {
4092
4097
  read(filePath: string, offset?: number, limit?: number): Promise<ReadResult>;
4093
4098
  readRaw(filePath: string): Promise<ReadRawResult>;
4094
4099
  grep(pattern: string, path?: string | null, glob?: string | null, maxCount?: number | null): Promise<GrepResult>;
4095
- glob(pattern: string, _path?: string): Promise<GlobResult>;
4100
+ glob(pattern: string, path?: string): Promise<GlobResult>;
4096
4101
  write(filePath: string, content: string): Promise<WriteResult>;
4097
4102
  edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
4098
4103
  delete(filePath: string): Promise<DeleteResult>;
@@ -4706,4 +4711,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4706
4711
  }, 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>>;
4707
4712
  //#endregion
4708
4713
  export { scrubUnsupportedMultimodalContent as $, TASK_SYSTEM_PROMPT as $t, createSettings as A, SandboxInfo as An, SubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV2 as Bn, serializeProfile as Bt, listSkills as C, ReadRawResult as Cn, createPatchToolCallsMiddleware as Ct, filesValue as D, SandboxError as Dn, ForkedSubAgent as Dt, createAgentMemoryMiddleware as E, SandboxDeleteOptions as En, DEFAULT_SUBAGENT_PROMPT as Et, CreateDeepAgentParams as F, applyGrepMaxCount as Fn, registerHarnessProfile as Ft, InferSubagentByName as G, HarnessProfileOptions as Gt, InferDeepAgentType as H, SandboxBackendProtocolV1 as Hn, createHarnessProfile as Ht, DeepAgent as I, isSandboxBackend as In, HarnessProfileConfigData as It, ResolveDeepAgentTypeConfig as J, ConfigurationErrorCode as Jt, InferSubagentReactAgentType as K, REQUIRED_MIDDLEWARE_NAMES as Kt, DeepAgentTypeConfig as L, isSandboxProtocol as Ln, generalPurposeSubagentConfigSchema as Lt, DeepAgentRunStream as M, SandboxListResponse as Mn, createSubAgent as Mt, SubagentRunStream$1 as N, StateAndStore as Nn, createSubAgentMiddleware as Nt, Settings as O, SandboxErrorCode as On, GENERAL_PURPOSE_SUBAGENT as Ot, AnySubAgent as P, WriteResult as Pn, getHarnessProfile as Pt, multimodalBlockSupported as Q, SystemPromptConfig as Qt, DefaultDeepAgentTypeConfig as R, resolveBackend as Rn, harnessProfileConfigSchema as Rt, SkillMetadata as S, MaybePromise as Sn, StateBackend as St, AgentMemoryMiddlewareOptions as T, SandboxBackendProtocol as Tn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Tt, InferStructuredResponse as U, GeneralPurposeSubagentConfig as Ut, InferDeepAgentSubagents as V, BackendProtocolV1 as Vn, EMPTY_HARNESS_PROFILE as Vt, InferSubAgentMiddlewareStates as W, HarnessProfile as Wt, MULTIMODAL_BLOCK_TYPES as X, BASE_AGENT_PROMPT as Xt, SupportedResponseFormat as Y, ASYNC_TASK_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, EXECUTION_SYSTEM_PROMPT as Zt, StoreBackend as _, FileUploadResponse as _n, createSkillsMiddleware as _t, adaptBackendProtocol as a, PermissionMode as an, isAsyncSubAgent as at, StoreBackendOptions as b, GrepResult as bn, MemoryMiddlewareOptions as bt, LangSmithSandbox as c, BackendProtocol as cn, CompletionCallbackOptions as ct, BaseSandbox as d, EditResult as dn, MAX_SKILL_FILE_SIZE as dt, FilesystemMiddlewareOptions as en, AsyncSubAgent as et, LocalShellBackend as f, ExecuteResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, FileOperationError as gn, SkillsMiddlewareOptions as gt, CompositeBackend as h, FileInfo as hn, SkillToolResolver as ht, LangSmithStartSandboxOptions as i, FilesystemPermission as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, SandboxListOptions as jn, SubAgentMiddlewareOptions as jt, SettingsOptions as k, SandboxGetOrCreateOptions as kn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as kt, LangSmithSandboxCreateOptions as l, BackendRuntime as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileDownloadResponse as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, createFilesystemMiddleware as nn, AsyncTask as nt, adaptSandboxProtocol as o, AnyBackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileData as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ConfigurationError as qt, LangSmithSnapshot as r, FilesystemOperation as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendFactory as sn, createSummarizationMiddleware as st, createDeepAgent as t, FsToolName as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, DeleteResult as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GlobResult as vn, pinnedSkillsValue as vt, parseSkillMetadata as w, ReadResult as wn, CompiledSubAgent as wt, ListSkillsOptions as x, LsResult as xn, createMemoryMiddleware as xt, StoreBackendNamespaceFactory as y, GrepMatch as yn, skillsMetadataValue as yt, ExtractSubAgentMiddleware as z, BackendProtocolV2 as zn, parseHarnessProfileConfig as zt };
4709
- //# sourceMappingURL=agent-rhzpV1Ew.d.ts.map
4714
+ //# sourceMappingURL=agent-uMkCMHJp.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-DMOexB11.cjs");
2
+ const require_langsmith = require("./langsmith-IOLMJEwi.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 { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-FG1QOMBi.cjs";
1
+ import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-CYPLa3Vi.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 SkillToolResolver, 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, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-rhzpV1Ew.js";
1
+ import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-uMkCMHJp.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 SkillToolResolver, 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, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
package/dist/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, V as CompositeBackend, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-v_uskil7.js";
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, V as CompositeBackend, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-C-EMyQJ_.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, pinnedSkillsValue, 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-DMOexB11.cjs");
3
- const require_src = require("./src-L1errMkM.cjs");
2
+ const require_langsmith = require("./langsmith-IOLMJEwi.cjs");
3
+ const require_src = require("./src-a_7jVcCL.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 scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-FG1QOMBi.cjs";
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-CYPLa3Vi.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, MULTIMODAL_BLOCK_TYPES, 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 SkillToolResolver, 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, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-rhzpV1Ew.js";
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-uMkCMHJp.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, MULTIMODAL_BLOCK_TYPES, 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 SkillToolResolver, 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, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as scrubUnsupportedMultimodalContent, H as MULTIMODAL_BLOCK_TYPES, I as createSubAgent, J as applyGrepMaxCount, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as createUnsupportedContentMiddleware, V as CompositeBackend, W as multimodalBlockSupported, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, rt as normalizeReadPagination, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-v_uskil7.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-DksURH8I.js";
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as scrubUnsupportedMultimodalContent, H as MULTIMODAL_BLOCK_TYPES, I as createSubAgent, J as applyGrepMaxCount, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as createUnsupportedContentMiddleware, V as CompositeBackend, W as multimodalBlockSupported, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, rt as normalizeReadPagination, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-C-EMyQJ_.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-BTEsBZdJ.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, MULTIMODAL_BLOCK_TYPES, 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, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
@@ -8785,6 +8785,15 @@ var ContextHubBackend = class ContextHubBackend {
8785
8785
  static stripPrefix(path) {
8786
8786
  return path.replace(/^\/+/, "");
8787
8787
  }
8788
+ /**
8789
+ * `filePath` relative to the glob root `root`, or `null` when it is outside
8790
+ * it. An exact file root yields the file's basename.
8791
+ */
8792
+ static relativeToRoot(filePath, root) {
8793
+ if (!root) return filePath;
8794
+ if (filePath === root) return filePath.slice(filePath.lastIndexOf("/") + 1);
8795
+ return filePath.startsWith(`${root}/`) ? filePath.slice(root.length + 1) : null;
8796
+ }
8788
8797
  static toHubUnavailableError(error) {
8789
8798
  return `Hub unavailable: ${getErrorMessage(error)}`;
8790
8799
  }
@@ -9230,7 +9239,8 @@ var ContextHubBackend = class ContextHubBackend {
9230
9239
  maxCount
9231
9240
  });
9232
9241
  }
9233
- async glob(pattern, _path = "/") {
9242
+ async glob(pattern, path = "/") {
9243
+ const root = trimTrailingSlashes(ContextHubBackend.stripPrefix(path));
9234
9244
  let cache;
9235
9245
  try {
9236
9246
  cache = await this.ensureCache();
@@ -9238,11 +9248,15 @@ var ContextHubBackend = class ContextHubBackend {
9238
9248
  if (isLangSmithError(error)) return { error: ContextHubBackend.toHubUnavailableError(error) };
9239
9249
  throw error;
9240
9250
  }
9251
+ const isMatch = (candidate) => micromatch.isMatch(`/${candidate}`, pattern, FNMATCH_OPTIONS) || micromatch.isMatch(candidate, pattern, FNMATCH_OPTIONS);
9241
9252
  const files = [];
9242
- for (const filePath of Object.keys(cache)) if (micromatch.isMatch(`/${filePath}`, pattern, FNMATCH_OPTIONS) || micromatch.isMatch(filePath, pattern, FNMATCH_OPTIONS)) files.push({
9243
- path: `/${filePath}`,
9244
- is_dir: false
9245
- });
9253
+ for (const filePath of Object.keys(cache)) {
9254
+ const relative = ContextHubBackend.relativeToRoot(filePath, root);
9255
+ if (relative !== null && (isMatch(relative) || isMatch(filePath))) files.push({
9256
+ path: `/${filePath}`,
9257
+ is_dir: false
9258
+ });
9259
+ }
9246
9260
  return { files };
9247
9261
  }
9248
9262
  async write(filePath, content) {
@@ -10089,4 +10103,4 @@ var LangSmithSandbox = class LangSmithSandbox extends BaseSandbox {
10089
10103
  //#endregion
10090
10104
  export { adaptSandboxProtocol as $, filesValue as A, createFilesystemMiddleware as B, MAX_SKILL_FILE_SIZE as C, skillsMetadataValue as D, pinnedSkillsValue as E, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as F, scrubUnsupportedMultimodalContent as G, MULTIMODAL_BLOCK_TYPES as H, createSubAgent as I, applyGrepMaxCount as J, StateBackend as K, createSubAgentMiddleware as L, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as M, DEFAULT_SUBAGENT_PROMPT as N, ConfigurationError as O, GENERAL_PURPOSE_SUBAGENT as P, adaptBackendProtocol as Q, computeSummarizationDefaults as R, MAX_SKILL_DESCRIPTION_LENGTH as S, createSkillsMiddleware as T, createUnsupportedContentMiddleware as U, CompositeBackend as V, multimodalBlockSupported as W, isSandboxProtocol as X, isSandboxBackend as Y, resolveBackend as Z, createHarnessProfile as _, ASYNC_TASK_SYSTEM_PROMPT as a, setRealpath as at, isAsyncSubAgent as b, TASK_SYSTEM_PROMPT as c, registerHarnessProfile as d, checkEmptyContent as et, generalPurposeSubagentConfigSchema as f, EMPTY_HARNESS_PROFILE as g, serializeProfile as h, StoreBackend as i, performStringReplacement as it, createPatchToolCallsMiddleware as j, createMemoryMiddleware as k, createDeepAgent as l, parseHarnessProfileConfig as m, BaseSandbox as n, isTextMimeType as nt, BASE_AGENT_PROMPT as o, harnessProfileConfigSchema as p, SandboxError as q, ContextHubBackend as r, normalizeReadPagination as rt, EXECUTION_SYSTEM_PROMPT as s, LangSmithSandbox as t, getMimeType as tt, getHarnessProfile as u, REQUIRED_MIDDLEWARE_NAMES as v, MAX_SKILL_NAME_LENGTH as w, createCompletionCallbackMiddleware as x, createAsyncSubAgentMiddleware as y, createSummarizationMiddleware as z };
10091
10105
 
10092
- //# sourceMappingURL=langsmith-v_uskil7.js.map
10106
+ //# sourceMappingURL=langsmith-C-EMyQJ_.js.map