@evolvingmachines/sdk 0.0.33 → 0.0.35
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/LICENSE +201 -113
- package/dist/index.cjs +68 -64
- package/dist/index.d.cts +157 -9
- package/dist/index.d.ts +157 -9
- package/dist/index.js +68 -64
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -364,7 +364,7 @@ interface SandboxProvider {
|
|
|
364
364
|
connect(sandboxId: string, timeoutMs?: number): Promise<SandboxInstance>;
|
|
365
365
|
}
|
|
366
366
|
/** Supported agent types (headless CLI agents only, no ACP) */
|
|
367
|
-
type AgentType = "claude" | "codex" | "gemini" | "qwen" | "kimi" | "opencode";
|
|
367
|
+
type AgentType = "claude" | "codex" | "gemini" | "qwen" | "kimi" | "opencode" | "droid";
|
|
368
368
|
/** Agent type constants for use in code */
|
|
369
369
|
declare const AGENT_TYPES: {
|
|
370
370
|
readonly CLAUDE: "claude";
|
|
@@ -373,11 +373,53 @@ declare const AGENT_TYPES: {
|
|
|
373
373
|
readonly QWEN: "qwen";
|
|
374
374
|
readonly KIMI: "kimi";
|
|
375
375
|
readonly OPENCODE: "opencode";
|
|
376
|
+
readonly DROID: "droid";
|
|
376
377
|
};
|
|
377
378
|
/** Workspace mode determines folder structure and system prompt */
|
|
378
379
|
type WorkspaceMode = "knowledge" | "swe";
|
|
379
380
|
/** Available skills that can be enabled */
|
|
380
381
|
type SkillName = "pdf" | "dev-browser" | (string & {});
|
|
382
|
+
/** Browser automation providers that can be enabled explicitly */
|
|
383
|
+
type BrowserProvider = "browser-use" | "actionbook";
|
|
384
|
+
/** Actionbook browser configuration. */
|
|
385
|
+
interface ActionbookBrowserConfig {
|
|
386
|
+
provider: "actionbook";
|
|
387
|
+
/** Use Evolve-managed browser transport. Enabled by default for object config. */
|
|
388
|
+
superstealth?: boolean;
|
|
389
|
+
}
|
|
390
|
+
/** Browser automation configuration. */
|
|
391
|
+
type BrowserConfig = BrowserProvider | ActionbookBrowserConfig;
|
|
392
|
+
/** Marketplace plugin shape for CLIs with explicit plugin install commands. */
|
|
393
|
+
interface MarketplaceAgentPluginConfig {
|
|
394
|
+
/** Marketplace URL/source to register in the sandbox user profile */
|
|
395
|
+
marketplace: string;
|
|
396
|
+
/** Plugin identifier, usually plugin@marketplace */
|
|
397
|
+
plugin: string;
|
|
398
|
+
}
|
|
399
|
+
/** Gemini extension install shape. */
|
|
400
|
+
interface GeminiAgentPluginConfig {
|
|
401
|
+
/** GitHub URL or local path for the extension */
|
|
402
|
+
source: string;
|
|
403
|
+
/** Optional git ref to install */
|
|
404
|
+
ref?: string;
|
|
405
|
+
/** Enable extension auto-update */
|
|
406
|
+
autoUpdate?: boolean;
|
|
407
|
+
/** Enable pre-release versions */
|
|
408
|
+
preRelease?: boolean;
|
|
409
|
+
/** Skip extension settings prompts during install */
|
|
410
|
+
skipSettings?: boolean;
|
|
411
|
+
}
|
|
412
|
+
/** Codex marketplace registration shape. */
|
|
413
|
+
interface CodexAgentPluginConfig {
|
|
414
|
+
/** Marketplace source to register */
|
|
415
|
+
marketplace: string;
|
|
416
|
+
/** Optional git ref to pin */
|
|
417
|
+
ref?: string;
|
|
418
|
+
/** Optional sparse checkout paths for Git-backed marketplaces */
|
|
419
|
+
sparse?: string[];
|
|
420
|
+
}
|
|
421
|
+
/** Agent plugin/extension config. Shape is validated against the selected agent at runtime. */
|
|
422
|
+
type AgentPluginConfig = MarketplaceAgentPluginConfig | GeminiAgentPluginConfig | CodexAgentPluginConfig;
|
|
381
423
|
/** Skills configuration for an agent */
|
|
382
424
|
interface SkillsConfig {
|
|
383
425
|
/** Source directory where skills are staged */
|
|
@@ -385,8 +427,8 @@ interface SkillsConfig {
|
|
|
385
427
|
/** Target directory where skills are copied for this CLI */
|
|
386
428
|
targetDir: string;
|
|
387
429
|
}
|
|
388
|
-
/** Reasoning effort for models that support it
|
|
389
|
-
type ReasoningEffort = "low" | "medium" | "high" | "xhigh";
|
|
430
|
+
/** Reasoning effort for CLIs/models that support it; valid values vary by model. */
|
|
431
|
+
type ReasoningEffort = "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
390
432
|
/** MCP Server Configuration */
|
|
391
433
|
interface McpServerConfig {
|
|
392
434
|
command?: string;
|
|
@@ -460,7 +502,7 @@ interface AgentConfig {
|
|
|
460
502
|
providerBaseUrl?: string;
|
|
461
503
|
/** Model to use (optional, uses agent's default if omitted) */
|
|
462
504
|
model?: string;
|
|
463
|
-
/** Reasoning effort for
|
|
505
|
+
/** Reasoning effort for models that support it */
|
|
464
506
|
reasoningEffort?: ReasoningEffort;
|
|
465
507
|
}
|
|
466
508
|
/** Resolved agent config (output of resolution, not an extension of input) */
|
|
@@ -495,6 +537,15 @@ interface AgentOptions {
|
|
|
495
537
|
files?: FileMap;
|
|
496
538
|
/** MCP server configurations */
|
|
497
539
|
mcpServers?: Record<string, McpServerConfig>;
|
|
540
|
+
/** Runtime browser prompt fragment appended to the agent system prompt */
|
|
541
|
+
browserPrompt?: string;
|
|
542
|
+
/** Evolve-managed browser transport for browser automation */
|
|
543
|
+
managedBrowser?: {
|
|
544
|
+
apiKey: string;
|
|
545
|
+
dashboardUrl?: string;
|
|
546
|
+
};
|
|
547
|
+
/** Plugins/extensions to install in the sandbox user profile before first run */
|
|
548
|
+
plugins?: AgentPluginConfig[];
|
|
498
549
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
499
550
|
skills?: SkillName[];
|
|
500
551
|
/**
|
|
@@ -557,7 +608,11 @@ type SandboxLifecycleState = "booting" | "error" | "ready" | "running" | "paused
|
|
|
557
608
|
/** High-level agent runtime state */
|
|
558
609
|
type AgentRuntimeState = "idle" | "running" | "interrupted" | "error";
|
|
559
610
|
/** Lifecycle transition reason */
|
|
560
|
-
type LifecycleReason = "sandbox_boot" | "sandbox_connected" | "sandbox_ready" | "sandbox_pause" | "sandbox_resume" | "sandbox_killed" | "sandbox_error" | "run_start" | "run_complete" | "run_interrupted" | "run_failed" | "run_background_complete" | "run_background_failed" | "command_start" | "command_complete" | "command_interrupted" | "command_failed" | "command_background_complete" | "command_background_failed";
|
|
611
|
+
type LifecycleReason = "browser_ready" | "sandbox_boot" | "sandbox_connected" | "sandbox_ready" | "sandbox_pause" | "sandbox_resume" | "sandbox_killed" | "sandbox_error" | "run_start" | "run_complete" | "run_interrupted" | "run_failed" | "run_background_complete" | "run_background_failed" | "command_start" | "command_complete" | "command_interrupted" | "command_failed" | "command_background_complete" | "command_background_failed";
|
|
612
|
+
/** Browser runtime info exposed to host applications. */
|
|
613
|
+
interface BrowserRuntimeInfo {
|
|
614
|
+
liveUrl: string;
|
|
615
|
+
}
|
|
561
616
|
/** Lifecycle event emitted by the runtime */
|
|
562
617
|
interface LifecycleEvent {
|
|
563
618
|
sandboxId: string | null;
|
|
@@ -565,6 +620,7 @@ interface LifecycleEvent {
|
|
|
565
620
|
agent: AgentRuntimeState;
|
|
566
621
|
timestamp: string;
|
|
567
622
|
reason: LifecycleReason;
|
|
623
|
+
browser?: BrowserRuntimeInfo;
|
|
568
624
|
}
|
|
569
625
|
/** Snapshot of current runtime status */
|
|
570
626
|
interface SessionStatus {
|
|
@@ -574,6 +630,7 @@ interface SessionStatus {
|
|
|
574
630
|
activeProcessId: string | null;
|
|
575
631
|
hasRun: boolean;
|
|
576
632
|
timestamp: string;
|
|
633
|
+
browser?: BrowserRuntimeInfo;
|
|
577
634
|
}
|
|
578
635
|
/** Response from run() and executeCommand() */
|
|
579
636
|
interface AgentResponse {
|
|
@@ -939,6 +996,8 @@ declare class Agent {
|
|
|
939
996
|
private interruptedOperations;
|
|
940
997
|
private sandboxState;
|
|
941
998
|
private agentState;
|
|
999
|
+
private droidSessionId?;
|
|
1000
|
+
private managedBrowserSession?;
|
|
942
1001
|
private readonly skills?;
|
|
943
1002
|
private readonly storage?;
|
|
944
1003
|
private lastCheckpointId?;
|
|
@@ -947,6 +1006,7 @@ declare class Agent {
|
|
|
947
1006
|
private readonly schemaOptions?;
|
|
948
1007
|
private readonly compiledValidator?;
|
|
949
1008
|
constructor(agentConfig: ResolvedAgentConfig, options?: AgentOptions);
|
|
1009
|
+
private browserRuntimeInfo;
|
|
950
1010
|
private emitLifecycle;
|
|
951
1011
|
private invalidateActiveOperation;
|
|
952
1012
|
private beginOperation;
|
|
@@ -964,6 +1024,8 @@ declare class Agent {
|
|
|
964
1024
|
* Build environment variables for sandbox
|
|
965
1025
|
*/
|
|
966
1026
|
private buildEnvironmentVariables;
|
|
1027
|
+
private ensureManagedBrowserSession;
|
|
1028
|
+
private closeManagedBrowserSession;
|
|
967
1029
|
/**
|
|
968
1030
|
* Build the inline gateway config JSON for agents using gatewayConfigEnv
|
|
969
1031
|
* (e.g., OpenCode OPENCODE_CONFIG_CONTENT). Centralizes the provider config
|
|
@@ -983,10 +1045,18 @@ declare class Agent {
|
|
|
983
1045
|
* Passed to spawn() so each .run() gets a unique run tag.
|
|
984
1046
|
*/
|
|
985
1047
|
private buildRunEnvs;
|
|
1048
|
+
private captureDroidSession;
|
|
1049
|
+
private extractDroidSessionId;
|
|
1050
|
+
private findDroidSessionId;
|
|
1051
|
+
private loadDroidSessionState;
|
|
1052
|
+
private writeDroidSessionState;
|
|
1053
|
+
private resolveGatewayModel;
|
|
1054
|
+
private resolveCommandModel;
|
|
986
1055
|
/**
|
|
987
1056
|
* Agent-specific authentication setup
|
|
988
1057
|
*/
|
|
989
1058
|
private setupAgentAuth;
|
|
1059
|
+
private setupAgentPlugins;
|
|
990
1060
|
/**
|
|
991
1061
|
* Setup workspace structure and files
|
|
992
1062
|
*
|
|
@@ -1206,6 +1276,15 @@ declare function createClaudeParser(): (jsonLine: string) => OutputEvent[] | nul
|
|
|
1206
1276
|
*/
|
|
1207
1277
|
declare function createCodexParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
1208
1278
|
|
|
1279
|
+
/**
|
|
1280
|
+
* Droid exec parser.
|
|
1281
|
+
*
|
|
1282
|
+
* Supports the documented headless `--output-format stream-json` lines and the
|
|
1283
|
+
* raw `stream-jsonrpc` notification envelope used by Droid's low-level SDK.
|
|
1284
|
+
*/
|
|
1285
|
+
|
|
1286
|
+
declare function createDroidParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
1287
|
+
|
|
1209
1288
|
/**
|
|
1210
1289
|
* Gemini JSONL → ACP-style events parser.
|
|
1211
1290
|
*
|
|
@@ -1320,6 +1399,10 @@ interface EvolveConfig {
|
|
|
1320
1399
|
context?: FileMap;
|
|
1321
1400
|
files?: FileMap;
|
|
1322
1401
|
mcpServers?: Record<string, McpServerConfig>;
|
|
1402
|
+
/** Browser automation provider to enable explicitly */
|
|
1403
|
+
browser?: BrowserConfig;
|
|
1404
|
+
/** Agent plugins/extensions to install before first run */
|
|
1405
|
+
plugins?: AgentPluginConfig[];
|
|
1323
1406
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
1324
1407
|
skills?: SkillName[];
|
|
1325
1408
|
/** Schema for structured output (Zod or JSON Schema, auto-detected) */
|
|
@@ -1401,6 +1484,28 @@ declare class Evolve extends EventEmitter {
|
|
|
1401
1484
|
* Configure MCP servers
|
|
1402
1485
|
*/
|
|
1403
1486
|
withMcpServers(servers: Record<string, McpServerConfig>): this;
|
|
1487
|
+
/**
|
|
1488
|
+
* Enable browser automation.
|
|
1489
|
+
*
|
|
1490
|
+
* Default browser automation uses Actionbook with Evolve-managed browser
|
|
1491
|
+
* transport in gateway mode. Pass "browser-use" to use the legacy MCP server.
|
|
1492
|
+
*
|
|
1493
|
+
* @example
|
|
1494
|
+
* kit.withBrowser("browser-use") // legacy MCP provider
|
|
1495
|
+
*
|
|
1496
|
+
* @example
|
|
1497
|
+
* kit.withBrowser() // defaults to managed Actionbook
|
|
1498
|
+
*/
|
|
1499
|
+
withBrowser(provider?: BrowserConfig | false): this;
|
|
1500
|
+
/**
|
|
1501
|
+
* Install agent plugins/extensions in the sandbox user profile.
|
|
1502
|
+
*
|
|
1503
|
+
* The selected agent determines the installer:
|
|
1504
|
+
* - droid/claude: { marketplace, plugin }
|
|
1505
|
+
* - gemini: { source, ref? }
|
|
1506
|
+
* - codex: { marketplace, ref?, sparse? }
|
|
1507
|
+
*/
|
|
1508
|
+
withPlugins(plugins: AgentPluginConfig | AgentPluginConfig[]): this;
|
|
1404
1509
|
/**
|
|
1405
1510
|
* Enable skills for the agent
|
|
1406
1511
|
*
|
|
@@ -2527,6 +2632,7 @@ interface BuildCommandOptions {
|
|
|
2527
2632
|
prompt: string;
|
|
2528
2633
|
model: string;
|
|
2529
2634
|
isResume: boolean;
|
|
2635
|
+
sessionId?: string;
|
|
2530
2636
|
reasoningEffort?: string;
|
|
2531
2637
|
isDirectMode?: boolean;
|
|
2532
2638
|
/** Skills enabled for this run */
|
|
@@ -2546,8 +2652,8 @@ interface AgentRegistryEntry {
|
|
|
2546
2652
|
key: string;
|
|
2547
2653
|
value: string;
|
|
2548
2654
|
};
|
|
2549
|
-
/** Environment variable name for base URL */
|
|
2550
|
-
baseUrlEnv
|
|
2655
|
+
/** Environment variable name for base URL, if this CLI supports one */
|
|
2656
|
+
baseUrlEnv?: string;
|
|
2551
2657
|
/** Default model alias */
|
|
2552
2658
|
defaultModel: string;
|
|
2553
2659
|
/** Available models for this agent */
|
|
@@ -2574,6 +2680,19 @@ interface AgentRegistryEntry {
|
|
|
2574
2680
|
}>;
|
|
2575
2681
|
/** Env var for inline config (e.g., OPENCODE_CONFIG_CONTENT) — used in gateway mode to set provider base URLs */
|
|
2576
2682
|
gatewayConfigEnv?: string;
|
|
2683
|
+
/** Gateway-only model aliases for CLIs whose native model IDs differ from LiteLLM route names */
|
|
2684
|
+
gatewayModelAliases?: Record<string, string>;
|
|
2685
|
+
/** Direct-mode model aliases for CLIs whose public model names differ from CLI-native model IDs */
|
|
2686
|
+
directModelAliases?: Record<string, string>;
|
|
2687
|
+
/** Do not set provider API key env in gateway mode (used when routing via generated settings instead) */
|
|
2688
|
+
skipApiKeyEnvInGateway?: boolean;
|
|
2689
|
+
/** Dedicated Droid settings file for Evolve gateway custom model routing */
|
|
2690
|
+
droidGatewaySettings?: {
|
|
2691
|
+
settingsPath: string;
|
|
2692
|
+
displayName: string;
|
|
2693
|
+
provider: "generic-chat-completion-api" | "openai" | "anthropic";
|
|
2694
|
+
maxOutputTokens?: number;
|
|
2695
|
+
};
|
|
2577
2696
|
/** Environment variable that CLI reads for custom outbound HTTP headers */
|
|
2578
2697
|
customHeadersEnv?: string;
|
|
2579
2698
|
/** Format for custom headers env var: "newline" (Claude) or "comma" (Gemini). Default: "newline" */
|
|
@@ -2652,7 +2771,7 @@ declare function getMcpSettingsDir(agentType: AgentType): string;
|
|
|
2652
2771
|
/**
|
|
2653
2772
|
* MCP JSON Configuration Writer
|
|
2654
2773
|
*
|
|
2655
|
-
* Handles MCP config for Claude, Gemini, Qwen, and
|
|
2774
|
+
* Handles MCP config for Claude, Gemini, Qwen, Kimi, Droid, and OpenCode agents.
|
|
2656
2775
|
* Uses registry for paths - no hardcoded values.
|
|
2657
2776
|
*
|
|
2658
2777
|
* Transport formats by agent:
|
|
@@ -2674,6 +2793,29 @@ declare function writeClaudeMcpConfig(sandbox: SandboxInstance, workingDir: stri
|
|
|
2674
2793
|
declare function writeGeminiMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>): Promise<void>;
|
|
2675
2794
|
/** Write MCP config for Qwen agent */
|
|
2676
2795
|
declare function writeQwenMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>): Promise<void>;
|
|
2796
|
+
/**
|
|
2797
|
+
* Write MCP config for Droid agent
|
|
2798
|
+
*
|
|
2799
|
+
* Droid supports project-level `.factory/mcp.json`, which keeps MCP config
|
|
2800
|
+
* scoped to the sandbox workspace instead of mutating global user config.
|
|
2801
|
+
*/
|
|
2802
|
+
declare function writeDroidMcpConfig(sandbox: SandboxInstance, workingDir: string, servers: Record<string, McpServerConfig>): Promise<void>;
|
|
2803
|
+
interface DroidGatewaySettingsConfig {
|
|
2804
|
+
settingsPath: string;
|
|
2805
|
+
displayName: string;
|
|
2806
|
+
model: string;
|
|
2807
|
+
baseUrl: string;
|
|
2808
|
+
apiKeyEnv: string;
|
|
2809
|
+
provider: "generic-chat-completion-api" | "openai" | "anthropic";
|
|
2810
|
+
maxOutputTokens?: number;
|
|
2811
|
+
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Write an Evolve-owned Droid settings file for gateway custom-model routing.
|
|
2814
|
+
*
|
|
2815
|
+
* The command passes this file with `droid --settings`, so it does not alter the
|
|
2816
|
+
* user's normal ~/.factory/settings.json inside the sandbox.
|
|
2817
|
+
*/
|
|
2818
|
+
declare function writeDroidGatewaySettings(sandbox: SandboxInstance, config: DroidGatewaySettingsConfig, headers: Record<string, string>): Promise<void>;
|
|
2677
2819
|
|
|
2678
2820
|
/**
|
|
2679
2821
|
* MCP TOML Configuration Writer
|
|
@@ -2705,6 +2847,7 @@ declare function writeCodexMcpConfig(sandbox: SandboxInstance, servers: Record<s
|
|
|
2705
2847
|
* - Codex: TOML to ~/.codex/config.toml
|
|
2706
2848
|
* - Gemini: JSON to ~/.gemini/settings.json
|
|
2707
2849
|
* - Qwen: JSON to ~/.qwen/settings.json
|
|
2850
|
+
* - Droid: JSON to ${workingDir}/.factory/mcp.json
|
|
2708
2851
|
* - OpenCode: JSON to ${workingDir}/opencode.json (mcp key)
|
|
2709
2852
|
*/
|
|
2710
2853
|
declare function writeMcpConfig(agentType: AgentType, sandbox: SandboxInstance, workingDir: string, servers: Record<string, McpServerConfig>): Promise<void>;
|
|
@@ -2744,6 +2887,10 @@ declare const SYSTEM_PROMPT: string;
|
|
|
2744
2887
|
* - {{schema}} - JSON schema for the expected output
|
|
2745
2888
|
*/
|
|
2746
2889
|
declare const SCHEMA_PROMPT: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* Actionbook browser automation prompt fragment
|
|
2892
|
+
*/
|
|
2893
|
+
declare const BROWSER_ACTIONBOOK_PROMPT: string;
|
|
2747
2894
|
/**
|
|
2748
2895
|
* Judge system prompt template (for Swarm best_of)
|
|
2749
2896
|
*
|
|
@@ -2785,6 +2932,7 @@ declare function applyTemplate(template: string, variables: Record<string, strin
|
|
|
2785
2932
|
declare function buildWorkerSystemPrompt(options: {
|
|
2786
2933
|
workingDir: string;
|
|
2787
2934
|
systemPrompt?: string;
|
|
2935
|
+
browserPrompt?: string;
|
|
2788
2936
|
schema?: z.ZodType<unknown> | Record<string, unknown>;
|
|
2789
2937
|
mode?: "knowledge" | "swe";
|
|
2790
2938
|
}): string;
|
|
@@ -2951,4 +3099,4 @@ interface SessionsClient {
|
|
|
2951
3099
|
*/
|
|
2952
3100
|
declare function sessions(config?: SessionsConfig): SessionsClient;
|
|
2953
3101
|
|
|
2954
|
-
export { AGENT_REGISTRY, AGENT_TYPES, Agent, type AgentConfig, type AgentOptions, type AgentOverride, type AgentParser, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type CandidateCompleteEvent, type CheckpointInfo, type ComposioAuthResult, type ComposioConfig, type ComposioConnectionStatus, type ComposioSetup, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EmitOption, type EventHandler, type EventName, Evolve, type EvolveConfig, type EvolveEvents, type ExecuteCommandOptions, type FileMap, type FilterConfig, type FilterParams, type GetEventsOptions, type IndexedMeta, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, type MapConfig, type MapParams, type McpConfigInfo, type McpServerConfig, type ModelInfo, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, type OutputEvent, type OutputResult, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, type SandboxFiles, type SandboxInstance, type SandboxLifecycleState, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionsClient, type SessionsConfig, type SkillName, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type ToolsFilter, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WorkerCompleteEvent, type WorkspaceMode, applyTemplate, buildWorkerSystemPrompt, createAgentParser, createClaudeParser, createCodexParser, createGeminiParser, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, isValidAgentType, isZodSchema, jsonSchemaToString, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, readLocalDir, resolveStorageConfig, saveLocalDir, sessions, storage, writeClaudeMcpConfig, writeCodexMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|
|
3102
|
+
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentConfig, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, BROWSER_ACTIONBOOK_PROMPT, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserProvider, type BrowserRuntimeInfo, type CandidateCompleteEvent, type CheckpointInfo, type CodexAgentPluginConfig, type ComposioAuthResult, type ComposioConfig, type ComposioConnectionStatus, type ComposioSetup, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EmitOption, type EventHandler, type EventName, Evolve, type EvolveConfig, type EvolveEvents, type ExecuteCommandOptions, type FileMap, type FilterConfig, type FilterParams, type GeminiAgentPluginConfig, type GetEventsOptions, type IndexedMeta, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, type MapConfig, type MapParams, type MarketplaceAgentPluginConfig, type McpConfigInfo, type McpServerConfig, type ModelInfo, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, type OutputEvent, type OutputResult, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, type SandboxFiles, type SandboxInstance, type SandboxLifecycleState, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionsClient, type SessionsConfig, type SkillName, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type ToolsFilter, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WorkerCompleteEvent, type WorkspaceMode, applyTemplate, buildWorkerSystemPrompt, createAgentParser, createClaudeParser, createCodexParser, createDroidParser, createGeminiParser, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, isValidAgentType, isZodSchema, jsonSchemaToString, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, readLocalDir, resolveStorageConfig, saveLocalDir, sessions, storage, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|