@onkernel/sdk 0.6.5 → 0.7.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0 (2025-07-02)
4
+
5
+ Full Changelog: [v0.6.5...v0.7.0](https://github.com/onkernel/kernel-node-sdk/compare/v0.6.5...v0.7.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** headless browsers ([af9ecef](https://github.com/onkernel/kernel-node-sdk/commit/af9ecef97c052d66a78e2c4048998f981ad47695))
10
+
3
11
  ## 0.6.5 (2025-07-02)
4
12
 
5
13
  Full Changelog: [v0.6.4...v0.6.5](https://github.com/onkernel/kernel-node-sdk/compare/v0.6.4...v0.6.5)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onkernel/sdk",
3
- "version": "0.6.5",
3
+ "version": "0.7.0",
4
4
  "description": "The official TypeScript library for the Kernel API",
5
5
  "author": "Kernel <>",
6
6
  "types": "./index.d.ts",
@@ -65,10 +65,6 @@ export interface BrowserPersistence {
65
65
  id: string;
66
66
  }
67
67
  export interface BrowserCreateResponse {
68
- /**
69
- * Remote URL for live viewing the browser session
70
- */
71
- browser_live_view_url: string;
72
68
  /**
73
69
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
74
70
  */
@@ -77,16 +73,17 @@ export interface BrowserCreateResponse {
77
73
  * Unique identifier for the browser session
78
74
  */
79
75
  session_id: string;
76
+ /**
77
+ * Remote URL for live viewing the browser session. Only available for non-headless
78
+ * browsers.
79
+ */
80
+ browser_live_view_url?: string;
80
81
  /**
81
82
  * Optional persistence configuration for the browser session.
82
83
  */
83
84
  persistence?: BrowserPersistence;
84
85
  }
85
86
  export interface BrowserRetrieveResponse {
86
- /**
87
- * Remote URL for live viewing the browser session
88
- */
89
- browser_live_view_url: string;
90
87
  /**
91
88
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
92
89
  */
@@ -95,6 +92,11 @@ export interface BrowserRetrieveResponse {
95
92
  * Unique identifier for the browser session
96
93
  */
97
94
  session_id: string;
95
+ /**
96
+ * Remote URL for live viewing the browser session. Only available for non-headless
97
+ * browsers.
98
+ */
99
+ browser_live_view_url?: string;
98
100
  /**
99
101
  * Optional persistence configuration for the browser session.
100
102
  */
@@ -103,10 +105,6 @@ export interface BrowserRetrieveResponse {
103
105
  export type BrowserListResponse = Array<BrowserListResponse.BrowserListResponseItem>;
104
106
  export declare namespace BrowserListResponse {
105
107
  interface BrowserListResponseItem {
106
- /**
107
- * Remote URL for live viewing the browser session
108
- */
109
- browser_live_view_url: string;
110
108
  /**
111
109
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
112
110
  */
@@ -115,6 +113,11 @@ export declare namespace BrowserListResponse {
115
113
  * Unique identifier for the browser session
116
114
  */
117
115
  session_id: string;
116
+ /**
117
+ * Remote URL for live viewing the browser session. Only available for non-headless
118
+ * browsers.
119
+ */
120
+ browser_live_view_url?: string;
118
121
  /**
119
122
  * Optional persistence configuration for the browser session.
120
123
  */
@@ -122,6 +125,11 @@ export declare namespace BrowserListResponse {
122
125
  }
123
126
  }
124
127
  export interface BrowserCreateParams {
128
+ /**
129
+ * If true, launches the browser using a headless image (no VNC/GUI). Defaults to
130
+ * false.
131
+ */
132
+ headless?: boolean;
125
133
  /**
126
134
  * action invocation ID
127
135
  */
@@ -1 +1 @@
1
- {"version":3,"file":"browsers.d.mts","sourceRoot":"","sources":["../src/resources/browsers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CACJ,IAAI,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,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AEjC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -65,10 +65,6 @@ export interface BrowserPersistence {
65
65
  id: string;
66
66
  }
67
67
  export interface BrowserCreateResponse {
68
- /**
69
- * Remote URL for live viewing the browser session
70
- */
71
- browser_live_view_url: string;
72
68
  /**
73
69
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
74
70
  */
@@ -77,16 +73,17 @@ export interface BrowserCreateResponse {
77
73
  * Unique identifier for the browser session
78
74
  */
79
75
  session_id: string;
76
+ /**
77
+ * Remote URL for live viewing the browser session. Only available for non-headless
78
+ * browsers.
79
+ */
80
+ browser_live_view_url?: string;
80
81
  /**
81
82
  * Optional persistence configuration for the browser session.
82
83
  */
83
84
  persistence?: BrowserPersistence;
84
85
  }
85
86
  export interface BrowserRetrieveResponse {
86
- /**
87
- * Remote URL for live viewing the browser session
88
- */
89
- browser_live_view_url: string;
90
87
  /**
91
88
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
92
89
  */
@@ -95,6 +92,11 @@ export interface BrowserRetrieveResponse {
95
92
  * Unique identifier for the browser session
96
93
  */
97
94
  session_id: string;
95
+ /**
96
+ * Remote URL for live viewing the browser session. Only available for non-headless
97
+ * browsers.
98
+ */
99
+ browser_live_view_url?: string;
98
100
  /**
99
101
  * Optional persistence configuration for the browser session.
100
102
  */
@@ -103,10 +105,6 @@ export interface BrowserRetrieveResponse {
103
105
  export type BrowserListResponse = Array<BrowserListResponse.BrowserListResponseItem>;
104
106
  export declare namespace BrowserListResponse {
105
107
  interface BrowserListResponseItem {
106
- /**
107
- * Remote URL for live viewing the browser session
108
- */
109
- browser_live_view_url: string;
110
108
  /**
111
109
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
112
110
  */
@@ -115,6 +113,11 @@ export declare namespace BrowserListResponse {
115
113
  * Unique identifier for the browser session
116
114
  */
117
115
  session_id: string;
116
+ /**
117
+ * Remote URL for live viewing the browser session. Only available for non-headless
118
+ * browsers.
119
+ */
120
+ browser_live_view_url?: string;
118
121
  /**
119
122
  * Optional persistence configuration for the browser session.
120
123
  */
@@ -122,6 +125,11 @@ export declare namespace BrowserListResponse {
122
125
  }
123
126
  }
124
127
  export interface BrowserCreateParams {
128
+ /**
129
+ * If true, launches the browser using a headless image (no VNC/GUI). Defaults to
130
+ * false.
131
+ */
132
+ headless?: boolean;
125
133
  /**
126
134
  * action invocation ID
127
135
  */
@@ -1 +1 @@
1
- {"version":3,"file":"browsers.d.ts","sourceRoot":"","sources":["../src/resources/browsers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CACJ,IAAI,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInF;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAA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AAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -97,11 +97,6 @@ export interface BrowserPersistence {
97
97
  }
98
98
 
99
99
  export interface BrowserCreateResponse {
100
- /**
101
- * Remote URL for live viewing the browser session
102
- */
103
- browser_live_view_url: string;
104
-
105
100
  /**
106
101
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
107
102
  */
@@ -112,6 +107,12 @@ export interface BrowserCreateResponse {
112
107
  */
113
108
  session_id: string;
114
109
 
110
+ /**
111
+ * Remote URL for live viewing the browser session. Only available for non-headless
112
+ * browsers.
113
+ */
114
+ browser_live_view_url?: string;
115
+
115
116
  /**
116
117
  * Optional persistence configuration for the browser session.
117
118
  */
@@ -119,11 +120,6 @@ export interface BrowserCreateResponse {
119
120
  }
120
121
 
121
122
  export interface BrowserRetrieveResponse {
122
- /**
123
- * Remote URL for live viewing the browser session
124
- */
125
- browser_live_view_url: string;
126
-
127
123
  /**
128
124
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
129
125
  */
@@ -134,6 +130,12 @@ export interface BrowserRetrieveResponse {
134
130
  */
135
131
  session_id: string;
136
132
 
133
+ /**
134
+ * Remote URL for live viewing the browser session. Only available for non-headless
135
+ * browsers.
136
+ */
137
+ browser_live_view_url?: string;
138
+
137
139
  /**
138
140
  * Optional persistence configuration for the browser session.
139
141
  */
@@ -144,11 +146,6 @@ export type BrowserListResponse = Array<BrowserListResponse.BrowserListResponseI
144
146
 
145
147
  export namespace BrowserListResponse {
146
148
  export interface BrowserListResponseItem {
147
- /**
148
- * Remote URL for live viewing the browser session
149
- */
150
- browser_live_view_url: string;
151
-
152
149
  /**
153
150
  * Websocket URL for Chrome DevTools Protocol connections to the browser session
154
151
  */
@@ -159,6 +156,12 @@ export namespace BrowserListResponse {
159
156
  */
160
157
  session_id: string;
161
158
 
159
+ /**
160
+ * Remote URL for live viewing the browser session. Only available for non-headless
161
+ * browsers.
162
+ */
163
+ browser_live_view_url?: string;
164
+
162
165
  /**
163
166
  * Optional persistence configuration for the browser session.
164
167
  */
@@ -167,6 +170,12 @@ export namespace BrowserListResponse {
167
170
  }
168
171
 
169
172
  export interface BrowserCreateParams {
173
+ /**
174
+ * If true, launches the browser using a headless image (no VNC/GUI). Defaults to
175
+ * false.
176
+ */
177
+ headless?: boolean;
178
+
170
179
  /**
171
180
  * action invocation ID
172
181
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.6.5'; // x-release-please-version
1
+ export const VERSION = '0.7.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.6.5";
1
+ export declare const VERSION = "0.7.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.6.5";
1
+ export declare const VERSION = "0.7.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.6.5'; // x-release-please-version
4
+ exports.VERSION = '0.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.6.5'; // x-release-please-version
1
+ export const VERSION = '0.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map