deepagents 1.12.2 → 1.12.4

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.
@@ -938,17 +938,24 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
938
938
  pattern: z.ZodString;
939
939
  path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
940
940
  glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
941
- max_count: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
941
+ max_count: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
942
+ output_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
943
+ content: "content";
944
+ count: "count";
945
+ files_with_matches: "files_with_matches";
946
+ }>>>;
942
947
  }, z.core.$strip>, {
943
948
  pattern: string;
944
949
  path: string;
945
950
  glob: string | null;
946
951
  max_count: number | null;
952
+ output_mode: "content" | "count" | "files_with_matches";
947
953
  }, {
948
954
  pattern: string;
949
955
  path?: string | undefined;
950
956
  glob?: string | null | undefined;
951
- max_count?: number | null | undefined;
957
+ max_count?: unknown;
958
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
952
959
  }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
953
960
  command: z.ZodString;
954
961
  }, z.core.$strip>, {
@@ -2149,8 +2156,8 @@ interface SummarizationMiddlewareOptions {
2149
2156
  */
2150
2157
  summaryPrompt?: string;
2151
2158
  /**
2152
- * Max tokens to include when generating summary.
2153
- * Defaults to 4000.
2159
+ * Max tokens to include when generating a summary.
2160
+ * If omitted, the complete selected conversation is provided to the summarizer.
2154
2161
  */
2155
2162
  trimTokensToSummarize?: number;
2156
2163
  /**
@@ -3546,20 +3553,107 @@ declare class CompositeBackend implements BackendProtocolV2 {
3546
3553
  /**
3547
3554
  * Backend that stores files in a LangSmith Hub agent repo (persistent).
3548
3555
  */
3556
+ /**
3557
+ * Backend that stores files in a LangSmith Hub agent repository.
3558
+ *
3559
+ * ## Mutation model
3560
+ *
3561
+ * Mutations are accepted in call order, coalesced for a short window, and
3562
+ * pushed by one worker. Only one batch is in flight at a time; mutations that
3563
+ * arrive during a push form the next batch. This serializes one backend
3564
+ * instance's writes while still reducing the number of Hub commits.
3565
+ *
3566
+ * Reads use an optimistic view: the last durable cache overlaid with the
3567
+ * in-flight batch and then the pending batch. A read can therefore observe an
3568
+ * accepted mutation before it is durable; a failed push invalidates that view
3569
+ * and the next operation reloads from Hub.
3570
+ *
3571
+ * A `409` parent conflict triggers an authoritative pull and rematerializes
3572
+ * the in-flight batch over the fetched tree before retrying. Edits replay their
3573
+ * original replacement intent; absolute writes, deletes, and uploads replay as
3574
+ * absolute changes. Retries are bounded by `MAX_CONFLICT_RETRIES`.
3575
+ */
3549
3576
  declare class ContextHubBackend implements BackendProtocolV2 {
3550
3577
  private identifier;
3551
3578
  private client;
3579
+ /** Last durable Hub file state; `null` means the next access must load it. */
3552
3580
  private cache;
3553
3581
  private linkedEntries;
3582
+ /** Parent hash for the durable cache, used for optimistic-concurrency pushes. */
3554
3583
  private commitHash;
3584
+ /** Shared cold-load promise so concurrent first operations perform one pull. */
3585
+ private loadPromise;
3586
+ /** Promise chain serializing mutation acceptance and optimistic projections. */
3587
+ private mutationOrder;
3588
+ /** Mutations accepted for the next coalesced push. */
3589
+ private pendingBatch;
3590
+ /** The batch currently submitted to Hub and visible to optimistic reads. */
3591
+ private inFlightBatch;
3592
+ /** The single queue-draining worker, when active. */
3593
+ private workerPromise;
3594
+ /**
3595
+ * Blocks cache consumers while a successful push without a parseable commit
3596
+ * hash is being confirmed by an authoritative pull.
3597
+ */
3598
+ private snapshotPublication;
3555
3599
  constructor(identifier: string, options?: {
3556
3600
  client?: Client$1;
3557
3601
  });
3558
3602
  private static stripPrefix;
3559
3603
  private static toHubUnavailableError;
3604
+ private fetchTree;
3605
+ private publishSnapshot;
3560
3606
  private loadTree;
3607
+ private beginSnapshotPublication;
3608
+ private finishSnapshotPublication;
3609
+ private ensureCacheLoaded;
3561
3610
  private ensureCache;
3562
- private commit;
3611
+ private static applyChanges;
3612
+ /**
3613
+ * Build the read-your-writes view without publishing speculative data as the
3614
+ * durable cache. Later batches overlay earlier ones, matching worker order.
3615
+ */
3616
+ private visibleCache;
3617
+ private invalidateCache;
3618
+ private acquireMutationTurn;
3619
+ /**
3620
+ * Serialize validation and enqueueing so each operation is evaluated against
3621
+ * a stable optimistic projection. Cache loading begins before acquiring the
3622
+ * turn, allowing concurrent cold-start callers to share the same pull.
3623
+ */
3624
+ private acceptMutation;
3625
+ /**
3626
+ * Start a batch's coalescing window. The worker waits for this signal before
3627
+ * detaching the batch; cancellation resolves it immediately so failures do
3628
+ * not leave the worker waiting on a timer.
3629
+ */
3630
+ private createMutationBatch;
3631
+ private cancelBatchTimer;
3632
+ private enqueueCommit;
3633
+ /**
3634
+ * Replay ordered intents over an authoritative base after a conflict. This
3635
+ * rebuilds the push payload and optimistic overlay. An edit that no longer
3636
+ * applies throws the supplied conflict error; absolute changes are reapplied.
3637
+ */
3638
+ private rematerializeBatch;
3639
+ private rematerializeAfterConflict;
3640
+ private rematerializePendingBatch;
3641
+ private startWorker;
3642
+ /**
3643
+ * Drain coalesced batches sequentially. A completed batch publishes durable
3644
+ * state before settling its callers; a failed batch invalidates local state
3645
+ * and rejects both in-flight and queued callers so the next mutation reloads.
3646
+ */
3647
+ private drainMutationQueue;
3648
+ private failPendingBatch;
3649
+ private failAllBatches;
3650
+ /**
3651
+ * Push a materialized batch with the durable commit as its parent. On a 409,
3652
+ * refresh Hub state, replay the batch, and retry with the new parent. A push
3653
+ * response without a trustworthy hash is confirmed by a pull before callers
3654
+ * are allowed to observe it as durable.
3655
+ */
3656
+ private pushBatch;
3563
3657
  /**
3564
3658
  * Return linked-entry paths mapped to their repo handles.
3565
3659
  */
@@ -4076,17 +4170,24 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4076
4170
  pattern: import("zod").ZodString;
4077
4171
  path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
4078
4172
  glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
4079
- max_count: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>>;
4173
+ max_count: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>>;
4174
+ output_mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
4175
+ content: "content";
4176
+ count: "count";
4177
+ files_with_matches: "files_with_matches";
4178
+ }>>>;
4080
4179
  }, import("zod/v4/core").$strip>, {
4081
4180
  pattern: string;
4082
4181
  path: string;
4083
4182
  glob: string | null;
4084
4183
  max_count: number | null;
4184
+ output_mode: "content" | "count" | "files_with_matches";
4085
4185
  }, {
4086
4186
  pattern: string;
4087
4187
  path?: string | undefined;
4088
4188
  glob?: string | null | undefined;
4089
- max_count?: number | null | undefined;
4189
+ max_count?: unknown;
4190
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
4090
4191
  }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
4091
4192
  command: import("zod").ZodString;
4092
4193
  }, import("zod/v4/core").$strip>, {
@@ -4149,4 +4250,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4149
4250
  }, 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>>;
