deepagents 1.10.4 → 1.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/node.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-D-SD2NFy.cjs");
3
- const require_src = require("./src-CZWQ_Lxm.cjs");
2
+ const require_langsmith = require("./langsmith-ZfNZ_Pyb.cjs");
3
+ const require_src = require("./src-plSII1Kf.cjs");
4
4
  exports.BaseSandbox = require_langsmith.BaseSandbox;
5
5
  exports.CompositeBackend = require_langsmith.CompositeBackend;
6
6
  exports.ConfigurationError = require_langsmith.ConfigurationError;
@@ -36,7 +36,6 @@ exports.createSettings = require_src.createSettings;
36
36
  exports.createSkillsMiddleware = require_langsmith.createSkillsMiddleware;
37
37
  exports.createSubAgent = require_langsmith.createSubAgent;
38
38
  exports.createSubAgentMiddleware = require_langsmith.createSubAgentMiddleware;
39
- exports.createSubagentTransformer = require_langsmith.createSubagentTransformer;
40
39
  exports.createSummarizationMiddleware = require_langsmith.createSummarizationMiddleware;
41
40
  exports.filesValue = require_langsmith.filesValue;
42
41
  exports.findProjectRoot = require_src.findProjectRoot;
package/dist/node.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as FileDownloadResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as resolveBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as isSandboxBackend, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, r as LangSmithSnapshot, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as SandboxBackendProtocolV2, wt as createSubAgent, x as SkillMetadata, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-DNSq5NSK.cjs";
2
- export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, 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, EMPTY_HARNESS_PROFILE, 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, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
1
+ import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, A as findProjectRoot, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, C as parseSkillMetadata, Cn as SandboxBackendProtocolV2, Ct as createSubAgent, D as Settings, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, O as SettingsOptions, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, T as createAgentMemoryMiddleware, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxListOptions, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, k as createSettings, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, r as LangSmithSnapshot, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as BackendProtocolV1, wt as createSubAgentMiddleware, x as SkillMetadata, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-2caqZpg2.cjs";
2
+ export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, 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, EMPTY_HARNESS_PROFILE, 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, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AsyncTaskStatus, $t as FileDownloadResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as BackendProtocolV2, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV1, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as PermissionMode, H as InferDeepAgentType, Ht as createFilesystemMiddleware, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as BackendProtocol, K as InferSubagentReactAgentType, Kt as AnyBackendProtocol, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as createSubagentTransformer, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, Ot as HarnessProfileConfigData, P as AnySubAgent, Pt as createHarnessProfile, Q as AsyncTask, Qt as FileData, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as resolveBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV1, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as FilesystemOperation, V as InferDeepAgentSubagents, Vt as FilesystemMiddlewareOptions, W as InferSubAgentMiddlewareStates, Wt as FilesystemPermission, X as AsyncSubAgent, Xt as EditResult, Y as SupportedResponseFormat, Yt as BackendRuntime, Z as AsyncSubAgentMiddlewareOptions, Zt as ExecuteResponse, _ as StoreBackendContext, _n as SandboxListResponse, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GrepResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as isSandboxBackend, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as ReadRawResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as SandboxDeleteOptions, dt as createSkillsMiddleware, en as FileInfo, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxError, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxListOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxInfo, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as GrepMatch, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as ReadResult, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxGetOrCreateOptions, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileUploadResponse, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as LsResult, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxErrorCode, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as BackendFactory, r as LangSmithSnapshot, rn as GlobResult, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as MaybePromise, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileOperationError, tt as isAsyncSubAgent, u as BaseSandbox, un as SandboxBackendProtocol, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as StateAndStore, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as SandboxBackendProtocolV2, wt as createSubAgent, x as SkillMetadata, xn as isSandboxProtocol, xt as SubAgent, y as StoreBackendOptions, yn as WriteResult, yt as GENERAL_PURPOSE_SUBAGENT, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-taGqnaXM.js";
2
- export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, 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, EMPTY_HARNESS_PROFILE, 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, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
1
+ import { $ as createAsyncSubAgentMiddleware, $t as FileInfo, A as findProjectRoot, At as parseHarnessProfileConfig, B as InferDeepAgentSubagents, Bt as FilesystemMiddlewareOptions, C as parseSkillMetadata, Cn as SandboxBackendProtocolV2, Ct as createSubAgent, D as Settings, Dt as HarnessProfileConfigData, E as filesValue, Et as registerHarnessProfile, F as DeepAgent, Ft as HarnessProfile, G as InferSubagentReactAgentType, Gt as AnyBackendProtocol, H as InferStructuredResponse, Ht as FilesystemOperation, I as DeepAgentTypeConfig, It as HarnessProfileOptions, J as SupportedResponseFormat, Jt as BackendRuntime, K as MergedDeepAgentState, Kt as BackendFactory, L as DefaultDeepAgentTypeConfig, Lt as REQUIRED_MIDDLEWARE_NAMES, M as SubagentRunStream, Mt as EMPTY_HARNESS_PROFILE, N as AnySubAgent, Nt as createHarnessProfile, O as SettingsOptions, Ot as generalPurposeSubagentConfigSchema, P as CreateDeepAgentParams, Pt as GeneralPurposeSubagentConfig, Q as AsyncTaskStatus, Qt as FileDownloadResponse, R as ExtractSubAgentMiddleware, Rt as ConfigurationError, S as listSkills, Sn as BackendProtocolV2, St as TASK_SYSTEM_PROMPT, T as createAgentMemoryMiddleware, Tn as SandboxBackendProtocolV1, Tt as getHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as FilesystemPermission, V as InferDeepAgentType, Vt as createFilesystemMiddleware, W as InferSubagentByName, Wt as PermissionMode, X as AsyncSubAgentMiddlewareOptions, Xt as ExecuteResponse, Y as AsyncSubAgent, Yt as EditResult, Z as AsyncTask, Zt as FileData, _ as StoreBackendContext, _n as StateAndStore, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as LsResult, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as isSandboxProtocol, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as ReadResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as SandboxError, dt as MemoryMiddlewareOptions, en as FileOperationError, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as SandboxErrorCode, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxListResponse, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxListOptions, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as GrepResult, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jt as serializeProfile, k as createSettings, kt as harnessProfileConfigSchema, l as LangSmithSandboxOptions, ln as SandboxBackendProtocol, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as SandboxInfo, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as GlobResult, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as MaybePromise, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as SandboxGetOrCreateOptions, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as BackendProtocol, r as LangSmithSnapshot, rn as GrepMatch, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as ReadRawResult, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as FileUploadResponse, tt as computeSummarizationDefaults, u as BaseSandbox, un as SandboxDeleteOptions, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as WriteResult, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as BackendProtocolV1, wt as createSubAgentMiddleware, x as SkillMetadata, xn as resolveBackend, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as isSandboxBackend, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ConfigurationErrorCode } from "./agent-DURA4_mf.js";
2
+ export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, 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, EMPTY_HARNESS_PROFILE, 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, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/node.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as DEFAULT_SUBAGENT_PROMPT, B as isSandboxBackend, C as MAX_SKILL_FILE_SIZE, D as filesValue, E as createMemoryMiddleware, F as createSubAgentMiddleware, H as resolveBackend, I as createFilesystemMiddleware, L as CompositeBackend, M as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, N as TASK_SYSTEM_PROMPT, O as createPatchToolCallsMiddleware, P as createSubAgent, R as StateBackend, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as adaptBackendProtocol, V as isSandboxProtocol, W as adaptSandboxProtocol, _ as createAsyncSubAgentMiddleware, a as createDeepAgent, b as createSummarizationMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as ConfigurationError, h as createSubagentTransformer, i as StoreBackend, j as GENERAL_PURPOSE_SUBAGENT, k as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as isAsyncSubAgent, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as computeSummarizationDefaults, z as SandboxError } from "./langsmith-agEHKB-W.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-i9LWYTHF.js";
3
- export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, 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, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
1
+ import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, N as createSubAgent, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, j as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-wdF8zG42.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-DybKvM4T.js";
3
+ export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, 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, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
@@ -1,4 +1,4 @@
1
- import { G as checkEmptyContent, J as performStringReplacement, K as getMimeType, q as isTextMimeType, z as SandboxError } from "./langsmith-agEHKB-W.js";
1
+ import { G as getMimeType, K as isTextMimeType, R as SandboxError, W as checkEmptyContent, q as performStringReplacement } from "./langsmith-wdF8zG42.js";
2
2
  import { createMiddleware } from "langchain";
3
3
  import micromatch from "micromatch";
4
4
  import { z } from "zod";
@@ -1166,7 +1166,7 @@ var LocalShellBackend = class LocalShellBackend extends FilesystemBackend {
1166
1166
  });
1167
1167
  this.#timeout = timeout;
1168
1168
  this.#maxOutputBytes = maxOutputBytes;
1169
- const bytes = new Uint8Array(4);
1169
+ const bytes = /* @__PURE__ */ new Uint8Array(4);
1170
1170
  crypto.getRandomValues(bytes);
1171
1171
  this.#sandboxId = `local-${[...bytes].map((b) => b.toString(16).padStart(2, "0")).join("")}`;
1172
1172
  if (inheritEnv) {
@@ -1399,4 +1399,4 @@ var LocalShellBackend = class LocalShellBackend extends FilesystemBackend {
1399
1399
  //#endregion
1400
1400
  export { createAgentMemoryMiddleware as a, parseSkillMetadata as i, FilesystemBackend as n, createSettings as o, listSkills as r, findProjectRoot as s, LocalShellBackend as t };
1401
1401
 
1402
- //# sourceMappingURL=src-i9LWYTHF.js.map
1402
+ //# sourceMappingURL=src-DybKvM4T.js.map