deepagents 1.14.2 → 1.15.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.
@@ -7,15 +7,15 @@ import * as _messages from "@langchain/core/messages";
7
7
  import { BaseMessage, SystemMessage as SystemMessage$1 } from "@langchain/core/messages";
8
8
  import * as z$2 from "zod";
9
9
  import { z as z$1 } from "zod";
10
+ import { Runnable } from "@langchain/core/runnables";
11
+ import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
12
+ import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
13
+ import { InteropZodObject } from "@langchain/core/utils/types";
10
14
  import { Client } from "@langchain/langgraph-sdk";
11
15
  import { Client as Client$1 } from "langsmith";
12
16
  import { CaptureSnapshotOptions, CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, CreateSandboxOptions, Sandbox, Snapshot, Snapshot as LangSmithSnapshot, StartSandboxOptions, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
13
17
  import { BaseCheckpointSaver, BaseStore } from "@langchain/langgraph-checkpoint";
14
- import { ClientTool, ServerTool, StructuredTool as StructuredTool$1 } from "@langchain/core/tools";
15
- import { BaseLanguageModel, LanguageModelLike } from "@langchain/core/language_models/base";
16
- import { Runnable } from "@langchain/core/runnables";
17
18
  import { BaseChatModel } from "@langchain/core/language_models/chat_models";
18
- import { InteropZodObject } from "@langchain/core/utils/types";
19
19
  //#region src/backends/v1/protocol.d.ts
20
20
  /**
21
21
  * Protocol for pluggable memory backends (single, unified).
@@ -908,6 +908,12 @@ interface FilesystemMiddlewareOptions {
908
908
  * default. Applies to `ls`, `read_file`, `write_file`, `edit_file`,
909
909
  * `glob`, and `grep`.
910
910
  *
911
+ * Paths are canonicalized (`.` and empty segments dropped) before matching.
912
+ * With `FilesystemBackend` (or a `CompositeBackend` route to one), rules
913
+ * are also checked against the symlink-resolved target, and a deny on either
914
+ * form blocks the call — so allow rules must cover a symlink's target, not
915
+ * just the link.
916
+ *
911
917
  * **Note on `execute`**: permissions are not enforced on `execute` because
912
918
  * shell commands can access any path regardless of path-based rules. Using
913
919
  * permissions with an execution-capable backend (one where `isSandboxBackend`
@@ -1023,12 +1029,12 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
1023
1029
  offset: number;
1024
1030
  limit: number;
1025
1031
  }, unknown, {
1026
- type: string;
1027
- text: string;
1028
- }[] | {
1029
1032
  type: string;
1030
1033
  mimeType: string;
1031
1034
  data: string;
1035
+ }[] | {
1036
+ type: string;
1037
+ text: string;
1032
1038
  }[] | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "read_file"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
1033
1039
  file_path: z.ZodString;
1034
1040
  content: z.ZodString;
@@ -1103,7 +1109,7 @@ declare const EXECUTION_SYSTEM_PROMPT: string;
1103
1109
  * Each code represents a distinct misconfiguration that can be detected at
1104
1110
  * agent-construction time. Add new codes here as new validations are added.
1105
1111
  */
1106
- type ConfigurationErrorCode = "TOOL_NAME_COLLISION";
1112
+ type ConfigurationErrorCode = "TOOL_NAME_COLLISION" | "SKILL_TOOLS_DUPLICATE_NAME" | "SKILL_TOOLS_UNSUPPORTED_TYPE";
1107
1113
  declare const CONFIGURATION_ERROR_SYMBOL: unique symbol;
1108
1114
  /**
1109
1115
  * Thrown when `createDeepAgent` receives invalid configuration.
@@ -1598,6 +1604,10 @@ interface SubAgent {
1598
1604
  * Note: Custom subagents do NOT inherit skills from the main agent by default.
1599
1605
  * Only the general-purpose subagent inherits the main agent's skills.
1600
1606
  *
1607
+ * Not needed when you pass a `createSkillsMiddleware` in `middleware`, for
1608
+ * example to give the subagent skill `tools`: that middleware takes the
1609
+ * same slot on its own.
1610
+ *
1601
1611
  * @example
1602
1612
  * ```typescript
1603
1613
  * const researcher: SubAgent = {
@@ -2054,10 +2064,49 @@ interface SkillMetadata$1 {
2054
2064
  */
2055
2065
  module?: string;
2056
2066
  }
2067
+ /**
2068
+ * Return the skill tools that one `metadata.include_tools` name stands for.
2069
+ *
2070
+ * A resolver lets a skill list tools whose real names are only known at
2071
+ * runtime, such as generated MCP tool names, and lets one name stand for a
2072
+ * family of tools. It's called with the name and the agent's `runtime`, on
2073
+ * every model call while a read or pin of a skill listing that name stays in
2074
+ * context, and again before one of its tools runs. It may return the tools or
2075
+ * a promise of them.
2076
+ *
2077
+ * - Return the same tools for the same name within a thread, or the prompt
2078
+ * cache breaks: a change moves bytes at a position that has already been
2079
+ * sent.
2080
+ * - Keep it cheap, or cache, since it runs on every model call.
2081
+ * - One resolver serves every thread, so scope any cache by what the tools
2082
+ * depend on, usually something in `runtime.context`.
2083
+ * - Names are resolved concurrently, so cache the pending promise, not only
2084
+ * its result.
2085
+ * - Exceptions propagate out of the model call or tool call. To degrade
2086
+ * gracefully, catch inside the resolver and return `[]`.
2087
+ *
2088
+ * A name that exactly matches a tool already in the request is claimed by that
2089
+ * tool and never passed to the resolver.
2090
+ *
2091
+ * @example
2092
+ * ```typescript
2093
+ * // e.g. every tool on a Linear MCP connection, whatever their generated names
2094
+ * const resolveSkillTools: SkillToolResolver<{ workspaceId: string }> = async (
2095
+ * name,
2096
+ * runtime,
2097
+ * ) => (await toolsForWorkspace(runtime.context.workspaceId))[name] ?? [];
2098
+ *
2099
+ * createSkillsMiddleware({ backend, sources: ["/skills/"], tools: resolveSkillTools });
2100
+ * ```
2101
+ */
2102
+ type SkillToolResolver<TContext = unknown> = (name: string, runtime: Runtime<TContext>) => readonly ClientTool[] | Promise<readonly ClientTool[]>;
2057
2103
  /**
2058
2104
  * Options for the skills middleware.
2105
+ *
2106
+ * @typeParam TContext - The agent's context type, as a `tools` resolver
2107
+ * receives it on `runtime.context`.
2059
2108
  */
