@onkernel/sdk 0.93.0 → 0.95.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +6 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/lib/browser-routing.d.mts +1 -0
  11. package/lib/browser-routing.d.mts.map +1 -1
  12. package/lib/browser-routing.d.ts +1 -0
  13. package/lib/browser-routing.d.ts.map +1 -1
  14. package/lib/browser-routing.js +23 -2
  15. package/lib/browser-routing.js.map +1 -1
  16. package/lib/browser-routing.mjs +23 -2
  17. package/lib/browser-routing.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/auth/connections.d.mts +62 -50
  20. package/resources/auth/connections.d.mts.map +1 -1
  21. package/resources/auth/connections.d.ts +62 -50
  22. package/resources/auth/connections.d.ts.map +1 -1
  23. package/resources/browser-pools.d.mts +22 -22
  24. package/resources/browser-pools.d.mts.map +1 -1
  25. package/resources/browser-pools.d.ts +22 -22
  26. package/resources/browser-pools.d.ts.map +1 -1
  27. package/resources/browsers/browsers.d.mts +23 -23
  28. package/resources/browsers/browsers.d.mts.map +1 -1
  29. package/resources/browsers/browsers.d.ts +23 -23
  30. package/resources/browsers/browsers.d.ts.map +1 -1
  31. package/resources/browsers/browsers.js +2 -2
  32. package/resources/browsers/browsers.js.map +1 -1
  33. package/resources/browsers/browsers.mjs +2 -2
  34. package/resources/browsers/browsers.mjs.map +1 -1
  35. package/resources/browsers/index.d.mts +1 -1
  36. package/resources/browsers/index.d.mts.map +1 -1
  37. package/resources/browsers/index.d.ts +1 -1
  38. package/resources/browsers/index.d.ts.map +1 -1
  39. package/resources/browsers/index.js.map +1 -1
  40. package/resources/browsers/index.mjs.map +1 -1
  41. package/resources/browsers/telemetry.d.mts +2019 -73
  42. package/resources/browsers/telemetry.d.mts.map +1 -1
  43. package/resources/browsers/telemetry.d.ts +2019 -73
  44. package/resources/browsers/telemetry.d.ts.map +1 -1
  45. package/resources/index.d.mts +1 -0
  46. package/resources/index.d.mts.map +1 -1
  47. package/resources/index.d.ts +1 -0
  48. package/resources/index.d.ts.map +1 -1
  49. package/resources/index.js +3 -1
  50. package/resources/index.js.map +1 -1
  51. package/resources/index.mjs +1 -0
  52. package/resources/index.mjs.map +1 -1
  53. package/resources/invocations.d.mts +1 -1
  54. package/resources/invocations.d.mts.map +1 -1
  55. package/resources/invocations.d.ts +1 -1
  56. package/resources/invocations.d.ts.map +1 -1
  57. package/resources/proxies.d.mts +4 -1
  58. package/resources/proxies.d.mts.map +1 -1
  59. package/resources/proxies.d.ts +4 -1
  60. package/resources/proxies.d.ts.map +1 -1
  61. package/resources/proxies.js +4 -1
  62. package/resources/proxies.js.map +1 -1
  63. package/resources/proxies.mjs +4 -1
  64. package/resources/proxies.mjs.map +1 -1
  65. package/resources/site-configs.d.mts +445 -0
  66. package/resources/site-configs.d.mts.map +1 -0
  67. package/resources/site-configs.d.ts +445 -0
  68. package/resources/site-configs.d.ts.map +1 -0
  69. package/resources/site-configs.js +88 -0
  70. package/resources/site-configs.js.map +1 -0
  71. package/resources/site-configs.mjs +84 -0
  72. package/resources/site-configs.mjs.map +1 -0
  73. package/src/client.ts +52 -0
  74. package/src/lib/browser-routing.ts +24 -2
  75. package/src/resources/auth/connections.ts +62 -50
  76. package/src/resources/browser-pools.ts +22 -22
  77. package/src/resources/browsers/browsers.ts +33 -21
  78. package/src/resources/browsers/index.ts +6 -0
  79. package/src/resources/browsers/telemetry.ts +2503 -74
  80. package/src/resources/index.ts +23 -0
  81. package/src/resources/invocations.ts +1 -1
  82. package/src/resources/proxies.ts +4 -1
  83. package/src/resources/site-configs.ts +578 -0
  84. package/src/version.ts +1 -1
  85. package/version.d.mts +1 -1
  86. package/version.d.ts +1 -1
  87. package/version.js +1 -1
  88. package/version.mjs +1 -1
