@onkernel/sdk 0.145.0 → 0.147.0
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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/resources/auth/auth.d.mts +2 -2
- package/resources/auth/auth.d.mts.map +1 -1
- package/resources/auth/auth.d.ts +2 -2
- package/resources/auth/auth.d.ts.map +1 -1
- package/resources/auth/auth.js.map +1 -1
- package/resources/auth/auth.mjs.map +1 -1
- package/resources/auth/connections.d.mts +18 -1
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +18 -1
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/auth/index.d.mts +1 -1
- package/resources/auth/index.d.mts.map +1 -1
- package/resources/auth/index.d.ts +1 -1
- package/resources/auth/index.d.ts.map +1 -1
- package/resources/auth/index.js.map +1 -1
- package/resources/auth/index.mjs.map +1 -1
- package/resources/browser-pools.d.mts +49 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +49 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +128 -0
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +128 -0
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/invocations.d.mts +31 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +31 -0
- package/resources/invocations.d.ts.map +1 -1
- package/src/resources/auth/auth.ts +2 -0
- package/src/resources/auth/connections.ts +20 -0
- package/src/resources/auth/index.ts +1 -0
- package/src/resources/browser-pools.ts +58 -0
- package/src/resources/browsers/browsers.ts +149 -0
- package/src/resources/invocations.ts +36 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1034,6 +1034,13 @@ export interface BrowserCreateResponse {
|
|
|
1034
1034
|
*/
|
|
1035
1035
|
proxy_id?: string;
|
|
1036
1036
|
|
|
1037
|
+
/**
|
|
1038
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1039
|
+
* acquired. Omitted otherwise; list replays with
|
|
1040
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1041
|
+
*/
|
|
1042
|
+
replay?: BrowserCreateResponse.Replay;
|
|
1043
|
+
|
|
1037
1044
|
/**
|
|
1038
1045
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
1039
1046
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
|
@@ -1092,6 +1099,35 @@ export interface BrowserCreateResponse {
|
|
|
1092
1099
|
viewport?: Shared.BrowserViewport;
|
|
1093
1100
|
}
|
|
1094
1101
|
|
|
1102
|
+
export namespace BrowserCreateResponse {
|
|
1103
|
+
/**
|
|
1104
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1105
|
+
* acquired. Omitted otherwise; list replays with
|
|
1106
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1107
|
+
*/
|
|
1108
|
+
export interface Replay {
|
|
1109
|
+
/**
|
|
1110
|
+
* Unique identifier for the replay recording.
|
|
1111
|
+
*/
|
|
1112
|
+
replay_id: string;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Timestamp when replay finished
|
|
1116
|
+
*/
|
|
1117
|
+
finished_at?: string | null;
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* URL for viewing the replay recording.
|
|
1121
|
+
*/
|
|
1122
|
+
replay_view_url?: string;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Timestamp when replay started
|
|
1126
|
+
*/
|
|
1127
|
+
started_at?: string | null;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1095
1131
|
export interface BrowserRetrieveResponse {
|
|
1096
1132
|
/**
|
|
1097
1133
|
* Websocket URL for Chrome DevTools Protocol connections to the browser session
|
|
@@ -1221,6 +1257,13 @@ export interface BrowserRetrieveResponse {
|
|
|
1221
1257
|
*/
|
|
1222
1258
|
proxy_id?: string;
|
|
1223
1259
|
|
|
1260
|
+
/**
|
|
1261
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1262
|
+
* acquired. Omitted otherwise; list replays with
|
|
1263
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1264
|
+
*/
|
|
1265
|
+
replay?: BrowserRetrieveResponse.Replay;
|
|
1266
|
+
|
|
1224
1267
|
/**
|
|
1225
1268
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
1226
1269
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
|
@@ -1279,6 +1322,35 @@ export interface BrowserRetrieveResponse {
|
|
|
1279
1322
|
viewport?: Shared.BrowserViewport;
|
|
1280
1323
|
}
|
|
1281
1324
|
|
|
1325
|
+
export namespace BrowserRetrieveResponse {
|
|
1326
|
+
/**
|
|
1327
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1328
|
+
* acquired. Omitted otherwise; list replays with
|
|
1329
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1330
|
+
*/
|
|
1331
|
+
export interface Replay {
|
|
1332
|
+
/**
|
|
1333
|
+
* Unique identifier for the replay recording.
|
|
1334
|
+
*/
|
|
1335
|
+
replay_id: string;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Timestamp when replay finished
|
|
1339
|
+
*/
|
|
1340
|
+
finished_at?: string | null;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* URL for viewing the replay recording.
|
|
1344
|
+
*/
|
|
1345
|
+
replay_view_url?: string;
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Timestamp when replay started
|
|
1349
|
+
*/
|
|
1350
|
+
started_at?: string | null;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1282
1354
|
export interface BrowserUpdateResponse {
|
|
1283
1355
|
/**
|
|
1284
1356
|
* Websocket URL for Chrome DevTools Protocol connections to the browser session
|
|
@@ -1408,6 +1480,13 @@ export interface BrowserUpdateResponse {
|
|
|
1408
1480
|
*/
|
|
1409
1481
|
proxy_id?: string;
|
|
1410
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1485
|
+
* acquired. Omitted otherwise; list replays with
|
|
1486
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1487
|
+
*/
|
|
1488
|
+
replay?: BrowserUpdateResponse.Replay;
|
|
1489
|
+
|
|
1411
1490
|
/**
|
|
1412
1491
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
1413
1492
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
|
@@ -1466,6 +1545,35 @@ export interface BrowserUpdateResponse {
|
|
|
1466
1545
|
viewport?: Shared.BrowserViewport;
|
|
1467
1546
|
}
|
|
1468
1547
|
|
|
1548
|
+
export namespace BrowserUpdateResponse {
|
|
1549
|
+
/**
|
|
1550
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1551
|
+
* acquired. Omitted otherwise; list replays with
|
|
1552
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1553
|
+
*/
|
|
1554
|
+
export interface Replay {
|
|
1555
|
+
/**
|
|
1556
|
+
* Unique identifier for the replay recording.
|
|
1557
|
+
*/
|
|
1558
|
+
replay_id: string;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Timestamp when replay finished
|
|
1562
|
+
*/
|
|
1563
|
+
finished_at?: string | null;
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* URL for viewing the replay recording.
|
|
1567
|
+
*/
|
|
1568
|
+
replay_view_url?: string;
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* Timestamp when replay started
|
|
1572
|
+
*/
|
|
1573
|
+
started_at?: string | null;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1469
1577
|
export interface BrowserListResponse {
|
|
1470
1578
|
/**
|
|
1471
1579
|
* Websocket URL for Chrome DevTools Protocol connections to the browser session
|
|
@@ -1595,6 +1703,13 @@ export interface BrowserListResponse {
|
|
|
1595
1703
|
*/
|
|
1596
1704
|
proxy_id?: string;
|
|
1597
1705
|
|
|
1706
|
+
/**
|
|
1707
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1708
|
+
* acquired. Omitted otherwise; list replays with
|
|
1709
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1710
|
+
*/
|
|
1711
|
+
replay?: BrowserListResponse.Replay;
|
|
1712
|
+
|
|
1598
1713
|
/**
|
|
1599
1714
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
1600
1715
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
|
@@ -1653,6 +1768,35 @@ export interface BrowserListResponse {
|
|
|
1653
1768
|
viewport?: Shared.BrowserViewport;
|
|
1654
1769
|
}
|
|
1655
1770
|
|
|
1771
|
+
export namespace BrowserListResponse {
|
|
1772
|
+
/**
|
|
1773
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
1774
|
+
* acquired. Omitted otherwise; list replays with
|
|
1775
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
1776
|
+
*/
|
|
1777
|
+
export interface Replay {
|
|
1778
|
+
/**
|
|
1779
|
+
* Unique identifier for the replay recording.
|
|
1780
|
+
*/
|
|
1781
|
+
replay_id: string;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* Timestamp when replay finished
|
|
1785
|
+
*/
|
|
1786
|
+
finished_at?: string | null;
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* URL for viewing the replay recording.
|
|
1790
|
+
*/
|
|
1791
|
+
replay_view_url?: string;
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Timestamp when replay started
|
|
1795
|
+
*/
|
|
1796
|
+
started_at?: string | null;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1656
1800
|
/**
|
|
1657
1801
|
* Structured response from the browser curl request.
|
|
1658
1802
|
*/
|
|
@@ -1779,6 +1923,11 @@ export interface BrowserCreateParams {
|
|
|
1779
1923
|
*/
|
|
1780
1924
|
region?: 'us-east' | 'us-west' | 'eu-west' | 'ap-southeast';
|
|
1781
1925
|
|
|
1926
|
+
/**
|
|
1927
|
+
* Start replay recording as part of creating this browser session.
|
|
1928
|
+
*/
|
|
1929
|
+
start_replay?: boolean;
|
|
1930
|
+
|
|
1782
1931
|
/**
|
|
1783
1932
|
* Optional URL to open when the browser session is created. Navigation is
|
|
1784
1933
|
* best-effort, so navigation failures do not prevent the session from being
|
|
@@ -576,6 +576,13 @@ export namespace InvocationListBrowsersResponse {
|
|
|
576
576
|
*/
|
|
577
577
|
proxy_id?: string;
|
|
578
578
|
|
|
579
|
+
/**
|
|
580
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
581
|
+
* acquired. Omitted otherwise; list replays with
|
|
582
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
583
|
+
*/
|
|
584
|
+
replay?: Browser.Replay;
|
|
585
|
+
|
|
579
586
|
/**
|
|
580
587
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
581
588
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
|
@@ -633,6 +640,35 @@ export namespace InvocationListBrowsersResponse {
|
|
|
633
640
|
*/
|
|
634
641
|
viewport?: Shared.BrowserViewport;
|
|
635
642
|
}
|
|
643
|
+
|
|
644
|
+
export namespace Browser {
|
|
645
|
+
/**
|
|
646
|
+
* Replay recording started by `start_replay` when this browser was created or
|
|
647
|
+
* acquired. Omitted otherwise; list replays with
|
|
648
|
+
* `GET /browsers/{id_or_name}/replays`.
|
|
649
|
+
*/
|
|
650
|
+
export interface Replay {
|
|
651
|
+
/**
|
|
652
|
+
* Unique identifier for the replay recording.
|
|
653
|
+
*/
|
|
654
|
+
replay_id: string;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Timestamp when replay finished
|
|
658
|
+
*/
|
|
659
|
+
finished_at?: string | null;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* URL for viewing the replay recording.
|
|
663
|
+
*/
|
|
664
|
+
replay_view_url?: string;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Timestamp when replay started
|
|
668
|
+
*/
|
|
669
|
+
started_at?: string | null;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
636
672
|
}
|
|
637
673
|
|
|
638
674
|
export interface InvocationCreateParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.147.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.147.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.147.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.147.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|