asteroid-odyssey 1.6.271 → 1.6.284

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.d.mts CHANGED
@@ -663,7 +663,7 @@ type AgentsExecutionBrowserRunCodeStartedDetails = {
663
663
  actionName: 'browser_run_code';
664
664
  code: string;
665
665
  };
666
- type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested';
666
+ type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested' | 'script_failed';
667
667
  type AgentsExecutionCancelledPayload = {
668
668
  reason: AgentsExecutionCancelReason;
669
669
  };
@@ -1385,6 +1385,34 @@ type AgentsProfileAgentProfile = {
1385
1385
  * Custom proxy configuration (for custom proxy mode, password excluded)
1386
1386
  */
1387
1387
  customProxy?: AgentsProfileCustomProxyConfigOutput;
1388
+ /**
1389
+ * OpenConnect VPN server hostname (for openconnect proxy mode)
1390
+ */
1391
+ openconnectHost?: string;
1392
+ /**
1393
+ * OpenConnect VPN username (for openconnect proxy mode)
1394
+ */
1395
+ openconnectUsername?: string;
1396
+ /**
1397
+ * Whether an OpenConnect VPN password is configured (for openconnect proxy mode)
1398
+ */
1399
+ openconnectPasswordSet?: boolean;
1400
+ /**
1401
+ * Whether an OpenConnect TOTP secret is configured (for openconnect proxy mode)
1402
+ */
1403
+ openconnectTotpSecretSet?: boolean;
1404
+ /**
1405
+ * OpenConnect protocol (for openconnect proxy mode)
1406
+ */
1407
+ openconnectProtocol?: string;
1408
+ /**
1409
+ * OpenConnect auth group/realm (for openconnect proxy mode)
1410
+ */
1411
+ openconnectAuthGroup?: string;
1412
+ /**
1413
+ * Pre-configured TLS certificate pin for the OpenConnect VPN server (pin-sha256:...). When set, this pin is used instead of fetching it from the live server, preventing MITM attacks during VPN establishment.
1414
+ */
1415
+ openconnectServerCertPin?: string;
1388
1416
  /**
1389
1417
  * Whether the captcha solver is active for this profile (managed proxy only)
1390
1418
  */
@@ -1618,6 +1646,34 @@ type AgentsProfileCreateAgentProfileRequest = {
1618
1646
  * Tailscale auth key for VPN access (required for tailscale proxy mode)
1619
1647
  */
1620
1648
  tailscaleAuthKey?: string;
1649
+ /**
1650
+ * OpenConnect VPN server hostname (required for openconnect proxy mode)
1651
+ */
1652
+ openconnectHost?: string;
1653
+ /**
1654
+ * OpenConnect VPN username (required for openconnect proxy mode)
1655
+ */
1656
+ openconnectUsername?: string;
1657
+ /**
1658
+ * OpenConnect VPN password (encrypted, optional if TOTP secret is provided)
1659
+ */
1660
+ openconnectPassword?: string;
1661
+ /**
1662
+ * TOTP seed for generating one-time passwords (encrypted, optional if static password is provided)
1663
+ */
1664
+ openconnectTotpSecret?: string;
1665
+ /**
1666
+ * OpenConnect protocol override (e.g. 'anyconnect', 'gp', 'nc'); defaults to 'anyconnect'
1667
+ */
1668
+ openconnectProtocol?: string;
1669
+ /**
1670
+ * OpenConnect auth group/realm (optional)
1671
+ */
1672
+ openconnectAuthGroup?: string;
1673
+ /**
1674
+ * Pre-configured TLS certificate pin for the VPN server (pin-sha256:...). Prevents MITM during VPN connection.
1675
+ */
1676
+ openconnectServerCertPin?: string;
1621
1677
  /**
1622
1678
  * Whether the captcha solver should be active (managed proxy only)
1623
1679
  */
@@ -1759,7 +1815,7 @@ type AgentsProfilePoolSortField = 'name' | 'created_at' | 'updated_at';
1759
1815
  /**
1760
1816
  * Proxy configuration mode
1761
1817
  */
1762
- type AgentsProfileProxyMode = 'none' | 'managed' | 'custom' | 'tailscale';
1818
+ type AgentsProfileProxyMode = 'none' | 'managed' | 'custom' | 'tailscale' | 'openconnect';
1763
1819
  /**
1764
1820
  * Type of managed proxy to use for browser sessions
1765
1821
  */
@@ -1834,6 +1890,34 @@ type AgentsProfileUpdateAgentProfileRequest = {
1834
1890
  * Tailscale auth key for VPN access (for tailscale proxy mode)
1835
1891
  */
1836
1892
  tailscaleAuthKey?: string;
1893
+ /**
1894
+ * OpenConnect VPN server hostname (for openconnect proxy mode)
1895
+ */
1896
+ openconnectHost?: string;
1897
+ /**
1898
+ * OpenConnect VPN username (for openconnect proxy mode)
1899
+ */
1900
+ openconnectUsername?: string;
1901
+ /**
1902
+ * OpenConnect VPN password (for openconnect proxy mode)
1903
+ */
1904
+ openconnectPassword?: string;
1905
+ /**
1906
+ * TOTP seed for generating one-time passwords (for openconnect proxy mode)
1907
+ */
1908
+ openconnectTotpSecret?: string;
1909
+ /**
1910
+ * OpenConnect protocol override (for openconnect proxy mode)
1911
+ */
1912
+ openconnectProtocol?: string;
1913
+ /**
1914
+ * OpenConnect auth group/realm (for openconnect proxy mode)
1915
+ */
1916
+ openconnectAuthGroup?: string;
1917
+ /**
1918
+ * Pre-configured TLS certificate pin for the VPN server (pin-sha256:...). Prevents MITM during VPN connection.
1919
+ */
1920
+ openconnectServerCertPin?: string;
1837
1921
  /**
1838
1922
  * Whether the captcha solver should be active (managed proxy only)
1839
1923
  */
package/dist/index.d.ts CHANGED
@@ -663,7 +663,7 @@ type AgentsExecutionBrowserRunCodeStartedDetails = {
663
663
  actionName: 'browser_run_code';
664
664
  code: string;
665
665
  };
666
- type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested';
666
+ type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested' | 'script_failed';
667
667
  type AgentsExecutionCancelledPayload = {
668
668
  reason: AgentsExecutionCancelReason;
669
669
  };
@@ -1385,6 +1385,34 @@ type AgentsProfileAgentProfile = {
1385
1385
  * Custom proxy configuration (for custom proxy mode, password excluded)
1386
1386
  */
1387
1387
  customProxy?: AgentsProfileCustomProxyConfigOutput;
1388
+ /**
1389
+ * OpenConnect VPN server hostname (for openconnect proxy mode)
1390
+ */
1391
+ openconnectHost?: string;
1392
+ /**
1393
+ * OpenConnect VPN username (for openconnect proxy mode)
1394
+ */
1395
+ openconnectUsername?: string;
1396
+ /**
1397
+ * Whether an OpenConnect VPN password is configured (for openconnect proxy mode)
1398
+ */
1399
+ openconnectPasswordSet?: boolean;
1400
+ /**
1401
+ * Whether an OpenConnect TOTP secret is configured (for openconnect proxy mode)
1402
+ */
1403
+ openconnectTotpSecretSet?: boolean;
1404
+ /**
1405
+ * OpenConnect protocol (for openconnect proxy mode)
1406
+ */
1407
+ openconnectProtocol?: string;
1408
+ /**
1409
+ * OpenConnect auth group/realm (for openconnect proxy mode)
1410
+ */
1411
+ openconnectAuthGroup?: string;
1412
+ /**
1413
+ * Pre-configured TLS certificate pin for the OpenConnect VPN server (pin-sha256:...). When set, this pin is used instead of fetching it from the live server, preventing MITM attacks during VPN establishment.
1414
+ */
1415
+ openconnectServerCertPin?: string;
1388
1416
  /**
1389
1417
  * Whether the captcha solver is active for this profile (managed proxy only)
1390
1418
  */
@@ -1618,6 +1646,34 @@ type AgentsProfileCreateAgentProfileRequest = {
1618
1646
  * Tailscale auth key for VPN access (required for tailscale proxy mode)
1619
1647
  */
1620
1648
  tailscaleAuthKey?: string;
1649
+ /**
1650
+ * OpenConnect VPN server hostname (required for openconnect proxy mode)
1651
+ */
1652
+ openconnectHost?: string;
1653
+ /**
1654
+ * OpenConnect VPN username (required for openconnect proxy mode)
1655
+ */
1656
+ openconnectUsername?: string;
1657
+ /**
1658
+ * OpenConnect VPN password (encrypted, optional if TOTP secret is provided)
1659
+ */
1660
+ openconnectPassword?: string;
1661
+ /**
1662
+ * TOTP seed for generating one-time passwords (encrypted, optional if static password is provided)
1663
+ */
1664
+ openconnectTotpSecret?: string;
1665
+ /**
1666
+ * OpenConnect protocol override (e.g. 'anyconnect', 'gp', 'nc'); defaults to 'anyconnect'
1667
+ */
1668
+ openconnectProtocol?: string;
1669
+ /**
1670
+ * OpenConnect auth group/realm (optional)
1671
+ */
1672
+ openconnectAuthGroup?: string;
1673
+ /**
1674
+ * Pre-configured TLS certificate pin for the VPN server (pin-sha256:...). Prevents MITM during VPN connection.
1675
+ */
1676
+ openconnectServerCertPin?: string;
1621
1677
  /**
1622
1678
  * Whether the captcha solver should be active (managed proxy only)
1623
1679
  */
@@ -1759,7 +1815,7 @@ type AgentsProfilePoolSortField = 'name' | 'created_at' | 'updated_at';
1759
1815
  /**
1760
1816
  * Proxy configuration mode
1761
1817
  */
1762
- type AgentsProfileProxyMode = 'none' | 'managed' | 'custom' | 'tailscale';
1818
+ type AgentsProfileProxyMode = 'none' | 'managed' | 'custom' | 'tailscale' | 'openconnect';
1763
1819
  /**
1764
1820
  * Type of managed proxy to use for browser sessions
1765
1821
  */
@@ -1834,6 +1890,34 @@ type AgentsProfileUpdateAgentProfileRequest = {
1834
1890
  * Tailscale auth key for VPN access (for tailscale proxy mode)
1835
1891
  */
1836
1892
  tailscaleAuthKey?: string;
1893
+ /**
1894
+ * OpenConnect VPN server hostname (for openconnect proxy mode)
1895
+ */
1896
+ openconnectHost?: string;
1897
+ /**
1898
+ * OpenConnect VPN username (for openconnect proxy mode)
1899
+ */
1900
+ openconnectUsername?: string;
1901
+ /**
1902
+ * OpenConnect VPN password (for openconnect proxy mode)
1903
+ */
1904
+ openconnectPassword?: string;
1905
+ /**
1906
+ * TOTP seed for generating one-time passwords (for openconnect proxy mode)
1907
+ */
1908
+ openconnectTotpSecret?: string;
1909
+ /**
1910
+ * OpenConnect protocol override (for openconnect proxy mode)
1911
+ */
1912
+ openconnectProtocol?: string;
1913
+ /**
1914
+ * OpenConnect auth group/realm (for openconnect proxy mode)
1915
+ */
1916
+ openconnectAuthGroup?: string;
1917
+ /**
1918
+ * Pre-configured TLS certificate pin for the VPN server (pin-sha256:...). Prevents MITM during VPN connection.
1919
+ */
1920
+ openconnectServerCertPin?: string;
1837
1921
  /**
1838
1922
  * Whether the captcha solver should be active (managed proxy only)
1839
1923
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.6.271",
3
+ "version": "1.6.284",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",