deepagents 1.10.0 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -13,7 +13,8 @@ import * as _$_langchain_core_tools0 from "@langchain/core/tools";
13
13
  import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
14
14
  import { InteropZodObject } from "@langchain/core/utils/types";
15
15
  import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
16
- import { CreateSandboxOptions, Sandbox } from "langsmith/experimental/sandbox";
16
+ import { Client } from "langsmith";
17
+ import { CaptureSnapshotOptions, CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, CreateSandboxOptions, Sandbox, Snapshot, Snapshot as LangSmithSnapshot, StartSandboxOptions, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
17
18
  import { Runnable } from "@langchain/core/runnables";
18
19
  import { BaseChatModel } from "@langchain/core/language_models/chat_models";
19
20
  //#region src/backends/v1/protocol.d.ts
@@ -1418,6 +1419,43 @@ declare class CompositeBackend implements BackendProtocolV2 {
1418
1419
  downloadFiles(paths: string[]): Promise<FileDownloadResponse[]>;
1419
1420
  }
1420
1421
  //#endregion
1422
+ //#region src/backends/context-hub.d.ts
1423
+ /**
1424
+ * Backend that stores files in a LangSmith Hub agent repo (persistent).
1425
+ */
1426
+ declare class ContextHubBackend implements BackendProtocolV2 {
1427
+ private identifier;
1428
+ private client;
1429
+ private cache;
1430
+ private linkedEntries;
1431
+ private commitHash;
1432
+ constructor(identifier: string, options?: {
1433
+ client?: Client;
1434
+ });
1435
+ private static stripPrefix;
1436
+ private static toHubUnavailableError;
1437
+ private loadTree;
1438
+ private ensureCache;
1439
+ private commit;
1440
+ /**
1441
+ * Return linked-entry paths mapped to their repo handles.
1442
+ */
1443
+ getLinkedEntries(): Promise<Record<string, string>>;
1444
+ /**
1445
+ * Return true if the hub repo already exists with at least one commit.
1446
+ */
1447
+ hasPriorCommits(): Promise<boolean>;
1448
+ ls(path?: string): Promise<LsResult>;
1449
+ read(filePath: string, offset?: number, limit?: number): Promise<ReadResult>;
1450
+ readRaw(filePath: string): Promise<ReadRawResult>;
1451
+ grep(pattern: string, path?: string | null, glob?: string | null): Promise<GrepResult>;
1452
+ glob(pattern: string, _path?: string): Promise<GlobResult>;
1453
+ write(filePath: string, content: string): Promise<WriteResult>;
1454
+ edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
1455
+ uploadFiles(files: Array<[string, Uint8Array]>): Promise<FileUploadResponse[]>;
1456
+ downloadFiles(paths: string[]): Promise<FileDownloadResponse[]>;
1457
+ }
1458
+ //#endregion
1421
1459
  //#region src/backends/local-shell.d.ts
1422
1460
  /**
1423
1461
  * Options for creating a LocalShellBackend instance.
@@ -1703,10 +1741,17 @@ interface LangSmithSandboxOptions {
1703
1741
  defaultTimeout?: number;
1704
1742
  }
1705
1743
  /** Options for the `LangSmithSandbox.create()` static factory. */
1706
- interface LangSmithSandboxCreateOptions extends Omit<CreateSandboxOptions, "name" | "timeout" | "waitForReady"> {
1744
+ interface LangSmithSandboxCreateOptions extends Omit<CreateSandboxOptions, "name" | "timeout" | "waitForReady" | "snapshotName"> {
1745
+ /**
1746
+ * Snapshot ID to boot from.
1747
+ * Mutually exclusive with `templateName`.
1748
+ */
1749
+ snapshotId?: string;
1707
1750
  /**
1708
1751
  * Name of the LangSmith sandbox template to use.
1709
- * @default "deepagents"
1752
+ * Mutually exclusive with `snapshotId`.
1753
+ * @deprecated Use `snapshotId` instead. Template-based creation will be
1754
+ * removed in a future release.
1710
1755
  */
1711
1756
  templateName?: string;
1712
1757
  /**
@@ -1765,6 +1810,33 @@ declare class LangSmithSandbox extends BaseSandbox {
1765
1810
  * cannot be used again.
1766
1811
  */
1767
1812
  close(): Promise<void>;
1813
+ /**
1814
+ * Start a stopped sandbox and wait until it is ready.
1815
+ *
1816
+ * After calling this, `isRunning` will be `true` and the sandbox
1817
+ * can be used for command execution and file operations again.
1818
+ *
1819
+ * @param options - Start options (timeout, signal).
1820
+ */
1821
+ start(options?: StartSandboxOptions): Promise<void>;
1822
+ /**
1823
+ * Stop the sandbox without deleting it.
1824
+ *
1825
+ * Sandbox files are preserved and the sandbox can be restarted later
1826
+ * with `start()`. After calling this, `isRunning` will be `false`.
1827
+ */
1828
+ stop(): Promise<void>;
1829
+ /**
1830
+ * Capture a snapshot from this running sandbox.
1831
+ *
1832
+ * Snapshots can be used to create new sandboxes via
1833
+ * `LangSmithSandbox.create({ snapshotId })`.
1834
+ *
1835
+ * @param name - Name for the snapshot.
1836
+ * @param options - Capture options (checkpoint, timeout).
1837
+ * @returns The created Snapshot in "ready" status.
1838
+ */
1839
+ captureSnapshot(name: string, options?: CaptureSnapshotOptions): Promise<Snapshot>;
1768
1840
  /**
1769
1841
  * Create and return a new LangSmithSandbox in one step.
1770
1842
  *
@@ -1773,7 +1845,10 @@ declare class LangSmithSandbox extends BaseSandbox {
1773
1845
  *
1774
1846
  * @example
1775
1847
  * ```typescript
1776
- * const sandbox = await LangSmithSandbox.create({ templateName: "deepagents" });
1848
+ * const sandbox = await LangSmithSandbox.create({
1849
+ * snapshotId: "abc-123",
1850
+ * });
1851
+ *
1777
1852
  * try {
1778
1853
  * const agent = createDeepAgent({ model, backend: sandbox });
1779
1854
  * await agent.invoke({ messages: [...] });
@@ -1782,7 +1857,7 @@ declare class LangSmithSandbox extends BaseSandbox {
1782
1857
  * }
1783
1858
  * ```
1784
1859
  */
1785
- static create(options?: LangSmithSandboxCreateOptions): Promise<LangSmithSandbox>;
1860
+ static create(options: LangSmithSandboxCreateOptions): Promise<LangSmithSandbox>;
1786
1861
  }
1787
1862
  //#endregion
1788
1863
  //#region src/backends/utils.d.ts
@@ -3320,6 +3395,361 @@ declare class ConfigurationError extends Error {
3320
3395
  static isInstance(error: unknown): error is ConfigurationError;
3321
3396
  }
3322
3397
  //#endregion
3398
+ //#region src/profiles/harness/types.d.ts
3399
+ /**
3400
+ * Middleware names that provide essential agent capabilities and cannot
3401
+ * be excluded via `excludedMiddleware`.
3402
+ *
3403
+ * - `FilesystemMiddleware` backs all built-in file tools and enforces
3404
+ * filesystem permissions.
3405
+ * - `SubAgentMiddleware` backs the `task` tool for subagent delegation.
3406
+ */
3407
+ declare const REQUIRED_MIDDLEWARE_NAMES: Set<string>;
3408
+ /**
3409
+ * Configuration for the auto-added general-purpose subagent.
3410
+ *
3411
+ * All fields use three-state semantics: `undefined` inherits the
3412
+ * default, an explicit value overrides it. This allows model-level
3413
+ * profiles to selectively override provider-level defaults without
3414
+ * clobbering fields they don't care about.
3415
+ */
3416
+ interface GeneralPurposeSubagentConfig {
3417
+ /**
3418
+ * Whether to auto-add the general-purpose subagent.
3419
+ *
3420
+ * - `undefined` — inherit the default (enabled).
3421
+ * - `true` — force inclusion even if a provider profile disables it.
3422
+ * - `false` — disable the GP subagent entirely.
3423
+ *
3424
+ * @default undefined
3425
+ */
3426
+ enabled?: boolean;
3427
+ /**
3428
+ * Override the default GP subagent description shown to the model.
3429
+ *
3430
+ * @default undefined (uses `DEFAULT_GENERAL_PURPOSE_DESCRIPTION`)
3431
+ */
3432
+ description?: string;
3433
+ /**
3434
+ * Override the default GP subagent system prompt.
3435
+ *
3436
+ * When both this and `HarnessProfile.baseSystemPrompt` are set, this
3437
+ * more-specific value wins for the GP subagent.
3438
+ *
3439
+ * @default undefined (uses `DEFAULT_SUBAGENT_PROMPT`)
3440
+ */
3441
+ systemPrompt?: string;
3442
+ }
3443
+ /**
3444
+ * User-facing options for creating a {@link HarnessProfile}.
3445
+ *
3446
+ * Accepts plain arrays and records; the factory function converts them
3447
+ * to their frozen counterparts. All fields are optional — an empty
3448
+ * object produces a no-op profile.
3449
+ */
3450
+ interface HarnessProfileOptions {
3451
+ /**
3452
+ * Replaces the default `BASE_AGENT_PROMPT` when set.
3453
+ *
3454
+ * Use this when a model requires a fundamentally different base
3455
+ * prompt rather than an additive suffix. Most profiles should prefer
3456
+ * `systemPromptSuffix` instead.
3457
+ *
3458
+ * @default undefined (keeps the default base prompt)
3459
+ */
3460
+ baseSystemPrompt?: string;
3461
+ /**
3462
+ * Text appended to the assembled base prompt with a blank-line
3463
+ * separator (`\n\n`).
3464
+ *
3465
+ * This is the primary mechanism for model-specific prompt tuning.
3466
+ * Applied uniformly to the main agent, declarative subagents, and
3467
+ * the auto-added general-purpose subagent.
3468
+ *
3469
+ * @default undefined (no suffix appended)
3470
+ */
3471
+ systemPromptSuffix?: string;
3472
+ /**
3473
+ * Per-tool description replacements keyed by tool name.
3474
+ *
3475
+ * Allows profiles to rewrite tool descriptions for models that
3476
+ * respond better to different phrasing. Keys that don't match any
3477
+ * tool in the final tool set are silently ignored.
3478
+ *
3479
+ * @default {} (no overrides)
3480
+ */
3481
+ toolDescriptionOverrides?: Record<string, string>;
3482
+ /**
3483
+ * Tool names to remove from the agent's visible tool set.
3484
+ *
3485
+ * Applied via a filtering middleware after all tool-injecting
3486
+ * middleware have run, so it catches both user-provided and
3487
+ * middleware-provided tools.
3488
+ *
3489
+ * @default [] (no tools excluded)
3490
+ */
3491
+ excludedTools?: string[];
3492
+ /**
3493
+ * Middleware names to remove from the assembled middleware stack.
3494
+ *
3495
+ * Matched against each middleware's `.name` property. Cannot include
3496
+ * required scaffolding names (`FilesystemMiddleware`,
3497
+ * `SubAgentMiddleware`) — attempting to do so throws at construction
3498
+ * time.
3499
+ *
3500
+ * @default [] (no middleware excluded)
3501
+ */
3502
+ excludedMiddleware?: string[];
3503
+ /**
3504
+ * Additional middleware appended to the stack after user middleware.
3505
+ *
3506
+ * Can be a static array or a zero-arg factory that returns fresh
3507
+ * instances per agent construction (important when middleware carries
3508
+ * mutable state).
3509
+ *
3510
+ * @default [] (no extra middleware)
3511
+ */
3512
+ extraMiddleware?: AgentMiddleware[] | (() => AgentMiddleware[]);
3513
+ /**
3514
+ * Configuration for the auto-added general-purpose subagent.
3515
+ *
3516
+ * @default undefined (GP subagent uses all defaults)
3517
+ */
3518
+ generalPurposeSubagent?: GeneralPurposeSubagentConfig;
3519
+ }
3520
+ /**
3521
+ * Frozen runtime harness profile that shapes agent behavior at
3522
+ * assembly time.
3523
+ *
3524
+ * Created by {@link createHarnessProfile} from user-provided
3525
+ * {@link HarnessProfileOptions}. Collection types are narrowed
3526
+ * (arrays → `Set`, records frozen) and all fields are required.
3527
+ * The object is frozen via `Object.freeze()` to prevent mutation
3528
+ * after construction.
3529
+ *
3530
+ * Profiles are **orthogonal to model selection**: they control prompt
3531
+ * assembly, tool visibility, middleware composition, and subagent
3532
+ * configuration — not which model is used.
3533
+ */
3534
+ interface HarnessProfile {
3535
+ /**
3536
+ * Replaces the default `BASE_AGENT_PROMPT` when set.
3537
+ *
3538
+ * Use this when a model requires a fundamentally different base
3539
+ * prompt rather than an additive suffix. Most profiles should prefer
3540
+ * `systemPromptSuffix` instead.
3541
+ */
3542
+ baseSystemPrompt: string | undefined;
3543
+ /**
3544
+ * Text appended to the assembled base prompt with a blank-line
3545
+ * separator (`\n\n`).
3546
+ *
3547
+ * This is the primary mechanism for model-specific prompt tuning.
3548
+ * Applied uniformly to the main agent, declarative subagents, and
3549
+ * the auto-added general-purpose subagent.
3550
+ */
3551
+ systemPromptSuffix: string | undefined;
3552
+ /**
3553
+ * Per-tool description replacements keyed by tool name.
3554
+ *
3555
+ * Allows profiles to rewrite tool descriptions for models that
3556
+ * respond better to different phrasing. Keys that don't match any
3557
+ * tool in the final tool set are silently ignored.
3558
+ */
3559
+ toolDescriptionOverrides: Record<string, string>;
3560
+ /**
3561
+ * Tool names to remove from the agent's visible tool set.
3562
+ *
3563
+ * Applied via a filtering middleware after all tool-injecting
3564
+ * middleware have run, so it catches both user-provided and
3565
+ * middleware-provided tools.
3566
+ */
3567
+ excludedTools: Set<string>;
3568
+ /**
3569
+ * Middleware names to remove from the assembled middleware stack.
3570
+ *
3571
+ * Matched against each middleware's `.name` property. Cannot include
3572
+ * required scaffolding names (`FilesystemMiddleware`,
3573
+ * `SubAgentMiddleware`) — attempting to do so throws at construction
3574
+ * time.
3575
+ */
3576
+ excludedMiddleware: Set<string>;
3577
+ /**
3578
+ * Additional middleware appended to the stack after user middleware.
3579
+ *
3580
+ * Can be a static array or a zero-arg factory that returns fresh
3581
+ * instances per agent construction (important when middleware carries
3582
+ * mutable state).
3583
+ */
3584
+ extraMiddleware: AgentMiddleware[] | (() => AgentMiddleware[]);
3585
+ /**
3586
+ * Configuration for the auto-added general-purpose subagent.
3587
+ */
3588
+ generalPurposeSubagent: GeneralPurposeSubagentConfig | undefined;
3589
+ }
3590
+ //#endregion
3591
+ //#region src/profiles/harness/create.d.ts
3592
+ /**
3593
+ * Create a frozen {@link HarnessProfile} from user-provided options.
3594
+ *
3595
+ * Validates all fields, converts mutable collections to their
3596
+ * frozen counterparts, and returns a frozen object.
3597
+ * Empty options produce a no-op profile (all defaults).
3598
+ *
3599
+ * @param options - Partial profile configuration.
3600
+ * @returns A frozen, validated `HarnessProfile`.
3601
+ * @throws {Error} When any field violates validation rules (invalid
3602
+ * middleware names, scaffolding exclusion attempts).
3603
+ *
3604
+ * @example
3605
+ * ```typescript
3606
+ * const profile = createHarnessProfile({
3607
+ * systemPromptSuffix: "Think step by step.",
3608
+ * excludedTools: ["execute"],
3609
+ * });
3610
+ * ```
3611
+ */
3612
+ declare function createHarnessProfile(options?: HarnessProfileOptions): HarnessProfile;
3613
+ /**
3614
+ * An empty no-op profile used as the default when no registered
3615
+ * profile matches. Avoids creating a new object on every miss.
3616
+ */
3617
+ declare const EMPTY_HARNESS_PROFILE: HarnessProfile;
3618
+ //#endregion
3619
+ //#region src/profiles/harness/serialization.d.ts
3620
+ /**
3621
+ * Zod schema for the general-purpose subagent config section of an
3622
+ * external harness profile config file.
3623
+ */
3624
+ declare const generalPurposeSubagentConfigSchema: z.ZodObject<{
3625
+ enabled: z.ZodOptional<z.ZodBoolean>;
3626
+ description: z.ZodOptional<z.ZodString>;
3627
+ systemPrompt: z.ZodOptional<z.ZodString>;
3628
+ }, z.core.$strict>;
3629
+ /**
3630
+ * Zod schema for parsing a harness profile from an external JSON or
3631
+ * YAML config file.
3632
+ *
3633
+ * Uses `.strict()` to reject unknown keys (catches typos early). Array
3634
+ * fields (`excludedTools`, `excludedMiddleware`) accept arrays of
3635
+ * strings; the result is passed to {@link createHarnessProfile} which
3636
+ * converts them to `Set`.
3637
+ *
3638
+ * Does not include `extraMiddleware` — middleware instances cannot be
3639
+ * represented in JSON/YAML.
3640
+ *
3641
+ * @example
3642
+ * ```typescript
3643
+ * import { readFileSync } from "fs";
3644
+ * import YAML from "yaml";
3645
+ *
3646
+ * const raw = YAML.parse(readFileSync("profile.yaml", "utf-8"));
3647
+ * const config = harnessProfileConfigSchema.parse(raw);
3648
+ * const profile = createHarnessProfile(config);
3649
+ * ```
3650
+ */
3651
+ declare const harnessProfileConfigSchema: z.ZodObject<{
3652
+ baseSystemPrompt: z.ZodOptional<z.ZodString>;
3653
+ systemPromptSuffix: z.ZodOptional<z.ZodString>;
3654
+ toolDescriptionOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3655
+ excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
3656
+ excludedMiddleware: z.ZodOptional<z.ZodArray<z.ZodString>>;
3657
+ generalPurposeSubagent: z.ZodOptional<z.ZodObject<{
3658
+ enabled: z.ZodOptional<z.ZodBoolean>;
3659
+ description: z.ZodOptional<z.ZodString>;
3660
+ systemPrompt: z.ZodOptional<z.ZodString>;
3661
+ }, z.core.$strict>>;
3662
+ }, z.core.$strict>;
3663
+ /**
3664
+ * TypeScript type inferred from the Zod config schema.
3665
+ *
3666
+ * Represents the JSON/YAML-compatible shape of a harness profile. This
3667
+ * is the type of data that comes out of `harnessProfileConfigSchema.parse()`.
3668
+ */
3669
+ type HarnessProfileConfigData = z.infer<typeof harnessProfileConfigSchema>;
3670
+ /**
3671
+ * Parse an untrusted JSON/YAML object into a validated
3672
+ * {@link HarnessProfile}.
3673
+ *
3674
+ * Combines Zod schema validation with prototype-pollution protection
3675
+ * and profile construction validation. Use this for any config data
3676
+ * that originates from files, network, or user input.
3677
+ *
3678
+ * @param data - Raw object from `JSON.parse()` or `YAML.parse()`.
3679
+ * @returns A frozen, validated `HarnessProfile`.
3680
+ * @throws {z.ZodError} When the data fails schema validation.
3681
+ * @throws {Error} When profile-level validation fails (e.g.,
3682
+ * scaffolding violation in `excludedMiddleware`).
3683
+ */
3684
+ declare function parseHarnessProfileConfig(data: unknown): HarnessProfile;
3685
+ /**
3686
+ * Serialize a {@link HarnessProfile} to a JSON-compatible object.
3687
+ *
3688
+ * Omits `undefined` fields and `extraMiddleware` (runtime-only).
3689
+ * Throws if `extraMiddleware` contains instances — callers should
3690
+ * strip it before serializing if they've set it.
3691
+ *
3692
+ * @param profile - The profile to serialize.
3693
+ * @returns A plain object matching {@link HarnessProfileConfigData}.
3694
+ * @throws {Error} When `extraMiddleware` is non-empty (cannot be
3695
+ * serialized to JSON).
3696
+ */
3697
+ declare function serializeProfile(profile: HarnessProfile): HarnessProfileConfigData;
3698
+ //#endregion
3699
+ //#region src/profiles/harness/registry.d.ts
3700
+ /**
3701
+ * Register a harness profile for a provider or specific model.
3702
+ *
3703
+ * Accepts either a pre-built {@link HarnessProfile} (from
3704
+ * {@link createHarnessProfile}) or raw {@link HarnessProfileOptions}
3705
+ * that will be validated and frozen automatically.
3706
+ *
3707
+ * Registrations are **additive**: if a profile already exists under
3708
+ * `key`, the new profile is merged on top. The incoming profile's
3709
+ * fields win on scalar conflicts; set fields union; middleware
3710
+ * sequences merge by name.
3711
+ *
3712
+ * @param key - Either a bare provider (`"openai"`) for provider-wide
3713
+ * defaults, or `"provider:model"` for a per-model override.
3714
+ * @param profile - A `HarnessProfile` or options to build one from.
3715
+ * @throws {Error} When `key` is malformed or profile validation
3716
+ * fails.
3717
+ *
3718
+ * @example
3719
+ * ```typescript
3720
+ * import { registerHarnessProfile } from "@langchain/deepagents";
3721
+ *
3722
+ * registerHarnessProfile("openai", {
3723
+ * systemPromptSuffix: "Respond concisely.",
3724
+ * });
3725
+ *
3726
+ * registerHarnessProfile("openai:gpt-5.4", {
3727
+ * excludedTools: ["execute"],
3728
+ * });
3729
+ * ```
3730
+ */
3731
+ declare function registerHarnessProfile(key: string, profile: HarnessProfile | HarnessProfileOptions): void;
3732
+ /**
3733
+ * Look up the {@link HarnessProfile} for a model spec string.
3734
+ *
3735
+ * Resolution order:
3736
+ *
3737
+ * 1. **Exact match** on `spec` (e.g., `"openai:gpt-5.4"`).
3738
+ * 2. **Provider prefix** (everything before `:`) when `spec` contains
3739
+ * a colon and both halves are non-empty.
3740
+ * 3. When both exist, they are **merged** (provider as base, exact as
3741
+ * override).
3742
+ * 4. `undefined` when nothing matches.
3743
+ *
3744
+ * Malformed specs (empty, multiple colons, empty halves) return
3745
+ * `undefined` without consulting the registry.
3746
+ *
3747
+ * @param spec - Model spec in `"provider:model"` format, or a bare
3748
+ * provider/model identifier.
3749
+ * @returns The matching profile, or `undefined`.
3750
+ */
3751
+ declare function getHarnessProfile(spec: string): HarnessProfile | undefined;
3752
+ //#endregion
3323
3753
  //#region src/config.d.ts
3324
3754
  /**
3325
3755
  * Configuration and settings for deepagents.
@@ -3525,5 +3955,5 @@ declare function parseSkillMetadata(skillMdPath: string, source: "user" | "proje
3525
3955
  */
3526
3956
  declare function listSkills(options: ListSkillsOptions): SkillMetadata[];
3527
3957
  //#endregion
3528
- export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GlobResult, type GrepMatch, type GrepResult, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, LangSmithSandbox, type LangSmithSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, 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 Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseSkillMetadata, resolveBackend };
3958
+ export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgentMiddleware, createSubagentTransformer, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
3529
3959
  //# sourceMappingURL=index.d.cts.map