2060
- interface SkillsMiddlewareOptions {
2109
+ interface SkillsMiddlewareOptions<TContext = unknown> {
2061
2110
  /**
2062
2111
  * Backend instance or factory function for file operations.
2063
2112
  * Use a factory for StateBackend since it requires runtime state.
@@ -2090,6 +2139,18 @@ interface SkillsMiddlewareOptions {
2090
2139
  * ```
2091
2140
  */
2092
2141
  sources: readonly string[];
2142
+ /**
2143
+ * Tools the model sees only after a skill that lists them in its `SKILL.md`
2144
+ * frontmatter, as a space-separated `metadata.include_tools`, is read or
2145
+ * pinned.
2146
+ *
2147
+ * Pass an array of tools, or a {@link SkillToolResolver} that looks up the
2148
+ * tools one `include_tools` name stands for when a skill is read or pinned.
2149
+ * Unlike other middleware's tools, these are never registered with the
2150
+ * agent: see {@link createSkillsMiddleware} for how they are disclosed and
2151
+ * gated.
2152
+ */
2153
+ tools?: readonly ClientTool[] | SkillToolResolver<TContext>;
2093
2154
  }
2094
2155
  /**
2095
2156
  * Zod schema for a single skill metadata entry.
@@ -2144,6 +2205,39 @@ declare const skillsMetadataValue: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<
2144
2205
  allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2145
2206
  module: z$1.ZodOptional<z$1.ZodString>;
2146
2207
  }, z$1.core.$strip>>>>;
2208
+ /**
2209
+ * State value for a middleware's `pinnedSkills` field: the names of skills to
2210
+ * pin.
2211
+ *
2212
+ * The next time the skills middleware's `beforeModel` runs, before a model
2213
+ * call, each named skill's `SKILL.md`, without its frontmatter, is appended to
2214
+ * the conversation as its own `HumanMessage`, in the order named. The message
2215
+ * is a snapshot: editing the file later doesn't change it, and naming the
2216
+ * skill again appends a new copy.
2217
+ *
2218
+ * Names only, matched exactly against the loaded skills. A name that isn't
2219
+ * loaded, or whose `SKILL.md` can't be read, is skipped without an error. The
2220
+ * key is cleared once consumed, so a later run pins nothing unless it names
2221
+ * skills again. Writes in the same step add up, so parallel tool calls can
2222
+ * each pin skills by returning a `Command`.
2223
+ *
2224
+ * Like {@link skillsMetadataValue}, treat the value as opaque. A middleware
2225
+ * declares it on its state schema to set `pinnedSkills` from its own hooks.
2226
+ *
2227
+ * @example
2228
+ * ```typescript
2229
+ * import { createMiddleware } from "langchain";
2230
+ * import { StateSchema } from "@langchain/langgraph";
2231
+ * import { pinnedSkillsValue } from "deepagents";
2232
+ *
2233
+ * const routeSkills = createMiddleware({
2234
+ * name: "RouteSkills",
2235
+ * stateSchema: new StateSchema({ pinnedSkills: pinnedSkillsValue }),
2236
+ * beforeAgent: (state) => ({ pinnedSkills: skillsFor(state.messages) }),
2237
+ * });
2238
+ * ```
2239
+ */
2240
+ declare const pinnedSkillsValue: ReducedValue<string[], string[] | undefined>;
2147
2241
  /**
2148
2242
  * Create backend-agnostic middleware for loading and exposing agent skills.
2149
2243
  *
@@ -2167,8 +2261,62 @@ declare const skillsMetadataValue: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<
2167
2261
  * invalidate from any hook — including mid-run, from `afterModel` — and see
2168
2262
  * the fresh list on the following call. See {@link skillsMetadataValue}.
2169
2263
  *
2264
+ * To guarantee the model gets a skill's instructions, for example when the
2265
+ * user names it, pass its name in `pinnedSkills`. Before the next model call,
2266
+ * each named skill's `SKILL.md`, without its frontmatter, is appended to the
2267
+ * conversation as its own `HumanMessage`, with `additional_kwargs.lc_source`
2268
+ * set to `"pinned_skill"` and the skill's `name`, `path` and `description`
2269
+ * under `additional_kwargs.skill`:
2270
+ *
2271
+ * ```ts
2272
+ * await agent.invoke(
2273
+ * {
2274
+ * messages: [new HumanMessage("/write-tests /house-style for auth.py")],
2275
+ * pinnedSkills: ["write-tests", "house-style"],
2276
+ * },
2277
+ * config,
2278
+ * );
2279
+ * ```
2280
+ *
2281
+ * Pins resolve against the skills loaded for the thread, so reset
2282
+ * `skillsMetadata` in the same input to pin a skill added since. See
2283
+ * {@link pinnedSkillsValue}.
2284
+ *
2285
+ * ## Skill tools
2286
+ *
2287
+ * A skill can list the tools its instructions use, separated by spaces, under
2288
+ * `metadata.include_tools` in its `SKILL.md` frontmatter:
2289
+ *
2290
+ * ```yaml
2291
+ * metadata:
2292
+ * include_tools: create_customer_request list_customer_requests
2293
+ * ```
2294
+ *
2295
+ * Pass those tools as `tools`, either as an array or as a
2296
+ * {@link SkillToolResolver} that looks them up by name when a skill is read
2297
+ * or pinned, so one name can stand for a family of tools whose real names are
2298
+ * only known at runtime. The model sees a skill tool only after it reads, with
2299
+ * `read_file`, a skill that lists it, or the skill is pinned, and only while
2300
+ * that read or pin stays in the conversation it is sent; compaction that drops
2301
+ * the read or pin withdraws the tool.
2302
+ * Until then, calling the tool fails with the standard invalid-tool error and
2303
+ * the tool doesn't run. This controls what is in the model's context; it is
2304
+ * not a security boundary, since the model can read any `SKILL.md` at any
2305
+ * time.
2306
+ *
2307
+ * `include_tools` can also name a tool passed to the agent rather than to this
2308
+ * middleware. That tool wins over a skill tool of the same name. If it is
2309
+ * deferred (`extras: { defer_loading: true }`), reading or pinning the skill
2310
+ * discloses it early, and it stays deferred and searchable; if it is bound,
2311
+ * nothing changes.
2312
+ *
2313
+ *
2170
2314
  * @param options - Configuration options
2171
2315
  * @returns AgentMiddleware for skills loading and injection
2316
+ * @throws {ConfigurationError} If `tools` is neither an array nor a
2317
+ * function (`SKILL_TOOLS_UNSUPPORTED_TYPE`), an entry isn't a client tool
2318
+ * (`SKILL_TOOLS_UNSUPPORTED_TYPE`), or two entries share a name
2319
+ * (`SKILL_TOOLS_DUPLICATE_NAME`).
2172
2320
  *
2173
2321
  * @example
2174
2322
  * ```typescript
@@ -2178,7 +2326,7 @@ declare const skillsMetadataValue: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<
2178
2326
  * });
2179
2327
  * ```
2180
2328
  */
2181
- declare function createSkillsMiddleware(options: SkillsMiddlewareOptions): AgentMiddleware<StateSchema<{
2329
+ declare function createSkillsMiddleware<TContext = unknown>(options: SkillsMiddlewareOptions<TContext>): AgentMiddleware<StateSchema<{
2182
2330
  skillsMetadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
2183
2331
  name: z$1.ZodString;
2184
2332
  description: z$1.ZodString;
@@ -2189,8 +2337,16 @@ declare function createSkillsMiddleware(options: SkillsMiddlewareOptions): Agent
2189
2337
  allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
2190
2338
  module: z$1.ZodOptional<z$1.ZodString>;
2191
2339
  }, z$1.core.$strip>>>>;
2192
- files: import("@langchain/langgraph").ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
2193
- }>, undefined, unknown, readonly (import("@langchain/core/tools").ServerTool | import("@langchain/core/tools").ClientTool)[], readonly []>;
2340
+ pinnedSkills: ReducedValue<string[], string[] | undefined>;
2341
+ files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
2342
+ /**
2343
+ * The skill tools disclosed to the latest model call, each mapped to the
2344
+ * include name that produced it, for the tool-time gate. Written on every
2345
+ * model call of a skills middleware with skill tools. The last write wins,
2346
+ * so a model call retried within one step can write it again.
2347
+ */
2348
+ _skillToolsDisclosed: ReducedValue<Record<string, string> | undefined, Record<string, string> | undefined>;
2349
+ }>, undefined, unknown, readonly (ServerTool | ClientTool)[], readonly []>;
2194
2350
  /**
2195
2351
  * The middleware value returned by {@link createSkillsMiddleware}.
2196
2352
  *
@@ -3547,6 +3703,15 @@ declare class FilesystemBackend implements BackendProtocolV2 {
3547
3703
  * delete(), which may target a symlink itself without following it.
3548
3704
  */
