@evolvingmachines/sdk 0.0.40 → 0.0.41
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 +56 -56
- package/dist/index.d.cts +109 -180
- package/dist/index.d.ts +109 -180
- package/dist/index.js +56 -56
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EventEmitter } from 'events';
|
|
1
2
|
import * as zod from 'zod';
|
|
2
3
|
import { z } from 'zod';
|
|
3
|
-
import { EventEmitter } from 'events';
|
|
4
4
|
export { E2BConfig, E2BProvider, createE2BProvider } from '@evolvingmachines/e2b';
|
|
5
5
|
export { DaytonaConfig, DaytonaProvider, createDaytonaProvider } from '@evolvingmachines/daytona';
|
|
6
6
|
export { ModalConfig, ModalProvider, createModalProvider } from '@evolvingmachines/modal';
|
|
@@ -571,6 +571,11 @@ interface AgentOptions {
|
|
|
571
571
|
dashboardUrl?: string;
|
|
572
572
|
config?: BrowserCredentialsConfig;
|
|
573
573
|
};
|
|
574
|
+
/** Evolve-managed app integrations */
|
|
575
|
+
integrations?: IntegrationsSetup & {
|
|
576
|
+
apiKey: string;
|
|
577
|
+
dashboardUrl?: string;
|
|
578
|
+
};
|
|
574
579
|
/** Plugins/extensions to install in the sandbox user profile before first run */
|
|
575
580
|
plugins?: AgentPluginConfig[];
|
|
576
581
|
/** Skills to enable (e.g., ["pdf", "dev-browser"]) */
|
|
@@ -602,11 +607,6 @@ interface AgentOptions {
|
|
|
602
607
|
sessionTagPrefix?: string;
|
|
603
608
|
/** Observability metadata for trace grouping (generic key-value, domain-agnostic) */
|
|
604
609
|
observability?: Record<string, unknown>;
|
|
605
|
-
/**
|
|
606
|
-
* Composio Tool Router configuration
|
|
607
|
-
* Set via withComposio() - provides access to 1000+ tools
|
|
608
|
-
*/
|
|
609
|
-
composio?: ComposioSetup;
|
|
610
610
|
/** Resolved storage configuration (set via Evolve.withStorage()) */
|
|
611
611
|
storage?: ResolvedStorageConfig;
|
|
612
612
|
}
|
|
@@ -749,65 +749,58 @@ interface StreamCallbacks {
|
|
|
749
749
|
onLifecycle?: (event: LifecycleEvent) => void;
|
|
750
750
|
}
|
|
751
751
|
/**
|
|
752
|
-
* Configuration for
|
|
753
|
-
*
|
|
754
|
-
* Provides access to 1000+ tools (GitHub, Gmail, Slack, etc.) via MCP.
|
|
755
|
-
* Evidence: tool-router/quickstart.mdx
|
|
752
|
+
* Configuration for managed integrations.
|
|
756
753
|
*/
|
|
757
|
-
/** Tool filter configuration per
|
|
758
|
-
type
|
|
754
|
+
/** Tool filter configuration per app */
|
|
755
|
+
type IntegrationToolsFilter = string[] | {
|
|
759
756
|
enable: string[];
|
|
760
757
|
} | {
|
|
761
758
|
disable: string[];
|
|
762
759
|
} | {
|
|
763
760
|
tags: string[];
|
|
764
761
|
};
|
|
765
|
-
interface
|
|
762
|
+
interface IntegrationsConfig {
|
|
766
763
|
/**
|
|
767
|
-
*
|
|
764
|
+
* Apps to expose to the agent.
|
|
768
765
|
*
|
|
769
766
|
* @example
|
|
770
|
-
*
|
|
767
|
+
* apps: ["github", "gmail", "linear"]
|
|
771
768
|
*/
|
|
772
|
-
|
|
769
|
+
apps: string[];
|
|
773
770
|
/**
|
|
774
|
-
* Per-
|
|
771
|
+
* Per-app tool filtering.
|
|
775
772
|
*
|
|
776
773
|
* @example
|
|
777
774
|
* tools: {
|
|
778
|
-
* github: ["github_create_issue", "github_list_repos"],
|
|
775
|
+
* github: { enable: ["github_create_issue", "github_list_repos"] },
|
|
779
776
|
* gmail: { disable: ["gmail_delete_email"] },
|
|
780
777
|
* slack: { tags: ["readOnlyHint"] }
|
|
781
778
|
* }
|
|
782
779
|
*/
|
|
783
|
-
tools?: Record<string,
|
|
780
|
+
tools?: Record<string, IntegrationToolsFilter>;
|
|
784
781
|
/**
|
|
785
|
-
*
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
* keys
|
|
782
|
+
* Pin specific connected accounts by account ID or account label.
|
|
783
|
+
*/
|
|
784
|
+
accounts?: Record<string, string[]>;
|
|
785
|
+
/**
|
|
786
|
+
* API keys for apps that use API-key auth.
|
|
787
|
+
* Requires a matching authConfigs entry for each app.
|
|
790
788
|
*/
|
|
791
789
|
keys?: Record<string, string>;
|
|
792
790
|
/**
|
|
793
|
-
* Custom
|
|
794
|
-
* Created in Composio dashboard
|
|
795
|
-
*
|
|
796
|
-
* @example
|
|
797
|
-
* authConfigs: { github: "ac_your_github_config" }
|
|
791
|
+
* Custom auth config IDs per app.
|
|
798
792
|
*/
|
|
799
793
|
authConfigs?: Record<string, string>;
|
|
800
794
|
}
|
|
801
795
|
/**
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
* Combines user identification with optional configuration.
|
|
796
|
+
* Managed integrations setup.
|
|
805
797
|
*/
|
|
806
|
-
interface
|
|
807
|
-
/**
|
|
798
|
+
interface IntegrationsSetup extends IntegrationsConfig {
|
|
799
|
+
/**
|
|
800
|
+
* Integration user ID. Use "root" for dashboard-owned/private accounts,
|
|
801
|
+
* or your app's stable end-user ID for per-user accounts.
|
|
802
|
+
*/
|
|
808
803
|
userId: string;
|
|
809
|
-
/** Optional Composio configuration */
|
|
810
|
-
config?: ComposioConfig;
|
|
811
804
|
}
|
|
812
805
|
/**
|
|
813
806
|
* Storage configuration for .withStorage()
|
|
@@ -921,79 +914,54 @@ interface StorageClient {
|
|
|
921
914
|
downloadFiles(idOrLatest: string, options?: DownloadFilesOptions): Promise<FileMap>;
|
|
922
915
|
}
|
|
923
916
|
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
*/
|
|
933
|
-
interface ComposioAuthResult {
|
|
934
|
-
/** OAuth/Connect Link URL to redirect user to */
|
|
917
|
+
interface IntegrationAuthParams {
|
|
918
|
+
userId: string;
|
|
919
|
+
app: string;
|
|
920
|
+
accountLabel?: string;
|
|
921
|
+
apiKey?: string;
|
|
922
|
+
dashboardUrl?: string;
|
|
923
|
+
}
|
|
924
|
+
interface IntegrationAuthResult {
|
|
935
925
|
url: string;
|
|
936
|
-
|
|
937
|
-
connectionId: string;
|
|
926
|
+
accountId?: string;
|
|
938
927
|
}
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
connected: boolean;
|
|
947
|
-
/** Connected account ID if connected */
|
|
928
|
+
interface IntegrationAccount {
|
|
929
|
+
userId: string;
|
|
930
|
+
app: string;
|
|
931
|
+
appName?: string;
|
|
932
|
+
appIcon?: string;
|
|
933
|
+
accountLabel?: string;
|
|
934
|
+
status: string;
|
|
948
935
|
accountId?: string;
|
|
936
|
+
updatedAt?: string;
|
|
937
|
+
}
|
|
938
|
+
interface IntegrationAccountListParams {
|
|
939
|
+
userIds: string[];
|
|
940
|
+
app?: string;
|
|
941
|
+
statuses?: string[];
|
|
942
|
+
apiKey?: string;
|
|
943
|
+
dashboardUrl?: string;
|
|
944
|
+
}
|
|
945
|
+
interface IntegrationAccountUpdateParams {
|
|
946
|
+
accountId: string;
|
|
947
|
+
accountLabel?: string;
|
|
948
|
+
apiKey?: string;
|
|
949
|
+
dashboardUrl?: string;
|
|
950
|
+
}
|
|
951
|
+
interface IntegrationAccountDeleteParams {
|
|
952
|
+
accountId: string;
|
|
953
|
+
apiKey?: string;
|
|
954
|
+
dashboardUrl?: string;
|
|
955
|
+
}
|
|
956
|
+
interface IntegrationAccountUpdateResult {
|
|
957
|
+
success: boolean;
|
|
958
|
+
accountId: string;
|
|
959
|
+
accountLabel?: string;
|
|
960
|
+
}
|
|
961
|
+
interface IntegrationAccountDeleteResult {
|
|
962
|
+
success: boolean;
|
|
963
|
+
accountId: string;
|
|
949
964
|
}
|
|
950
|
-
/**
|
|
951
|
-
* Get OAuth URL for a toolkit
|
|
952
|
-
*
|
|
953
|
-
* Returns a Connect Link URL that you can show in your app's UI.
|
|
954
|
-
* User completes OAuth, then is redirected back to your app.
|
|
955
|
-
*
|
|
956
|
-
* @param userId - User's unique identifier
|
|
957
|
-
* @param toolkit - Toolkit slug (e.g., "github", "gmail")
|
|
958
|
-
* @returns Auth URL and connection ID
|
|
959
|
-
*
|
|
960
|
-
* @example
|
|
961
|
-
* const { url } = await getAuthUrl("user_123", "github");
|
|
962
|
-
* // Show button: <a href={url}>Connect GitHub</a>
|
|
963
|
-
*/
|
|
964
|
-
declare function getAuthUrl(userId: string, toolkit: string): Promise<ComposioAuthResult>;
|
|
965
|
-
/**
|
|
966
|
-
* Get connection status for a user
|
|
967
|
-
*
|
|
968
|
-
* @param userId - User's unique identifier
|
|
969
|
-
* @param toolkit - Optional toolkit slug to check specific connection
|
|
970
|
-
* @returns Status map for all toolkits, or boolean if toolkit specified
|
|
971
|
-
*
|
|
972
|
-
* @example
|
|
973
|
-
* // Get all connections
|
|
974
|
-
* const status = await getStatus("user_123");
|
|
975
|
-
* // { github: true, gmail: false, slack: true }
|
|
976
|
-
*
|
|
977
|
-
* @example
|
|
978
|
-
* // Check single toolkit
|
|
979
|
-
* const isConnected = await getStatus("user_123", "github");
|
|
980
|
-
* // true
|
|
981
|
-
*/
|
|
982
|
-
declare function getStatus(userId: string, toolkit?: string): Promise<Record<string, boolean> | boolean>;
|
|
983
|
-
/**
|
|
984
|
-
* Get detailed connection info for a user
|
|
985
|
-
*
|
|
986
|
-
* Returns array of connections with account IDs.
|
|
987
|
-
* More detailed than getStatus() - use when you need account IDs.
|
|
988
|
-
*
|
|
989
|
-
* @param userId - User's unique identifier
|
|
990
|
-
* @returns Array of connection statuses
|
|
991
|
-
*
|
|
992
|
-
* @example
|
|
993
|
-
* const connections = await getConnections("user_123");
|
|
994
|
-
* // [{ toolkit: "github", connected: true, accountId: "ca_..." }, ...]
|
|
995
|
-
*/
|
|
996
|
-
declare function getConnections(userId: string): Promise<ComposioConnectionStatus[]>;
|
|
997
965
|
|
|
998
966
|
/**
|
|
999
967
|
* Unified Agent Implementation
|
|
@@ -1033,6 +1001,7 @@ declare class Agent {
|
|
|
1033
1001
|
private agentState;
|
|
1034
1002
|
private droidSessionId?;
|
|
1035
1003
|
private managedBrowserSession?;
|
|
1004
|
+
private sandboxGatewayApiKey?;
|
|
1036
1005
|
private readonly skills?;
|
|
1037
1006
|
private readonly storage?;
|
|
1038
1007
|
private lastCheckpointId?;
|
|
@@ -1060,6 +1029,9 @@ declare class Agent {
|
|
|
1060
1029
|
* Build environment variables for sandbox
|
|
1061
1030
|
*/
|
|
1062
1031
|
private buildEnvironmentVariables;
|
|
1032
|
+
private getSandboxGatewayApiKey;
|
|
1033
|
+
private ensureSandboxGatewayApiKey;
|
|
1034
|
+
private resolveSandboxGatewayMcpServers;
|
|
1063
1035
|
private ensureManagedBrowserSession;
|
|
1064
1036
|
private setupManagedBrowser;
|
|
1065
1037
|
private closeManagedBrowserSession;
|
|
@@ -1505,8 +1477,8 @@ interface EvolveConfig {
|
|
|
1505
1477
|
sessionTagPrefix?: string;
|
|
1506
1478
|
/** Observability metadata for trace grouping (generic key-value, domain-agnostic) */
|
|
1507
1479
|
observability?: Record<string, unknown>;
|
|
1508
|
-
/**
|
|
1509
|
-
|
|
1480
|
+
/** Managed integrations config */
|
|
1481
|
+
integrations?: IntegrationsSetup;
|
|
1510
1482
|
/** Storage configuration for checkpointing */
|
|
1511
1483
|
storage?: StorageConfig;
|
|
1512
1484
|
}
|
|
@@ -1649,38 +1621,12 @@ declare class Evolve extends EventEmitter {
|
|
|
1649
1621
|
*/
|
|
1650
1622
|
withObservability(meta: Record<string, unknown>): this;
|
|
1651
1623
|
/**
|
|
1652
|
-
* Enable
|
|
1653
|
-
*
|
|
1654
|
-
* Provides access to GitHub, Gmail, Slack, Notion, and 1000+ other
|
|
1655
|
-
* tools via a single MCP server. Handles authentication automatically.
|
|
1656
|
-
*
|
|
1657
|
-
* Evidence: tool-router/quickstart.mdx
|
|
1658
|
-
*
|
|
1659
|
-
* @param userId - Your user's unique identifier
|
|
1660
|
-
* @param config - Optional configuration for toolkits, API keys, and auth
|
|
1661
|
-
*
|
|
1662
|
-
* @example
|
|
1663
|
-
* // Basic - all tools, in-chat auth
|
|
1664
|
-
* kit.withComposio("user_123")
|
|
1665
|
-
*
|
|
1666
|
-
* @example
|
|
1667
|
-
* // Restrict to specific toolkits
|
|
1668
|
-
* kit.withComposio("user_123", { toolkits: ["github", "gmail"] })
|
|
1669
|
-
*
|
|
1670
|
-
* @example
|
|
1671
|
-
* // With API keys for direct auth
|
|
1672
|
-
* kit.withComposio("user_123", {
|
|
1673
|
-
* toolkits: ["github", "stripe"],
|
|
1674
|
-
* keys: { stripe: "sk_live_..." }
|
|
1675
|
-
* })
|
|
1624
|
+
* Enable Evolve-managed integrations.
|
|
1676
1625
|
*
|
|
1677
|
-
*
|
|
1678
|
-
*
|
|
1679
|
-
* kit.withComposio("user_123", {
|
|
1680
|
-
* authConfigs: { github: "ac_your_oauth_config" }
|
|
1681
|
-
* })
|
|
1626
|
+
* Available only in gateway mode. Integration credentials stay server-side; the
|
|
1627
|
+
* sandbox receives an Evolve-scoped MCP proxy.
|
|
1682
1628
|
*/
|
|
1683
|
-
|
|
1629
|
+
withIntegrations(config: IntegrationsSetup): this;
|
|
1684
1630
|
/**
|
|
1685
1631
|
* Configure storage for checkpoint persistence
|
|
1686
1632
|
*
|
|
@@ -1698,31 +1644,14 @@ declare class Evolve extends EventEmitter {
|
|
|
1698
1644
|
* kit.withStorage()
|
|
1699
1645
|
*/
|
|
1700
1646
|
withStorage(config?: StorageConfig): this;
|
|
1701
|
-
/**
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
* // Get OAuth URL for "Connect GitHub" button
|
|
1710
|
-
* const { url } = await Evolve.composio.auth("user_123", "github");
|
|
1711
|
-
*
|
|
1712
|
-
* @example
|
|
1713
|
-
* // Check connection status
|
|
1714
|
-
* const status = await Evolve.composio.status("user_123");
|
|
1715
|
-
* // { github: true, gmail: false, ... }
|
|
1716
|
-
*
|
|
1717
|
-
* @example
|
|
1718
|
-
* // Check single toolkit
|
|
1719
|
-
* const isConnected = await Evolve.composio.status("user_123", "github");
|
|
1720
|
-
* // true | false
|
|
1721
|
-
*/
|
|
1722
|
-
static composio: {
|
|
1723
|
-
auth: typeof getAuthUrl;
|
|
1724
|
-
status: typeof getStatus;
|
|
1725
|
-
connections: typeof getConnections;
|
|
1647
|
+
/** Static helpers for managed integration auth and observability. */
|
|
1648
|
+
static integrations: {
|
|
1649
|
+
auth: (params: IntegrationAuthParams) => Promise<IntegrationAuthResult>;
|
|
1650
|
+
accounts: {
|
|
1651
|
+
list: (params: IntegrationAccountListParams) => Promise<IntegrationAccount[]>;
|
|
1652
|
+
update: (params: IntegrationAccountUpdateParams) => Promise<IntegrationAccountUpdateResult>;
|
|
1653
|
+
delete: (params: IntegrationAccountDeleteParams) => Promise<IntegrationAccountDeleteResult>;
|
|
1654
|
+
};
|
|
1726
1655
|
};
|
|
1727
1656
|
/** Static browser credential client for listing, creating, and deleting saved browser logins. */
|
|
1728
1657
|
static browserCredentials: typeof browserCredentials;
|
|
@@ -1964,8 +1893,8 @@ interface SwarmConfig {
|
|
|
1964
1893
|
mcpServers?: Record<string, McpServerConfig>;
|
|
1965
1894
|
/** Default skills for all operations (per-operation config takes precedence) */
|
|
1966
1895
|
skills?: SkillName[];
|
|
1967
|
-
/** Default
|
|
1968
|
-
|
|
1896
|
+
/** Default Integrations configuration for all operations (per-operation config takes precedence) */
|
|
1897
|
+
integrations?: IntegrationsSetup;
|
|
1969
1898
|
}
|
|
1970
1899
|
/** Callback for bestOf candidate completion */
|
|
1971
1900
|
type OnCandidateCompleteCallback = (itemIndex: number, candidateIndex: number, status: "success" | "error") => void;
|
|
@@ -1988,10 +1917,10 @@ interface BestOfConfig {
|
|
|
1988
1917
|
skills?: SkillName[];
|
|
1989
1918
|
/** Skills for judge (defaults to skills) */
|
|
1990
1919
|
judgeSkills?: SkillName[];
|
|
1991
|
-
/**
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
|
|
1920
|
+
/** Integrations config for candidates (defaults to operation integrations) */
|
|
1921
|
+
integrations?: IntegrationsSetup;
|
|
1922
|
+
/** Integrations config for judge (defaults to integrations) */
|
|
1923
|
+
judgeIntegrations?: IntegrationsSetup;
|
|
1995
1924
|
/** Callback when a candidate completes */
|
|
1996
1925
|
onCandidateComplete?: OnCandidateCompleteCallback;
|
|
1997
1926
|
/** Callback when judge completes */
|
|
@@ -2012,8 +1941,8 @@ interface VerifyConfig {
|
|
|
2012
1941
|
verifierMcpServers?: Record<string, McpServerConfig>;
|
|
2013
1942
|
/** Skills for verifier (defaults to operation skills) */
|
|
2014
1943
|
verifierSkills?: SkillName[];
|
|
2015
|
-
/**
|
|
2016
|
-
|
|
1944
|
+
/** Integrations config for verifier (defaults to operation integrations) */
|
|
1945
|
+
verifierIntegrations?: IntegrationsSetup;
|
|
2017
1946
|
/** Callback invoked after each worker completion (before verification) */
|
|
2018
1947
|
onWorkerComplete?: OnWorkerCompleteCallback;
|
|
2019
1948
|
/** Callback invoked after each verifier completion */
|
|
@@ -2185,8 +2114,8 @@ interface MapParams<T> {
|
|
|
2185
2114
|
mcpServers?: Record<string, McpServerConfig>;
|
|
2186
2115
|
/** Skills override (replaces swarm default) */
|
|
2187
2116
|
skills?: SkillName[];
|
|
2188
|
-
/**
|
|
2189
|
-
|
|
2117
|
+
/** Integrations override (replaces swarm default) */
|
|
2118
|
+
integrations?: IntegrationsSetup;
|
|
2190
2119
|
/** Optional bestOf configuration for N candidates + judge (mutually exclusive with verify) */
|
|
2191
2120
|
bestOf?: BestOfConfig;
|
|
2192
2121
|
/** Optional verify configuration for LLM-as-judge quality verification with retry (mutually exclusive with bestOf) */
|
|
@@ -2220,8 +2149,8 @@ interface FilterParams<T> {
|
|
|
2220
2149
|
mcpServers?: Record<string, McpServerConfig>;
|
|
2221
2150
|
/** Skills override (replaces swarm default) */
|
|
2222
2151
|
skills?: SkillName[];
|
|
2223
|
-
/**
|
|
2224
|
-
|
|
2152
|
+
/** Integrations override (replaces swarm default) */
|
|
2153
|
+
integrations?: IntegrationsSetup;
|
|
2225
2154
|
/** Optional verify configuration for LLM-as-judge quality verification with retry */
|
|
2226
2155
|
verify?: VerifyConfig;
|
|
2227
2156
|
/** Per-item retry configuration. Typed to allow retryOn access to SwarmResult fields. */
|
|
@@ -2251,8 +2180,8 @@ interface ReduceParams<T> {
|
|
|
2251
2180
|
mcpServers?: Record<string, McpServerConfig>;
|
|
2252
2181
|
/** Skills override (replaces swarm default) */
|
|
2253
2182
|
skills?: SkillName[];
|
|
2254
|
-
/**
|
|
2255
|
-
|
|
2183
|
+
/** Integrations override (replaces swarm default) */
|
|
2184
|
+
integrations?: IntegrationsSetup;
|
|
2256
2185
|
/** Optional verify configuration for LLM-as-judge quality verification with retry */
|
|
2257
2186
|
verify?: VerifyConfig;
|
|
2258
2187
|
/** Retry configuration (retries entire reduce on error). Typed to allow retryOn access to ReduceResult fields. */
|
|
@@ -2268,7 +2197,7 @@ interface BestOfParams<T> {
|
|
|
2268
2197
|
prompt: string;
|
|
2269
2198
|
/** Optional operation name for observability */
|
|
2270
2199
|
name?: string;
|
|
2271
|
-
/** BestOf configuration (n, judgeCriteria, taskAgents, judgeAgent, mcpServers, skills,
|
|
2200
|
+
/** BestOf configuration (n, judgeCriteria, taskAgents, judgeAgent, mcpServers, skills, integrations) */
|
|
2272
2201
|
config: BestOfConfig;
|
|
2273
2202
|
/** Optional system prompt */
|
|
2274
2203
|
systemPrompt?: string;
|
|
@@ -2458,8 +2387,8 @@ interface BaseStepConfig {
|
|
|
2458
2387
|
mcpServers?: Record<string, McpServerConfig>;
|
|
2459
2388
|
/** Skills override (replaces swarm default for this step) */
|
|
2460
2389
|
skills?: SkillName[];
|
|
2461
|
-
/**
|
|
2462
|
-
|
|
2390
|
+
/** Integrations override (replaces swarm default for this step) */
|
|
2391
|
+
integrations?: IntegrationsSetup;
|
|
2463
2392
|
/** Timeout in ms */
|
|
2464
2393
|
timeoutMs?: number;
|
|
2465
2394
|
}
|
|
@@ -3220,4 +3149,4 @@ interface SessionsClient {
|
|
|
3220
3149
|
*/
|
|
3221
3150
|
declare function sessions(config?: SessionsConfig): SessionsClient;
|
|
3222
3151
|
|
|
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
|
|
3152
|
+
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 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 IntegrationAccount, type IntegrationAccountDeleteParams, type IntegrationAccountDeleteResult, type IntegrationAccountListParams, type IntegrationAccountUpdateParams, type IntegrationAccountUpdateResult, type IntegrationAuthParams, type IntegrationAuthResult, type IntegrationToolsFilter, type IntegrationsConfig, type IntegrationsSetup, 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, 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 };
|