deepagents 1.10.8 → 1.11.1
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/README.md +17 -0
- package/dist/{agent-DsjC63Eg.d.cts → agent-B2XFuA-E.d.cts} +172 -19
- package/dist/{agent-DgVtHOV7.d.ts → agent-k6GiDPCY.d.ts} +172 -19
- package/dist/browser.cjs +1 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{langsmith-DjCMSywL.js → langsmith-DVh4u6Za.js} +318 -96
- package/dist/langsmith-DVh4u6Za.js.map +1 -0
- package/dist/{langsmith-CiAeUke2.cjs → langsmith-DhbsxI45.cjs} +316 -96
- package/dist/langsmith-DhbsxI45.cjs.map +1 -0
- package/dist/node.cjs +2 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/dist/{src-Bzfzo6KX.js → src-Cqag72HH.js} +51 -2
- package/dist/src-Cqag72HH.js.map +1 -0
- package/dist/{src-BgDEYOGN.cjs → src-DtpWpNrN.cjs} +51 -2
- package/dist/src-DtpWpNrN.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/langsmith-CiAeUke2.cjs.map +0 -1
- package/dist/langsmith-DjCMSywL.js.map +0 -1
- package/dist/src-BgDEYOGN.cjs.map +0 -1
- package/dist/src-Bzfzo6KX.js.map +0 -1
|
@@ -94,6 +94,13 @@ interface BackendProtocolV1 {
|
|
|
94
94
|
* @returns EditResult with error, path, filesUpdate, and occurrences
|
|
95
95
|
*/
|
|
96
96
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): MaybePromise<EditResult>;
|
|
97
|
+
/**
|
|
98
|
+
* Delete a single file.
|
|
99
|
+
*
|
|
100
|
+
* @param filePath - Absolute path to the file to delete
|
|
101
|
+
* @returns DeleteResult with path on success or error on failure
|
|
102
|
+
*/
|
|
103
|
+
delete?(filePath: string): MaybePromise<DeleteResult>;
|
|
97
104
|
/**
|
|
98
105
|
* Upload multiple files.
|
|
99
106
|
* Optional - backends that don't support file upload can omit this.
|
|
@@ -193,6 +200,14 @@ interface BackendProtocolV2 extends Omit<BackendProtocolV1, "read" | "readRaw" |
|
|
|
193
200
|
* @returns GlobResult with list of FileInfo objects matching the pattern on success or error on failure
|
|
194
201
|
*/
|
|
195
202
|
glob(pattern: string, path?: string): MaybePromise<GlobResult>;
|
|
203
|
+
/**
|
|
204
|
+
* Delete a single file.
|
|
205
|
+
* Optional - backends that don't support file deletion can omit this.
|
|
206
|
+
*
|
|
207
|
+
* @param filePath - Absolute path to the file to delete
|
|
208
|
+
* @returns DeleteResult with path on success or error on failure
|
|
209
|
+
*/
|
|
210
|
+
delete?(filePath: string): MaybePromise<DeleteResult>;
|
|
196
211
|
}
|
|
197
212
|
/**
|
|
198
213
|
* Protocol for sandboxed backends with isolated runtime.
|
|
@@ -386,6 +401,15 @@ interface EditResult {
|
|
|
386
401
|
/** Metadata for the edit operation, attached to the ToolMessage */
|
|
387
402
|
metadata?: Record<string, unknown>;
|
|
388
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* Result from backend delete operations.
|
|
406
|
+
*/
|
|
407
|
+
interface DeleteResult {
|
|
408
|
+
/** Error message on failure, undefined on success */
|
|
409
|
+
error?: string;
|
|
410
|
+
/** File path of deleted file, undefined on failure */
|
|
411
|
+
path?: string;
|
|
412
|
+
}
|
|
389
413
|
/**
|
|
390
414
|
* Result of code execution.
|
|
391
415
|
* Simplified schema optimized for LLM consumption.
|
|
@@ -738,6 +762,11 @@ interface FilesystemPermission {
|
|
|
738
762
|
* collisions with user-supplied tools at construction time.
|
|
739
763
|
*/
|
|
740
764
|
declare const FILESYSTEM_TOOL_NAMES: readonly ["ls", "read_file", "write_file", "edit_file", "glob", "grep", "execute"];
|
|
765
|
+
/**
|
|
766
|
+
* Built-in filesystem tool names accepted by
|
|
767
|
+
* {@link createFilesystemMiddleware}'s `tools` allowlist.
|
|
768
|
+
*/
|
|
769
|
+
type FsToolName = (typeof FILESYSTEM_TOOL_NAMES)[number];
|
|
741
770
|
/**
|
|
742
771
|
* Type for the files state record.
|
|
743
772
|
*/
|
|
@@ -752,10 +781,46 @@ type FilesRecordUpdate = Record<string, FileData | null>;
|
|
|
752
781
|
interface FilesystemMiddlewareOptions {
|
|
753
782
|
/** Backend instance or factory (default: StateBackend) */
|
|
754
783
|
backend?: AnyBackendProtocol | BackendFactory;
|
|
755
|
-
/**
|
|
784
|
+
/**
|
|
785
|
+
* Optional filesystem-specific system prompt override.
|
|
786
|
+
*
|
|
787
|
+
* When omitted, the middleware generates a prompt that reflects the tools
|
|
788
|
+
* visible for the current model request. Supplying a custom prompt replaces
|
|
789
|
+
* that generated filesystem prompt entirely.
|
|
790
|
+
*/
|
|
756
791
|
systemPrompt?: string | null;
|
|
757
|
-
/**
|
|
758
|
-
|
|
792
|
+
/**
|
|
793
|
+
* Optional descriptions for built-in filesystem tools.
|
|
794
|
+
*
|
|
795
|
+
* Keys correspond to {@link FsToolName}. Descriptions for tools that are not
|
|
796
|
+
* enabled by the `tools` allowlist are ignored because those tools are not
|
|
797
|
+
* exposed to the model.
|
|
798
|
+
*/
|
|
799
|
+
customToolDescriptions?: Partial<Record<FsToolName, string>> | null;
|
|
800
|
+
/**
|
|
801
|
+
* Allowlist of built-in filesystem tools to expose to the model.
|
|
802
|
+
*
|
|
803
|
+
* - `undefined`, `null`, and `"all"` preserve the default behavior: every
|
|
804
|
+
* filesystem tool is registered, subject to backend capability filtering.
|
|
805
|
+
* - Passing an array restricts the middleware to only those tool names.
|
|
806
|
+
* - `read_file` must be included in every explicit array because it is used
|
|
807
|
+
* by normal file-inspection flows and by large-result recovery guidance.
|
|
808
|
+
* - Backend capability checks still narrow the final visible tool set. For
|
|
809
|
+
* example, `execute` is removed when the resolved backend does not support
|
|
810
|
+
* command execution, even if it appears in this allowlist.
|
|
811
|
+
* - User-provided non-filesystem tools are not affected by this allowlist.
|
|
812
|
+
*
|
|
813
|
+
* The generated filesystem system prompt is based on the tools that remain
|
|
814
|
+
* visible after this allowlist and backend capability filtering are applied.
|
|
815
|
+
*
|
|
816
|
+
* @example Read/search-only filesystem access
|
|
817
|
+
* ```ts
|
|
818
|
+
* createFilesystemMiddleware({
|
|
819
|
+
* tools: ["read_file", "ls", "glob", "grep"],
|
|
820
|
+
* });
|
|
821
|
+
* ```
|
|
822
|
+
*/
|
|
823
|
+
tools?: readonly FsToolName[] | "all" | null;
|
|
759
824
|
/** Optional token limit before evicting a tool result to the filesystem (default: 20000 tokens, ~80KB) */
|
|
760
825
|
toolTokenLimitBeforeEvict?: number | null;
|
|
761
826
|
/** Optional token limit before evicting a HumanMessage to the filesystem (default: 50000 tokens, ~200KB) */
|
|
@@ -770,15 +835,42 @@ interface FilesystemMiddlewareOptions {
|
|
|
770
835
|
* **Note on `execute`**: permissions are not enforced on `execute` because
|
|
771
836
|
* shell commands can access any path regardless of path-based rules. Using
|
|
772
837
|
* permissions with an execution-capable backend (one where `isSandboxBackend`
|
|
773
|
-
* returns `true`) throws a `ConfigurationError` unless
|
|
774
|
-
*
|
|
838
|
+
* returns `true`) throws a `ConfigurationError` unless either:
|
|
839
|
+
*
|
|
840
|
+
* - `execute` is disabled via `tools`, or
|
|
841
|
+
* - the backend is a `CompositeBackend` and every permission path is scoped to
|
|
842
|
+
* a route prefix.
|
|
775
843
|
*
|
|
776
844
|
* When omitted or empty, all filesystem operations are permitted.
|
|
777
845
|
*/
|
|
778
846
|
permissions?: FilesystemPermission[];
|
|
779
847
|
}
|
|
780
848
|
/**
|
|
781
|
-
* Create
|
|
849
|
+
* Create middleware that provides built-in filesystem tools and filesystem-aware
|
|
850
|
+
* prompt guidance.
|
|
851
|
+
*
|
|
852
|
+
* By default, the middleware registers every built-in filesystem tool listed in
|
|
853
|
+
* {@link FILESYSTEM_TOOL_NAMES}. Use {@link FilesystemMiddlewareOptions.tools}
|
|
854
|
+
* to narrow that set for read-only, search-only, or otherwise restricted
|
|
855
|
+
* agents. The allowlist only controls built-in filesystem tools; custom tools
|
|
856
|
+
* from the agent or other middleware are left untouched.
|
|
857
|
+
*
|
|
858
|
+
* The middleware also filters tools whose backend capabilities are unavailable
|
|
859
|
+
* at request time. In particular, `execute` is only visible when the resolved
|
|
860
|
+
* backend supports command execution. The filesystem prompt is generated from
|
|
861
|
+
* the final visible filesystem tools so the model is not instructed to call
|
|
862
|
+
* tools it cannot see.
|
|
863
|
+
*
|
|
864
|
+
* @param options Filesystem middleware configuration.
|
|
865
|
+
* @returns Agent middleware that contributes filesystem state, tools, prompt
|
|
866
|
+
* guidance, permission checks, and large-result eviction.
|
|
867
|
+
*
|
|
868
|
+
* @example Read-only filesystem middleware
|
|
869
|
+
* ```ts
|
|
870
|
+
* const middleware = createFilesystemMiddleware({
|
|
871
|
+
* tools: ["read_file", "ls", "glob", "grep"],
|
|
872
|
+
* });
|
|
873
|
+
* ```
|
|
782
874
|
*/
|
|
783
875
|
declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOptions): AgentMiddleware<StateSchema<{
|
|
784
876
|
files: ReducedValue<FilesRecord | undefined, FilesRecordUpdate | undefined>;
|
|
@@ -788,7 +880,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
788
880
|
path: string;
|
|
789
881
|
}, {
|
|
790
882
|
path?: string | undefined;
|
|
791
|
-
}, string
|
|
883
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | _langchain.DynamicStructuredTool<z.ZodPreprocess<z.ZodObject<{
|
|
792
884
|
file_path: z.ZodString;
|
|
793
885
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
794
886
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -796,7 +888,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
796
888
|
file_path: string;
|
|
797
889
|
offset: number;
|
|
798
890
|
limit: number;
|
|
799
|
-
}, unknown, {
|
|
891
|
+
}, unknown, ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | {
|
|
800
892
|
type: string;
|
|
801
893
|
text: string;
|
|
802
894
|
}[] | {
|
|
@@ -834,7 +926,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
834
926
|
}, {
|
|
835
927
|
pattern: string;
|
|
836
928
|
path?: string | undefined;
|
|
837
|
-
}, string
|
|
929
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
838
930
|
pattern: z.ZodString;
|
|
839
931
|
path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
840
932
|
glob: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -846,7 +938,7 @@ declare function createFilesystemMiddleware(options?: FilesystemMiddlewareOption
|
|
|
846
938
|
pattern: string;
|
|
847
939
|
path?: string | undefined;
|
|
848
940
|
glob?: string | null | undefined;
|
|
849
|
-
}, string
|
|
941
|
+
}, string | ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | _langchain.DynamicStructuredTool<z.ZodObject<{
|
|
850
942
|
command: z.ZodString;
|
|
851
943
|
}, z.core.$strip>, {
|
|
852
944
|
command: string;
|
|
@@ -1585,7 +1677,8 @@ declare class StateBackend implements BackendProtocolV2 {
|
|
|
1585
1677
|
* In legacy mode, this is a no-op — the caller uses `filesUpdate`
|
|
1586
1678
|
* from the return value instead.
|
|
1587
1679
|
*
|
|
1588
|
-
* @param update - Map of file paths to their updated {@link FileData}
|
|
1680
|
+
* @param update - Map of file paths to their updated {@link FileData},
|
|
1681
|
+
* or null deletion markers.
|
|
1589
1682
|
*/
|
|
1590
1683
|
private sendFilesUpdate;
|
|
1591
1684
|
/**
|
|
@@ -1625,6 +1718,10 @@ declare class StateBackend implements BackendProtocolV2 {
|
|
|
1625
1718
|
* Returns EditResult with filesUpdate and occurrences.
|
|
1626
1719
|
*/
|
|
1627
1720
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): EditResult;
|
|
1721
|
+
/**
|
|
1722
|
+
* Delete a file from state by sending a null deletion marker through Pregel.
|
|
1723
|
+
*/
|
|
1724
|
+
delete(filePath: string): DeleteResult;
|
|
1628
1725
|
/**
|
|
1629
1726
|
* Search file contents for a literal text pattern.
|
|
1630
1727
|
* Binary files are skipped.
|
|
@@ -2491,6 +2588,25 @@ type InferSubagentByName<T, TName extends string> = InferDeepAgentSubagents<T> e
|
|
|
2491
2588
|
* ```
|
|
2492
2589
|
*/
|
|
2493
2590
|
type InferSubagentReactAgentType<TSubagent extends SubAgent | CompiledSubAgent> = TSubagent extends CompiledSubAgent ? TSubagent["runnable"] : TSubagent extends SubAgent ? ReactAgent<AgentTypeConfig<ResponseFormatUndefined, undefined, AnyAnnotationRoot, ExtractSubAgentMiddleware<TSubagent>, readonly []>> : never;
|
|
2591
|
+
/**
|
|
2592
|
+
* Structured system prompt configuration for {@link createDeepAgent}.
|
|
2593
|
+
*
|
|
2594
|
+
* Prompt parts are assembled in the order `prefix` → `base` → `suffix`,
|
|
2595
|
+
* followed by any model-specific harness profile suffix.
|
|
2596
|
+
*/
|
|
2597
|
+
interface SystemPromptConfig {
|
|
2598
|
+
/** Content placed before the base prompt. */
|
|
2599
|
+
prefix?: string | SystemMessage | null;
|
|
2600
|
+
/**
|
|
2601
|
+
* Replacement for the active base prompt.
|
|
2602
|
+
*
|
|
2603
|
+
* Omit this field to retain the harness profile base or built-in base prompt.
|
|
2604
|
+
* Set it to `null` to omit the base prompt entirely.
|
|
2605
|
+
*/
|
|
2606
|
+
base?: string | SystemMessage | null;
|
|
2607
|
+
/** Content placed after the base prompt and before any harness profile suffix. */
|
|
2608
|
+
suffix?: string | SystemMessage | null;
|
|
2609
|
+
}
|
|
2494
2610
|
/**
|
|
2495
2611
|
* Configuration parameters for creating a Deep Agent
|
|
2496
2612
|
* Matches Python's create_deep_agent parameters
|
|
@@ -2508,8 +2624,14 @@ interface CreateDeepAgentParams<TResponse extends SupportedResponseFormat = Supp
|
|
|
2508
2624
|
model?: BaseLanguageModel | string;
|
|
2509
2625
|
/** Tools the agent should have access to */
|
|
2510
2626
|
tools?: TTools | StructuredTool$1[];
|
|
2511
|
-
/**
|
|
2512
|
-
|
|
2627
|
+
/**
|
|
2628
|
+
* Custom system instructions for the agent.
|
|
2629
|
+
*
|
|
2630
|
+
* A string or {@link SystemMessage} is placed before the active base prompt.
|
|
2631
|
+
* For more control, provide a {@link SystemPromptConfig} to replace or remove
|
|
2632
|
+
* the base prompt and add content after it.
|
|
2633
|
+
*/
|
|
2634
|
+
systemPrompt?: string | SystemMessage | SystemPromptConfig;
|
|
2513
2635
|
/**
|
|
2514
2636
|
* Optional schema for custom agent state. Allows you to define custom state properties
|
|
2515
2637
|
* beyond built-in `messages`, `todos`, and `files`. These properties can be accessed
|
|
@@ -3078,6 +3200,13 @@ declare class StoreBackend implements BackendProtocolV2 {
|
|
|
3078
3200
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
3079
3201
|
*/
|
|
3080
3202
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
3203
|
+
/**
|
|
3204
|
+
* Delete a file from the store.
|
|
3205
|
+
*
|
|
3206
|
+
* The file path is used as an exact store key. Wildcards are treated
|
|
3207
|
+
* literally and do not expand to multiple entries.
|
|
3208
|
+
*/
|
|
3209
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
3081
3210
|
/**
|
|
3082
3211
|
* Search file contents for a literal text pattern.
|
|
3083
3212
|
* Binary files are skipped.
|
|
@@ -3133,6 +3262,15 @@ declare class FilesystemBackend implements BackendProtocolV2 {
|
|
|
3133
3262
|
* @throws Error if path traversal detected or path outside root
|
|
3134
3263
|
*/
|
|
3135
3264
|
private resolvePath;
|
|
3265
|
+
/**
|
|
3266
|
+
* Resolve the concrete path to unlink for a virtual delete operation.
|
|
3267
|
+
*
|
|
3268
|
+
* Virtual-mode path containment is lexical in resolvePath(), so deleting via
|
|
3269
|
+
* that path could follow a symlinked parent outside the virtual root. Resolve
|
|
3270
|
+
* and validate the real parent, then unlink through that real parent path so a
|
|
3271
|
+
* replacement of the original lexical parent cannot redirect the unlink.
|
|
3272
|
+
*/
|
|
3273
|
+
private resolveDeletePath;
|
|
3136
3274
|
/**
|
|
3137
3275
|
* List files and directories in the specified directory (non-recursive).
|
|
3138
3276
|
*
|
|
@@ -3167,6 +3305,10 @@ declare class FilesystemBackend implements BackendProtocolV2 {
|
|
|
3167
3305
|
* Returns EditResult. External storage sets filesUpdate=null.
|
|
3168
3306
|
*/
|
|
3169
3307
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
3308
|
+
/**
|
|
3309
|
+
* Delete a file from the filesystem.
|
|
3310
|
+
*/
|
|
3311
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
3170
3312
|
/**
|
|
3171
3313
|
* Search for a literal text pattern in files.
|
|
3172
3314
|
*
|
|
@@ -3316,6 +3458,10 @@ declare class CompositeBackend implements BackendProtocolV2 {
|
|
|
3316
3458
|
* @returns EditResult with path, occurrences, or error
|
|
3317
3459
|
*/
|
|
3318
3460
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
3461
|
+
/**
|
|
3462
|
+
* Delete a file, routing to the appropriate backend.
|
|
3463
|
+
*/
|
|
3464
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
3319
3465
|
/**
|
|
3320
3466
|
* Execute a command via the default backend.
|
|
3321
3467
|
* Execution is not path-specific, so it always delegates to the default backend.
|
|
@@ -3374,6 +3520,7 @@ declare class ContextHubBackend implements BackendProtocolV2 {
|
|
|
3374
3520
|
glob(pattern: string, _path?: string): Promise<GlobResult>;
|
|
3375
3521
|
write(filePath: string, content: string): Promise<WriteResult>;
|
|
3376
3522
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
3523
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
3377
3524
|
uploadFiles(files: Array<[string, Uint8Array]>): Promise<FileUploadResponse[]>;
|
|
3378
3525
|
downloadFiles(paths: string[]): Promise<FileDownloadResponse[]>;
|
|
3379
3526
|
}
|
|
@@ -3654,6 +3801,12 @@ declare abstract class BaseSandbox implements SandboxBackendProtocolV2 {
|
|
|
3654
3801
|
* reclaim buffers before the next large allocation is made.
|
|
3655
3802
|
*/
|
|
3656
3803
|
edit(filePath: string, oldString: string, newString: string, replaceAll?: boolean): Promise<EditResult>;
|
|
3804
|
+
/**
|
|
3805
|
+
* Delete a file from the sandbox via a server-side rm.
|
|
3806
|
+
*
|
|
3807
|
+
* Uses rm -f, so deleting a path that does not exist succeeds silently.
|
|
3808
|
+
*/
|
|
3809
|
+
delete(filePath: string): Promise<DeleteResult>;
|
|
3657
3810
|
}
|
|
3658
3811
|
//#endregion
|
|
3659
3812
|
//#region src/backends/langsmith.d.ts
|
|
@@ -3914,7 +4067,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
3914
4067
|
path: string;
|
|
3915
4068
|
}, {
|
|
3916
4069
|
path?: string | undefined;
|
|
3917
|
-
}, string
|
|
4070
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "ls"> | import("langchain").DynamicStructuredTool<import("zod").ZodPreprocess<import("zod").ZodObject<{
|
|
3918
4071
|
file_path: import("zod").ZodString;
|
|
3919
4072
|
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
3920
4073
|
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
@@ -3922,7 +4075,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
3922
4075
|
file_path: string;
|
|
3923
4076
|
offset: number;
|
|
3924
4077
|
limit: number;
|
|
3925
|
-
}, unknown, {
|
|
4078
|
+
}, unknown, _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>> | {
|
|
3926
4079
|
type: string;
|
|
3927
4080
|
text: string;
|
|
3928
4081
|
}[] | {
|
|
@@ -3960,7 +4113,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
3960
4113
|
}, {
|
|
3961
4114
|
pattern: string;
|
|
3962
4115
|
path?: string | undefined;
|
|
3963
|
-
}, string
|
|
4116
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "glob"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
3964
4117
|
pattern: import("zod").ZodString;
|
|
3965
4118
|
path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3966
4119
|
glob: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
@@ -3972,7 +4125,7 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
3972
4125
|
pattern: string;
|
|
3973
4126
|
path?: string | undefined;
|
|
3974
4127
|
glob?: string | null | undefined;
|
|
3975
|
-
}, string
|
|
4128
|
+
}, string | _messages.ToolMessage<_messages.MessageStructure<_messages.MessageToolSet>>, unknown, "grep"> | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
|
|
3976
4129
|
command: import("zod").ZodString;
|
|
3977
4130
|
}, import("zod/v4/core").$strip>, {
|
|
3978
4131
|
command: string;
|
|
@@ -3996,5 +4149,5 @@ declare function createDeepAgent<TResponse extends SupportedResponseFormat = Sup
|
|
|
3996
4149
|
}, import("zod/v4/core").$strip>>;
|
|
3997
4150
|
}, import("zod/v4/core").$strip>, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, AgentMiddleware<undefined, undefined, unknown, readonly (ClientTool | ServerTool)[], readonly []>, ...TMiddleware, ...FlattenSubAgentMiddleware<TSubagents>], TTools, TSubagents, TStreamTransformers>>;
|
|
3998
4151
|
//#endregion
|
|
3999
|
-
export {
|
|
4000
|
-
//# sourceMappingURL=agent-
|
|
4152
|
+
export { AsyncTaskStatus as $, ExecuteResponse as $t, findProjectRoot as A, harnessProfileConfigSchema as At, InferDeepAgentSubagents as B, ConfigurationErrorCode as Bt, parseSkillMetadata as C, isSandboxProtocol as Cn, TASK_SYSTEM_PROMPT as Ct, Settings as D, BackendProtocolV1 as Dn, registerHarnessProfile as Dt, filesValue as E, SandboxBackendProtocolV2 as En, getHarnessProfile as Et, DeepAgent as F, GeneralPurposeSubagentConfig as Ft, InferSubagentReactAgentType as G, FilesystemPermission as Gt, InferStructuredResponse as H, FsToolName as Ht, DeepAgentTypeConfig as I, HarnessProfile as It, SupportedResponseFormat as J, BackendFactory as Jt, MergedDeepAgentState as K, PermissionMode as Kt, DefaultDeepAgentTypeConfig as L, HarnessProfileOptions as Lt, SubagentRunStream$1 as M, serializeProfile as Mt, AnySubAgent as N, EMPTY_HARNESS_PROFILE as Nt, SettingsOptions as O, SandboxBackendProtocolV1 as On, HarnessProfileConfigData as Ot, CreateDeepAgentParams as P, createHarnessProfile as Pt, AsyncTask as Q, EditResult as Qt, ExtractSubAgentMiddleware as R, REQUIRED_MIDDLEWARE_NAMES as Rt, listSkills as S, isSandboxBackend as Sn, SubAgentMiddlewareOptions as St, createAgentMemoryMiddleware as T, BackendProtocolV2 as Tn, createSubAgentMiddleware as Tt, InferSubAgentMiddlewareStates as U, createFilesystemMiddleware as Ut, InferDeepAgentType as V, FilesystemMiddlewareOptions as Vt, InferSubagentByName as W, FilesystemOperation as Wt, AsyncSubAgent as X, BackendRuntime as Xt, SystemPromptConfig as Y, BackendProtocol as Yt, AsyncSubAgentMiddlewareOptions as Z, DeleteResult as Zt, StoreBackendContext as _, SandboxInfo as _n, DEFAULT_GENERAL_PURPOSE_DESCRIPTION as _t, adaptBackendProtocol as a, GlobResult as an, createCompletionCallbackMiddleware as at, ListSkillsOptions as b, StateAndStore as bn, SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY as bt, LangSmithSandboxCreateOptions as c, LsResult as cn, MAX_SKILL_NAME_LENGTH as ct, LocalShellBackend as d, ReadResult as dn, createSkillsMiddleware as dt, FileData as en, createAsyncSubAgentMiddleware as et, LocalShellBackendOptions as f, SandboxBackendProtocol as fn, MemoryMiddlewareOptions as ft, StoreBackend as g, SandboxGetOrCreateOptions as gn, CompiledSubAgent as gt, FilesystemBackend as h, SandboxErrorCode as hn, createPatchToolCallsMiddleware as ht, LangSmithStartSandboxOptions as i, FileUploadResponse as in, CompletionCallbackOptions as it, DeepAgentRunStream as j, parseHarnessProfileConfig as jt, createSettings as k, generalPurposeSubagentConfigSchema as kt, LangSmithSandboxOptions as l, MaybePromise as ln, SkillMetadata$1 as lt, CompositeBackend as m, SandboxError as mn, StateBackend as mt, LangSmithCaptureSnapshotOptions as n, FileInfo as nn, computeSummarizationDefaults as nt, adaptSandboxProtocol as o, GrepMatch as on, MAX_SKILL_DESCRIPTION_LENGTH as ot, ContextHubBackend as p, SandboxDeleteOptions as pn, createMemoryMiddleware as pt, ResolveDeepAgentTypeConfig as q, AnyBackendProtocol as qt, LangSmithSnapshot as r, FileOperationError as rn, createSummarizationMiddleware as rt, LangSmithSandbox as s, GrepResult as sn, MAX_SKILL_FILE_SIZE as st, createDeepAgent as t, FileDownloadResponse as tn, isAsyncSubAgent as tt, BaseSandbox as u, ReadRawResult as un, SkillsMiddlewareOptions as ut, StoreBackendNamespaceFactory as v, SandboxListOptions as vn, DEFAULT_SUBAGENT_PROMPT as vt, AgentMemoryMiddlewareOptions as w, resolveBackend as wn, createSubAgent as wt, SkillMetadata as x, WriteResult as xn, SubAgent as xt, StoreBackendOptions as y, SandboxListResponse as yn, GENERAL_PURPOSE_SUBAGENT as yt, FlattenSubAgentMiddleware as z, ConfigurationError as zt };
|
|
4153
|
+
//# sourceMappingURL=agent-k6GiDPCY.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-DhbsxI45.cjs");
|
|
3
3
|
exports.BaseSandbox = require_langsmith.BaseSandbox;
|
|
4
4
|
exports.CompositeBackend = require_langsmith.CompositeBackend;
|
|
5
5
|
exports.ConfigurationError = require_langsmith.ConfigurationError;
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as ExecuteResponse, At as harnessProfileConfigSchema, B as InferDeepAgentSubagents, Bt as ConfigurationErrorCode, Cn as isSandboxProtocol, Ct as TASK_SYSTEM_PROMPT, Dn as BackendProtocolV1, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV2, Et as getHarnessProfile, F as DeepAgent, Ft as GeneralPurposeSubagentConfig, G as InferSubagentReactAgentType, Gt as FilesystemPermission, H as InferStructuredResponse, Ht as FsToolName, I as DeepAgentTypeConfig, It as HarnessProfile, J as SupportedResponseFormat, Jt as BackendFactory, K as MergedDeepAgentState, Kt as PermissionMode, L as DefaultDeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as AnySubAgent, Nt as EMPTY_HARNESS_PROFILE, On as SandboxBackendProtocolV1, Ot as HarnessProfileConfigData, P as CreateDeepAgentParams, Pt as createHarnessProfile, Q as AsyncTask, Qt as EditResult, R as ExtractSubAgentMiddleware, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as isSandboxBackend, St as SubAgentMiddlewareOptions, Tn as BackendProtocolV2, Tt as createSubAgentMiddleware, U as InferSubAgentMiddlewareStates, Ut as createFilesystemMiddleware, V as InferDeepAgentType, Vt as FilesystemMiddlewareOptions, W as InferSubagentByName, Wt as FilesystemOperation, X as AsyncSubAgent, Xt as BackendRuntime, Y as SystemPromptConfig, Yt as BackendProtocol, Z as AsyncSubAgentMiddlewareOptions, Zt as DeleteResult, _ as StoreBackendContext, _n as SandboxInfo, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GlobResult, at as createCompletionCallbackMiddleware, bn as StateAndStore, c as LangSmithSandboxCreateOptions, cn as LsResult, ct as MAX_SKILL_NAME_LENGTH, dn as ReadResult, dt as createSkillsMiddleware, en as FileData, et as createAsyncSubAgentMiddleware, fn as SandboxBackendProtocol, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxGetOrCreateOptions, gt as CompiledSubAgent, hn as SandboxErrorCode, ht as createPatchToolCallsMiddleware, in as FileUploadResponse, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as MaybePromise, lt as SkillMetadata, m as CompositeBackend, mn as SandboxError, mt as StateBackend, nn as FileInfo, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as GrepMatch, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxDeleteOptions, pt as createMemoryMiddleware, q as ResolveDeepAgentTypeConfig, qt as AnyBackendProtocol, rn as FileOperationError, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as GrepResult, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileDownloadResponse, tt as isAsyncSubAgent, u as BaseSandbox, un as ReadRawResult, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as SandboxListOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as resolveBackend, xn as WriteResult, xt as SubAgent, y as StoreBackendOptions, yn as SandboxListResponse, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationError } from "./agent-B2XFuA-E.cjs";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
|
-
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type 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, 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 };
|
|
3
|
+
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AsyncTaskStatus, $t as ExecuteResponse, At as harnessProfileConfigSchema, B as InferDeepAgentSubagents, Bt as ConfigurationErrorCode, Cn as isSandboxProtocol, Ct as TASK_SYSTEM_PROMPT, Dn as BackendProtocolV1, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV2, Et as getHarnessProfile, F as DeepAgent, Ft as GeneralPurposeSubagentConfig, G as InferSubagentReactAgentType, Gt as FilesystemPermission, H as InferStructuredResponse, Ht as FsToolName, I as DeepAgentTypeConfig, It as HarnessProfile, J as SupportedResponseFormat, Jt as BackendFactory, K as MergedDeepAgentState, Kt as PermissionMode, L as DefaultDeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as AnySubAgent, Nt as EMPTY_HARNESS_PROFILE, On as SandboxBackendProtocolV1, Ot as HarnessProfileConfigData, P as CreateDeepAgentParams, Pt as createHarnessProfile, Q as AsyncTask, Qt as EditResult, R as ExtractSubAgentMiddleware, Rt as REQUIRED_MIDDLEWARE_NAMES, Sn as isSandboxBackend, St as SubAgentMiddlewareOptions, Tn as BackendProtocolV2, Tt as createSubAgentMiddleware, U as InferSubAgentMiddlewareStates, Ut as createFilesystemMiddleware, V as InferDeepAgentType, Vt as FilesystemMiddlewareOptions, W as InferSubagentByName, Wt as FilesystemOperation, X as AsyncSubAgent, Xt as BackendRuntime, Y as SystemPromptConfig, Yt as BackendProtocol, Z as AsyncSubAgentMiddlewareOptions, Zt as DeleteResult, _ as StoreBackendContext, _n as SandboxInfo, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GlobResult, at as createCompletionCallbackMiddleware, bn as StateAndStore, c as LangSmithSandboxCreateOptions, cn as LsResult, ct as MAX_SKILL_NAME_LENGTH, dn as ReadResult, dt as createSkillsMiddleware, en as FileData, et as createAsyncSubAgentMiddleware, fn as SandboxBackendProtocol, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxGetOrCreateOptions, gt as CompiledSubAgent, hn as SandboxErrorCode, ht as createPatchToolCallsMiddleware, in as FileUploadResponse, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as MaybePromise, lt as SkillMetadata, m as CompositeBackend, mn as SandboxError, mt as StateBackend, nn as FileInfo, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as GrepMatch, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxDeleteOptions, pt as createMemoryMiddleware, q as ResolveDeepAgentTypeConfig, qt as AnyBackendProtocol, rn as FileOperationError, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as GrepResult, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileDownloadResponse, tt as isAsyncSubAgent, u as BaseSandbox, un as ReadRawResult, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as SandboxListOptions, vt as DEFAULT_SUBAGENT_PROMPT, wn as resolveBackend, xn as WriteResult, xt as SubAgent, y as StoreBackendOptions, yn as SandboxListResponse, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationError } from "./agent-k6GiDPCY.js";
|
|
2
2
|
import { CaptureSnapshotOptions as LangSmithCaptureSnapshotOptions, Snapshot as LangSmithSnapshot, StartSandboxOptions as LangSmithStartSandboxOptions } from "langsmith/experimental/sandbox";
|
|
3
|
-
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type 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, 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 };
|
|
3
|
+
export { type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, type FsToolName, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, type SandboxBackendProtocol, type SandboxBackendProtocolV1, type SandboxBackendProtocolV2, type SandboxDeleteOptions, SandboxError, type SandboxErrorCode, type SandboxGetOrCreateOptions, type SandboxInfo, type SandboxListOptions, type SandboxListResponse, type SkillMetadata, type SkillsMiddlewareOptions, type StateAndStore, StateBackend, StoreBackend, type StoreBackendContext, type StoreBackendNamespaceFactory, type StoreBackendOptions, type SubAgent, type SubAgentMiddlewareOptions, type SubagentRunStream, type SupportedResponseFormat, type SystemPromptConfig, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, computeSummarizationDefaults, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSkillsMiddleware, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, parseHarnessProfileConfig, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/browser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-
|
|
1
|
+
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-DVh4u6Za.js";
|
|
2
2
|
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, 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-DhbsxI45.cjs");
|
|
3
|
+
const require_src = require("./src-DtpWpNrN.cjs");
|
|
4
4
|
exports.BaseSandbox = require_langsmith.BaseSandbox;
|
|
5
5
|
exports.CompositeBackend = require_langsmith.CompositeBackend;
|
|
6
6
|
exports.ConfigurationError = require_langsmith.ConfigurationError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, 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, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, 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 ExecuteResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as InferDeepAgentSubagents, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as isSandboxProtocol, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dn as BackendProtocolV1, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV2, Et as getHarnessProfile, F as DeepAgent, Ft as GeneralPurposeSubagentConfig, G as InferSubagentReactAgentType, Gt as FilesystemPermission, H as InferStructuredResponse, Ht as FsToolName, I as DeepAgentTypeConfig, It as HarnessProfile, J as SupportedResponseFormat, Jt as BackendFactory, K as MergedDeepAgentState, Kt as PermissionMode, L as DefaultDeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as AnySubAgent, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, On as SandboxBackendProtocolV1, Ot as HarnessProfileConfigData, P as CreateDeepAgentParams, Pt as createHarnessProfile, Q as AsyncTask, Qt as EditResult, R as ExtractSubAgentMiddleware, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as isSandboxBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV2, Tt as createSubAgentMiddleware, U as InferSubAgentMiddlewareStates, Ut as createFilesystemMiddleware, V as InferDeepAgentType, Vt as FilesystemMiddlewareOptions, W as InferSubagentByName, Wt as FilesystemOperation, X as AsyncSubAgent, Xt as BackendRuntime, Y as SystemPromptConfig, Yt as BackendProtocol, Z as AsyncSubAgentMiddlewareOptions, Zt as DeleteResult, _ as StoreBackendContext, _n as SandboxInfo, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GlobResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as StateAndStore, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as LsResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as ReadResult, dt as createSkillsMiddleware, en as FileData, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxBackendProtocol, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxGetOrCreateOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxErrorCode, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as FileUploadResponse, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as MaybePromise, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxError, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileInfo, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as GrepMatch, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxDeleteOptions, pt as createMemoryMiddleware, q as ResolveDeepAgentTypeConfig, qt as AnyBackendProtocol, r as LangSmithSnapshot, rn as FileOperationError, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as GrepResult, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileDownloadResponse, tt as isAsyncSubAgent, u as BaseSandbox, un as ReadRawResult, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as SandboxListOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as resolveBackend, wt as createSubAgent, x as SkillMetadata, xn as WriteResult, xt as SubAgent, y as StoreBackendOptions, yn as SandboxListResponse, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationError } from "./agent-B2XFuA-E.cjs";
|
|
2
|
+
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, 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, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, GENERAL_PURPOSE_SUBAGENT, type GeneralPurposeSubagentConfig, type GlobResult, type GrepMatch, type GrepResult, type HarnessProfile, type HarnessProfileConfigData, type HarnessProfileOptions, type InferDeepAgentSubagents, type InferDeepAgentType, type InferStructuredResponse, type InferSubAgentMiddlewareStates, type InferSubagentByName, type InferSubagentReactAgentType, type LangSmithCaptureSnapshotOptions, LangSmithSandbox, type LangSmithSandboxCreateOptions, type LangSmithSandboxOptions, type LangSmithSnapshot, type LangSmithStartSandboxOptions, type ListSkillsOptions, type SkillMetadata as LoaderSkillMetadata, LocalShellBackend, type LocalShellBackendOptions, type LsResult, MAX_SKILL_DESCRIPTION_LENGTH, MAX_SKILL_FILE_SIZE, MAX_SKILL_NAME_LENGTH, type MaybePromise, type MemoryMiddlewareOptions, type MergedDeepAgentState, type PermissionMode, REQUIRED_MIDDLEWARE_NAMES, type ReadRawResult, type ReadResult, type ResolveDeepAgentTypeConfig, 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, TASK_SYSTEM_PROMPT, type WriteResult, adaptBackendProtocol, adaptSandboxProtocol, 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 ExecuteResponse, A as findProjectRoot, At as harnessProfileConfigSchema, B as InferDeepAgentSubagents, Bt as ConfigurationErrorCode, C as parseSkillMetadata, Cn as isSandboxProtocol, Ct as TASK_SYSTEM_PROMPT, D as Settings, Dn as BackendProtocolV1, Dt as registerHarnessProfile, E as filesValue, En as SandboxBackendProtocolV2, Et as getHarnessProfile, F as DeepAgent, Ft as GeneralPurposeSubagentConfig, G as InferSubagentReactAgentType, Gt as FilesystemPermission, H as InferStructuredResponse, Ht as FsToolName, I as DeepAgentTypeConfig, It as HarnessProfile, J as SupportedResponseFormat, Jt as BackendFactory, K as MergedDeepAgentState, Kt as PermissionMode, L as DefaultDeepAgentTypeConfig, Lt as HarnessProfileOptions, M as SubagentRunStream, Mt as serializeProfile, N as AnySubAgent, Nt as EMPTY_HARNESS_PROFILE, O as SettingsOptions, On as SandboxBackendProtocolV1, Ot as HarnessProfileConfigData, P as CreateDeepAgentParams, Pt as createHarnessProfile, Q as AsyncTask, Qt as EditResult, R as ExtractSubAgentMiddleware, Rt as REQUIRED_MIDDLEWARE_NAMES, S as listSkills, Sn as isSandboxBackend, St as SubAgentMiddlewareOptions, T as createAgentMemoryMiddleware, Tn as BackendProtocolV2, Tt as createSubAgentMiddleware, U as InferSubAgentMiddlewareStates, Ut as createFilesystemMiddleware, V as InferDeepAgentType, Vt as FilesystemMiddlewareOptions, W as InferSubagentByName, Wt as FilesystemOperation, X as AsyncSubAgent, Xt as BackendRuntime, Y as SystemPromptConfig, Yt as BackendProtocol, Z as AsyncSubAgentMiddlewareOptions, Zt as DeleteResult, _ as StoreBackendContext, _n as SandboxInfo, _t as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, a as adaptBackendProtocol, an as GlobResult, at as createCompletionCallbackMiddleware, b as ListSkillsOptions, bn as StateAndStore, bt as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, c as LangSmithSandboxCreateOptions, cn as LsResult, ct as MAX_SKILL_NAME_LENGTH, d as LocalShellBackend, dn as ReadResult, dt as createSkillsMiddleware, en as FileData, et as createAsyncSubAgentMiddleware, f as LocalShellBackendOptions, fn as SandboxBackendProtocol, ft as MemoryMiddlewareOptions, g as StoreBackend, gn as SandboxGetOrCreateOptions, gt as CompiledSubAgent, h as FilesystemBackend, hn as SandboxErrorCode, ht as createPatchToolCallsMiddleware, i as LangSmithStartSandboxOptions, in as FileUploadResponse, it as CompletionCallbackOptions, j as DeepAgentRunStream, jt as parseHarnessProfileConfig, k as createSettings, kt as generalPurposeSubagentConfigSchema, l as LangSmithSandboxOptions, ln as MaybePromise, lt as SkillMetadata$1, m as CompositeBackend, mn as SandboxError, mt as StateBackend, n as LangSmithCaptureSnapshotOptions, nn as FileInfo, nt as computeSummarizationDefaults, o as adaptSandboxProtocol, on as GrepMatch, ot as MAX_SKILL_DESCRIPTION_LENGTH, p as ContextHubBackend, pn as SandboxDeleteOptions, pt as createMemoryMiddleware, q as ResolveDeepAgentTypeConfig, qt as AnyBackendProtocol, r as LangSmithSnapshot, rn as FileOperationError, rt as createSummarizationMiddleware, s as LangSmithSandbox, sn as GrepResult, st as MAX_SKILL_FILE_SIZE, t as createDeepAgent, tn as FileDownloadResponse, tt as isAsyncSubAgent, u as BaseSandbox, un as ReadRawResult, ut as SkillsMiddlewareOptions, v as StoreBackendNamespaceFactory, vn as SandboxListOptions, vt as DEFAULT_SUBAGENT_PROMPT, w as AgentMemoryMiddlewareOptions, wn as resolveBackend, wt as createSubAgent, x as SkillMetadata, xn as WriteResult, xt as SubAgent, y as StoreBackendOptions, yn as SandboxListResponse, yt as GENERAL_PURPOSE_SUBAGENT, z as FlattenSubAgentMiddleware, zt as ConfigurationError } from "./agent-k6GiDPCY.js";
|
|
2
|
+
export { type AgentMemoryMiddlewareOptions, type AnyBackendProtocol, type AnySubAgent, type AsyncSubAgent, type AsyncSubAgentMiddlewareOptions, type AsyncTask, type AsyncTaskStatus, type BackendFactory, type BackendProtocol, type BackendProtocolV1, type BackendProtocolV2, type BackendRuntime, BaseSandbox, type CompiledSubAgent, type CompletionCallbackOptions, CompositeBackend, ConfigurationError, type ConfigurationErrorCode, ContextHubBackend, type CreateDeepAgentParams, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, type DeepAgent, type DeepAgentRunStream, type DeepAgentTypeConfig, type DefaultDeepAgentTypeConfig, type DeleteResult, EMPTY_HARNESS_PROFILE, type EditResult, type ExecuteResponse, type ExtractSubAgentMiddleware, type FileData, type FileDownloadResponse, type FileInfo, type FileOperationError, type FileUploadResponse, FilesystemBackend, type FilesystemMiddlewareOptions, type FilesystemOperation, type FilesystemPermission, type FlattenSubAgentMiddleware, 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, computeSummarizationDefaults, createAgentMemoryMiddleware, createAsyncSubAgentMiddleware, createCompletionCallbackMiddleware, createDeepAgent, createFilesystemMiddleware, createHarnessProfile, createMemoryMiddleware, createPatchToolCallsMiddleware, createSettings, createSkillsMiddleware, createSubAgent, createSubAgentMiddleware, createSummarizationMiddleware, filesValue, findProjectRoot, generalPurposeSubagentConfigSchema, getHarnessProfile, harnessProfileConfigSchema, isAsyncSubAgent, isSandboxBackend, isSandboxProtocol, listSkills, parseHarnessProfileConfig, parseSkillMetadata, registerHarnessProfile, resolveBackend, serializeProfile };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, N as createSubAgent, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, j as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } 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-
|
|
1
|
+
import { A as GENERAL_PURPOSE_SUBAGENT, B as isSandboxProtocol, C as MAX_SKILL_NAME_LENGTH, D as createPatchToolCallsMiddleware, E as filesValue, F as createFilesystemMiddleware, H as adaptBackendProtocol, I as CompositeBackend, L as StateBackend, M as TASK_SYSTEM_PROMPT, N as createSubAgent, O as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, P as createSubAgentMiddleware, R as SandboxError, S as MAX_SKILL_FILE_SIZE, T as createMemoryMiddleware, U as adaptSandboxProtocol, V as resolveBackend, _ as isAsyncSubAgent, a as createDeepAgent, b as createCompletionCallbackMiddleware, c as generalPurposeSubagentConfigSchema, d as serializeProfile, f as EMPTY_HARNESS_PROFILE, g as createAsyncSubAgentMiddleware, h as ConfigurationError, i as StoreBackend, j as SUBAGENT_RESPONSE_FORMAT_CONFIG_KEY, k as DEFAULT_SUBAGENT_PROMPT, l as harnessProfileConfigSchema, m as REQUIRED_MIDDLEWARE_NAMES, n as BaseSandbox, o as getHarnessProfile, p as createHarnessProfile, r as ContextHubBackend, s as registerHarnessProfile, t as LangSmithSandbox, u as parseHarnessProfileConfig, v as computeSummarizationDefaults, w as createSkillsMiddleware, x as MAX_SKILL_DESCRIPTION_LENGTH, y as createSummarizationMiddleware, z as isSandboxBackend } from "./langsmith-DVh4u6Za.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-Cqag72HH.js";
|
|
3
3
|
export { BaseSandbox, CompositeBackend, ConfigurationError, ContextHubBackend, DEFAULT_GENERAL_PURPOSE_DESCRIPTION, DEFAULT_SUBAGENT_PROMPT, EMPTY_HARNESS_PROFILE, 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, 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 };
|