3549
3705
  private assertRealPathWithinRoot;
3706
+ /**
3707
+ * Resolve `key` to the path an operation would actually touch, following
3708
+ * symlinks in every existing segment (including dangling ones). Missing
3709
+ * trailing segments are kept as given.
3710
+ *
3711
+ * Paths inside the root keep the root's configured form. In virtual mode the
3712
+ * result is a virtual path, and a target outside the root throws.
3713
+ */
3714
+ private resolveRealPath;
3550
3715
  /**
3551
3716
  * Resolve the concrete path to unlink for a virtual delete operation.
3552
3717
  */
@@ -3664,7 +3829,7 @@ declare class CompositeBackend implements BackendProtocolV2 {
3664
3829
  constructor(defaultBackend: AnyBackendProtocol, routes: Record<string, AnyBackendProtocol>);
3665
3830
  /** Delegates to default backend's id if it is a sandbox, otherwise empty string. */
3666
3831
  get id(): string;
3667
- /** Route prefixes registered on this backend (e.g. `["/workspace"]`). */
3832
+ /** Route prefixes registered on this backend, normalized to a trailing slash (e.g. `["/workspace/"]`). */
3668
3833
  get routePrefixes(): string[];
3669
3834
  /**
3670
3835
  * Type guard — returns true if `backend` is a {@link CompositeBackend}.
@@ -3673,8 +3838,16 @@ declare class CompositeBackend implements BackendProtocolV2 {
3673
3838
  * where `instanceof` may fail.
3674
3839
  */
3675
3840
  static isInstance(backend: unknown): backend is CompositeBackend;
3676
- /** Returns the backend for `path`, with the matched prefix stripped from the returned path. */
3841
+ /**
3842
+ * Returns the backend for `path`, with the matched prefix stripped (`/foo` → `/`).
3843
+ * Routes match on path-segment boundaries: `/foo` matches `/foo/bar` but not `/foobar`.
3844
+ */
3677
3845
  resolveBackendForPath(path: string): [BackendProtocolV2, string];
3846
+ /**
3847
+ * Resolve symlinks via the backend that owns `path`, re-adding the route
3848
+ * prefix. Returns `path` unchanged when that backend has no realpath hook.
3849
+ */
3850
+ private resolveRealPath;
3678
3851
  /**
3679
3852
  * Determine which backend handles this key and strip prefix.
3680
3853
  *
@@ -4479,12 +4652,12 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4479
4652
  offset: number;
4480
4653
  limit: number;
4481
4654
  }, unknown, {
4482
- type: string;
4483
- text: string;
4484
- }[] | {
4485
4655
  type: string;
4486
4656
  mimeType: string;
4487
4657
  data: string;
4658
+ }[] | {
4659
+ type: string;
4660
+ text: string;
4488
4661
  }[] | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "read_file"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
4489
4662
  file_path: import("zod").ZodString;
4490
4663
  content: import("zod").ZodString;
@@ -4532,5 +4705,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
4532
4705
  }, import("zod/v4/core").$strip>>;
4533
4706
  }, 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>>;
4534
4707
  //#endregion
4535
- export { scrubUnsupportedMultimodalContent as $, FsToolName as $t, createSettings as A, SandboxListResponse as An, createSubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV1 as Bn, createHarnessProfile as Bt, listSkills as C, SandboxBackendProtocol as Cn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Ct, filesValue as D, SandboxGetOrCreateOptions as Dn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as Dt, createAgentMemoryMiddleware as E, SandboxErrorCode as En, GENERAL_PURPOSE_SUBAGENT as Et, CreateDeepAgentParams as F, isSandboxProtocol as Fn, generalPurposeSubagentConfigSchema as Ft, InferSubagentByName as G, ConfigurationError as Gt, InferDeepAgentType as H, HarnessProfile as Ht, DeepAgent as I, resolveBackend as In, harnessProfileConfigSchema as It, ResolveDeepAgentTypeConfig as J, BASE_AGENT_PROMPT as Jt, InferSubagentReactAgentType as K, ConfigurationErrorCode as Kt, DeepAgentTypeConfig as L, BackendProtocolV2 as Ln, parseHarnessProfileConfig as Lt, DeepAgentRunStream as M, WriteResult as Mn, getHarnessProfile as Mt, SubagentRunStream$1 as N, applyGrepMaxCount as Nn, registerHarnessProfile as Nt, Settings as O, SandboxInfo as On, SubAgent as Ot, AnySubAgent as P, isSandboxBackend as Pn, HarnessProfileConfigData as Pt, multimodalBlockSupported as Q, FilesystemMiddlewareOptions as Qt, DefaultDeepAgentTypeConfig as R, SandboxBackendProtocolV2 as Rn, serializeProfile as Rt, SkillMetadata as S, ReadResult as Sn, CompiledSubAgent as St, AgentMemoryMiddlewareOptions as T, SandboxError as Tn, ForkedSubAgent as Tt, InferStructuredResponse as U, HarnessProfileOptions as Ut, InferDeepAgentSubagents as V, GeneralPurposeSubagentConfig as Vt, InferSubAgentMiddlewareStates as W, REQUIRED_MIDDLEWARE_NAMES as Wt, MULTIMODAL_BLOCK_TYPES as X, SystemPromptConfig as Xt, SupportedResponseFormat as Y, EXECUTION_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, TASK_SYSTEM_PROMPT as Zt, StoreBackend as _, GrepMatch as _n, skillsMetadataValue as _t, adaptBackendProtocol as a, BackendFactory as an, isAsyncSubAgent as at, StoreBackendOptions as b, MaybePromise as bn, StateBackend as bt, LangSmithSandbox as c, DeleteResult as cn, CompletionCallbackOptions as ct, BaseSandbox as d, FileData as dn, MAX_SKILL_FILE_SIZE as dt, createFilesystemMiddleware as en, AsyncSubAgent as et, LocalShellBackend as f, FileDownloadResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, GlobResult as gn, createSkillsMiddleware as gt, CompositeBackend as h, FileUploadResponse as hn, SkillsMiddlewareOptions as ht, LangSmithStartSandboxOptions as i, AnyBackendProtocol as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, StateAndStore as jn, createSubAgentMiddleware as jt, SettingsOptions as k, SandboxListOptions as kn, SubAgentMiddlewareOptions as kt, LangSmithSandboxCreateOptions as l, EditResult as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileOperationError as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, FilesystemPermission as nn, AsyncTask as nt, adaptSandboxProtocol as o, BackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileInfo as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ASYNC_TASK_SYSTEM_PROMPT as qt, LangSmithSnapshot as r, PermissionMode as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendRuntime as sn, createSummarizationMiddleware as st, createDeepAgent as t, FilesystemOperation as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, ExecuteResponse as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GrepResult as vn, MemoryMiddlewareOptions as vt, parseSkillMetadata as w, SandboxDeleteOptions as wn, DEFAULT_SUBAGENT_PROMPT as wt, ListSkillsOptions as x, ReadRawResult as xn, createPatchToolCallsMiddleware as xt, StoreBackendNamespaceFactory as y, LsResult as yn, createMemoryMiddleware as yt, ExtractSubAgentMiddleware as z, BackendProtocolV1 as zn, EMPTY_HARNESS_PROFILE as zt };
4536
- //# sourceMappingURL=agent-BKShWAoi.d.ts.map
4708
+ export { scrubUnsupportedMultimodalContent as $, TASK_SYSTEM_PROMPT as $t, createSettings as A, SandboxInfo as An, SubAgent as At, FlattenSubAgentMiddleware as B, SandboxBackendProtocolV2 as Bn, serializeProfile as Bt, listSkills as C, ReadRawResult as Cn, createPatchToolCallsMiddleware as Ct, filesValue as D, SandboxError as Dn, ForkedSubAgent as Dt, createAgentMemoryMiddleware as E, SandboxDeleteOptions as En, DEFAULT_SUBAGENT_PROMPT as Et, CreateDeepAgentParams as F, applyGrepMaxCount as Fn, registerHarnessProfile as Ft, InferSubagentByName as G, HarnessProfileOptions as Gt, InferDeepAgentType as H, SandboxBackendProtocolV1 as Hn, createHarnessProfile as Ht, DeepAgent as I, isSandboxBackend as In, HarnessProfileConfigData as It, ResolveDeepAgentTypeConfig as J, ConfigurationErrorCode as Jt, InferSubagentReactAgentType as K, REQUIRED_MIDDLEWARE_NAMES as Kt, DeepAgentTypeConfig as L, isSandboxProtocol as Ln, generalPurposeSubagentConfigSchema as Lt, DeepAgentRunStream as M, SandboxListResponse as Mn, createSubAgent as Mt, SubagentRunStream$1 as N, StateAndStore as Nn, createSubAgentMiddleware as Nt, Settings as O, SandboxErrorCode as On, GENERAL_PURPOSE_SUBAGENT as Ot, AnySubAgent as P, WriteResult as Pn, getHarnessProfile as Pt, multimodalBlockSupported as Q, SystemPromptConfig as Qt, DefaultDeepAgentTypeConfig as R, resolveBackend as Rn, harnessProfileConfigSchema as Rt, SkillMetadata as S, MaybePromise as Sn, StateBackend as St, AgentMemoryMiddlewareOptions as T, SandboxBackendProtocol as Tn, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as Tt, InferStructuredResponse as U, GeneralPurposeSubagentConfig as Ut, InferDeepAgentSubagents as V, BackendProtocolV1 as Vn, EMPTY_HARNESS_PROFILE as Vt, InferSubAgentMiddlewareStates as W, HarnessProfile as Wt, MULTIMODAL_BLOCK_TYPES as X, BASE_AGENT_PROMPT as Xt, SupportedResponseFormat as Y, ASYNC_TASK_SYSTEM_PROMPT as Yt, createUnsupportedContentMiddleware as Z, EXECUTION_SYSTEM_PROMPT as Zt, StoreBackend as _, FileUploadResponse as _n, createSkillsMiddleware as _t, adaptBackendProtocol as a, PermissionMode as an, isAsyncSubAgent as at, StoreBackendOptions as b, GrepResult as bn, MemoryMiddlewareOptions as bt, LangSmithSandbox as c, BackendProtocol as cn, CompletionCallbackOptions as ct, BaseSandbox as d, EditResult as dn, MAX_SKILL_FILE_SIZE as dt, FilesystemMiddlewareOptions as en, AsyncSubAgent as et, LocalShellBackend as f, ExecuteResponse as fn, MAX_SKILL_NAME_LENGTH as ft, FilesystemBackend as g, FileOperationError as gn, SkillsMiddlewareOptions as gt, CompositeBackend as h, FileInfo as hn, SkillToolResolver as ht, LangSmithStartSandboxOptions as i, FilesystemPermission as in, createAsyncSubAgentMiddleware as it, findProjectRoot as j, SandboxListOptions as jn, SubAgentMiddlewareOptions as jt, SettingsOptions as k, SandboxGetOrCreateOptions as kn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as kt, LangSmithSandboxCreateOptions as l, BackendRuntime as ln, createCompletionCallbackMiddleware as lt, ContextHubBackend as m, FileDownloadResponse as mn, SkillMetadataEntry as mt, LangSmithCaptureSnapshotOptions as n, createFilesystemMiddleware as nn, AsyncTask as nt, adaptSandboxProtocol as o, AnyBackendProtocol as on, computeSummarizationDefaults as ot, LocalShellBackendOptions as p, FileData as pn, SkillMetadata$1 as pt, MergedDeepAgentState as q, ConfigurationError as qt, LangSmithSnapshot as r, FilesystemOperation as rn, AsyncTaskStatus as rt, normalizeReadPagination as s, BackendFactory as sn, createSummarizationMiddleware as st, createDeepAgent as t, FsToolName as tn, AsyncSubAgentMiddlewareOptions as tt, LangSmithSandboxOptions as u, DeleteResult as un, MAX_SKILL_DESCRIPTION_LENGTH as ut, StoreBackendContext as v, GlobResult as vn, pinnedSkillsValue as vt, parseSkillMetadata as w, ReadResult as wn, CompiledSubAgent as wt, ListSkillsOptions as x, LsResult as xn, createMemoryMiddleware as xt, StoreBackendNamespaceFactory as y, GrepMatch as yn, skillsMetadataValue as yt, ExtractSubAgentMiddleware as z, BackendProtocolV2 as zn, parseHarnessProfileConfig as zt };
4709
+ //# sourceMappingURL=agent-rhzpV1Ew.d.ts.map
package/dist/browser.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_langsmith = require("./langsmith-CjOWZAS2.cjs");
2
+ const require_langsmith = require("./langsmith-DMOexB11.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;
@@ -41,6 +41,7 @@ exports.isAsyncSubAgent = require_langsmith.isAsyncSubAgent;
41
41
  exports.isSandboxBackend = require_langsmith.isSandboxBackend;
42
42
  exports.isSandboxProtocol = require_langsmith.isSandboxProtocol;
43
43
  exports.parseHarnessProfileConfig = require_langsmith.parseHarnessProfileConfig;
44
+ exports.pinnedSkillsValue = require_langsmith.pinnedSkillsValue;
44
45
  exports.registerHarnessProfile = require_langsmith.registerHarnessProfile;
45
46
  exports.resolveBackend = require_langsmith.resolveBackend;
46
47
  exports.serializeProfile = require_langsmith.serializeProfile;
@@ -1,3 +1,3 @@
1
- import { $t as FsToolName, An as SandboxListResponse, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nt as registerHarnessProfile, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, Sn as ReadResult, St as CompiledSubAgent, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, jn as StateAndStore, jt as createSubAgentMiddleware, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, pn as FileInfo, pt as SkillMetadata, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, rn as PermissionMode, rt as AsyncTaskStatus, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-3XynVB9Z.cjs";
1
+ import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-FG1QOMBi.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 SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile, 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 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 FsToolName, An as SandboxListResponse, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nt as registerHarnessProfile, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, Sn as ReadResult, St as CompiledSubAgent, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, jn as StateAndStore, jt as createSubAgentMiddleware, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, pn as FileInfo, pt as SkillMetadata, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, rn as PermissionMode, rt as AsyncTaskStatus, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-BKShWAoi.js";
1
+ import { $t as TASK_SYSTEM_PROMPT, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, Sn as MaybePromise, St as StateBackend, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, kn as SandboxGetOrCreateOptions, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, pn as FileData, pt as SkillMetadata, q as MergedDeepAgentState, qt as ConfigurationError, rn as FilesystemOperation, rt as AsyncTaskStatus, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, wn as ReadResult, wt as CompiledSubAgent, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-rhzpV1Ew.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 SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile, 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 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 { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, G as StateBackend, I as createSubAgentMiddleware, J as isSandboxBackend, K as SandboxError, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, Q as adaptSandboxProtocol, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, X as resolveBackend, Y as isSandboxProtocol, Z as adaptBackendProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith--RbtjNdQ.js";
2
- export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile, skillsMetadataValue };
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, V as CompositeBackend, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-v_uskil7.js";
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-CjOWZAS2.cjs");
3
- const require_src = require("./src-BuYhtaIW.cjs");
2
+ const require_langsmith = require("./langsmith-DMOexB11.cjs");
3
+ const require_src = require("./src-L1errMkM.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;
@@ -56,6 +56,7 @@ exports.multimodalBlockSupported = require_langsmith.multimodalBlockSupported;
56
56
  exports.normalizeReadPagination = require_langsmith.normalizeReadPagination;
57
57
  exports.parseHarnessProfileConfig = require_langsmith.parseHarnessProfileConfig;
58
58
  exports.parseSkillMetadata = require_src.parseSkillMetadata;
59
+ exports.pinnedSkillsValue = require_langsmith.pinnedSkillsValue;
59
60
  exports.registerHarnessProfile = require_langsmith.registerHarnessProfile;
60
61
  exports.resolveBackend = require_langsmith.resolveBackend;
61
62
  exports.scrubUnsupportedMultimodalContent = require_langsmith.scrubUnsupportedMultimodalContent;
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as scrubUnsupportedMultimodalContent, $t as FsToolName, A as createSettings, An as SandboxListResponse, At as createSubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, C as listSkills, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, Dt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, E as createAgentMemoryMiddleware, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nn as applyGrepMaxCount, Nt as registerHarnessProfile, O as Settings, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Q as multimodalBlockSupported, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, S as SkillMetadata, Sn as ReadResult, St as CompiledSubAgent, T as AgentMemoryMiddlewareOptions, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, X as MULTIMODAL_BLOCK_TYPES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, f as LocalShellBackend, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, i as LangSmithStartSandboxOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as StateAndStore, jt as createSubAgentMiddleware, k as SettingsOptions, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileInfo, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as PermissionMode, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, w as parseSkillMetadata, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, x as ListSkillsOptions, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-3XynVB9Z.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 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, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-FG1QOMBi.cjs";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as scrubUnsupportedMultimodalContent, $t as FsToolName, A as createSettings, An as SandboxListResponse, At as createSubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV1, Bt as createHarnessProfile, C as listSkills, Cn as SandboxBackendProtocol, Ct as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, D as filesValue, Dn as SandboxGetOrCreateOptions, Dt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, E as createAgentMemoryMiddleware, En as SandboxErrorCode, Et as GENERAL_PURPOSE_SUBAGENT, F as CreateDeepAgentParams, Fn as isSandboxProtocol, Ft as generalPurposeSubagentConfigSchema, G as InferSubagentByName, Gt as ConfigurationError, H as InferDeepAgentType, Ht as HarnessProfile, I as DeepAgent, In as resolveBackend, It as harnessProfileConfigSchema, J as ResolveDeepAgentTypeConfig, Jt as BASE_AGENT_PROMPT, K as InferSubagentReactAgentType, Kt as ConfigurationErrorCode, L as DeepAgentTypeConfig, Ln as BackendProtocolV2, Lt as parseHarnessProfileConfig, M as DeepAgentRunStream, Mn as WriteResult, Mt as getHarnessProfile, N as SubagentRunStream, Nn as applyGrepMaxCount, Nt as registerHarnessProfile, O as Settings, On as SandboxInfo, Ot as SubAgent, P as AnySubAgent, Pn as isSandboxBackend, Pt as HarnessProfileConfigData, Q as multimodalBlockSupported, Qt as FilesystemMiddlewareOptions, R as DefaultDeepAgentTypeConfig, Rn as SandboxBackendProtocolV2, Rt as serializeProfile, S as SkillMetadata, Sn as ReadResult, St as CompiledSubAgent, T as AgentMemoryMiddlewareOptions, Tn as SandboxError, Tt as ForkedSubAgent, U as InferStructuredResponse, Ut as HarnessProfileOptions, V as InferDeepAgentSubagents, Vt as GeneralPurposeSubagentConfig, W as InferSubAgentMiddlewareStates, Wt as REQUIRED_MIDDLEWARE_NAMES, X as MULTIMODAL_BLOCK_TYPES, Xt as SystemPromptConfig, Y as SupportedResponseFormat, Yt as EXECUTION_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as TASK_SYSTEM_PROMPT, _ as StoreBackend, _n as GrepMatch, _t as skillsMetadataValue, a as adaptBackendProtocol, an as BackendFactory, at as isAsyncSubAgent, b as StoreBackendOptions, bn as MaybePromise, bt as StateBackend, c as LangSmithSandbox, cn as DeleteResult, ct as CompletionCallbackOptions, d as BaseSandbox, dn as FileData, dt as MAX_SKILL_FILE_SIZE, en as createFilesystemMiddleware, et as AsyncSubAgent, f as LocalShellBackend, fn as FileDownloadResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as GlobResult, gt as createSkillsMiddleware, h as CompositeBackend, hn as FileUploadResponse, ht as SkillsMiddlewareOptions, i as LangSmithStartSandboxOptions, in as AnyBackendProtocol, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as StateAndStore, jt as createSubAgentMiddleware, k as SettingsOptions, kn as SandboxListOptions, kt as SubAgentMiddlewareOptions, l as LangSmithSandboxCreateOptions, ln as EditResult, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileOperationError, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as FilesystemPermission, nt as AsyncTask, o as adaptSandboxProtocol, on as BackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileInfo, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ASYNC_TASK_SYSTEM_PROMPT, r as LangSmithSnapshot, rn as PermissionMode, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendRuntime, st as createSummarizationMiddleware, t as createDeepAgent, tn as FilesystemOperation, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as ExecuteResponse, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GrepResult, vt as MemoryMiddlewareOptions, w as parseSkillMetadata, wn as SandboxDeleteOptions, wt as DEFAULT_SUBAGENT_PROMPT, x as ListSkillsOptions, xn as ReadRawResult, xt as createPatchToolCallsMiddleware, y as StoreBackendNamespaceFactory, yn as LsResult, yt as createMemoryMiddleware, z as ExtractSubAgentMiddleware, zn as BackendProtocolV1, zt as EMPTY_HARNESS_PROFILE } from "./agent-BKShWAoi.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 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, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
1
+ import { $ as scrubUnsupportedMultimodalContent, $t as TASK_SYSTEM_PROMPT, A as createSettings, An as SandboxInfo, At as SubAgent, B as FlattenSubAgentMiddleware, Bn as SandboxBackendProtocolV2, Bt as serializeProfile, C as listSkills, Cn as ReadRawResult, Ct as createPatchToolCallsMiddleware, D as filesValue, Dn as SandboxError, Dt as ForkedSubAgent, E as createAgentMemoryMiddleware, En as SandboxDeleteOptions, Et as DEFAULT_SUBAGENT_PROMPT, F as CreateDeepAgentParams, Fn as applyGrepMaxCount, Ft as registerHarnessProfile, G as InferSubagentByName, Gt as HarnessProfileOptions, H as InferDeepAgentType, Hn as SandboxBackendProtocolV1, Ht as createHarnessProfile, I as DeepAgent, In as isSandboxBackend, It as HarnessProfileConfigData, J as ResolveDeepAgentTypeConfig, Jt as ConfigurationErrorCode, K as InferSubagentReactAgentType, Kt as REQUIRED_MIDDLEWARE_NAMES, L as DeepAgentTypeConfig, Ln as isSandboxProtocol, Lt as generalPurposeSubagentConfigSchema, M as DeepAgentRunStream, Mn as SandboxListResponse, Mt as createSubAgent, N as SubagentRunStream, Nn as StateAndStore, Nt as createSubAgentMiddleware, O as Settings, On as SandboxErrorCode, Ot as GENERAL_PURPOSE_SUBAGENT, P as AnySubAgent, Pn as WriteResult, Pt as getHarnessProfile, Q as multimodalBlockSupported, Qt as SystemPromptConfig, R as DefaultDeepAgentTypeConfig, Rn as resolveBackend, Rt as harnessProfileConfigSchema, S as SkillMetadata, Sn as MaybePromise, St as StateBackend, T as AgentMemoryMiddlewareOptions, Tn as SandboxBackendProtocol, Tt as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, U as InferStructuredResponse, Ut as GeneralPurposeSubagentConfig, V as InferDeepAgentSubagents, Vn as BackendProtocolV1, Vt as EMPTY_HARNESS_PROFILE, W as InferSubAgentMiddlewareStates, Wt as HarnessProfile, X as MULTIMODAL_BLOCK_TYPES, Xt as BASE_AGENT_PROMPT, Y as SupportedResponseFormat, Yt as ASYNC_TASK_SYSTEM_PROMPT, Z as createUnsupportedContentMiddleware, Zt as EXECUTION_SYSTEM_PROMPT, _ as StoreBackend, _n as FileUploadResponse, _t as createSkillsMiddleware, a as adaptBackendProtocol, an as PermissionMode, at as isAsyncSubAgent, b as StoreBackendOptions, bn as GrepResult, bt as MemoryMiddlewareOptions, c as LangSmithSandbox, cn as BackendProtocol, ct as CompletionCallbackOptions, d as BaseSandbox, dn as EditResult, dt as MAX_SKILL_FILE_SIZE, en as FilesystemMiddlewareOptions, et as AsyncSubAgent, f as LocalShellBackend, fn as ExecuteResponse, ft as MAX_SKILL_NAME_LENGTH, g as FilesystemBackend, gn as FileOperationError, gt as SkillsMiddlewareOptions, h as CompositeBackend, hn as FileInfo, ht as SkillToolResolver, i as LangSmithStartSandboxOptions, in as FilesystemPermission, it as createAsyncSubAgentMiddleware, j as findProjectRoot, jn as SandboxListOptions, jt as SubAgentMiddlewareOptions, k as SettingsOptions, kn as SandboxGetOrCreateOptions, kt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, l as LangSmithSandboxCreateOptions, ln as BackendRuntime, lt as createCompletionCallbackMiddleware, m as ContextHubBackend, mn as FileDownloadResponse, mt as SkillMetadataEntry, n as LangSmithCaptureSnapshotOptions, nn as createFilesystemMiddleware, nt as AsyncTask, o as adaptSandboxProtocol, on as AnyBackendProtocol, ot as computeSummarizationDefaults, p as LocalShellBackendOptions, pn as FileData, pt as SkillMetadata$1, q as MergedDeepAgentState, qt as ConfigurationError, r as LangSmithSnapshot, rn as FilesystemOperation, rt as AsyncTaskStatus, s as normalizeReadPagination, sn as BackendFactory, st as createSummarizationMiddleware, t as createDeepAgent, tn as FsToolName, tt as AsyncSubAgentMiddlewareOptions, u as LangSmithSandboxOptions, un as DeleteResult, ut as MAX_SKILL_DESCRIPTION_LENGTH, v as StoreBackendContext, vn as GlobResult, vt as pinnedSkillsValue, w as parseSkillMetadata, wn as ReadResult, wt as CompiledSubAgent, x as ListSkillsOptions, xn as LsResult, xt as createMemoryMiddleware, y as StoreBackendNamespaceFactory, yn as GrepMatch, yt as skillsMetadataValue, z as ExtractSubAgentMiddleware, zn as BackendProtocolV2, zt as parseHarnessProfileConfig } from "./agent-rhzpV1Ew.js";
2
+ export { ASYNC_TASK_SYSTEM_PROMPT, type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type ForkedSubAgent, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, MULTIMODAL_BLOCK_TYPES, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillMetadataEntry, type SkillToolResolver, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, createUnsupportedContentMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, multimodalBlockSupported, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, pinnedSkillsValue, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as createPatchToolCallsMiddleware, B as CompositeBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as skillsMetadataValue, E as createSkillsMiddleware, F as createSubAgent, G as StateBackend, H as createUnsupportedContentMiddleware, I as createSubAgentMiddleware, J as isSandboxBackend, K as SandboxError, L as computeSummarizationDefaults, M as DEFAULT_SUBAGENT_PROMPT, N as GENERAL_PURPOSE_SUBAGENT, O as createMemoryMiddleware, P as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, Q as adaptSandboxProtocol, R as createSummarizationMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as multimodalBlockSupported, V as MULTIMODAL_BLOCK_TYPES, W as scrubUnsupportedMultimodalContent, X as resolveBackend, Y as isSandboxProtocol, Z as adaptBackendProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, k as filesValue, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, nt as normalizeReadPagination, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as applyGrepMaxCount, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as createFilesystemMiddleware } from "./langsmith--RbtjNdQ.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-YqBMARBL.js";
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, registerHarnessProfile, resolveBackend, scrubUnsupportedMultimodalContent, serializeProfile, skillsMetadataValue };
1
+ import { $ as adaptSandboxProtocol, A as filesValue, B as createFilesystemMiddleware, C as MAX_SKILL_FILE_SIZE, D as skillsMetadataValue, E as pinnedSkillsValue, F as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, G as scrubUnsupportedMultimodalContent, H as MULTIMODAL_BLOCK_TYPES, I as createSubAgent, J as applyGrepMaxCount, K as StateBackend, L as createSubAgentMiddleware, M as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, N as DEFAULT_SUBAGENT_PROMPT, O as ConfigurationError, P as GENERAL_PURPOSE_SUBAGENT, Q as adaptBackendProtocol, R as computeSummarizationDefaults, S as MAX_SKILL_DESCRIPTION_LENGTH, T as createSkillsMiddleware, U as createUnsupportedContentMiddleware, V as CompositeBackend, W as multimodalBlockSupported, X as isSandboxProtocol, Y as isSandboxBackend, Z as resolveBackend, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as isAsyncSubAgent, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as createPatchToolCallsMiddleware, k as createMemoryMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as SandboxError, r as ContextHubBackend, rt as normalizeReadPagination, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_NAME_LENGTH, x as createCompletionCallbackMiddleware, y as createAsyncSubAgentMiddleware, z as createSummarizationMiddleware } from "./langsmith-v_uskil7.js";
2
+ import { a as createAgentMemoryMiddleware, i as parseSkillMetadata, n as FilesystemBackend, o as createSettings, r as listSkills, s as findProjectRoot, t as LocalShellBackend } from "./src-DksURH8I.js";
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 };