deepagents 1.13.0 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-LUvc15zz.d.cts → agent-BwYXPTyT.d.cts} +50 -15
- package/dist/{agent-Bx0owr-O.d.ts → agent-CH8GB5HD.d.ts} +50 -15
- package/dist/browser.cjs +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{langsmith-zm0ILQsV.js → langsmith-BBV5JlNW.js} +227 -45
- package/dist/langsmith-BBV5JlNW.js.map +1 -0
- package/dist/{langsmith-Ck9t7AGW.cjs → langsmith-DL32swQ3.cjs} +231 -43
- package/dist/langsmith-DL32swQ3.cjs.map +1 -0
- package/dist/node.cjs +3 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/{src-C9o7b5C6.js → src-CKk0apeE.js} +18 -7
- package/dist/src-CKk0apeE.js.map +1 -0
- package/dist/{src-C97zNx7s.cjs → src-DdGDIhZk.cjs} +18 -7
- package/dist/src-DdGDIhZk.cjs.map +1 -0
- package/package.json +2 -2
- package/dist/langsmith-Ck9t7AGW.cjs.map +0 -1
- package/dist/langsmith-zm0ILQsV.js.map +0 -1
- package/dist/src-C97zNx7s.cjs.map +0 -1
- package/dist/src-C9o7b5C6.js.map +0 -1
|
@@ -357,6 +357,23 @@ interface ReadResult {
|
|
|
357
357
|
content?: string | Uint8Array;
|
|
358
358
|
/** MIME type of the file, when available */
|
|
359
359
|
mimeType?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Total number of logical source lines for a text read, when known.
|
|
362
|
+
* Omitted for binary reads and for backends that cannot determine it.
|
|
363
|
+
*/
|
|
364
|
+
totalLines?: number;
|
|
365
|
+
/**
|
|
366
|
+
* 1-indexed first source line represented by `content`.
|
|
367
|
+
* Text pagination fields are optional so older/custom backends remain valid.
|
|
368
|
+
*/
|
|
369
|
+
startLine?: number;
|
|
370
|
+
/** 1-indexed last source line represented by `content`. */
|
|
371
|
+
endLine?: number;
|
|
372
|
+
/**
|
|
373
|
+
* 0-indexed offset of the next unread source line.
|
|
374
|
+
* Omitted when the returned text reaches EOF.
|
|
375
|
+
*/
|
|
376
|
+
nextOffset?: number;
|
|
360
377
|
}
|
|
361
378
|
/**
|
|
362
379
|
* Structured result from backend readRaw operations.
|
|
@@ -1188,11 +1205,12 @@ interface HarnessProfileOptions {
|
|
|
1188
1205
|
*/
|
|
1189
1206
|
toolDescriptionOverrides?: Record<string, string>;
|
|
1190
1207
|
/**
|
|
1191
|
-
* Tool names to remove from the agent's visible tool set
|
|
1208
|
+
* Tool names to remove from the agent's visible tool set and reject at the
|
|
1209
|
+
* tool-call boundary.
|
|
1192
1210
|
*
|
|
1193
|
-
* Applied via
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1211
|
+
* Applied via middleware after all tool-injecting middleware have run, so it
|
|
1212
|
+
* catches both user-provided and middleware-provided tools. Exclusions are
|
|
1213
|
+
* model-facing calibration resolved per model, not a security boundary.
|
|
1196
1214
|
*
|
|
1197
1215
|
* @default [] (no tools excluded)
|
|
1198
1216
|
*/
|
|
@@ -1266,11 +1284,12 @@ interface HarnessProfile {
|
|
|
1266
1284
|
*/
|
|
1267
1285
|
toolDescriptionOverrides: Record<string, string>;
|
|
1268
1286
|
/**
|
|
1269
|
-
* Tool names to remove from the agent's visible tool set
|
|
1287
|
+
* Tool names to remove from the agent's visible tool set and reject at the
|
|
1288
|
+
* tool-call boundary.
|
|
1270
1289
|
*
|
|
1271
|
-
* Applied via
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1290
|
+
* Applied via middleware after all tool-injecting middleware have run, so it
|
|
1291
|
+
* catches both user-provided and middleware-provided tools. Exclusions are
|
|
1292
|
+
* model-facing calibration resolved per model, not a security boundary.
|
|
1274
1293
|
*/
|
|
1275
1294
|
excludedTools: Set<string>;
|
|
1276
1295
|
/**
|
|
@@ -1509,8 +1528,9 @@ interface SubAgentBase {
|
|
|
1509
1528
|
/** Description shown to the model for subagent selection */
|
|
1510
1529
|
description: string;
|
|
1511
1530
|
/**
|
|
1512
|
-
* The system prompt for the agent.
|
|
1513
|
-
* on {@link ForkedSubAgent},
|
|
1531
|
+
* The system prompt for the agent. Optional on {@link SubAgent} (falls
|
|
1532
|
+
* back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
|
|
1533
|
+
* which always inherits the parent's instead.
|
|
1514
1534
|
*/
|
|
1515
1535
|
systemPrompt?: string | SystemMessage;
|
|
1516
1536
|
/**
|
|
@@ -1643,6 +1663,7 @@ interface SubAgent extends SubAgentBase {
|
|
|
1643
1663
|
* const researcher: ForkedSubAgent = {
|
|
1644
1664
|
* name: "researcher",
|
|
1645
1665
|
* description: "Continues the current investigation with full context",
|
|
1666
|
+
* mode: "fork",
|
|
1646
1667
|
* tools: [webSearchTool],
|
|
1647
1668
|
* };
|
|
1648
1669
|
* ```
|
|
@@ -1653,10 +1674,10 @@ interface ForkedSubAgent extends SubAgentBase {
|
|
|
1653
1674
|
/** A ForkedSubAgent never has its own system prompt — always the parent's. */
|
|
1654
1675
|
systemPrompt?: undefined;
|
|
1655
1676
|
/**
|
|
1656
|
-
*
|
|
1657
|
-
*
|
|
1677
|
+
* Always `"fork"`. Required (not defaulted) so this can't structurally
|
|
1678
|
+
* collapse into a plain `SubAgent` — see `isForkedSubAgent` below.
|
|
1658
1679
|
*/
|
|
1659
|
-
mode
|
|
1680
|
+
mode: "fork";
|
|
1660
1681
|
}
|
|
1661
1682
|
/**
|
|
1662
1683
|
* Base specification for the general-purpose subagent.
|
|
@@ -4211,6 +4232,20 @@ declare class LangSmithSandbox extends BaseSandbox {
|
|
|
4211
4232
|
}
|
|
4212
4233
|
//#endregion
|
|
4213
4234
|
//#region src/backends/utils.d.ts
|
|
4235
|
+
/**
|
|
4236
|
+
* Normalize model- or caller-supplied text pagination bounds.
|
|
4237
|
+
*
|
|
4238
|
+
* Every backend must slice content and calculate pagination metadata from the
|
|
4239
|
+
* same normalized values. Otherwise a fractional or negative argument could
|
|
4240
|
+
* return one window while advertising a different `nextOffset`.
|
|
4241
|
+
*
|
|
4242
|
+
* Binary reads do not use this helper because their backend contract ignores
|
|
4243
|
+
* line-based offset and limit values.
|
|
4244
|
+
*/
|
|
4245
|
+
declare function normalizeReadPagination(offset: number, limit: number): {
|
|
4246
|
+
offset: number;
|
|
4247
|
+
limit: number;
|
|
4248
|
+
};
|
|
4214
4249
|
/**
|
|
4215
4250
|
* Adapt a v1 {@link BackendProtocol} to {@link BackendProtocolV2}.
|
|
4216
4251
|
*
|
|
@@ -4378,5 +4413,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4378
4413
|
}, import("zod/v4/core").$strip>>;
|
|
4379
4414
|
}, 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>>;
|
|
4380
4415
|
//#endregion
|
|
4381
|
-
export {
|
|
4382
|
-
//# sourceMappingURL=agent-
|
|
4416
|
+
export { AsyncTaskStatus as $, BackendFactory as $t, createSettings as A, resolveBackend as An, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, listSkills as C, SandboxListOptions as Cn, SubAgentMiddlewareOptions as Ct, filesValue as D, applyGrepMaxCount as Dn, registerHarnessProfile as Dt, createAgentMemoryMiddleware as E, WriteResult as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, TASK_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, BASE_AGENT_PROMPT as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, createFilesystemMiddleware as Jt, InferSubagentReactAgentType as K, FilesystemMiddlewareOptions as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, DeepAgentRunStream as M, SandboxBackendProtocolV2 as Mn, serializeProfile as Mt, SubagentRunStream$1 as N, BackendProtocolV1 as Nn, EMPTY_HARNESS_PROFILE as Nt, Settings as O, isSandboxBackend as On, HarnessProfileConfigData as Ot, AnySubAgent as P, SandboxBackendProtocolV1 as Pn, createHarnessProfile as Pt, AsyncTask as Q, AnyBackendProtocol as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, SkillMetadata as S, SandboxInfo as Sn, SubAgent as St, AgentMemoryMiddlewareOptions as T, StateAndStore as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, EXECUTION_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ASYNC_TASK_SYSTEM_PROMPT as Vt, InferSubAgentMiddlewareStates as W, SystemPromptConfig as Wt, AsyncSubAgent as X, FilesystemPermission as Xt, SupportedResponseFormat as Y, FilesystemOperation as Yt, AsyncSubAgentMiddlewareOptions as Z, PermissionMode as Zt, StoreBackend as _, SandboxBackendProtocol as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, FileData as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxErrorCode as bn, GENERAL_PURPOSE_SUBAGENT as bt, LangSmithSandbox as c, FileOperationError as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, GrepMatch as dn, createSkillsMiddleware as dt, BackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GrepResult as fn, MemoryMiddlewareOptions as ft, FilesystemBackend as g, ReadResult as gn, CompiledSubAgent as gt, CompositeBackend as h, ReadRawResult as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, ExecuteResponse as in, CompletionCallbackOptions as it, findProjectRoot as j, BackendProtocolV2 as jn, parseHarnessProfileConfig as jt, SettingsOptions as k, isSandboxProtocol as kn, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxCreateOptions as l, FileUploadResponse as ln, SkillMetadata$1 as lt, ContextHubBackend as m, MaybePromise as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, DeleteResult as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, FileDownloadResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, LsResult as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, FsToolName as qt, LangSmithSnapshot as r, EditResult as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileInfo as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendRuntime as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, GlobResult as un, SkillsMiddlewareOptions as ut, StoreBackendContext as v, SandboxDeleteOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, parseSkillMetadata as w, SandboxListResponse as wn, createSubAgent as wt, ListSkillsOptions as x, SandboxGetOrCreateOptions as xn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as xt, StoreBackendNamespaceFactory as y, SandboxError as yn, ForkedSubAgent as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
|
|
4417
|
+
//# sourceMappingURL=agent-BwYXPTyT.d.cts.map
|
|
@@ -357,6 +357,23 @@ interface ReadResult {
|
|
|
357
357
|
content?: string | Uint8Array;
|
|
358
358
|
/** MIME type of the file, when available */
|
|
359
359
|
mimeType?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Total number of logical source lines for a text read, when known.
|
|
362
|
+
* Omitted for binary reads and for backends that cannot determine it.
|
|
363
|
+
*/
|
|
364
|
+
totalLines?: number;
|
|
365
|
+
/**
|
|
366
|
+
* 1-indexed first source line represented by `content`.
|
|
367
|
+
* Text pagination fields are optional so older/custom backends remain valid.
|
|
368
|
+
*/
|
|
369
|
+
startLine?: number;
|
|
370
|
+
/** 1-indexed last source line represented by `content`. */
|
|
371
|
+
endLine?: number;
|
|
372
|
+
/**
|
|
373
|
+
* 0-indexed offset of the next unread source line.
|
|
374
|
+
* Omitted when the returned text reaches EOF.
|
|
375
|
+
*/
|
|
376
|
+
nextOffset?: number;
|
|
360
377
|
}
|
|
361
378
|
/**
|
|
362
379
|
* Structured result from backend readRaw operations.
|
|
@@ -1188,11 +1205,12 @@ interface HarnessProfileOptions {
|
|
|
1188
1205
|
*/
|
|
1189
1206
|
toolDescriptionOverrides?: Record<string, string>;
|
|
1190
1207
|
/**
|
|
1191
|
-
* Tool names to remove from the agent's visible tool set
|
|
1208
|
+
* Tool names to remove from the agent's visible tool set and reject at the
|
|
1209
|
+
* tool-call boundary.
|
|
1192
1210
|
*
|
|
1193
|
-
* Applied via
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1211
|
+
* Applied via middleware after all tool-injecting middleware have run, so it
|
|
1212
|
+
* catches both user-provided and middleware-provided tools. Exclusions are
|
|
1213
|
+
* model-facing calibration resolved per model, not a security boundary.
|
|
1196
1214
|
*
|
|
1197
1215
|
* @default [] (no tools excluded)
|
|
1198
1216
|
*/
|
|
@@ -1266,11 +1284,12 @@ interface HarnessProfile {
|
|
|
1266
1284
|
*/
|
|
1267
1285
|
toolDescriptionOverrides: Record<string, string>;
|
|
1268
1286
|
/**
|
|
1269
|
-
* Tool names to remove from the agent's visible tool set
|
|
1287
|
+
* Tool names to remove from the agent's visible tool set and reject at the
|
|
1288
|
+
* tool-call boundary.
|
|
1270
1289
|
*
|
|
1271
|
-
* Applied via
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1290
|
+
* Applied via middleware after all tool-injecting middleware have run, so it
|
|
1291
|
+
* catches both user-provided and middleware-provided tools. Exclusions are
|
|
1292
|
+
* model-facing calibration resolved per model, not a security boundary.
|
|
1274
1293
|
*/
|
|
1275
1294
|
excludedTools: Set<string>;
|
|
1276
1295
|
/**
|
|
@@ -1509,8 +1528,9 @@ interface SubAgentBase {
|
|
|
1509
1528
|
/** Description shown to the model for subagent selection */
|
|
1510
1529
|
description: string;
|
|
1511
1530
|
/**
|
|
1512
|
-
* The system prompt for the agent.
|
|
1513
|
-
* on {@link ForkedSubAgent},
|
|
1531
|
+
* The system prompt for the agent. Optional on {@link SubAgent} (falls
|
|
1532
|
+
* back to an empty prompt if omitted); forbidden on {@link ForkedSubAgent},
|
|
1533
|
+
* which always inherits the parent's instead.
|
|
1514
1534
|
*/
|
|
1515
1535
|
systemPrompt?: string | SystemMessage;
|
|
1516
1536
|
/**
|
|
@@ -1643,6 +1663,7 @@ interface SubAgent extends SubAgentBase {
|
|
|
1643
1663
|
* const researcher: ForkedSubAgent = {
|
|
1644
1664
|
* name: "researcher",
|
|
1645
1665
|
* description: "Continues the current investigation with full context",
|
|
1666
|
+
* mode: "fork",
|
|
1646
1667
|
* tools: [webSearchTool],
|
|
1647
1668
|
* };
|
|
1648
1669
|
* ```
|
|
@@ -1653,10 +1674,10 @@ interface ForkedSubAgent extends SubAgentBase {
|
|
|
1653
1674
|
/** A ForkedSubAgent never has its own system prompt — always the parent's. */
|
|
1654
1675
|
systemPrompt?: undefined;
|
|
1655
1676
|
/**
|
|
1656
|
-
*
|
|
1657
|
-
*
|
|
1677
|
+
* Always `"fork"`. Required (not defaulted) so this can't structurally
|
|
1678
|
+
* collapse into a plain `SubAgent` — see `isForkedSubAgent` below.
|
|
1658
1679
|
*/
|
|
1659
|
-
mode
|
|
1680
|
+
mode: "fork";
|
|
1660
1681
|
}
|
|
1661
1682
|
/**
|
|
1662
1683
|
* Base specification for the general-purpose subagent.
|
|
@@ -4211,6 +4232,20 @@ declare class LangSmithSandbox extends BaseSandbox {
|
|
|
4211
4232
|
}
|
|
4212
4233
|
//#endregion
|
|
4213
4234
|
//#region src/backends/utils.d.ts
|
|
4235
|
+
/**
|
|
4236
|
+
* Normalize model- or caller-supplied text pagination bounds.
|
|
4237
|
+
*
|
|
4238
|
+
* Every backend must slice content and calculate pagination metadata from the
|
|
4239
|
+
* same normalized values. Otherwise a fractional or negative argument could
|
|
4240
|
+
* return one window while advertising a different `nextOffset`.
|
|
4241
|
+
*
|
|
4242
|
+
* Binary reads do not use this helper because their backend contract ignores
|
|
4243
|
+
* line-based offset and limit values.
|
|
4244
|
+
*/
|
|
4245
|
+
declare function normalizeReadPagination(offset: number, limit: number): {
|
|
4246
|
+
offset: number;
|
|
4247
|
+
limit: number;
|
|
4248
|
+
};
|
|
4214
4249
|
/**
|
|
4215
4250
|
* Adapt a v1 {@link BackendProtocol} to {@link BackendProtocolV2}.
|
|
4216
4251
|
*
|
|
@@ -4378,5 +4413,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
4378
4413
|
}, import("zod/v4/core").$strip>>;
|
|
4379
4414
|
}, 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>>;
|
|
4380
4415
|
//#endregion
|
|
4381
|
-
export {
|
|
4382
|
-
//# sourceMappingURL=agent-
|
|
4416
|
+
export { AsyncTaskStatus as $, BackendFactory as $t, createSettings as A, resolveBackend as An, harnessProfileConfigSchema as At, FlattenSubAgentMiddleware as B, ConfigurationErrorCode as Bt, listSkills as C, SandboxListOptions as Cn, SubAgentMiddlewareOptions as Ct, filesValue as D, applyGrepMaxCount as Dn, registerHarnessProfile as Dt, createAgentMemoryMiddleware as E, WriteResult as En, getHarnessProfile as Et, CreateDeepAgentParams as F, GeneralPurposeSubagentConfig as Ft, InferSubagentByName as G, TASK_SYSTEM_PROMPT as Gt, InferDeepAgentType as H, BASE_AGENT_PROMPT as Ht, DeepAgent as I, HarnessProfile as It, ResolveDeepAgentTypeConfig as J, createFilesystemMiddleware as Jt, InferSubagentReactAgentType as K, FilesystemMiddlewareOptions as Kt, DeepAgentTypeConfig as L, HarnessProfileOptions as Lt, DeepAgentRunStream as M, SandboxBackendProtocolV2 as Mn, serializeProfile as Mt, SubagentRunStream$1 as N, BackendProtocolV1 as Nn, EMPTY_HARNESS_PROFILE as Nt, Settings as O, isSandboxBackend as On, HarnessProfileConfigData as Ot, AnySubAgent as P, SandboxBackendProtocolV1 as Pn, createHarnessProfile as Pt, AsyncTask as Q, AnyBackendProtocol as Qt, DefaultDeepAgentTypeConfig as R, REQUIRED_MIDDLEWARE_NAMES as Rt, SkillMetadata as S, SandboxInfo as Sn, SubAgent as St, AgentMemoryMiddlewareOptions as T, StateAndStore as Tn, createSubAgentMiddleware as Tt, InferStructuredResponse as U, EXECUTION_SYSTEM_PROMPT as Ut, InferDeepAgentSubagents as V, ASYNC_TASK_SYSTEM_PROMPT as Vt, InferSubAgentMiddlewareStates as W, SystemPromptConfig as Wt, AsyncSubAgent as X, FilesystemPermission as Xt, SupportedResponseFormat as Y, FilesystemOperation as Yt, AsyncSubAgentMiddlewareOptions as Z, PermissionMode as Zt, StoreBackend as _, SandboxBackendProtocol as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, FileData as an, createCompletionCallbackMiddleware as at, StoreBackendOptions as b, SandboxErrorCode as bn, GENERAL_PURPOSE_SUBAGENT as bt, LangSmithSandbox as c, FileOperationError as cn, MAX_SKILL_NAME_LENGTH as ct, BaseSandbox as d, GrepMatch as dn, createSkillsMiddleware as dt, BackendProtocol as en, createAsyncSubAgentMiddleware as et, LocalShellBackend as f, GrepResult as fn, MemoryMiddlewareOptions as ft, FilesystemBackend as g, ReadResult as gn, CompiledSubAgent as gt, CompositeBackend as h, ReadRawResult as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, ExecuteResponse as in, CompletionCallbackOptions as it, findProjectRoot as j, BackendProtocolV2 as jn, parseHarnessProfileConfig as jt, SettingsOptions as k, isSandboxProtocol as kn, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxCreateOptions as l, FileUploadResponse as ln, SkillMetadata$1 as lt, ContextHubBackend as m, MaybePromise as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, DeleteResult as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, FileDownloadResponse as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, LocalShellBackendOptions as p, LsResult as pn, createMemoryMiddleware as pt, MergedDeepAgentState as q, FsToolName as qt, LangSmithSnapshot as r, EditResult as rn, createSummarizationMiddleware as rt, normalizeReadPagination as s, FileInfo as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, BackendRuntime as tn, isAsyncSubAgent as tt, LangSmithSandboxOptions as u, GlobResult as un, SkillsMiddlewareOptions as ut, StoreBackendContext as v, SandboxDeleteOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, parseSkillMetadata as w, SandboxListResponse as wn, createSubAgent as wt, ListSkillsOptions as x, SandboxGetOrCreateOptions as xn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as xt, StoreBackendNamespaceFactory as y, SandboxError as yn, ForkedSubAgent as yt, ExtractSubAgentMiddleware as z, ConfigurationError as zt };
|
|
4417
|
+
//# sourceMappingURL=agent-CH8GB5HD.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-
|
|
2
|
+
const require_langsmith = require("./langsmith-DL32swQ3.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;
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as BackendFactory, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dt as registerHarnessProfile, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as SandboxInfo, St as SubAgent, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, fn as GrepResult, ft as MemoryMiddlewareOptions, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, in as ExecuteResponse, it as CompletionCallbackOptions, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, rn as EditResult, rt as createSummarizationMiddleware, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxListResponse, xn as SandboxGetOrCreateOptions, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-BwYXPTyT.cjs";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
3
|
export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type 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 SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as BackendFactory, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dt as registerHarnessProfile, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as SandboxInfo, St as SubAgent, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, fn as GrepResult, ft as MemoryMiddlewareOptions, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, in as ExecuteResponse, it as CompletionCallbackOptions, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, rn as EditResult, rt as createSummarizationMiddleware, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as SandboxListResponse, xn as SandboxGetOrCreateOptions, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-CH8GB5HD.js";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
3
|
export { ASYNC_TASK_SYSTEM_PROMPT, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, BASE_AGENT_PROMPT, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type 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 SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, O as filesValue, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-
|
|
1
|
+
import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, O as filesValue, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-BBV5JlNW.js";
|
|
2
2
|
export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_langsmith = require("./langsmith-
|
|
3
|
-
const require_src = require("./src-
|
|
2
|
+
const require_langsmith = require("./langsmith-DL32swQ3.cjs");
|
|
3
|
+
const require_src = require("./src-DdGDIhZk.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;
|
|
@@ -50,6 +50,7 @@ exports.isAsyncSubAgent = require_langsmith.isAsyncSubAgent;
|
|
|
50
50
|
exports.isSandboxBackend = require_langsmith.isSandboxBackend;
|
|
51
51
|
exports.isSandboxProtocol = require_langsmith.isSandboxProtocol;
|
|
52
52
|
exports.listSkills = require_src.listSkills;
|
|
53
|
+
exports.normalizeReadPagination = require_langsmith.normalizeReadPagination;
|
|
53
54
|
exports.parseHarnessProfileConfig = require_langsmith.parseHarnessProfileConfig;
|
|
54
55
|
exports.parseSkillMetadata = require_src.parseSkillMetadata;
|
|
55
56
|
exports.registerHarnessProfile = require_langsmith.registerHarnessProfile;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
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, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as BackendFactory, A as createSettings, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as listSkills, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dn as applyGrepMaxCount, Dt as registerHarnessProfile, E as createAgentMemoryMiddleware, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, O as Settings, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as SkillMetadata, Sn as SandboxInfo, St as SubAgent, T as AgentMemoryMiddlewareOptions, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GrepResult, ft as MemoryMiddlewareOptions, g as FilesystemBackend, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as ExecuteResponse, it as CompletionCallbackOptions, j as findProjectRoot, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, k as SettingsOptions, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata$1, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, r as LangSmithSnapshot, rn as EditResult, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as parseSkillMetadata, wn as SandboxListResponse, wt as createSubAgent, x as ListSkillsOptions, xn as SandboxGetOrCreateOptions, xt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-BwYXPTyT.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, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
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, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as BackendFactory, A as createSettings, An as resolveBackend, At as harnessProfileConfigSchema, B as FlattenSubAgentMiddleware, Bt as ConfigurationErrorCode, C as listSkills, Cn as SandboxListOptions, Ct as SubAgentMiddlewareOptions, D as filesValue, Dn as applyGrepMaxCount, Dt as registerHarnessProfile, E as createAgentMemoryMiddleware, En as WriteResult, Et as getHarnessProfile, F as CreateDeepAgentParams, Ft as GeneralPurposeSubagentConfig, G as InferSubagentByName, Gt as TASK_SYSTEM_PROMPT, H as InferDeepAgentType, Ht as BASE_AGENT_PROMPT, I as DeepAgent, It as HarnessProfile, J as ResolveDeepAgentTypeConfig, Jt as createFilesystemMiddleware, K as InferSubagentReactAgentType, Kt as FilesystemMiddlewareOptions, L as DeepAgentTypeConfig, Lt as HarnessProfileOptions, M as DeepAgentRunStream, Mn as SandboxBackendProtocolV2, Mt as serializeProfile, N as SubagentRunStream, Nn as BackendProtocolV1, Nt as EMPTY_HARNESS_PROFILE, O as Settings, On as isSandboxBackend, Ot as HarnessProfileConfigData, P as AnySubAgent, Pn as SandboxBackendProtocolV1, Pt as createHarnessProfile, Q as AsyncTask, Qt as AnyBackendProtocol, R as DefaultDeepAgentTypeConfig, Rt as REQUIRED_MIDDLEWARE_NAMES, S as SkillMetadata, Sn as SandboxInfo, St as SubAgent, T as AgentMemoryMiddlewareOptions, Tn as StateAndStore, Tt as createSubAgentMiddleware, U as InferStructuredResponse, Ut as EXECUTION_SYSTEM_PROMPT, V as InferDeepAgentSubagents, Vt as ASYNC_TASK_SYSTEM_PROMPT, W as InferSubAgentMiddlewareStates, Wt as SystemPromptConfig, X as AsyncSubAgent, Xt as FilesystemPermission, Y as SupportedResponseFormat, Yt as FilesystemOperation, Z as AsyncSubAgentMiddlewareOptions, Zt as PermissionMode, _ as StoreBackend, _n as SandboxBackendProtocol, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as FileData, at as createCompletionCallbackMiddleware, b as StoreBackendOptions, bn as SandboxErrorCode, bt as GENERAL_PURPOSE_SUBAGENT, c as LangSmithSandbox, cn as FileOperationError, ct as MAX_SKILL_NAME_LENGTH, d as BaseSandbox, dn as GrepMatch, dt as createSkillsMiddleware, en as BackendProtocol, et as createAsyncSubAgentMiddleware, f as LocalShellBackend, fn as GrepResult, ft as MemoryMiddlewareOptions, g as FilesystemBackend, gn as ReadResult, gt as CompiledSubAgent, h as CompositeBackend, hn as ReadRawResult, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as ExecuteResponse, it as CompletionCallbackOptions, j as findProjectRoot, jn as BackendProtocolV2, jt as parseHarnessProfileConfig, k as SettingsOptions, kn as isSandboxProtocol, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxCreateOptions, ln as FileUploadResponse, lt as SkillMetadata$1, m as ContextHubBackend, mn as MaybePromise, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as DeleteResult, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as FileDownloadResponse, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as LocalShellBackendOptions, pn as LsResult, pt as createMemoryMiddleware, q as MergedDeepAgentState, qt as FsToolName, r as LangSmithSnapshot, rn as EditResult, rt as createSummarizationMiddleware, s as normalizeReadPagination, sn as FileInfo, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as BackendRuntime, tt as isAsyncSubAgent, u as LangSmithSandboxOptions, un as GlobResult, ut as SkillsMiddlewareOptions, v as StoreBackendContext, vn as SandboxDeleteOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as parseSkillMetadata, wn as SandboxListResponse, wt as createSubAgent, x as ListSkillsOptions, xn as SandboxGetOrCreateOptions, xt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, y as StoreBackendNamespaceFactory, yn as SandboxError, yt as ForkedSubAgent, z as ExtractSubAgentMiddleware, zt as ConfigurationError } from "./agent-CH8GB5HD.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, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type Settings, type SettingsOptions, type SkillMetadata$1 as SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, H as applyGrepMaxCount, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, N as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, O as filesValue, P as createSubAgent, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, _ as createHarnessProfile, a as ASYNC_TASK_SYSTEM_PROMPT, b as createAsyncSubAgentMiddleware, c as TASK_SYSTEM_PROMPT, d as registerHarnessProfile, f as generalPurposeSubagentConfigSchema, g as EMPTY_HARNESS_PROFILE, h as serializeProfile, i as StoreBackend, j as DEFAULT_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-
|
|
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-
|
|
3
|
-
export { ASYNC_TASK_SYSTEM_PROMPT, BASE_AGENT_PROMPT, BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, EXECUTION_SYSTEM_PROMPT, FilesystemBackend, GENERAL_PURPOSE_SUBAGENT, LangSmithSandbox, LocalShellBackend, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
|
1
|
+
import { A as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, B as StateBackend, C as MAX_SKILL_DESCRIPTION_LENGTH, D as createMemoryMiddleware, E as createSkillsMiddleware, F as createSubAgentMiddleware, G as resolveBackend, H as applyGrepMaxCount, I as computeSummarizationDefaults, K as adaptBackendProtocol, L as createSummarizationMiddleware, M as GENERAL_PURPOSE_SUBAGENT, N as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, O as filesValue, P as createSubAgent, R as createFilesystemMiddleware, S as createCompletionCallbackMiddleware, T as MAX_SKILL_NAME_LENGTH, U as isSandboxBackend, V as SandboxError, W as isSandboxProtocol, Z as normalizeReadPagination, _ 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_SUBAGENT_PROMPT, k as createPatchToolCallsMiddleware, l as createDeepAgent, m as parseHarnessProfileConfig, n as BaseSandbox, o as BASE_AGENT_PROMPT, p as harnessProfileConfigSchema, q as adaptSandboxProtocol, r as ContextHubBackend, s as EXECUTION_SYSTEM_PROMPT, t as LangSmithSandbox, u as getHarnessProfile, v as REQUIRED_MIDDLEWARE_NAMES, w as MAX_SKILL_FILE_SIZE, x as isAsyncSubAgent, y as ConfigurationError, z as CompositeBackend } from "./langsmith-BBV5JlNW.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-CKk0apeE.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, REQUIRED_MIDDLEWARE_NAMES, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, SandboxError, StateBackend, StoreBackend, TASK_SYSTEM_PROMPT, adaptBackendProtocol, adaptSandboxProtocol, applyGrepMaxCount, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, normalizeReadPagination, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|