@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.
@@ -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). Only specific viewport configurations are
244
- * supported. The server will reject unsupported combinations. Supported
245
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
246
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
247
- * be automatically determined from the width and height if they match a supported
248
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
249
- * live view browser
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). Only specific viewport configurations are
323
- * supported. The server will reject unsupported combinations. Supported
324
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
325
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
326
- * be automatically determined from the width and height if they match a supported
327
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
328
- * live view browser
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). Only specific viewport configurations are
395
- * supported. The server will reject unsupported combinations. Supported
396
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
397
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
398
- * be automatically determined from the width and height if they match a supported
399
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
400
- * live view browser
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). Only specific viewport configurations are
473
- * supported. The server will reject unsupported combinations. Supported
474
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
475
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
476
- * be automatically determined from the width and height if they match a supported
477
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
478
- * live view browser
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). Only specific viewport configurations are
319
- * supported. The server will reject unsupported combinations. Supported
320
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
321
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
322
- * be automatically determined from the width and height if they match a supported
323
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
324
- * live view browser
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). Only specific viewport configurations are
395
- * supported. The server will reject unsupported combinations. Supported
396
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
397
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
398
- * be automatically determined from the width and height if they match a supported
399
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
400
- * live view browser
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). Only specific viewport configurations are
471
- * supported. The server will reject unsupported combinations. Supported
472
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
473
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
474
- * be automatically determined from the width and height if they match a supported
475
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
476
- * live view browser
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). Only specific viewport configurations are
547
- * supported. The server will reject unsupported combinations. Supported
548
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
549
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
550
- * be automatically determined from the width and height if they match a supported
551
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
552
- * live view browser
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). Only specific viewport configurations are
617
- * supported. The server will reject unsupported combinations. Supported
618
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
619
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
620
- * be automatically determined from the width and height if they match a supported
621
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
622
- * live view browser
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). Only specific viewport configurations are
483
- * supported. The server will reject unsupported combinations. Supported
484
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
485
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
486
- * be automatically determined from the width and height if they match a supported
487
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
488
- * live view browser
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
  }
@@ -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). Only specific viewport configurations are
57
- * supported. The server will reject unsupported combinations. Supported
58
- * resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
59
- * 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
60
- * be automatically determined from the width and height if they match a supported
61
- * configuration exactly. Note: Higher resolutions may affect the responsiveness of
62
- * live view browser
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.33.0'; // x-release-please-version
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.33.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.33.0";
1
+ export declare const VERSION = "0.34.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.33.0'; // x-release-please-version
4
+ exports.VERSION = '0.34.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.33.0'; // x-release-please-version
1
+ export const VERSION = '0.34.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map