@evolvingmachines/sdk 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +53 -53
- package/dist/index.d.cts +87 -8
- package/dist/index.d.ts +87 -8
- package/dist/index.js +53 -53
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -397,6 +397,18 @@ interface AgentBrowserConfig {
|
|
|
397
397
|
}
|
|
398
398
|
/** Browser automation configuration. */
|
|
399
399
|
type BrowserConfig = BrowserProvider | ActionbookBrowserConfig | AgentBrowserConfig;
|
|
400
|
+
/** Saved browser login selector exposed to a run. Empty/omitted means all enabled browser logins. */
|
|
401
|
+
interface BrowserCredentialScopeEntry {
|
|
402
|
+
website: string;
|
|
403
|
+
/** One-word label for the saved credential, such as "qa-admin" or "work"; not the website username or email. */
|
|
404
|
+
accountLabel?: string;
|
|
405
|
+
/** Python bridge wire shape. Prefer accountLabel in TypeScript. */
|
|
406
|
+
account_label?: string;
|
|
407
|
+
}
|
|
408
|
+
/** Browser login MCP configuration for managed remote agent-browser runs. */
|
|
409
|
+
interface BrowserCredentialsConfig {
|
|
410
|
+
allow?: BrowserCredentialScopeEntry[];
|
|
411
|
+
}
|
|
400
412
|
/** Marketplace plugin shape for CLIs with explicit plugin install commands. */
|
|
401
413
|
interface MarketplaceAgentPluginConfig {
|
|
402
414
|
/** Marketplace URL/source to register in the sandbox user profile */
|
|
@@ -553,6 +565,12 @@ interface AgentOptions {
|
|
|
553
565
|
apiKey: string;
|
|
554
566
|
dashboardUrl?: string;
|
|
555
567
|
};
|
|
568
|
+
/** Run-scoped browser login MCP setup. Requires managed remote agent-browser. */
|
|
569
|
+
browserCredentials?: {
|
|
570
|
+
apiKey: string;
|
|
571
|
+
dashboardUrl?: string;
|
|
572
|
+
config?: BrowserCredentialsConfig;
|
|
573
|
+
};
|
|
556
574
|
/** Plugins/extensions to install in the sandbox user profile before first run */
|
|
557
575
|
plugins?: AgentPluginConfig[];
|
|
558
576
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
@@ -1392,6 +1410,60 @@ declare function parseNdjsonLine(agentType: AgentType, line: string): OutputEven
|
|
|
1392
1410
|
*/
|
|
1393
1411
|
declare function parseNdjsonOutput(agentType: AgentType, output: string): OutputEvent[];
|
|
1394
1412
|
|
|
1413
|
+
declare const BROWSER_LOGIN_MCP_SERVER_NAME = "browser-login";
|
|
1414
|
+
interface BrowserCredentialMetadata {
|
|
1415
|
+
id: string;
|
|
1416
|
+
website: string;
|
|
1417
|
+
accountLabel: string;
|
|
1418
|
+
email: string;
|
|
1419
|
+
enabled: boolean;
|
|
1420
|
+
createdBy: string;
|
|
1421
|
+
createdAt: string;
|
|
1422
|
+
updatedAt: string;
|
|
1423
|
+
lastUsedAt: string | null;
|
|
1424
|
+
}
|
|
1425
|
+
interface BrowserCredentialsClientConfig {
|
|
1426
|
+
apiKey?: string;
|
|
1427
|
+
dashboardUrl?: string;
|
|
1428
|
+
}
|
|
1429
|
+
interface BrowserCredentialCreateInput {
|
|
1430
|
+
website: string;
|
|
1431
|
+
accountLabel: string;
|
|
1432
|
+
email: string;
|
|
1433
|
+
password: string;
|
|
1434
|
+
}
|
|
1435
|
+
type BrowserCredentialDeleteInput = {
|
|
1436
|
+
id: string;
|
|
1437
|
+
} | {
|
|
1438
|
+
website: string;
|
|
1439
|
+
accountLabel: string;
|
|
1440
|
+
};
|
|
1441
|
+
interface BrowserCredentialListOptions {
|
|
1442
|
+
website?: string;
|
|
1443
|
+
limit?: number;
|
|
1444
|
+
offset?: number;
|
|
1445
|
+
}
|
|
1446
|
+
declare class BrowserCredentialsClient {
|
|
1447
|
+
private readonly config;
|
|
1448
|
+
constructor(config?: BrowserCredentialsClientConfig);
|
|
1449
|
+
private toMetadata;
|
|
1450
|
+
list(options?: BrowserCredentialListOptions): Promise<{
|
|
1451
|
+
credentials: BrowserCredentialMetadata[];
|
|
1452
|
+
total: number;
|
|
1453
|
+
count: number;
|
|
1454
|
+
offset: number;
|
|
1455
|
+
hasMore: boolean;
|
|
1456
|
+
}>;
|
|
1457
|
+
create(input: BrowserCredentialCreateInput): Promise<{
|
|
1458
|
+
status: "created" | "already_exists";
|
|
1459
|
+
credential: BrowserCredentialMetadata;
|
|
1460
|
+
}>;
|
|
1461
|
+
delete(input: BrowserCredentialDeleteInput): Promise<{
|
|
1462
|
+
ok: boolean;
|
|
1463
|
+
}>;
|
|
1464
|
+
}
|
|
1465
|
+
declare function browserCredentials(config?: BrowserCredentialsClientConfig): BrowserCredentialsClient;
|
|
1466
|
+
|
|
1395
1467
|
/**
|
|
1396
1468
|
* Evolve events
|
|
1397
1469
|
*
|
|
@@ -1420,6 +1492,8 @@ interface EvolveConfig {
|
|
|
1420
1492
|
mcpServers?: Record<string, McpServerConfig>;
|
|
1421
1493
|
/** Browser automation provider to enable explicitly */
|
|
1422
1494
|
browser?: BrowserConfig;
|
|
1495
|
+
/** Browser login MCP setup for managed remote agent-browser runs */
|
|
1496
|
+
browserCredentials?: BrowserCredentialsConfig;
|
|
1423
1497
|
/** Agent plugins/extensions to install before first run */
|
|
1424
1498
|
plugins?: AgentPluginConfig[];
|
|
1425
1499
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
@@ -1506,20 +1580,23 @@ declare class Evolve extends EventEmitter {
|
|
|
1506
1580
|
/**
|
|
1507
1581
|
* Enable browser automation.
|
|
1508
1582
|
*
|
|
1509
|
-
* .withBrowser() defaults to
|
|
1510
|
-
* transport in gateway mode.
|
|
1511
|
-
* skills-only mode, or "browser-use" to use the browser-use MCP server.
|
|
1512
|
-
*
|
|
1513
|
-
* @example
|
|
1514
|
-
* kit.withBrowser("browser-use") // browser-use MCP provider
|
|
1583
|
+
* .withBrowser() defaults to agent-browser with Evolve-managed remote browser
|
|
1584
|
+
* transport in gateway mode.
|
|
1515
1585
|
*
|
|
1516
1586
|
* @example
|
|
1517
|
-
* kit.withBrowser() // defaults to remote managed
|
|
1587
|
+
* kit.withBrowser() // defaults to remote managed agent-browser
|
|
1518
1588
|
*
|
|
1519
1589
|
* @example
|
|
1520
1590
|
* kit.withBrowser({ provider: "agent-browser", remote: true }) // managed remote agent-browser
|
|
1521
1591
|
*/
|
|
1522
1592
|
withBrowser(provider?: BrowserConfig | false): this;
|
|
1593
|
+
/**
|
|
1594
|
+
* Enable saved browser logins for managed remote agent-browser runs.
|
|
1595
|
+
*
|
|
1596
|
+
* Empty config exposes all enabled browser logins for this Evolve account.
|
|
1597
|
+
* Use allow to restrict a run to specific websites and optional account labels.
|
|
1598
|
+
*/
|
|
1599
|
+
withBrowserCredentials(config?: BrowserCredentialsConfig): this;
|
|
1523
1600
|
/**
|
|
1524
1601
|
* Install agent plugins/extensions in the sandbox user profile.
|
|
1525
1602
|
*
|
|
@@ -1647,6 +1724,8 @@ declare class Evolve extends EventEmitter {
|
|
|
1647
1724
|
status: typeof getStatus;
|
|
1648
1725
|
connections: typeof getConnections;
|
|
1649
1726
|
};
|
|
1727
|
+
/** Static browser credential client for listing, creating, and deleting saved browser logins. */
|
|
1728
|
+
static browserCredentials: typeof browserCredentials;
|
|
1650
1729
|
/**
|
|
1651
1730
|
* Initialize agent on first use
|
|
1652
1731
|
*/
|
|
@@ -3141,4 +3220,4 @@ interface SessionsClient {
|
|
|
3141
3220
|
*/
|
|
3142
3221
|
declare function sessions(config?: SessionsConfig): SessionsClient;
|
|
3143
3222
|
|
|
3144
|
-
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, 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 BrowserReplay, type BrowserReplayOptions, 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 ManagedBrowserProvider, 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 };
|
|
3223
|
+
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, 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 ManagedBrowserProvider, 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, browserCredentials, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -397,6 +397,18 @@ interface AgentBrowserConfig {
|
|
|
397
397
|
}
|
|
398
398
|
/** Browser automation configuration. */
|
|
399
399
|
type BrowserConfig = BrowserProvider | ActionbookBrowserConfig | AgentBrowserConfig;
|
|
400
|
+
/** Saved browser login selector exposed to a run. Empty/omitted means all enabled browser logins. */
|
|
401
|
+
interface BrowserCredentialScopeEntry {
|
|
402
|
+
website: string;
|
|
403
|
+
/** One-word label for the saved credential, such as "qa-admin" or "work"; not the website username or email. */
|
|
404
|
+
accountLabel?: string;
|
|
405
|
+
/** Python bridge wire shape. Prefer accountLabel in TypeScript. */
|
|
406
|
+
account_label?: string;
|
|
407
|
+
}
|
|
408
|
+
/** Browser login MCP configuration for managed remote agent-browser runs. */
|
|
409
|
+
interface BrowserCredentialsConfig {
|
|
410
|
+
allow?: BrowserCredentialScopeEntry[];
|
|
411
|
+
}
|
|
400
412
|
/** Marketplace plugin shape for CLIs with explicit plugin install commands. */
|
|
401
413
|
interface MarketplaceAgentPluginConfig {
|
|
402
414
|
/** Marketplace URL/source to register in the sandbox user profile */
|
|
@@ -553,6 +565,12 @@ interface AgentOptions {
|
|
|
553
565
|
apiKey: string;
|
|
554
566
|
dashboardUrl?: string;
|
|
555
567
|
};
|
|
568
|
+
/** Run-scoped browser login MCP setup. Requires managed remote agent-browser. */
|
|
569
|
+
browserCredentials?: {
|
|
570
|
+
apiKey: string;
|
|
571
|
+
dashboardUrl?: string;
|
|
572
|
+
config?: BrowserCredentialsConfig;
|
|
573
|
+
};
|
|
556
574
|
/** Plugins/extensions to install in the sandbox user profile before first run */
|
|
557
575
|
plugins?: AgentPluginConfig[];
|
|
558
576
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
@@ -1392,6 +1410,60 @@ declare function parseNdjsonLine(agentType: AgentType, line: string): OutputEven
|
|
|
1392
1410
|
*/
|
|
1393
1411
|
declare function parseNdjsonOutput(agentType: AgentType, output: string): OutputEvent[];
|
|
1394
1412
|
|
|
1413
|
+
declare const BROWSER_LOGIN_MCP_SERVER_NAME = "browser-login";
|
|
1414
|
+
interface BrowserCredentialMetadata {
|
|
1415
|
+
id: string;
|
|
1416
|
+
website: string;
|
|
1417
|
+
accountLabel: string;
|
|
1418
|
+
email: string;
|
|
1419
|
+
enabled: boolean;
|
|
1420
|
+
createdBy: string;
|
|
1421
|
+
createdAt: string;
|
|
1422
|
+
updatedAt: string;
|
|
1423
|
+
lastUsedAt: string | null;
|
|
1424
|
+
}
|
|
1425
|
+
interface BrowserCredentialsClientConfig {
|
|
1426
|
+
apiKey?: string;
|
|
1427
|
+
dashboardUrl?: string;
|
|
1428
|
+
}
|
|
1429
|
+
interface BrowserCredentialCreateInput {
|
|
1430
|
+
website: string;
|
|
1431
|
+
accountLabel: string;
|
|
1432
|
+
email: string;
|
|
1433
|
+
password: string;
|
|
1434
|
+
}
|
|
1435
|
+
type BrowserCredentialDeleteInput = {
|
|
1436
|
+
id: string;
|
|
1437
|
+
} | {
|
|
1438
|
+
website: string;
|
|
1439
|
+
accountLabel: string;
|
|
1440
|
+
};
|
|
1441
|
+
interface BrowserCredentialListOptions {
|
|
1442
|
+
website?: string;
|
|
1443
|
+
limit?: number;
|
|
1444
|
+
offset?: number;
|
|
1445
|
+
}
|
|
1446
|
+
declare class BrowserCredentialsClient {
|
|
1447
|
+
private readonly config;
|
|
1448
|
+
constructor(config?: BrowserCredentialsClientConfig);
|
|
1449
|
+
private toMetadata;
|
|
1450
|
+
list(options?: BrowserCredentialListOptions): Promise<{
|
|
1451
|
+
credentials: BrowserCredentialMetadata[];
|
|
1452
|
+
total: number;
|
|
1453
|
+
count: number;
|
|
1454
|
+
offset: number;
|
|
1455
|
+
hasMore: boolean;
|
|
1456
|
+
}>;
|
|
1457
|
+
create(input: BrowserCredentialCreateInput): Promise<{
|
|
1458
|
+
status: "created" | "already_exists";
|
|
1459
|
+
credential: BrowserCredentialMetadata;
|
|
1460
|
+
}>;
|
|
1461
|
+
delete(input: BrowserCredentialDeleteInput): Promise<{
|
|
1462
|
+
ok: boolean;
|
|
1463
|
+
}>;
|
|
1464
|
+
}
|
|
1465
|
+
declare function browserCredentials(config?: BrowserCredentialsClientConfig): BrowserCredentialsClient;
|
|
1466
|
+
|
|
1395
1467
|
/**
|
|
1396
1468
|
* Evolve events
|
|
1397
1469
|
*
|
|
@@ -1420,6 +1492,8 @@ interface EvolveConfig {
|
|
|
1420
1492
|
mcpServers?: Record<string, McpServerConfig>;
|
|
1421
1493
|
/** Browser automation provider to enable explicitly */
|
|
1422
1494
|
browser?: BrowserConfig;
|
|
1495
|
+
/** Browser login MCP setup for managed remote agent-browser runs */
|
|
1496
|
+
browserCredentials?: BrowserCredentialsConfig;
|
|
1423
1497
|
/** Agent plugins/extensions to install before first run */
|
|
1424
1498
|
plugins?: AgentPluginConfig[];
|
|
1425
1499
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
@@ -1506,20 +1580,23 @@ declare class Evolve extends EventEmitter {
|
|
|
1506
1580
|
/**
|
|
1507
1581
|
* Enable browser automation.
|
|
1508
1582
|
*
|
|
1509
|
-
* .withBrowser() defaults to
|
|
1510
|
-
* transport in gateway mode.
|
|
1511
|
-
* skills-only mode, or "browser-use" to use the browser-use MCP server.
|
|
1512
|
-
*
|
|
1513
|
-
* @example
|
|
1514
|
-
* kit.withBrowser("browser-use") // browser-use MCP provider
|
|
1583
|
+
* .withBrowser() defaults to agent-browser with Evolve-managed remote browser
|
|
1584
|
+
* transport in gateway mode.
|
|
1515
1585
|
*
|
|
1516
1586
|
* @example
|
|
1517
|
-
* kit.withBrowser() // defaults to remote managed
|
|
1587
|
+
* kit.withBrowser() // defaults to remote managed agent-browser
|
|
1518
1588
|
*
|
|
1519
1589
|
* @example
|
|
1520
1590
|
* kit.withBrowser({ provider: "agent-browser", remote: true }) // managed remote agent-browser
|
|
1521
1591
|
*/
|
|
1522
1592
|
withBrowser(provider?: BrowserConfig | false): this;
|
|
1593
|
+
/**
|
|
1594
|
+
* Enable saved browser logins for managed remote agent-browser runs.
|
|
1595
|
+
*
|
|
1596
|
+
* Empty config exposes all enabled browser logins for this Evolve account.
|
|
1597
|
+
* Use allow to restrict a run to specific websites and optional account labels.
|
|
1598
|
+
*/
|
|
1599
|
+
withBrowserCredentials(config?: BrowserCredentialsConfig): this;
|
|
1523
1600
|
/**
|
|
1524
1601
|
* Install agent plugins/extensions in the sandbox user profile.
|
|
1525
1602
|
*
|
|
@@ -1647,6 +1724,8 @@ declare class Evolve extends EventEmitter {
|
|
|
1647
1724
|
status: typeof getStatus;
|
|
1648
1725
|
connections: typeof getConnections;
|
|
1649
1726
|
};
|
|
1727
|
+
/** Static browser credential client for listing, creating, and deleting saved browser logins. */
|
|
1728
|
+
static browserCredentials: typeof browserCredentials;
|
|
1650
1729
|
/**
|
|
1651
1730
|
* Initialize agent on first use
|
|
1652
1731
|
*/
|
|
@@ -3141,4 +3220,4 @@ interface SessionsClient {
|
|
|
3141
3220
|
*/
|
|
3142
3221
|
declare function sessions(config?: SessionsConfig): SessionsClient;
|
|
3143
3222
|
|
|
3144
|
-
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, 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 BrowserReplay, type BrowserReplayOptions, 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 ManagedBrowserProvider, 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 };
|
|
3223
|
+
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, 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 ManagedBrowserProvider, 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, browserCredentials, 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 };
|