deepagents 1.15.1 → 1.16.0

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.
@@ -2392,6 +2392,9 @@ interface CompletionCallbackOptions {
2392
2392
  * If `callbackThreadId` is not present in state, the middleware does
2393
2393
  * nothing.
2394
2394
  *
2395
+ * @deprecated `createDeepAgent` now notifies the launching agent on its own;
2396
+ * adding this middleware too sends the parent two notifications per task.
2397
+ *
2395
2398
  * @param options - Configuration options.
2396
2399
  * @returns An `AgentMiddleware` instance.
2397
2400
  *
@@ -2543,6 +2546,11 @@ declare function createSummarizationMiddleware(options: SummarizationMiddlewareO
2543
2546
  * Authentication for LangGraph Platform is handled automatically by the SDK
2544
2547
  * via environment variables (`LANGGRAPH_API_KEY`, `LANGSMITH_API_KEY`, or
2545
2548
  * `LANGCHAIN_API_KEY`). For self-hosted servers, pass custom auth via `headers`.
2549
+ *
2550
+ * Subagents on this deployment (no `url`) nest under the parent's trace when tracing is on.
2551
+ * Each task's thread has `parent_thread_id` metadata naming the parent's thread, so
2552
+ * an app can list a parent's subagent threads with the LangGraph SDK:
2553
+ * `client.threads.search({ metadata: { parent_thread_id } })`.
2546
2554
  */
2547
2555
  interface AsyncSubAgent {
2548
2556
  /** Unique identifier for the async subagent. */
@@ -2551,18 +2559,70 @@ interface AsyncSubAgent {
2551
2559
  description: string;
2552
2560
  /** The graph name or assistant ID on the Agent Protocol server. */
2553
2561
  graphId: string;
2554
- /** URL of the Agent Protocol server. Defaults to the LangGraph SDK's default endpoint. */
2562
+ /**
2563
+ * URL of the Agent Protocol server. Omit for a subagent on the same Agent Server
2564
+ * deployment, which gives running graphs its address; elsewhere, defaults to the
2565
+ * LangGraph SDK's default endpoint.
2566
+ */
2555
2567
  url?: string;
2556
2568
  /** Additional headers to include in requests to the server (e.g. for custom auth). */
2557
2569
  headers?: Record<string, string>;
2570
+ /** URL the Agent Server calls whenever a run of this subagent finishes. */
2571
+ webhook?: string;
2572
+ /**
2573
+ * Whether this subagent may wake this agent when it finishes while this agent is idle. Defaults to `true`.
2574
+ *
2575
+ * Set it to `false` when the application delivers results itself, for example
2576
+ * through `webhook`. This agent still sees the subagent's updates while it runs.
2577
+ *
2578
+ * @experimental `notifyParent` may change along with how subagents wake their parent.
2579
+ */
2580
+ notifyParent?: boolean;
2581
+ /**
2582
+ * How `update_async_task` sends a follow-up while a run is active. Defaults to `"interrupt"`.
2583
+ *
2584
+ * - `"interrupt"`: stop the current run and start the follow-up.
2585
+ * - `"enqueue"`: queue the follow-up behind the current run. The task is `pending`
2586
+ * until the follow-up starts. If the current run stops to ask its user for
2587
+ * approval or input, the follow-up still starts, and that request is dropped.
2588
+ *
2589
+ * @experimental `updateStrategy` may change along with how queued follow-ups are tracked.
2590
+ */
2591
+ updateStrategy?: UpdateStrategy;
2592
+ /**
2593
+ * What the subagent starts with. Defaults to `"isolated"`.
2594
+ *
2595
+ * - `"isolated"`: only the delegated task description.
2596
+ * - `"fork"`: a snapshot of the parent's conversation at launch, followed by
2597
+ * the task description, for background work.
2598
+ *
2599
+ * Fork mode copies conversation history, not the parent's model, prompt, tools
2600
+ * or middleware; match them on the remote agent for prompt-cache reuse.
2601
+ *
2602
+ * Media the parent offloaded with `offloadBinaryContent` is forked as references:
2603
+ * the subagent must be a deep agent, and shares the parent's backend to see it.
2604
+ *
2605
+ * @experimental `mode: "fork"` may change in a future release.
2606
+ */
2607
+ mode?: "isolated" | "fork";
2558
2608
  }
2609
+ /** How a follow-up runs while the subagent is busy, as {@link AsyncSubAgent.updateStrategy}. */
2610
+ type UpdateStrategy = "interrupt" | "enqueue";
2559
2611
  /**
2560
2612
  * Possible statuses for an async subagent task.
2561
2613
  *
2562
2614
  * Statuses set by the middleware tools: `"running"`, `"success"`, `"error"`, `"cancelled"`.
2563
2615
  * Statuses that may be returned by the remote server: `"pending"`, `"timeout"`, `"interrupted"`.
2616
+ *
2617
+ * `"waiting"` means the subagent paused for its user (an approval or a
2618
+ * question), who answers it on the subagent's own thread.
2619
+ *
2620
+ * `"pending"` means the latest run hasn't started yet. After a queued follow-up,
2621
+ * an earlier run may still be working.
2622
+ *
2623
+ * @experimental `"waiting"` is experimental and subject to change.
2564
2624
  */
2565
- type AsyncTaskStatus = "pending" | "running" | "success" | "error" | "cancelled" | "timeout" | "interrupted";
2625
+ type AsyncTaskStatus = "pending" | "running" | "waiting" | "success" | "error" | "cancelled" | "timeout" | "interrupted";
2566
2626
  /**
2567
2627
  * A tracked async subagent task persisted in agent state.
2568
2628
  *
@@ -2577,8 +2637,15 @@ interface AsyncTask {
2577
2637
  agentName: string;
2578
2638
  /** Thread ID on the remote server. */
2579
2639
  threadId: string;
2580
- /** Run ID for the current execution on the thread. */
2640
+ /** Run ID of the newest run this task knows of on its thread. A queued follow-up's run may not have started yet. */
2581
2641
  runId: string;
2642
+ /**
2643
+ * Earlier runs of this task, oldest first, from before a queued follow-up.
2644
+ *
2645
+ * Their notifications don't complete the task, and cancelling the task also
2646
+ * cancels any that are still active. Set only with `updateStrategy: "enqueue"`.
2647
+ */
2648
+ supersededRunIds?: string[];
2582
2649
  /** Current task status. */
2583
2650
  status: AsyncTaskStatus;
2584
2651
  /** ISO timestamp of when the task was launched. */
@@ -2590,12 +2657,6 @@ interface AsyncTask {
2590
2657
  /** ISO timestamp of the most recent status poll via the check tool. */
2591
2658
  checkedAt?: string;
2592
2659
  }
2593
- /**
2594
- * Task statuses that will never change.
2595
- *
2596
- * When listing tasks, live-status fetches are skipped for tasks whose
2597
- * cached status is in this set, since they are guaranteed to be final.
2598
- */
2599
2660
  /**
2600
2661
  * Names of the tools added by the async subagent middleware.
2601
2662
  *
@@ -2603,6 +2664,24 @@ interface AsyncTask {
2603
2664
  * surface a `ConfigurationError` if a user-provided tool collides.
2604
2665
  */
2605
2666
  declare const ASYNC_TASK_TOOL_NAMES: readonly ["start_async_task", "check_async_task", "update_async_task", "cancel_async_task", "list_async_tasks"];
2667
+ /**
2668
+ * How an async subagent's task ended or paused, as reported to the agent that started it.
2669
+ *
2670
+ * A notification message carries it in `additional_kwargs.deepagents_notification`,
2671
+ * so apps can tell these messages from the user's. Fields are snake_case, as in Python.
2672
+ *
2673
+ * @experimental This shape is experimental and subject to change.
2674
+ */
2675
+ interface TaskEvent {
2676
+ /** The task's ID (the subagent's thread). */
2677
+ task_id: string;
2678
+ /** The async subagent's name, as in the task's `AsyncTask.agentName`. */
2679
+ agent_name: string;
2680
+ /** `waiting` means the subagent paused for input or approval; `cancelled`, that its run was cancelled on the server. */
2681
+ status: "success" | "error" | "timeout" | "cancelled" | "waiting";
2682
+ /** The subagent run that ended. */
2683
+ run_id?: string;
2684
+ }
2606
2685
  /**
2607
2686
  * Options for creating async subagent middleware.
2608
2687
  */
@@ -2623,6 +2702,11 @@ interface AsyncSubAgentMiddlewareOptions {
2623
2702
  * Works with any Agent Protocol-compliant server — LangGraph Platform (managed)
2624
2703
  * or self-hosted (e.g. a Hono/Express server implementing the Agent Protocol spec).
2625
2704
  *
2705
+ * On an Agent Server, the agent is told when its tasks finish, fail or wait for
2706
+ * the user: by checking while it runs, and through a new run when it's idle.
2707
+ *
2708
+ * @experimental Task notifications are experimental and subject to change.
2709
+ *
2626
2710
  * @throws {Error} If no async subagents are provided or names are duplicated.
2627
2711
  *
2628
2712
  * @example
@@ -2650,6 +2734,7 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2650
2734
  agentName: string;
2651
2735
  threadId: string;
2652
2736
  runId: string;
2737
+ supersededRunIds?: string[] | undefined;
2653
2738
  status: string;
2654
2739
  createdAt: string;
2655
2740
  description?: string | undefined;
@@ -2660,6 +2745,7 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2660
2745
  agentName: string;
2661
2746
  threadId: string;
2662
2747
  runId: string;
2748
+ supersededRunIds?: string[] | undefined;
2663
2749
  status: string;
2664
2750
  createdAt: string;
2665
2751
  description?: string | undefined;
@@ -4710,5 +4796,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4710
4796
  }, import("zod/v4/core").$strip>>;
4711
4797
  }, 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>>;
4712
4798
  //#endregion
4713
- export { scrubUnsupportedMultimodalContent as $, TASK_SYSTEM_PROMPT as $t, createSettings as A, SandboxInfo as An, SubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV2 as Bn, serializeProfile as Bt, listSkills as C, ReadRawResult as Cn, createPatchToolCallsMiddleware as Ct, filesValue as D, SandboxError as Dn, ForkedSubAgent as Dt, createAgentMemoryMiddleware as E, SandboxDeleteOptions as En, DEFAULT_SUBAGENT_PROMPT as Et, CreateDeepAgentParams as F, applyGrepMaxCount as Fn, registerHarnessProfile as Ft, InferSubagentByName as G, HarnessProfileOptions as Gt, InferDeepAgentType as H, SandboxBackendProtocolV1 as Hn, createHarnessProfile as Ht, DeepAgent as I, isSandboxBackend as In, HarnessProfileConfigData as It, ResolveDeepAgentTypeConfig as J, ConfigurationErrorCode as Jt, InferSubagentReactAgentType as K, REQUIRED_MIDDLEWARE_NAMES as Kt, DeepAgentTypeConfig as L, isSandboxProtocol as Ln, generalPurposeSubagentConfigSchema as Lt, DeepAgentRunStream as M, SandboxListResponse as Mn, createSubAgent as Mt, SubagentRunStream$1 as N, StateAndStore as Nn, createSubAgentMiddleware as Nt, Settings as O, SandboxErrorCode as On, GENERAL_PURPOSE_SUBAGENT as Ot, AnySubAgent as P, WriteResult as Pn, getHarnessProfile as Pt, multimodalBlockSupported as Q, SystemPromptConfig as Qt, DefaultDeepAgentTypeConfig as R, resolveBackend as Rn, harnessProfileConfigSchema as Rt, SkillMetadata as S, MaybePromise as Sn, StateBackend as St, AgentMemoryMiddlewareOptions as T, SandboxBackendProtocol as Tn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Tt, InferStructuredResponse as U, GeneralPurposeSubagentConfig as Ut, InferDeepAgentSubagents as V, BackendProtocolV1 as Vn, EMPTY_HARNESS_PROFILE as Vt, InferSubAgentMiddlewareStates as W, HarnessProfile as Wt, MULTIMODAL_BLOCK_TYPES as X, BASE_AGENT_PROMPT as Xt, SupportedResponseFormat as Y, ASYNC_TASK_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, EXECUTION_SYSTEM_PROMPT as Zt, StoreBackend as _, FileUploadResponse as _n, createSkillsMiddleware as _t, adaptBackendProtocol as a, PermissionMode as an, isAsyncSubAgent as at, StoreBackendOptions as b, GrepResult as bn, MemoryMiddlewareOptions as bt, LangSmithSandbox as c, BackendProtocol as cn, CompletionCallbackOptions as ct, BaseSandbox as d, EditResult as dn, MAX_SKILL_FILE_SIZE as dt, FilesystemMiddlewareOptions as en, AsyncSubAgent as et, LocalShellBackend as f, ExecuteResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, FileOperationError as gn, SkillsMiddlewareOptions as gt, CompositeBackend as h, FileInfo as hn, SkillToolResolver as ht, LangSmithStartSandboxOptions as i, FilesystemPermission as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, SandboxListOptions as jn, SubAgentMiddlewareOptions as jt, SettingsOptions as k, SandboxGetOrCreateOptions as kn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as kt, LangSmithSandboxCreateOptions as l, BackendRuntime as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileDownloadResponse as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, createFilesystemMiddleware as nn, AsyncTask as nt, adaptSandboxProtocol as o, AnyBackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileData as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ConfigurationError as qt, LangSmithSnapshot as r, FilesystemOperation as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendFactory as sn, createSummarizationMiddleware as st, createDeepAgent as t, FsToolName as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, DeleteResult as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GlobResult as vn, pinnedSkillsValue as vt, parseSkillMetadata as w, ReadResult as wn, CompiledSubAgent as wt, ListSkillsOptions as x, LsResult as xn, createMemoryMiddleware as xt, StoreBackendNamespaceFactory as y, GrepMatch as yn, skillsMetadataValue as yt, ExtractSubAgentMiddleware as z, BackendProtocolV2 as zn, parseHarnessProfileConfig as zt };
4714
- //# sourceMappingURL=agent-uMkCMHJp.d.ts.map
4799
+ export { scrubUnsupportedMultimodalContent as $, SystemPromptConfig as $t, createSettings as A, SandboxGetOrCreateOptions as An, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as At, FlattenSubAgentMiddleware as B, BackendProtocolV2 as Bn, parseHarnessProfileConfig as Bt, listSkills as C, MaybePromise as Cn, StateBackend as Ct, filesValue as D, SandboxDeleteOptions as Dn, DEFAULT_SUBAGENT_PROMPT as Dt, createAgentMemoryMiddleware as E, SandboxBackendProtocol as En, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Et, CreateDeepAgentParams as F, WriteResult as Fn, getHarnessProfile as Ft, InferSubagentByName as G, HarnessProfile as Gt, InferDeepAgentType as H, BackendProtocolV1 as Hn, EMPTY_HARNESS_PROFILE as Ht, DeepAgent as I, applyGrepMaxCount as In, registerHarnessProfile as It, ResolveDeepAgentTypeConfig as J, ConfigurationError as Jt, InferSubagentReactAgentType as K, HarnessProfileOptions as Kt, DeepAgentTypeConfig as L, isSandboxBackend as Ln, HarnessProfileConfigData as Lt, DeepAgentRunStream as M, SandboxListOptions as Mn, SubAgentMiddlewareOptions as Mt, SubagentRunStream$1 as N, SandboxListResponse as Nn, createSubAgent as Nt, Settings as O, SandboxError as On, ForkedSubAgent as Ot, AnySubAgent as P, StateAndStore as Pn, createSubAgentMiddleware as Pt, multimodalBlockSupported as Q, EXECUTION_SYSTEM_PROMPT as Qt, DefaultDeepAgentTypeConfig as R, isSandboxProtocol as Rn, generalPurposeSubagentConfigSchema as Rt, SkillMetadata as S, LsResult as Sn, createMemoryMiddleware as St, AgentMemoryMiddlewareOptions as T, ReadResult as Tn, CompiledSubAgent as Tt, InferStructuredResponse as U, SandboxBackendProtocolV1 as Un, createHarnessProfile as Ut, InferDeepAgentSubagents as V, SandboxBackendProtocolV2 as Vn, serializeProfile as Vt, InferSubAgentMiddlewareStates as W, GeneralPurposeSubagentConfig as Wt, MULTIMODAL_BLOCK_TYPES as X, ASYNC_TASK_SYSTEM_PROMPT as Xt, SupportedResponseFormat as Y, ConfigurationErrorCode as Yt, createUnsupportedContentMiddleware as Z, BASE_AGENT_PROMPT as Zt, StoreBackend as _, FileOperationError as _n, SkillsMiddlewareOptions as _t, adaptBackendProtocol as a, FilesystemPermission as an, createAsyncSubAgentMiddleware as at, StoreBackendOptions as b, GrepMatch as bn, skillsMetadataValue as bt, LangSmithSandbox as c, BackendFactory as cn, createSummarizationMiddleware as ct, BaseSandbox as d, DeleteResult as dn, MAX_SKILL_DESCRIPTION_LENGTH as dt, TASK_SYSTEM_PROMPT as en, AsyncSubAgent as et, LocalShellBackend as f, EditResult as fn, MAX_SKILL_FILE_SIZE as ft, FilesystemBackend as g, FileInfo as gn, SkillToolResolver as gt, CompositeBackend as h, FileDownloadResponse as hn, SkillMetadataEntry as ht, LangSmithStartSandboxOptions as i, FilesystemOperation as in, TaskEvent as it, findProjectRoot as j, SandboxInfo as jn, SubAgent as jt, SettingsOptions as k, SandboxErrorCode as kn, GENERAL_PURPOSE_SUBAGENT as kt, LangSmithSandboxCreateOptions as l, BackendProtocol as ln, CompletionCallbackOptions as lt, ContextHubBackend as m, FileData as mn, SkillMetadata$1 as mt, LangSmithCaptureSnapshotOptions as n, FsToolName as nn, AsyncTask as nt, adaptSandboxProtocol as o, PermissionMode as on, isAsyncSubAgent as ot, LocalShellBackendOptions as p, ExecuteResponse as pn, MAX_SKILL_NAME_LENGTH as pt, MergedDeepAgentState as q, REQUIRED_MIDDLEWARE_NAMES as qt, LangSmithSnapshot as r, createFilesystemMiddleware as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, AnyBackendProtocol as sn, computeSummarizationDefaults as st, createDeepAgent as t, FilesystemMiddlewareOptions as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, BackendRuntime as un, createCompletionCallbackMiddleware as ut, StoreBackendContext as v, FileUploadResponse as vn, createSkillsMiddleware as vt, parseSkillMetadata as w, ReadRawResult as wn, createPatchToolCallsMiddleware as wt, ListSkillsOptions as x, GrepResult as xn, MemoryMiddlewareOptions as xt, StoreBackendNamespaceFactory as y, GlobResult as yn, pinnedSkillsValue as yt, ExtractSubAgentMiddleware as z, resolveBackend as zn, harnessProfileConfigSchema as zt };
4800
+ //# sourceMappingURL=agent-ByjpS5OX.d.ts.map
@@ -2392,6 +2392,9 @@ interface CompletionCallbackOptions {
2392
2392
  * If `callbackThreadId` is not present in state, the middleware does
2393
2393
  * nothing.
2394
2394
  *
2395
+ * @deprecated `createDeepAgent` now notifies the launching agent on its own;
2396
+ * adding this middleware too sends the parent two notifications per task.
2397
+ *
2395
2398
  * @param options - Configuration options.
2396
2399
  * @returns An `AgentMiddleware` instance.
2397
2400
  *
@@ -2543,6 +2546,11 @@ declare function createSummarizationMiddleware(options: SummarizationMiddlewareO
2543
2546
  * Authentication for LangGraph Platform is handled automatically by the SDK
2544
2547
  * via environment variables (`LANGGRAPH_API_KEY`, `LANGSMITH_API_KEY`, or
2545
2548
  * `LANGCHAIN_API_KEY`). For self-hosted servers, pass custom auth via `headers`.
2549
+ *
2550
+ * Subagents on this deployment (no `url`) nest under the parent's trace when tracing is on.
2551
+ * Each task's thread has `parent_thread_id` metadata naming the parent's thread, so
2552
+ * an app can list a parent's subagent threads with the LangGraph SDK:
2553
+ * `client.threads.search({ metadata: { parent_thread_id } })`.
2546
2554
  */
2547
2555
  interface AsyncSubAgent {
2548
2556
  /** Unique identifier for the async subagent. */
@@ -2551,18 +2559,70 @@ interface AsyncSubAgent {
2551
2559
  description: string;
2552
2560
  /** The graph name or assistant ID on the Agent Protocol server. */
2553
2561
  graphId: string;
2554
- /** URL of the Agent Protocol server. Defaults to the LangGraph SDK's default endpoint. */
2562
+ /**
2563
+ * URL of the Agent Protocol server. Omit for a subagent on the same Agent Server
2564
+ * deployment, which gives running graphs its address; elsewhere, defaults to the
2565
+ * LangGraph SDK's default endpoint.
2566
+ */
2555
2567
  url?: string;
2556
2568
  /** Additional headers to include in requests to the server (e.g. for custom auth). */
2557
2569
  headers?: Record<string, string>;
2570
+ /** URL the Agent Server calls whenever a run of this subagent finishes. */
2571
+ webhook?: string;
2572
+ /**
2573
+ * Whether this subagent may wake this agent when it finishes while this agent is idle. Defaults to `true`.
2574
+ *
2575
+ * Set it to `false` when the application delivers results itself, for example
2576
+ * through `webhook`. This agent still sees the subagent's updates while it runs.
2577
+ *
2578
+ * @experimental `notifyParent` may change along with how subagents wake their parent.
2579
+ */
2580
+ notifyParent?: boolean;
2581
+ /**
2582
+ * How `update_async_task` sends a follow-up while a run is active. Defaults to `"interrupt"`.
2583
+ *
2584
+ * - `"interrupt"`: stop the current run and start the follow-up.
2585
+ * - `"enqueue"`: queue the follow-up behind the current run. The task is `pending`
2586
+ * until the follow-up starts. If the current run stops to ask its user for
2587
+ * approval or input, the follow-up still starts, and that request is dropped.
2588
+ *
2589
+ * @experimental `updateStrategy` may change along with how queued follow-ups are tracked.
2590
+ */
2591
+ updateStrategy?: UpdateStrategy;
2592
+ /**
2593
+ * What the subagent starts with. Defaults to `"isolated"`.
2594
+ *
2595
+ * - `"isolated"`: only the delegated task description.
2596
+ * - `"fork"`: a snapshot of the parent's conversation at launch, followed by
2597
+ * the task description, for background work.
2598
+ *
2599
+ * Fork mode copies conversation history, not the parent's model, prompt, tools
2600
+ * or middleware; match them on the remote agent for prompt-cache reuse.
2601
+ *
2602
+ * Media the parent offloaded with `offloadBinaryContent` is forked as references:
2603
+ * the subagent must be a deep agent, and shares the parent's backend to see it.
2604
+ *
2605
+ * @experimental `mode: "fork"` may change in a future release.
2606
+ */
2607
+ mode?: "isolated" | "fork";
2558
2608
  }
2609
+ /** How a follow-up runs while the subagent is busy, as {@link AsyncSubAgent.updateStrategy}. */
2610
+ type UpdateStrategy = "interrupt" | "enqueue";
2559
2611
  /**
2560
2612
  * Possible statuses for an async subagent task.
2561
2613
  *
2562
2614
  * Statuses set by the middleware tools: `"running"`, `"success"`, `"error"`, `"cancelled"`.
2563
2615
  * Statuses that may be returned by the remote server: `"pending"`, `"timeout"`, `"interrupted"`.
2616
+ *
2617
+ * `"waiting"` means the subagent paused for its user (an approval or a
2618
+ * question), who answers it on the subagent's own thread.
2619
+ *
2620
+ * `"pending"` means the latest run hasn't started yet. After a queued follow-up,
2621
+ * an earlier run may still be working.
2622
+ *
2623
+ * @experimental `"waiting"` is experimental and subject to change.
2564
2624
  */
2565
- type AsyncTaskStatus = "pending" | "running" | "success" | "error" | "cancelled" | "timeout" | "interrupted";
2625
+ type AsyncTaskStatus = "pending" | "running" | "waiting" | "success" | "error" | "cancelled" | "timeout" | "interrupted";
2566
2626
  /**
2567
2627
  * A tracked async subagent task persisted in agent state.
2568
2628
  *
@@ -2577,8 +2637,15 @@ interface AsyncTask {
2577
2637
  agentName: string;
2578
2638
  /** Thread ID on the remote server. */
2579
2639
  threadId: string;
2580
- /** Run ID for the current execution on the thread. */
2640
+ /** Run ID of the newest run this task knows of on its thread. A queued follow-up's run may not have started yet. */
2581
2641
  runId: string;
2642
+ /**
2643
+ * Earlier runs of this task, oldest first, from before a queued follow-up.
2644
+ *
2645
+ * Their notifications don't complete the task, and cancelling the task also
2646
+ * cancels any that are still active. Set only with `updateStrategy: "enqueue"`.
2647
+ */
2648
+ supersededRunIds?: string[];
2582
2649
  /** Current task status. */
2583
2650
  status: AsyncTaskStatus;
2584
2651
  /** ISO timestamp of when the task was launched. */
@@ -2590,12 +2657,6 @@ interface AsyncTask {
2590
2657
  /** ISO timestamp of the most recent status poll via the check tool. */
2591
2658
  checkedAt?: string;
2592
2659
  }
2593
- /**
2594
- * Task statuses that will never change.
2595
- *
2596
- * When listing tasks, live-status fetches are skipped for tasks whose
2597
- * cached status is in this set, since they are guaranteed to be final.
2598
- */
2599
2660
  /**
2600
2661
  * Names of the tools added by the async subagent middleware.
2601
2662
  *
@@ -2603,6 +2664,24 @@ interface AsyncTask {
2603
2664
  * surface a `ConfigurationError` if a user-provided tool collides.
2604
2665
  */
2605
2666
  declare const ASYNC_TASK_TOOL_NAMES: readonly ["start_async_task", "check_async_task", "update_async_task", "cancel_async_task", "list_async_tasks"];
2667
+ /**
2668
+ * How an async subagent's task ended or paused, as reported to the agent that started it.
2669
+ *
2670
+ * A notification message carries it in `additional_kwargs.deepagents_notification`,
2671
+ * so apps can tell these messages from the user's. Fields are snake_case, as in Python.
2672
+ *
2673
+ * @experimental This shape is experimental and subject to change.
2674
+ */
2675
+ interface TaskEvent {
2676
+ /** The task's ID (the subagent's thread). */
2677
+ task_id: string;
2678
+ /** The async subagent's name, as in the task's `AsyncTask.agentName`. */
2679
+ agent_name: string;
2680
+ /** `waiting` means the subagent paused for input or approval; `cancelled`, that its run was cancelled on the server. */
2681
+ status: "success" | "error" | "timeout" | "cancelled" | "waiting";
2682
+ /** The subagent run that ended. */
2683
+ run_id?: string;
2684
+ }
2606
2685
  /**
2607
2686
  * Options for creating async subagent middleware.
2608
2687
  */
@@ -2623,6 +2702,11 @@ interface AsyncSubAgentMiddlewareOptions {
2623
2702
  * Works with any Agent Protocol-compliant server — LangGraph Platform (managed)
2624
2703
  * or self-hosted (e.g. a Hono/Express server implementing the Agent Protocol spec).
2625
2704
  *
2705
+ * On an Agent Server, the agent is told when its tasks finish, fail or wait for
2706
+ * the user: by checking while it runs, and through a new run when it's idle.
2707
+ *
2708
+ * @experimental Task notifications are experimental and subject to change.
2709
+ *
2626
2710
  * @throws {Error} If no async subagents are provided or names are duplicated.
2627
2711
  *
2628
2712
  * @example
@@ -2650,6 +2734,7 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2650
2734
  agentName: string;
2651
2735
  threadId: string;
2652
2736
  runId: string;
2737
+ supersededRunIds?: string[] | undefined;
2653
2738
  status: string;
2654
2739
  createdAt: string;
2655
2740
  description?: string | undefined;
@@ -2660,6 +2745,7 @@ declare function createAsyncSubAgentMiddleware(options: AsyncSubAgentMiddlewareO
2660
2745
  agentName: string;
2661
2746
  threadId: string;
2662
2747
  runId: string;
2748
+ supersededRunIds?: string[] | undefined;
2663
2749
  status: string;
2664
2750
  createdAt: string;
2665
2751
  description?: string | undefined;
@@ -4710,5 +4796,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4710
4796
  }, import("zod/v4/core").$strip>>;
4711
4797
  }, 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>>;
4712
4798
  //#endregion
4713
- export { scrubUnsupportedMultimodalContent as $, TASK_SYSTEM_PROMPT as $t, createSettings as A, SandboxInfo as An, SubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV2 as Bn, serializeProfile as Bt, listSkills as C, ReadRawResult as Cn, createPatchToolCallsMiddleware as Ct, filesValue as D, SandboxError as Dn, ForkedSubAgent as Dt, createAgentMemoryMiddleware as E, SandboxDeleteOptions as En, DEFAULT_SUBAGENT_PROMPT as Et, CreateDeepAgentParams as F, applyGrepMaxCount as Fn, registerHarnessProfile as Ft, InferSubagentByName as G, HarnessProfileOptions as Gt, InferDeepAgentType as H, SandboxBackendProtocolV1 as Hn, createHarnessProfile as Ht, DeepAgent as I, isSandboxBackend as In, HarnessProfileConfigData as It, ResolveDeepAgentTypeConfig as J, ConfigurationErrorCode as Jt, InferSubagentReactAgentType as K, REQUIRED_MIDDLEWARE_NAMES as Kt, DeepAgentTypeConfig as L, isSandboxProtocol as Ln, generalPurposeSubagentConfigSchema as Lt, DeepAgentRunStream as M, SandboxListResponse as Mn, createSubAgent as Mt, SubagentRunStream$1 as N, StateAndStore as Nn, createSubAgentMiddleware as Nt, Settings as O, SandboxErrorCode as On, GENERAL_PURPOSE_SUBAGENT as Ot, AnySubAgent as P, WriteResult as Pn, getHarnessProfile as Pt, multimodalBlockSupported as Q, SystemPromptConfig as Qt, DefaultDeepAgentTypeConfig as R, resolveBackend as Rn, harnessProfileConfigSchema as Rt, SkillMetadata as S, MaybePromise as Sn, StateBackend as St, AgentMemoryMiddlewareOptions as T, SandboxBackendProtocol as Tn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Tt, InferStructuredResponse as U, GeneralPurposeSubagentConfig as Ut, InferDeepAgentSubagents as V, BackendProtocolV1 as Vn, EMPTY_HARNESS_PROFILE as Vt, InferSubAgentMiddlewareStates as W, HarnessProfile as Wt, MULTIMODAL_BLOCK_TYPES as X, BASE_AGENT_PROMPT as Xt, SupportedResponseFormat as Y, ASYNC_TASK_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, EXECUTION_SYSTEM_PROMPT as Zt, StoreBackend as _, FileUploadResponse as _n, createSkillsMiddleware as _t, adaptBackendProtocol as a, PermissionMode as an, isAsyncSubAgent as at, StoreBackendOptions as b, GrepResult as bn, MemoryMiddlewareOptions as bt, LangSmithSandbox as c, BackendProtocol as cn, CompletionCallbackOptions as ct, BaseSandbox as d, EditResult as dn, MAX_SKILL_FILE_SIZE as dt, FilesystemMiddlewareOptions as en, AsyncSubAgent as et, LocalShellBackend as f, ExecuteResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, FileOperationError as gn, SkillsMiddlewareOptions as gt, CompositeBackend as h, FileInfo as hn, SkillToolResolver as ht, LangSmithStartSandboxOptions as i, FilesystemPermission as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, SandboxListOptions as jn, SubAgentMiddlewareOptions as jt, SettingsOptions as k, SandboxGetOrCreateOptions as kn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as kt, LangSmithSandboxCreateOptions as l, BackendRuntime as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileDownloadResponse as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, createFilesystemMiddleware as nn, AsyncTask as nt, adaptSandboxProtocol as o, AnyBackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileData as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ConfigurationError as qt, LangSmithSnapshot as r, FilesystemOperation as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendFactory as sn, createSummarizationMiddleware as st, createDeepAgent as t, FsToolName as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, DeleteResult as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GlobResult as vn, pinnedSkillsValue as vt, parseSkillMetadata as w, ReadResult as wn, CompiledSubAgent as wt, ListSkillsOptions as x, LsResult as xn, createMemoryMiddleware as xt, StoreBackendNamespaceFactory as y, GrepMatch as yn, skillsMetadataValue as yt, ExtractSubAgentMiddleware as z, BackendProtocolV2 as zn, parseHarnessProfileConfig as zt };
4714
- //# sourceMappingURL=agent-CYPLa3Vi.d.cts.map
4799
+ export { scrubUnsupportedMultimodalContent as $, SystemPromptConfig as $t, createSettings as A, SandboxGetOrCreateOptions as An, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as At, FlattenSubAgentMiddleware as B, BackendProtocolV2 as Bn, parseHarnessProfileConfig as Bt, listSkills as C, MaybePromise as Cn, StateBackend as Ct, filesValue as D, SandboxDeleteOptions as Dn, DEFAULT_SUBAGENT_PROMPT as Dt, createAgentMemoryMiddleware as E, SandboxBackendProtocol as En, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Et, CreateDeepAgentParams as F, WriteResult as Fn, getHarnessProfile as Ft, InferSubagentByName as G, HarnessProfile as Gt, InferDeepAgentType as H, BackendProtocolV1 as Hn, EMPTY_HARNESS_PROFILE as Ht, DeepAgent as I, applyGrepMaxCount as In, registerHarnessProfile as It, ResolveDeepAgentTypeConfig as J, ConfigurationError as Jt, InferSubagentReactAgentType as K, HarnessProfileOptions as Kt, DeepAgentTypeConfig as L, isSandboxBackend as Ln, HarnessProfileConfigData as Lt, DeepAgentRunStream as M, SandboxListOptions as Mn, SubAgentMiddlewareOptions as Mt, SubagentRunStream$1 as N, SandboxListResponse as Nn, createSubAgent as Nt, Settings as O, SandboxError as On, ForkedSubAgent as Ot, AnySubAgent as P, StateAndStore as Pn, createSubAgentMiddleware as Pt, multimodalBlockSupported as Q, EXECUTION_SYSTEM_PROMPT as Qt, DefaultDeepAgentTypeConfig as R, isSandboxProtocol as Rn, generalPurposeSubagentConfigSchema as Rt, SkillMetadata as S, LsResult as Sn, createMemoryMiddleware as St, AgentMemoryMiddlewareOptions as T, ReadResult as Tn, CompiledSubAgent as Tt, InferStructuredResponse as U, SandboxBackendProtocolV1 as Un, createHarnessProfile as Ut, InferDeepAgentSubagents as V, SandboxBackendProtocolV2 as Vn, serializeProfile as Vt, InferSubAgentMiddlewareStates as W, GeneralPurposeSubagentConfig as Wt, MULTIMODAL_BLOCK_TYPES as X, ASYNC_TASK_SYSTEM_PROMPT as Xt, SupportedResponseFormat as Y, ConfigurationErrorCode as Yt, createUnsupportedContentMiddleware as Z, BASE_AGENT_PROMPT as Zt, StoreBackend as _, FileOperationError as _n, SkillsMiddlewareOptions as _t, adaptBackendProtocol as a, FilesystemPermission as an, createAsyncSubAgentMiddleware as at, StoreBackendOptions as b, GrepMatch as bn, skillsMetadataValue as bt, LangSmithSandbox as c, BackendFactory as cn, createSummarizationMiddleware as ct, BaseSandbox as d, DeleteResult as dn, MAX_SKILL_DESCRIPTION_LENGTH as dt, TASK_SYSTEM_PROMPT as en, AsyncSubAgent as et, LocalShellBackend as f, EditResult as fn, MAX_SKILL_FILE_SIZE as ft, FilesystemBackend as g, FileInfo as gn, SkillToolResolver as gt, CompositeBackend as h, FileDownloadResponse as hn, SkillMetadataEntry as ht, LangSmithStartSandboxOptions as i, FilesystemOperation as in, TaskEvent as it, findProjectRoot as j, SandboxInfo as jn, SubAgent as jt, SettingsOptions as k, SandboxErrorCode as kn, GENERAL_PURPOSE_SUBAGENT as kt, LangSmithSandboxCreateOptions as l, BackendProtocol as ln, CompletionCallbackOptions as lt, ContextHubBackend as m, FileData as mn, SkillMetadata$1 as mt, LangSmithCaptureSnapshotOptions as n, FsToolName as nn, AsyncTask as nt, adaptSandboxProtocol as o, PermissionMode as on, isAsyncSubAgent as ot, LocalShellBackendOptions as p, ExecuteResponse as pn, MAX_SKILL_NAME_LENGTH as pt, MergedDeepAgentState as q, REQUIRED_MIDDLEWARE_NAMES as qt, LangSmithSnapshot as r, createFilesystemMiddleware as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, AnyBackendProtocol as sn, computeSummarizationDefaults as st, createDeepAgent as t, FilesystemMiddlewareOptions as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, BackendRuntime as un, createCompletionCallbackMiddleware as ut, StoreBackendContext as v, FileUploadResponse as vn, createSkillsMiddleware as vt, parseSkillMetadata as w, ReadRawResult as wn, createPatchToolCallsMiddleware as wt, ListSkillsOptions as x, GrepResult as xn, MemoryMiddlewareOptions as xt, StoreBackendNamespaceFactory as y, GlobResult as yn, pinnedSkillsValue as yt, ExtractSubAgentMiddleware as z, resolveBackend as zn, harnessProfileConfigSchema as zt };
4800
+ //# sourceMappingURL=agent-ICdNmGjy.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-IOLMJEwi.cjs");
2
+ const require_langsmith = require("./langsmith-Bf4pcnIO.cjs");
3
3
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
4
4
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
5
5
  exports.BaseSandbox = require_langsmith.BaseSandbox;
@@ -1,3 +1,3 @@
1
- import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-CYPLa3Vi.cjs";
1
+ import { $t as SystemPromptConfig, An as SandboxGetOrCreateOptions, B as FlattenSubAgentMiddleware, Bn as BackendProtocolV2, Bt as parseHarnessProfileConfig, Cn as MaybePromise, Ct as StateBackend, D as filesValue, Dn as SandboxDeleteOptions, Dt as DEFAULT_SUBAGENT_PROMPT, En as SandboxBackendProtocol, Et as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, F as CreateDeepAgentParams, Fn as WriteResult, Ft as getHarnessProfile, G as InferSubagentByName, Gt as HarnessProfile, H as InferDeepAgentType, Hn as BackendProtocolV1, Ht as EMPTY_HARNESS_PROFILE, I as DeepAgent, It as registerHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationError, K as InferSubagentReactAgentType, Kt as HarnessProfileOptions, L as DeepAgentTypeConfig, Ln as isSandboxBackend, Lt as HarnessProfileConfigData, M as DeepAgentRunStream, Mn as SandboxListOptions, Mt as SubAgentMiddlewareOptions, N as SubagentRunStream, Nn as SandboxListResponse, On as SandboxError, Ot as ForkedSubAgent, P as AnySubAgent, Pn as StateAndStore, Pt as createSubAgentMiddleware, Qt as EXECUTION_SYSTEM_PROMPT, R as DefaultDeepAgentTypeConfig, Rn as isSandboxProtocol, Rt as generalPurposeSubagentConfigSchema, Sn as LsResult, St as createMemoryMiddleware, Tn as ReadResult, Tt as CompiledSubAgent, U as InferStructuredResponse, Un as SandboxBackendProtocolV1, Ut as createHarnessProfile, V as InferDeepAgentSubagents, Vn as SandboxBackendProtocolV2, Vt as serializeProfile, W as InferSubAgentMiddlewareStates, Wt as GeneralPurposeSubagentConfig, Xt as ASYNC_TASK_SYSTEM_PROMPT, Y as SupportedResponseFormat, Yt as ConfigurationErrorCode, Zt as BASE_AGENT_PROMPT, _ as StoreBackend, _n as FileOperationError, _t as SkillsMiddlewareOptions, a as adaptBackendProtocol, an as FilesystemPermission, at as createAsyncSubAgentMiddleware, b as StoreBackendOptions, bn as GrepMatch, bt as skillsMetadataValue, c as LangSmithSandbox, cn as BackendFactory, ct as createSummarizationMiddleware, d as BaseSandbox, dn as DeleteResult, dt as MAX_SKILL_DESCRIPTION_LENGTH, en as TASK_SYSTEM_PROMPT, et as AsyncSubAgent, fn as EditResult, ft as MAX_SKILL_FILE_SIZE, gn as FileInfo, gt as SkillToolResolver, h as CompositeBackend, hn as FileDownloadResponse, ht as SkillMetadataEntry, in as FilesystemOperation, it as TaskEvent, jn as SandboxInfo, jt as SubAgent, kn as SandboxErrorCode, kt as GENERAL_PURPOSE_SUBAGENT, l as LangSmithSandboxCreateOptions, ln as BackendProtocol, lt as CompletionCallbackOptions, m as ContextHubBackend, mn as FileData, mt as SkillMetadata, nn as FsToolName, nt as AsyncTask, o as adaptSandboxProtocol, on as PermissionMode, ot as isAsyncSubAgent, pn as ExecuteResponse, pt as MAX_SKILL_NAME_LENGTH, q as MergedDeepAgentState, qt as REQUIRED_MIDDLEWARE_NAMES, rn as createFilesystemMiddleware, rt as AsyncTaskStatus, sn as AnyBackendProtocol, st as computeSummarizationDefaults, t as createDeepAgent, tn as FilesystemMiddlewareOptions, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as BackendRuntime, ut as createCompletionCallbackMiddleware, v as StoreBackendContext, vn as FileUploadResponse, vt as createSkillsMiddleware, wn as ReadRawResult, wt as createPatchToolCallsMiddleware, xn as GrepResult, xt as MemoryMiddlewareOptions, y as StoreBackendNamespaceFactory, yn as GlobResult, yt as pinnedSkillsValue, z as ExtractSubAgentMiddleware, zn as resolveBackend, zt as harnessProfileConfigSchema } from "./agent-ICdNmGjy.cjs";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
- export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
3
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type TaskEvent, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-uMkCMHJp.js";
1
+ import { $t as SystemPromptConfig, An as SandboxGetOrCreateOptions, B as FlattenSubAgentMiddleware, Bn as BackendProtocolV2, Bt as parseHarnessProfileConfig, Cn as MaybePromise, Ct as StateBackend, D as filesValue, Dn as SandboxDeleteOptions, Dt as DEFAULT_SUBAGENT_PROMPT, En as SandboxBackendProtocol, Et as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, F as CreateDeepAgentParams, Fn as WriteResult, Ft as getHarnessProfile, G as InferSubagentByName, Gt as HarnessProfile, H as InferDeepAgentType, Hn as BackendProtocolV1, Ht as EMPTY_HARNESS_PROFILE, I as DeepAgent, It as registerHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationError, K as InferSubagentReactAgentType, Kt as HarnessProfileOptions, L as DeepAgentTypeConfig, Ln as isSandboxBackend, Lt as HarnessProfileConfigData, M as DeepAgentRunStream, Mn as SandboxListOptions, Mt as SubAgentMiddlewareOptions, N as SubagentRunStream, Nn as SandboxListResponse, On as SandboxError, Ot as ForkedSubAgent, P as AnySubAgent, Pn as StateAndStore, Pt as createSubAgentMiddleware, Qt as EXECUTION_SYSTEM_PROMPT, R as DefaultDeepAgentTypeConfig, Rn as isSandboxProtocol, Rt as generalPurposeSubagentConfigSchema, Sn as LsResult, St as createMemoryMiddleware, Tn as ReadResult, Tt as CompiledSubAgent, U as InferStructuredResponse, Un as SandboxBackendProtocolV1, Ut as createHarnessProfile, V as InferDeepAgentSubagents, Vn as SandboxBackendProtocolV2, Vt as serializeProfile, W as InferSubAgentMiddlewareStates, Wt as GeneralPurposeSubagentConfig, Xt as ASYNC_TASK_SYSTEM_PROMPT, Y as SupportedResponseFormat, Yt as ConfigurationErrorCode, Zt as BASE_AGENT_PROMPT, _ as StoreBackend, _n as FileOperationError, _t as SkillsMiddlewareOptions, a as adaptBackendProtocol, an as FilesystemPermission, at as createAsyncSubAgentMiddleware, b as StoreBackendOptions, bn as GrepMatch, bt as skillsMetadataValue, c as LangSmithSandbox, cn as BackendFactory, ct as createSummarizationMiddleware, d as BaseSandbox, dn as DeleteResult, dt as MAX_SKILL_DESCRIPTION_LENGTH, en as TASK_SYSTEM_PROMPT, et as AsyncSubAgent, fn as EditResult, ft as MAX_SKILL_FILE_SIZE, gn as FileInfo, gt as SkillToolResolver, h as CompositeBackend, hn as FileDownloadResponse, ht as SkillMetadataEntry, in as FilesystemOperation, it as TaskEvent, jn as SandboxInfo, jt as SubAgent, kn as SandboxErrorCode, kt as GENERAL_PURPOSE_SUBAGENT, l as LangSmithSandboxCreateOptions, ln as BackendProtocol, lt as CompletionCallbackOptions, m as ContextHubBackend, mn as FileData, mt as SkillMetadata, nn as FsToolName, nt as AsyncTask, o as adaptSandboxProtocol, on as PermissionMode, ot as isAsyncSubAgent, pn as ExecuteResponse, pt as MAX_SKILL_NAME_LENGTH, q as MergedDeepAgentState, qt as REQUIRED_MIDDLEWARE_NAMES, rn as createFilesystemMiddleware, rt as AsyncTaskStatus, sn as AnyBackendProtocol, st as computeSummarizationDefaults, t as createDeepAgent, tn as FilesystemMiddlewareOptions, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as BackendRuntime, ut as createCompletionCallbackMiddleware, v as StoreBackendContext, vn as FileUploadResponse, vt as createSkillsMiddleware, wn as ReadRawResult, wt as createPatchToolCallsMiddleware, xn as GrepResult, xt as MemoryMiddlewareOptions, y as StoreBackendNamespaceFactory, yn as GlobResult, yt as pinnedSkillsValue, z as ExtractSubAgentMiddleware, zn as resolveBackend, zt as harnessProfileConfigSchema } from "./agent-ByjpS5OX.js";
2
2
  import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
3
- export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
3
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type TaskEvent, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
package/dist/browser.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, V as CompositeBackend, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-C-EMyQJ_.js";
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, V as CompositeBackend, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-WS8VrZxE.js";
2
2
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, pinnedSkillsValue, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-IOLMJEwi.cjs");
3
- const require_src = require("./src-a_7jVcCL.cjs");
2
+ const require_langsmith = require("./langsmith-Bf4pcnIO.cjs");
3
+ const require_src = require("./src-OuZaf_eC.cjs");
4
4
  exports.ASYNC_TASK_SYSTEM_PROMPT = require_langsmith.ASYNC_TASK_SYSTEM_PROMPT;
5
5
  exports.BASE_AGENT_PROMPT = require_langsmith.BASE_AGENT_PROMPT;
6
6
  exports.BaseSandbox = require_langsmith.BaseSandbox;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-CYPLa3Vi.cjs";
2
- export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as SystemPromptConfig, A as createSettings, An as SandboxGetOrCreateOptions, At as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, B as FlattenSubAgentMiddleware, Bn as BackendProtocolV2, Bt as parseHarnessProfileConfig, C as listSkills, Cn as MaybePromise, Ct as StateBackend, D as filesValue, Dn as SandboxDeleteOptions, Dt as DEFAULT_SUBAGENT_PROMPT, E as createAgentMemoryMiddleware, En as SandboxBackendProtocol, Et as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, F as CreateDeepAgentParams, Fn as WriteResult, Ft as getHarnessProfile, G as InferSubagentByName, Gt as HarnessProfile, H as InferDeepAgentType, Hn as BackendProtocolV1, Ht as EMPTY_HARNESS_PROFILE, I as DeepAgent, In as applyGrepMaxCount, It as registerHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationError, K as InferSubagentReactAgentType, Kt as HarnessProfileOptions, L as DeepAgentTypeConfig, Ln as isSandboxBackend, Lt as HarnessProfileConfigData, M as DeepAgentRunStream, Mn as SandboxListOptions, Mt as SubAgentMiddlewareOptions, N as SubagentRunStream, Nn as SandboxListResponse, Nt as createSubAgent, O as Settings, On as SandboxError, Ot as ForkedSubAgent, P as AnySubAgent, Pn as StateAndStore, Pt as createSubAgentMiddleware, Q as multimodalBlockSupported, Qt as EXECUTION_SYSTEM_PROMPT, R as DefaultDeepAgentTypeConfig, Rn as isSandboxProtocol, Rt as generalPurposeSubagentConfigSchema, S as SkillMetadata, Sn as LsResult, St as createMemoryMiddleware, T as AgentMemoryMiddlewareOptions, Tn as ReadResult, Tt as CompiledSubAgent, U as InferStructuredResponse, Un as SandboxBackendProtocolV1, Ut as createHarnessProfile, V as InferDeepAgentSubagents, Vn as SandboxBackendProtocolV2, Vt as serializeProfile, W as InferSubAgentMiddlewareStates, Wt as GeneralPurposeSubagentConfig, X as MULTIMODAL_BLOCK_TYPES, Xt as ASYNC_TASK_SYSTEM_PROMPT, Y as SupportedResponseFormat, Yt as ConfigurationErrorCode, Z as createUnsupportedContentMiddleware, Zt as BASE_AGENT_PROMPT, _ as StoreBackend, _n as FileOperationError, _t as SkillsMiddlewareOptions, a as adaptBackendProtocol, an as FilesystemPermission, at as createAsyncSubAgentMiddleware, b as StoreBackendOptions, bn as GrepMatch, bt as skillsMetadataValue, c as LangSmithSandbox, cn as BackendFactory, ct as createSummarizationMiddleware, d as BaseSandbox, dn as DeleteResult, dt as MAX_SKILL_DESCRIPTION_LENGTH, en as TASK_SYSTEM_PROMPT, et as AsyncSubAgent, f as LocalShellBackend, fn as EditResult, ft as MAX_SKILL_FILE_SIZE, g as FilesystemBackend, gn as FileInfo, gt as SkillToolResolver, h as CompositeBackend, hn as FileDownloadResponse, ht as SkillMetadataEntry, i as LangSmithStartSandboxOptions, in as FilesystemOperation, it as TaskEvent, j as findProjectRoot, jn as SandboxInfo, jt as SubAgent, k as SettingsOptions, kn as SandboxErrorCode, kt as GENERAL_PURPOSE_SUBAGENT, l as LangSmithSandboxCreateOptions, ln as BackendProtocol, lt as CompletionCallbackOptions, m as ContextHubBackend, mn as FileData, mt as SkillMetadata$1, n as LangSmithCaptureSnapshotOptions, nn as FsToolName, nt as AsyncTask, o as adaptSandboxProtocol, on as PermissionMode, ot as isAsyncSubAgent, p as LocalShellBackendOptions, pn as ExecuteResponse, pt as MAX_SKILL_NAME_LENGTH, q as MergedDeepAgentState, qt as REQUIRED_MIDDLEWARE_NAMES, r as LangSmithSnapshot, rn as createFilesystemMiddleware, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as AnyBackendProtocol, st as computeSummarizationDefaults, t as createDeepAgent, tn as FilesystemMiddlewareOptions, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as BackendRuntime, ut as createCompletionCallbackMiddleware, v as StoreBackendContext, vn as FileUploadResponse, vt as createSkillsMiddleware, w as parseSkillMetadata, wn as ReadRawResult, wt as createPatchToolCallsMiddleware, x as ListSkillsOptions, xn as GrepResult, xt as MemoryMiddlewareOptions, y as StoreBackendNamespaceFactory, yn as GlobResult, yt as pinnedSkillsValue, z as ExtractSubAgentMiddleware, zn as resolveBackend, zt as harnessProfileConfigSchema } from "./agent-ICdNmGjy.cjs";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type TaskEvent, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-uMkCMHJp.js";
2
- export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as SystemPromptConfig, A as createSettings, An as SandboxGetOrCreateOptions, At as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, B as FlattenSubAgentMiddleware, Bn as BackendProtocolV2, Bt as parseHarnessProfileConfig, C as listSkills, Cn as MaybePromise, Ct as StateBackend, D as filesValue, Dn as SandboxDeleteOptions, Dt as DEFAULT_SUBAGENT_PROMPT, E as createAgentMemoryMiddleware, En as SandboxBackendProtocol, Et as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, F as CreateDeepAgentParams, Fn as WriteResult, Ft as getHarnessProfile, G as InferSubagentByName, Gt as HarnessProfile, H as InferDeepAgentType, Hn as BackendProtocolV1, Ht as EMPTY_HARNESS_PROFILE, I as DeepAgent, In as applyGrepMaxCount, It as registerHarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationError, K as InferSubagentReactAgentType, Kt as HarnessProfileOptions, L as DeepAgentTypeConfig, Ln as isSandboxBackend, Lt as HarnessProfileConfigData, M as DeepAgentRunStream, Mn as SandboxListOptions, Mt as SubAgentMiddlewareOptions, N as SubagentRunStream, Nn as SandboxListResponse, Nt as createSubAgent, O as Settings, On as SandboxError, Ot as ForkedSubAgent, P as AnySubAgent, Pn as StateAndStore, Pt as createSubAgentMiddleware, Q as multimodalBlockSupported, Qt as EXECUTION_SYSTEM_PROMPT, R as DefaultDeepAgentTypeConfig, Rn as isSandboxProtocol, Rt as generalPurposeSubagentConfigSchema, S as SkillMetadata, Sn as LsResult, St as createMemoryMiddleware, T as AgentMemoryMiddlewareOptions, Tn as ReadResult, Tt as CompiledSubAgent, U as InferStructuredResponse, Un as SandboxBackendProtocolV1, Ut as createHarnessProfile, V as InferDeepAgentSubagents, Vn as SandboxBackendProtocolV2, Vt as serializeProfile, W as InferSubAgentMiddlewareStates, Wt as GeneralPurposeSubagentConfig, X as MULTIMODAL_BLOCK_TYPES, Xt as ASYNC_TASK_SYSTEM_PROMPT, Y as SupportedResponseFormat, Yt as ConfigurationErrorCode, Z as createUnsupportedContentMiddleware, Zt as BASE_AGENT_PROMPT, _ as StoreBackend, _n as FileOperationError, _t as SkillsMiddlewareOptions, a as adaptBackendProtocol, an as FilesystemPermission, at as createAsyncSubAgentMiddleware, b as StoreBackendOptions, bn as GrepMatch, bt as skillsMetadataValue, c as LangSmithSandbox, cn as BackendFactory, ct as createSummarizationMiddleware, d as BaseSandbox, dn as DeleteResult, dt as MAX_SKILL_DESCRIPTION_LENGTH, en as TASK_SYSTEM_PROMPT, et as AsyncSubAgent, f as LocalShellBackend, fn as EditResult, ft as MAX_SKILL_FILE_SIZE, g as FilesystemBackend, gn as FileInfo, gt as SkillToolResolver, h as CompositeBackend, hn as FileDownloadResponse, ht as SkillMetadataEntry, i as LangSmithStartSandboxOptions, in as FilesystemOperation, it as TaskEvent, j as findProjectRoot, jn as SandboxInfo, jt as SubAgent, k as SettingsOptions, kn as SandboxErrorCode, kt as GENERAL_PURPOSE_SUBAGENT, l as LangSmithSandboxCreateOptions, ln as BackendProtocol, lt as CompletionCallbackOptions, m as ContextHubBackend, mn as FileData, mt as SkillMetadata$1, n as LangSmithCaptureSnapshotOptions, nn as FsToolName, nt as AsyncTask, o as adaptSandboxProtocol, on as PermissionMode, ot as isAsyncSubAgent, p as LocalShellBackendOptions, pn as ExecuteResponse, pt as MAX_SKILL_NAME_LENGTH, q as MergedDeepAgentState, qt as REQUIRED_MIDDLEWARE_NAMES, r as LangSmithSnapshot, rn as createFilesystemMiddleware, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as AnyBackendProtocol, st as computeSummarizationDefaults, t as createDeepAgent, tn as FilesystemMiddlewareOptions, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as BackendRuntime, ut as createCompletionCallbackMiddleware, v as StoreBackendContext, vn as FileUploadResponse, vt as createSkillsMiddleware, w as parseSkillMetadata, wn as ReadRawResult, wt as createPatchToolCallsMiddleware, x as ListSkillsOptions, xn as GrepResult, xt as MemoryMiddlewareOptions, y as StoreBackendNamespaceFactory, yn as GlobResult, yt as pinnedSkillsValue, z as ExtractSubAgentMiddleware, zn as resolveBackend, zt as harnessProfileConfigSchema } from "./agent-ByjpS5OX.js";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type TaskEvent, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as scrubUnsupportedMultimodalContent, H as MULTIMODAL_BLOCK_TYPES, I as createSubAgent, J as applyGrepMaxCount, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as createUnsupportedContentMiddleware, V as CompositeBackend, W as multimodalBlockSupported, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, rt as normalizeReadPagination, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-C-EMyQJ_.js";
2
- import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-BTEsBZdJ.js";
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as scrubUnsupportedMultimodalContent, H as MULTIMODAL_BLOCK_TYPES, I as createSubAgent, J as applyGrepMaxCount, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as createUnsupportedContentMiddleware, V as CompositeBackend, W as multimodalBlockSupported, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, rt as normalizeReadPagination, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-WS8VrZxE.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-Wn1LjkCI.js";
3
3
  export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };