@onkernel/sdk 0.33.0 → 0.34.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 +16 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +7 -0
- package/client.js.map +1 -1
- package/client.mjs +7 -0
- package/client.mjs.map +1 -1
- package/core/streaming.js.map +1 -1
- package/core/streaming.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +8 -0
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +8 -0
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browser-pools.d.mts +28 -28
- package/resources/browser-pools.d.ts +28 -28
- package/resources/browsers/browsers.d.mts +35 -35
- package/resources/browsers/browsers.d.ts +35 -35
- package/resources/invocations.d.mts +7 -7
- package/resources/invocations.d.ts +7 -7
- package/resources/shared.d.mts +21 -7
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +21 -7
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +9 -1
- package/src/core/streaming.ts +2 -2
- package/src/resources/auth/connections.ts +10 -0
- package/src/resources/browser-pools.ts +28 -28
- package/src/resources/browsers/browsers.ts +35 -35
- package/src/resources/invocations.ts +7 -7
- package/src/resources/shared.ts +19 -7
- 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
|
@@ -250,6 +250,11 @@ export interface ManagedAuth {
|
|
|
250
250
|
*/
|
|
251
251
|
discovered_fields?: Array<ManagedAuth.DiscoveredField> | null;
|
|
252
252
|
|
|
253
|
+
/**
|
|
254
|
+
* Machine-readable error code (present when flow_status=failed)
|
|
255
|
+
*/
|
|
256
|
+
error_code?: string | null;
|
|
257
|
+
|
|
253
258
|
/**
|
|
254
259
|
* Error message (present when flow_status=failed)
|
|
255
260
|
*/
|
|
@@ -648,6 +653,11 @@ export namespace ConnectionFollowResponse {
|
|
|
648
653
|
*/
|
|
649
654
|
discovered_fields?: Array<ManagedAuthStateEvent.DiscoveredField>;
|
|
650
655
|
|
|
656
|
+
/**
|
|
657
|
+
* Machine-readable error code (present when flow_status=FAILED).
|
|
658
|
+
*/
|
|
659
|
+
error_code?: string;
|
|
660
|
+
|
|
651
661
|
/**
|
|
652
662
|
* Error message (present when flow_status=FAILED).
|
|
653
663
|
*/
|
|
@@ -240,13 +240,13 @@ export namespace BrowserPool {
|
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
243
|
-
* image defaults apply (1920x1080@25).
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
243
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
244
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
245
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
246
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
247
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
248
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
249
|
+
* bandwidth reasonable).
|
|
250
250
|
*/
|
|
251
251
|
viewport?: Shared.BrowserViewport;
|
|
252
252
|
}
|
|
@@ -319,13 +319,13 @@ export interface BrowserPoolAcquireResponse {
|
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
322
|
-
* image defaults apply (1920x1080@25).
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
322
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
323
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
324
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
325
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
326
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
327
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
328
|
+
* bandwidth reasonable).
|
|
329
329
|
*/
|
|
330
330
|
viewport?: Shared.BrowserViewport;
|
|
331
331
|
}
|
|
@@ -391,13 +391,13 @@ export interface BrowserPoolCreateParams {
|
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
394
|
-
* image defaults apply (1920x1080@25).
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
394
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
395
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
396
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
397
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
398
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
399
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
400
|
+
* bandwidth reasonable).
|
|
401
401
|
*/
|
|
402
402
|
viewport?: Shared.BrowserViewport;
|
|
403
403
|
}
|
|
@@ -469,13 +469,13 @@ export interface BrowserPoolUpdateParams {
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
472
|
-
* image defaults apply (1920x1080@25).
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
*
|
|
472
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
473
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
474
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
475
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
476
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
477
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
478
|
+
* bandwidth reasonable).
|
|
479
479
|
*/
|
|
480
480
|
viewport?: Shared.BrowserViewport;
|
|
481
481
|
}
|
|
@@ -315,13 +315,13 @@ export interface BrowserCreateResponse {
|
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
318
|
-
* image defaults apply (1920x1080@25).
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
318
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
319
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
320
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
321
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
322
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
323
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
324
|
+
* bandwidth reasonable).
|
|
325
325
|
*/
|
|
326
326
|
viewport?: Shared.BrowserViewport;
|
|
327
327
|
}
|
|
@@ -391,13 +391,13 @@ export interface BrowserRetrieveResponse {
|
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
394
|
-
* image defaults apply (1920x1080@25).
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
394
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
395
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
396
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
397
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
398
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
399
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
400
|
+
* bandwidth reasonable).
|
|
401
401
|
*/
|
|
402
402
|
viewport?: Shared.BrowserViewport;
|
|
403
403
|
}
|
|
@@ -467,13 +467,13 @@ export interface BrowserUpdateResponse {
|
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
470
|
-
* image defaults apply (1920x1080@25).
|
|
471
|
-
*
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
470
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
471
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
472
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
473
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
474
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
475
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
476
|
+
* bandwidth reasonable).
|
|
477
477
|
*/
|
|
478
478
|
viewport?: Shared.BrowserViewport;
|
|
479
479
|
}
|
|
@@ -543,13 +543,13 @@ export interface BrowserListResponse {
|
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
546
|
-
* image defaults apply (1920x1080@25).
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
546
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
547
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
548
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
549
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
550
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
551
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
552
|
+
* bandwidth reasonable).
|
|
553
553
|
*/
|
|
554
554
|
viewport?: Shared.BrowserViewport;
|
|
555
555
|
}
|
|
@@ -613,13 +613,13 @@ export interface BrowserCreateParams {
|
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
615
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
616
|
-
* image defaults apply (1920x1080@25).
|
|
617
|
-
*
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
616
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
617
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
618
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
619
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
620
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
621
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
622
|
+
* bandwidth reasonable).
|
|
623
623
|
*/
|
|
624
624
|
viewport?: Shared.BrowserViewport;
|
|
625
625
|
}
|
|
@@ -479,13 +479,13 @@ export namespace InvocationListBrowsersResponse {
|
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
481
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
482
|
-
* image defaults apply (1920x1080@25).
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
482
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
483
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
484
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
485
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
486
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
487
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
488
|
+
* bandwidth reasonable).
|
|
489
489
|
*/
|
|
490
490
|
viewport?: Shared.BrowserViewport;
|
|
491
491
|
}
|
package/src/resources/shared.ts
CHANGED
|
@@ -8,6 +8,18 @@ export interface AppAction {
|
|
|
8
8
|
* Name of the action
|
|
9
9
|
*/
|
|
10
10
|
name: string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* JSON Schema (draft-07) describing the expected input payload. Null if schema
|
|
14
|
+
* could not be automatically generated.
|
|
15
|
+
*/
|
|
16
|
+
input_schema?: { [key: string]: unknown } | null;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* JSON Schema (draft-07) describing the expected output payload. Null if schema
|
|
20
|
+
* could not be automatically generated.
|
|
21
|
+
*/
|
|
22
|
+
output_schema?: { [key: string]: unknown } | null;
|
|
11
23
|
}
|
|
12
24
|
|
|
13
25
|
/**
|
|
@@ -53,13 +65,13 @@ export interface BrowserProfile {
|
|
|
53
65
|
|
|
54
66
|
/**
|
|
55
67
|
* Initial browser window size in pixels with optional refresh rate. If omitted,
|
|
56
|
-
* image defaults apply (1920x1080@25).
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
68
|
+
* image defaults apply (1920x1080@25). Arbitrary viewport dimensions are accepted,
|
|
69
|
+
* but the following configurations are known-good and fully tested: 2560x1440@10,
|
|
70
|
+
* 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60.
|
|
71
|
+
* Viewports outside this list may exhibit unstable live view or recording
|
|
72
|
+
* behavior. If refresh_rate is not provided, it will be automatically determined
|
|
73
|
+
* based on the resolution (higher resolutions use lower refresh rates to keep
|
|
74
|
+
* bandwidth reasonable).
|
|
63
75
|
*/
|
|
64
76
|
export interface BrowserViewport {
|
|
65
77
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.34.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.34.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.34.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.34.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|