@@ -0,0 +1,445 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as Shared from "./shared.mjs";
3
+ import { APIPromise } from "../core/api-promise.mjs";
4
+ import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../core/pagination.mjs";
5
+ import { RequestOptions } from "../internal/request-options.mjs";
6
+ /**
7
+ * Resolve browser and proxy recommendations for bot-protected sites.
8
+ */
9
+ export declare class SiteConfigs extends APIResource {
10
+ /**
11
+ * Returns a project-scoped historical analysis and the recommendation outcome
12
+ * concluded by that run. Later knowledge does not change this response.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const siteConfigResponse =
17
+ * await client.siteConfigs.retrieve('id');
18
+ * ```
19
+ */
20
+ retrieve(id: string, options?: RequestOptions): APIPromise<SiteConfigResponse>;
21
+ /**
22
+ * Lists analyses for the selected project, newest first.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * // Automatically fetches more pages as needed.
27
+ * for await (const analysisSummary of client.siteConfigs.list()) {
28
+ * // ...
29
+ * }
30
+ * ```
31
+ */
32
+ list(query?: SiteConfigListParams | null | undefined, options?: RequestOptions): PagePromise<AnalysisSummariesOffsetPagination, AnalysisSummary>;
33
+ /**
34
+ * Lists unique domains previously analyzed by the selected project with their
35
+ * current domain-level recommendations.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * // Automatically fetches more pages as needed.
40
+ * for await (const recommendationSummary of client.siteConfigs.listRecommendations()) {
41
+ * // ...
42
+ * }
43
+ * ```
44
+ */
45
+ listRecommendations(query?: SiteConfigListRecommendationsParams | null | undefined, options?: RequestOptions): PagePromise<RecommendationSummariesOffsetPagination, RecommendationSummary>;
46
+ /**
47
+ * Returns current global knowledge without resolving DNS, creating an analysis, or
48
+ * updating Site Config data.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const lookupResponse = await client.siteConfigs.lookup({
53
+ * url: 'https://example.com',
54
+ * });
55
+ * ```
56
+ */
57
+ lookup(body: SiteConfigLookupParams, options?: RequestOptions): APIPromise<LookupResponse>;
58
+ /**
59
+ * Explicitly starts or retries a project-scoped background analysis while
60
+ * preserving current global knowledge when available. Use `/site-configs/lookup`
61
+ * for side-effect-free reads.
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * const siteConfigResponse = await client.siteConfigs.resolve(
66
+ * { url: 'https://example.com' },
67
+ * );
68
+ * ```
69
+ */
70
+ resolve(body: SiteConfigResolveParams, options?: RequestOptions): APIPromise<SiteConfigResponse>;
71
+ }
72
+ export type AnalysisSummariesOffsetPagination = OffsetPagination<AnalysisSummary>;
73
+ export type RecommendationSummariesOffsetPagination = OffsetPagination<RecommendationSummary>;
74
+ export interface Analysis {
75
+ /**
76
+ * Discovery run ID used to poll analysis status.
77
+ */
78
+ id: string;
79
+ /**
80
+ * Time the analysis was created.
81
+ */
82
+ created_at: string;
83
+ /**
84
+ * Present for failed or canceled analyses. Messages contain safe retry guidance
85
+ * rather than internal workflow errors.
86
+ */
87
+ failure: Shared.ErrorModel | null;
88
+ /**
89
+ * Time the analysis reached a terminal status. Null while it is running.
90
+ */
91
+ finished_at: string | null;
92
+ /**
93
+ * Lifecycle status of the background analysis.
94
+ */
95
+ status: 'running' | 'completed' | 'failed' | 'canceled';
96
+ }
97
+ export interface AnalysisSummary {
98
+ analysis: Analysis;
99
+ target: Target;
100
+ }
101
+ /**
102
+ * Browser settings that can be passed directly to `POST /browsers`.
103
+ */
104
+ export interface Browser {
105
+ gpu: boolean;
106
+ headless: boolean;
107
+ stealth: boolean;
108
+ /**
109
+ * Initial browser window size in pixels with optional refresh rate. If omitted,
110
+ * image defaults apply (1920x1080@25). For GPU images, the default is
111
+ * 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
112
+ * Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
113
+ * 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
114
+ * GPU images, recommended presets use one of these resolutions with refresh rates
115
+ * 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
116
+ * 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
117
+ * 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
118
+ * or recording behavior. If refresh_rate is not provided, it will be automatically
119
+ * determined based on the resolution (higher resolutions use lower refresh rates
120
+ * to keep bandwidth reasonable).
121
+ */
122
+ viewport: Shared.BrowserViewport;
123
+ }
124
+ export interface Evidence {
125
+ accessed: number;
126
+ blocked: number;
127
+ inconclusive: number;
128
+ /**
129
+ * Most recent contributing observation. Recommendations remain eligible regardless
130
+ * of age and can be returned while a new analysis refreshes them.
131
+ */
132
+ last_observed_at: string;
133
+ run_count: number;
134
+ /**
135
+ * Number of judged trials.
136
+ */
137
+ sample_size: number;
138
+ /**
139
+ * Accessed trials divided by judged trials. Inconclusive trials are excluded.
140
+ */
141
+ success_rate: number;
142
+ /**
143
+ * Most recent contributing run where this config met the success threshold.
144
+ * Omitted for knowledge assembled from runs that did not independently meet the
145
+ * threshold.
146
+ */
147
+ last_verified_at?: string | null;
148
+ }
149
+ export interface LookupRequest {
150
+ /**
151
+ * Public HTTP(S) URL to look up.
152
+ */
153
+ url: string;
154
+ /**
155
+ * ISO 3166 country codes Kernel may use when returning a proxy configuration. When
156
+ * omitted, Kernel uses its default country selection.
157
+ */
158
+ allowed_proxy_countries?: Array<string>;
159
+ }
160
+ export interface LookupResponse {
161
+ recommendation: Recommendation | null;
162
+ target: Target;
163
+ }
164
+ export interface NoRecommendation {
165
+ /**
166
+ * Machine-readable reason Kernel cannot currently provide a Site Config
167
+ * recommendation.
168
+ */
169
+ code: 'proxy_restricted' | 'no_working_configuration' | 'inconclusive';
170
+ /**
171
+ * Human-readable explanation suitable for display.
172
+ */
173
+ message: string;
174
+ type: 'no_recommendation';
175
+ }
176
+ /**
177
+ * Proxy recipe for the recommended browser.
178
+ */
179
+ export type Proxy = Proxy.SiteConfigDirectProxy | Proxy.SiteConfigManagedProxy;
180
+ export declare namespace Proxy {
181
+ /**
182
+ * Direct egress recipe. Pass `{ "mode": "direct" }` as the browser's `proxy`.
183
+ */
184
+ interface SiteConfigDirectProxy {
185
+ mode: 'direct';
186
+ }
187
+ /**
188
+ * Managed proxy recipe. `create` is a non-idempotent `POST /proxies` payload:
189
+ * create the resource once, retain its ID, and reuse that ID as the browser's
190
+ * `proxy.id`. Do not submit this recipe before every browser session.
191
+ */
192
+ interface SiteConfigManagedProxy {
193
+ /**
194
+ * Configuration for routing traffic through a proxy.
195
+ */
196
+ create: SiteConfigManagedProxy.Create;
197
+ mode: 'managed';
198
+ }
199
+ namespace SiteConfigManagedProxy {
200
+ /**
201
+ * Configuration for routing traffic through a proxy.
202
+ */
203
+ interface Create {
204
+ /**
205
+ * Proxy type to use. In terms of quality for avoiding bot-detection, from best to
206
+ * worst: `mobile` > `residential` > `isp` > `datacenter`.
207
+ */
208
+ type: 'datacenter' | 'isp' | 'residential' | 'mobile' | 'custom';
209
+ /**
210
+ * Hostnames that should bypass the parent proxy and connect directly.
211
+ */
212
+ bypass_hosts?: Array<string>;
213
+ /**
214
+ * Configuration specific to the selected proxy `type`.
215
+ */
216
+ config?: Create.DatacenterProxyConfig | Create.IspProxyConfig | Create.ResidentialProxyConfig | Create.MobileProxyConfig | Create.CreateCustomProxyConfig;
217
+ /**
218
+ * Readable name of the proxy.
219
+ */
220
+ name?: string;
221
+ /**
222
+ * Protocol to use for the proxy connection.
223
+ */
224
+ protocol?: 'http' | 'https';
225
+ }
226
+ namespace Create {
227
+ /**
228
+ * Configuration for a datacenter proxy.
229
+ */
230
+ interface DatacenterProxyConfig {
231
+ /**
232
+ * ISO 3166 country code. Defaults to US if not provided.
233
+ */
234
+ country?: string;
235
+ }
236
+ /**
237
+ * Configuration for an ISP proxy.
238
+ */
239
+ interface IspProxyConfig {
240
+ /**
241
+ * ISO 3166 country code. Defaults to US if not provided.
242
+ */
243
+ country?: string;
244
+ }
245
+ /**
246
+ * Configuration for residential proxies.
247
+ */
248
+ interface ResidentialProxyConfig {
249
+ /**
250
+ * Autonomous system number. See https://bgp.potaroo.net/cidr/autnums.html
251
+ */
252
+ asn?: string;
253
+ /**
254
+ * City name (no spaces, e.g. `sanfrancisco`). If provided, `country` must also be
255
+ * provided.
256
+ */
257
+ city?: string;
258
+ /**
259
+ * ISO 3166 country code.
260
+ */
261
+ country?: string;
262
+ /**
263
+ * @deprecated Operating system of the residential device.
264
+ */
265
+ os?: 'windows' | 'macos' | 'android';
266
+ /**
267
+ * Two-letter state code.
268
+ */
269
+ state?: string;
270
+ /**
271
+ * US ZIP code.
272
+ */
273
+ zip?: string;
274
+ }
275
+ /**
276
+ * Configuration for mobile proxies.
277
+ */
278
+ interface MobileProxyConfig {
279
+ /**
280
+ * Provider city alias. Mobile carrier routing can make observed geo vary.
281
+ */
282
+ city?: string;
283
+ /**
284
+ * ISO 3166 country code
285
+ */
286
+ country?: string;
287
+ /**
288
+ * US-only state code. Mobile carrier routing can make observed geo vary.
289
+ */
290
+ state?: string;
291
+ }
292
+ /**
293
+ * Configuration for a custom proxy (e.g., private proxy server).
294
+ */
295
+ interface CreateCustomProxyConfig {
296
+ /**
297
+ * Proxy host address or IP.
298
+ */
299
+ host: string;
300
+ /**
301
+ * Proxy port.
302
+ */
303
+ port: number;
304
+ /**
305
+ * PEM-encoded CA certificate bundle the proxy re-signs upstream TLS with. Provide
306
+ * when the proxy terminates TLS (MITM) so the browser trusts its certificates. May
307
+ * contain multiple concatenated certificates.
308
+ */
309
+ ca_bundle?: string;
310
+ /**
311
+ * Password for proxy authentication.
312
+ */
313
+ password?: string;
314
+ /**
315
+ * Username for proxy authentication.
316
+ */
317
+ username?: string;
318
+ }
319
+ }
320
+ }
321
+ }
322
+ export interface Recommendation {
323
+ /**
324
+ * Browser settings that can be passed directly to `POST /browsers`.
325
+ */
326
+ browser: Browser;
327
+ evidence: Evidence;
328
+ /**
329
+ * Specificity of knowledge matched for this recommendation.
330
+ */
331
+ match_scope: 'exact' | 'host' | 'domain';
332
+ /**
333
+ * Target value that supplied the recommendation.
334
+ */
335
+ matched_target: string;
336
+ /**
337
+ * Proxy recipe for the recommended browser.
338
+ */
339
+ proxy: Proxy;
340
+ type: 'recommendation';
341
+ /**
342
+ * Exact matches meet the evidence threshold; host and domain fallbacks are
343
+ * inferred. Check evidence.last_verified_at for successful verification age and
344
+ * last_observed_at for the latest evidence.
345
+ */
346
+ verification: 'verified' | 'inferred';
347
+ }
348
+ /**
349
+ * A recommendation or a structured no-recommendation result.
350
+ */
351
+ export type RecommendationResult = Recommendation | NoRecommendation;
352
+ export interface RecommendationSummary {
353
+ /**
354
+ * Most recent time the selected project requested an analysis for this domain.
355
+ */
356
+ last_requested_at: string;
357
+ /**
358
+ * Current domain-level recommendation. Null when no eligible knowledge exists.
359
+ */
360
+ recommendation: Recommendation | null;
361
+ /**
362
+ * Display label for the recommended browser configuration.
363
+ */
364
+ recommended_config_label: string | null;
365
+ /**
366
+ * Success rate for the recommended configuration. Null when no eligible knowledge
367
+ * exists.
368
+ */
369
+ success_rate: number | null;
370
+ /**
371
+ * Registrable domain previously analyzed by the selected project.
372
+ */
373
+ target: string;
374
+ }
375
+ export interface ResolveRequest {
376
+ /**
377
+ * Public HTTP(S) URL to refresh.
378
+ */
379
+ url: string;
380
+ /**
381
+ * ISO 3166 country codes Kernel may use when searching for or returning a proxy
382
+ * configuration. Kernel may test a subset of allowed countries. When omitted,
383
+ * Kernel uses its default country selection.
384
+ */
385
+ allowed_proxy_countries?: Array<string>;
386
+ }
387
+ export interface SiteConfigResponse {
388
+ /**
389
+ * Pollable analysis after workflow submission is acknowledged. Null when no
390
+ * refresh was submitted.
391
+ */
392
+ analysis: Analysis | null;
393
+ /**
394
+ * A recommendation or a structured no-recommendation result.
395
+ */
396
+ recommendation: RecommendationResult | null;
397
+ target: Target;
398
+ }
399
+ export interface Target {
400
+ /**
401
+ * Registrable domain.
402
+ */
403
+ domain: string;
404
+ /**
405
+ * Full hostname, including subdomain.
406
+ */
407
+ host: string;
408
+ /**
409
+ * Exact normalized scheme, host, port, and path used for lookup.
410
+ */
411
+ normalized: string;
412
+ }
413
+ export interface SiteConfigListParams extends OffsetPaginationParams {
414
+ }
415
+ export interface SiteConfigListRecommendationsParams extends OffsetPaginationParams {
416
+ sort_by?: 'target' | 'recommended_config' | 'last_requested_at' | 'success_rate';
417
+ sort_order?: 'asc' | 'desc';
418
+ }
419
+ export interface SiteConfigLookupParams {
420
+ /**
421
+ * Public HTTP(S) URL to look up.
422
+ */
423
+ url: string;
424
+ /**
425
+ * ISO 3166 country codes Kernel may use when returning a proxy configuration. When
426
+ * omitted, Kernel uses its default country selection.
427
+ */
428
+ allowed_proxy_countries?: Array<string>;
429
+ }
430
+ export interface SiteConfigResolveParams {
431
+ /**
432
+ * Public HTTP(S) URL to refresh.
433
+ */
434
+ url: string;
435
+ /**
436
+ * ISO 3166 country codes Kernel may use when searching for or returning a proxy
437
+ * configuration. Kernel may test a subset of allowed countries. When omitted,
438
+ * Kernel uses its default country selection.
439
+ */
440
+ allowed_proxy_countries?: Array<string>;
441
+ }
442
+ export declare namespace SiteConfigs {
443
+ export { type Analysis as Analysis, type AnalysisSummary as AnalysisSummary, type Browser as Browser, type Evidence as Evidence, type LookupRequest as LookupRequest, type LookupResponse as LookupResponse, type NoRecommendation as NoRecommendation, type Proxy as Proxy, type Recommendation as Recommendation, type RecommendationResult as RecommendationResult, type RecommendationSummary as RecommendationSummary, type ResolveRequest as ResolveRequest, type SiteConfigResponse as SiteConfigResponse, type Target as Target, type AnalysisSummariesOffsetPagination as AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination as RecommendationSummariesOffsetPagination, type SiteConfigListParams as SiteConfigListParams, type SiteConfigListRecommendationsParams as SiteConfigListRecommendationsParams, type SiteConfigLookupParams as SiteConfigLookupParams, type SiteConfigResolveParams as SiteConfigResolveParams, };
444
+ }
445
+ //# sourceMappingURL=site-configs.d.mts.map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