4150
4251
  //#endregion
4151
4252
  export { createAsyncSubAgentMiddleware as $, BackendRuntime as $t, findProjectRoot as A, SandboxBackendProtocolV2 as An, serializeProfile as At, InferDeepAgentSubagents as B, BASE_AGENT_PROMPT as Bt, parseSkillMetadata as C, StateAndStore as Cn, createSubAgentMiddleware as Ct, Settings as D, isSandboxProtocol as Dn, generalPurposeSubagentConfigSchema as Dt, filesValue as E, isSandboxBackend as En, HarnessProfileConfigData as Et, DeepAgent as F, HarnessProfileOptions as Ft, InferSubagentReactAgentType as G, FsToolName as Gt, InferStructuredResponse as H, SystemPromptConfig as Ht, DeepAgentTypeConfig as I, REQUIRED_MIDDLEWARE_NAMES as It, SupportedResponseFormat as J, FilesystemPermission as Jt, MergedDeepAgentState as K, createFilesystemMiddleware as Kt, DefaultDeepAgentTypeConfig as L, ConfigurationError as Lt, SubagentRunStream$1 as M, SandboxBackendProtocolV1 as Mn, createHarnessProfile as Mt, AnySubAgent as N, GeneralPurposeSubagentConfig as Nt, SettingsOptions as O, resolveBackend as On, harnessProfileConfigSchema as Ot, CreateDeepAgentParams as P, HarnessProfile as Pt, AsyncTaskStatus as Q, BackendProtocol as Qt, ExtractSubAgentMiddleware as R, ConfigurationErrorCode as Rt, listSkills as S, SandboxListResponse as Sn, createSubAgent as St, createAgentMemoryMiddleware as T, applyGrepMaxCount as Tn, registerHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, TASK_SYSTEM_PROMPT as Ut, InferDeepAgentType as V, EXECUTION_SYSTEM_PROMPT as Vt, InferSubagentByName as W, FilesystemMiddlewareOptions as Wt, AsyncSubAgentMiddlewareOptions as X, AnyBackendProtocol as Xt, AsyncSubAgent as Y, PermissionMode as Yt, AsyncTask as Z, BackendFactory as Zt, StoreBackendContext as _, SandboxError as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, FileInfo as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, SandboxInfo as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, GlobResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, LsResult as dn, MemoryMiddlewareOptions as dt, DeleteResult as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, MaybePromise as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxDeleteOptions as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxBackendProtocol as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, FileDownloadResponse as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, BackendProtocolV1 as jn, EMPTY_HARNESS_PROFILE as jt, createSettings as k, BackendProtocolV2 as kn, parseHarnessProfileConfig as kt, LangSmithSandboxOptions as l, GrepMatch as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, ReadResult as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, ExecuteResponse as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, FileOperationError as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, ReadRawResult as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, FilesystemOperation as qt, LangSmithSnapshot as r, FileData as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, FileUploadResponse as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, EditResult as tn, computeSummarizationDefaults as tt, BaseSandbox as u, GrepResult as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, SandboxErrorCode as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, WriteResult as wn, getHarnessProfile as wt, SkillMetadata as x, SandboxListOptions as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, SandboxGetOrCreateOptions as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ASYNC_TASK_SYSTEM_PROMPT as zt };
4152
- //# sourceMappingURL=agent-pS9QvkWZ.d.ts.map
4253
+ //# sourceMappingURL=agent-BNyBUA4W.d.ts.map
@@ -938,17 +938,24 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
938
938
  pattern: z.ZodString;
939
939
  path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
940
940
  glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
941
- max_count: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
941
+ max_count: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>>;
942
+ output_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
943
+ content: "content";
944
+ count: "count";
945
+ files_with_matches: "files_with_matches";
946
+ }>>>;
942
947
  }, z.core.$strip>, {
943
948
  pattern: string;
944
949
  path: string;
945
950
  glob: string | null;
946
951
  max_count: number | null;
952
+ output_mode: "content" | "count" | "files_with_matches";
947
953
  }, {
948
954
  pattern: string;
949
955
  path?: string | undefined;
950
956
  glob?: string | null | undefined;
951
- max_count?: number | null | undefined;
957
+ max_count?: unknown;
958
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
952
959
  }, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
953
960
  command: z.ZodString;
954
961
  }, z.core.$strip>, {
@@ -2149,8 +2156,8 @@ interface SummarizationMiddlewareOptions {
2149
2156
  */
2150
2157
  summaryPrompt?: string;
2151
2158
  /**
2152
- * Max tokens to include when generating summary.
2153
- * Defaults to 4000.
2159
+ * Max tokens to include when generating a summary.
2160
+ * If omitted, the complete selected conversation is provided to the summarizer.
2154
2161
  */
2155
2162
  trimTokensToSummarize?: number;
2156
2163
  /**
@@ -3546,20 +3553,107 @@ declare class CompositeBackend implements BackendProtocolV2 {
3546
3553
  /**
3547
3554
  * Backend that stores files in a LangSmith Hub agent repo (persistent).
3548
3555
  */
3556
+ /**
3557
+ * Backend that stores files in a LangSmith Hub agent repository.
3558
+ *
3559
+ * ## Mutation model
3560
+ *
3561
+ * Mutations are accepted in call order, coalesced for a short window, and
3562
+ * pushed by one worker. Only one batch is in flight at a time; mutations that
3563
+ * arrive during a push form the next batch. This serializes one backend
3564
+ * instance's writes while still reducing the number of Hub commits.
3565
+ *
3566
+ * Reads use an optimistic view: the last durable cache overlaid with the
3567
+ * in-flight batch and then the pending batch. A read can therefore observe an
3568
+ * accepted mutation before it is durable; a failed push invalidates that view
3569
+ * and the next operation reloads from Hub.
3570
+ *
3571
+ * A `409` parent conflict triggers an authoritative pull and rematerializes
3572
+ * the in-flight batch over the fetched tree before retrying. Edits replay their
3573
+ * original replacement intent; absolute writes, deletes, and uploads replay as
3574
+ * absolute changes. Retries are bounded by `MAX_CONFLICT_RETRIES`.
3575
+ */
3549
3576
  declare class ContextHubBackend implements BackendProtocolV2 {
3550
3577
  private identifier;
3551
3578
  private client;
3579
+ /** Last durable Hub file state; `null` means the next access must load it. */
3552
3580
  private cache;
3553
3581
  private linkedEntries;
3582
+ /** Parent hash for the durable cache, used for optimistic-concurrency pushes. */
3554
3583
  private commitHash;
3584
+ /** Shared cold-load promise so concurrent first operations perform one pull. */
3585
+ private loadPromise;
3586
+ /** Promise chain serializing mutation acceptance and optimistic projections. */
3587
+ private mutationOrder;
3588
+ /** Mutations accepted for the next coalesced push. */
3589
+ private pendingBatch;
3590
+ /** The batch currently submitted to Hub and visible to optimistic reads. */
3591
+ private inFlightBatch;
3592
+ /** The single queue-draining worker, when active. */
3593
+ private workerPromise;
3594
+ /**
3595
+ * Blocks cache consumers while a successful push without a parseable commit
3596
+ * hash is being confirmed by an authoritative pull.
3597
+ */
3598
+ private snapshotPublication;
3555
3599
  constructor(identifier: string, options?: {
3556
3600
  client?: Client;
3557
3601
  });
3558
3602
  private static stripPrefix;
3559
3603
  private static toHubUnavailableError;
3604
+ private fetchTree;
3605
+ private publishSnapshot;
3560
3606
  private loadTree;
3607
+ private beginSnapshotPublication;
3608
+ private finishSnapshotPublication;
3609
+ private ensureCacheLoaded;
3561
3610
  private ensureCache;
3562
- private commit;
3611
+ private static applyChanges;
3612
+ /**
3613
+ * Build the read-your-writes view without publishing speculative data as the
3614
+ * durable cache. Later batches overlay earlier ones, matching worker order.
3615
+ */
3616
+ private visibleCache;
3617
+ private invalidateCache;
3618
+ private acquireMutationTurn;
3619
+ /**
3620
+ * Serialize validation and enqueueing so each operation is evaluated against
3621
+ * a stable optimistic projection. Cache loading begins before acquiring the
3622
+ * turn, allowing concurrent cold-start callers to share the same pull.
3623
+ */
3624
+ private acceptMutation;
3625
+ /**
3626
+ * Start a batch's coalescing window. The worker waits for this signal before
3627
+ * detaching the batch; cancellation resolves it immediately so failures do
3628
+ * not leave the worker waiting on a timer.
3629
+ */
3630
+ private createMutationBatch;
3631
+ private cancelBatchTimer;
3632
+ private enqueueCommit;
3633
+ /**
3634
+ * Replay ordered intents over an authoritative base after a conflict. This
3635
+ * rebuilds the push payload and optimistic overlay. An edit that no longer
3636
+ * applies throws the supplied conflict error; absolute changes are reapplied.
3637
+ */
3638
+ private rematerializeBatch;
3639
+ private rematerializeAfterConflict;
3640
+ private rematerializePendingBatch;
3641
+ private startWorker;
3642
+ /**
3643
+ * Drain coalesced batches sequentially. A completed batch publishes durable
3644
+ * state before settling its callers; a failed batch invalidates local state
3645
+ * and rejects both in-flight and queued callers so the next mutation reloads.
3646
+ */
3647
+ private drainMutationQueue;
3648
+ private failPendingBatch;
3649
+ private failAllBatches;
3650
+ /**
3651
+ * Push a materialized batch with the durable commit as its parent. On a 409,
3652
+ * refresh Hub state, replay the batch, and retry with the new parent. A push
3653
+ * response without a trustworthy hash is confirmed by a pull before callers
3654
+ * are allowed to observe it as durable.
3655
+ */
3656
+ private pushBatch;
3563
3657
  /**
3564
3658
  * Return linked-entry paths mapped to their repo handles.
3565
3659
  */
@@ -4076,17 +4170,24 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4076
4170
  pattern: import("zod").ZodString;
4077
4171
  path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
4078
4172
  glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
4079
- max_count: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>>;
4173
+ max_count: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>>;
4174
+ output_mode: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
4175
+ content: "content";
4176
+ count: "count";
4177
+ files_with_matches: "files_with_matches";
4178
+ }>>>;
4080
4179
  }, import("zod/v4/core").$strip>, {
4081
4180
  pattern: string;
4082
4181
  path: string;
4083
4182
  glob: string | null;
4084
4183
  max_count: number | null;
4184
+ output_mode: "content" | "count" | "files_with_matches";
4085
4185
  }, {
4086
4186
  pattern: string;
4087
4187
  path?: string | undefined;
4088
4188
  glob?: string | null | undefined;
4089
- max_count?: number | null | undefined;
4189
+ max_count?: unknown;
4190
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
4090
4191
  }, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
4091
4192
  command: import("zod").ZodString;
4092
4193
  }, import("zod/v4/core").$strip>, {
@@ -4149,4 +4250,4 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4149
4250
  }, 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>>;
4150
4251
  //#endregion
4151
4252
  export { createAsyncSubAgentMiddleware as $, BackendRuntime as $t, findProjectRoot as A, SandboxBackendProtocolV2 as An, serializeProfile as At, InferDeepAgentSubagents as B, BASE_AGENT_PROMPT as Bt, parseSkillMetadata as C, StateAndStore as Cn, createSubAgentMiddleware as Ct, Settings as D, isSandboxProtocol as Dn, generalPurposeSubagentConfigSchema as Dt, filesValue as E, isSandboxBackend as En, HarnessProfileConfigData as Et, DeepAgent as F, HarnessProfileOptions as Ft, InferSubagentReactAgentType as G, FsToolName as Gt, InferStructuredResponse as H, SystemPromptConfig as Ht, DeepAgentTypeConfig as I, REQUIRED_MIDDLEWARE_NAMES as It, SupportedResponseFormat as J, FilesystemPermission as Jt, MergedDeepAgentState as K, createFilesystemMiddleware as Kt, DefaultDeepAgentTypeConfig as L, ConfigurationError as Lt, SubagentRunStream$1 as M, SandboxBackendProtocolV1 as Mn, createHarnessProfile as Mt, AnySubAgent as N, GeneralPurposeSubagentConfig as Nt, SettingsOptions as O, resolveBackend as On, harnessProfileConfigSchema as Ot, CreateDeepAgentParams as P, HarnessProfile as Pt, AsyncTaskStatus as Q, BackendProtocol as Qt, ExtractSubAgentMiddleware as R, ConfigurationErrorCode as Rt, listSkills as S, SandboxListResponse as Sn, createSubAgent as St, createAgentMemoryMiddleware as T, applyGrepMaxCount as Tn, registerHarnessProfile as Tt, InferSubAgentMiddlewareStates as U, TASK_SYSTEM_PROMPT as Ut, InferDeepAgentType as V, EXECUTION_SYSTEM_PROMPT as Vt, InferSubagentByName as W, FilesystemMiddlewareOptions as Wt, AsyncSubAgentMiddlewareOptions as X, AnyBackendProtocol as Xt, AsyncSubAgent as Y, PermissionMode as Yt, AsyncTask as Z, BackendFactory as Zt, StoreBackendContext as _, SandboxError as _n, DEFAULT_SUBAGENT_PROMPT as _t, adaptBackendProtocol as a, FileInfo as an, MAX_SKILL_DESCRIPTION_LENGTH as at, ListSkillsOptions as b, SandboxInfo as bn, SubAgent as bt, LangSmithSandboxCreateOptions as c, GlobResult as cn, SkillMetadata$1 as ct, LocalShellBackend as d, LsResult as dn, MemoryMiddlewareOptions as dt, DeleteResult as en, isAsyncSubAgent as et, LocalShellBackendOptions as f, MaybePromise as fn, createMemoryMiddleware as ft, StoreBackend as g, SandboxDeleteOptions as gn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as gt, FilesystemBackend as h, SandboxBackendProtocol as hn, CompiledSubAgent as ht, LangSmithStartSandboxOptions as i, FileDownloadResponse as in, createCompletionCallbackMiddleware as it, DeepAgentRunStream as j, BackendProtocolV1 as jn, EMPTY_HARNESS_PROFILE as jt, createSettings as k, BackendProtocolV2 as kn, parseHarnessProfileConfig as kt, LangSmithSandboxOptions as l, GrepMatch as ln, SkillsMiddlewareOptions as lt, CompositeBackend as m, ReadResult as mn, createPatchToolCallsMiddleware as mt, LangSmithCaptureSnapshotOptions as n, ExecuteResponse as nn, createSummarizationMiddleware as nt, adaptSandboxProtocol as o, FileOperationError as on, MAX_SKILL_FILE_SIZE as ot, ContextHubBackend as p, ReadRawResult as pn, StateBackend as pt, ResolveDeepAgentTypeConfig as q, FilesystemOperation as qt, LangSmithSnapshot as r, FileData as rn, CompletionCallbackOptions as rt, LangSmithSandbox as s, FileUploadResponse as sn, MAX_SKILL_NAME_LENGTH as st, createDeepAgent as t, EditResult as tn, computeSummarizationDefaults as tt, BaseSandbox as u, GrepResult as un, createSkillsMiddleware as ut, StoreBackendNamespaceFactory as v, SandboxErrorCode as vn, GENERAL_PURPOSE_SUBAGENT as vt, AgentMemoryMiddlewareOptions as w, WriteResult as wn, getHarnessProfile as wt, SkillMetadata as x, SandboxListOptions as xn, SubAgentMiddlewareOptions as xt, StoreBackendOptions as y, SandboxGetOrCreateOptions as yn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as yt, FlattenSubAgentMiddleware as z, ASYNC_TASK_SYSTEM_PROMPT as zt };
4152
- //# sourceMappingURL=agent-DwU6Gs2-.d.cts.map
4253
+ //# sourceMappingURL=agent-DMJjn99p.d.cts.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-D2d3Dwcc.cjs");
2
+ const require_langsmith = require("./langsmith-BJ2PdYqB.cjs");
3
3
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
4
4
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
5
5
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -1,3 +1,3 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-DwU6Gs2-.cjs";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-DMJjn99p.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 FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-pS9QvkWZ.js";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, Cn as StateAndStore, Ct as createSubAgentMiddleware, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, Sn as SandboxListResponse, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, hn as SandboxBackendProtocol, ht as CompiledSubAgent, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, wn as WriteResult, wt as getHarnessProfile, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-BNyBUA4W.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 FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, G as resolveBackend, K as adaptBackendProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-b3Dpu8rS.js";
1
+ import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, G as resolveBackend, K as adaptBackendProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-DRyafCNe.js";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-D2d3Dwcc.cjs");
3
- const require_src = require("./src-Dkrvbmp1.cjs");
2
+ const require_langsmith = require("./langsmith-BJ2PdYqB.cjs");
3
+ const require_src = require("./src-eTaw7gha.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 createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as applyGrepMaxCount, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-DwU6Gs2-.cjs";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as applyGrepMaxCount, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-DMJjn99p.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 FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as applyGrepMaxCount, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-pS9QvkWZ.js";
1
+ import { $ as createAsyncSubAgentMiddleware, $t as BackendRuntime, A as findProjectRoot, An as SandboxBackendProtocolV2, At as serializeProfile, B as InferDeepAgentSubagents, Bt as BASE_AGENT_PROMPT, C as parseSkillMetadata, Cn as StateAndStore, Ct as createSubAgentMiddleware, D as Settings, Dn as isSandboxProtocol, Dt as generalPurposeSubagentConfigSchema, E as filesValue, En as isSandboxBackend, Et as HarnessProfileConfigData, F as DeepAgent, Ft as HarnessProfileOptions, G as InferSubagentReactAgentType, Gt as FsToolName, H as InferStructuredResponse, Ht as SystemPromptConfig, I as DeepAgentTypeConfig, It as REQUIRED_MIDDLEWARE_NAMES, J as SupportedResponseFormat, Jt as FilesystemPermission, K as MergedDeepAgentState, Kt as createFilesystemMiddleware, L as DefaultDeepAgentTypeConfig, Lt as ConfigurationError, M as SubagentRunStream, Mn as SandboxBackendProtocolV1, Mt as createHarnessProfile, N as AnySubAgent, Nt as GeneralPurposeSubagentConfig, O as SettingsOptions, On as resolveBackend, Ot as harnessProfileConfigSchema, P as CreateDeepAgentParams, Pt as HarnessProfile, Q as AsyncTaskStatus, Qt as BackendProtocol, R as ExtractSubAgentMiddleware, Rt as ConfigurationErrorCode, S as listSkills, Sn as SandboxListResponse, St as createSubAgent, T as createAgentMemoryMiddleware, Tn as applyGrepMaxCount, Tt as registerHarnessProfile, U as InferSubAgentMiddlewareStates, Ut as TASK_SYSTEM_PROMPT, V as InferDeepAgentType, Vt as EXECUTION_SYSTEM_PROMPT, W as InferSubagentByName, Wt as FilesystemMiddlewareOptions, X as AsyncSubAgentMiddlewareOptions, Xt as AnyBackendProtocol, Y as AsyncSubAgent, Yt as PermissionMode, Z as AsyncTask, Zt as BackendFactory, _ as StoreBackendContext, _n as SandboxError, _t as DEFAULT_SUBAGENT_PROMPT, a as adaptBackendProtocol, an as FileInfo, at as MAX_SKILL_DESCRIPTION_LENGTH, b as ListSkillsOptions, bn as SandboxInfo, bt as SubAgent, c as LangSmithSandboxCreateOptions, cn as GlobResult, ct as SkillMetadata$1, d as LocalShellBackend, dn as LsResult, dt as MemoryMiddlewareOptions, en as DeleteResult, et as isAsyncSubAgent, f as LocalShellBackendOptions, fn as MaybePromise, ft as createMemoryMiddleware, g as StoreBackend, gn as SandboxDeleteOptions, gt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, h as FilesystemBackend, hn as SandboxBackendProtocol, ht as CompiledSubAgent, i as LangSmithStartSandboxOptions, in as FileDownloadResponse, it as createCompletionCallbackMiddleware, j as DeepAgentRunStream, jn as BackendProtocolV1, jt as EMPTY_HARNESS_PROFILE, k as createSettings, kn as BackendProtocolV2, kt as parseHarnessProfileConfig, l as LangSmithSandboxOptions, ln as GrepMatch, lt as SkillsMiddlewareOptions, m as CompositeBackend, mn as ReadResult, mt as createPatchToolCallsMiddleware, n as LangSmithCaptureSnapshotOptions, nn as ExecuteResponse, nt as createSummarizationMiddleware, o as adaptSandboxProtocol, on as FileOperationError, ot as MAX_SKILL_FILE_SIZE, p as ContextHubBackend, pn as ReadRawResult, pt as StateBackend, q as ResolveDeepAgentTypeConfig, qt as FilesystemOperation, r as LangSmithSnapshot, rn as FileData, rt as CompletionCallbackOptions, s as LangSmithSandbox, sn as FileUploadResponse, st as MAX_SKILL_NAME_LENGTH, t as createDeepAgent, tn as EditResult, tt as computeSummarizationDefaults, u as BaseSandbox, un as GrepResult, ut as createSkillsMiddleware, v as StoreBackendNamespaceFactory, vn as SandboxErrorCode, vt as GENERAL_PURPOSE_SUBAGENT, w as AgentMemoryMiddlewareOptions, wn as WriteResult, wt as getHarnessProfile, x as SkillMetadata, xn as SandboxListOptions, xt as SubAgentMiddlewareOptions, y as StoreBackendOptions, yn as SandboxGetOrCreateOptions, yt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, z as FlattenSubAgentMiddleware, zt as ASYNC_TASK_SYSTEM_PROMPT } from "./agent-BNyBUA4W.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 FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as resolveBackend, H as applyGrepMaxCount, I as createSubAgent, K as adaptBackendProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-b3Dpu8rS.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-DMUJ51B3.js";
1
+ import { A as filesValue, B as StateBackend, C as createSummarizationMiddleware, D as MAX_SKILL_NAME_LENGTH, E as MAX_SKILL_FILE_SIZE, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as resolveBackend, H as applyGrepMaxCount, I as createSubAgent, K as adaptBackendProtocol, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as createSkillsMiddleware, P as GENERAL_PURPOSE_SUBAGENT, R as createFilesystemMiddleware, S as computeSummarizationDefaults, T as MAX_SKILL_DESCRIPTION_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as createCompletionCallbackMiddleware, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-DRyafCNe.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-DMHrmLGK.js";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };