@olib-ai/owl-browser-sdk 1.0.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/README.md +582 -0
- package/dist/browser.d.ts +163 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +252 -0
- package/dist/browser.js.map +1 -0
- package/dist/connection.d.ts +80 -0
- package/dist/connection.d.ts.map +1 -0
- package/dist/connection.js +641 -0
- package/dist/connection.js.map +1 -0
- package/dist/context.d.ts +443 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +1017 -0
- package/dist/context.js.map +1 -0
- package/dist/core.d.ts +64 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +131 -0
- package/dist/core.js.map +1 -0
- package/dist/errors.d.ts +83 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +150 -0
- package/dist/errors.js.map +1 -0
- package/dist/helpers.d.ts +11 -0
- package/dist/helpers.d.ts.map +1 -0
- package/dist/helpers.js +16 -0
- package/dist/helpers.js.map +1 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +68 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +514 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;;;AAEH,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,qCAA2C;AAAlC,yGAAA,cAAc,OAAA;AACvB,qCAAkC;AAAzB,gGAAA,KAAK,OAAA;AAEd,0BAA0B;AAC1B,mCAUkB;AAThB,yGAAA,eAAe,OAAA;AACf,sGAAA,YAAY,OAAA;AACZ,uGAAA,aAAa,OAAA;AACb,oHAAA,0BAA0B,OAAA;AAC1B,gHAAA,sBAAsB,OAAA;AACtB,6GAAA,mBAAmB,OAAA;AACnB,sGAAA,YAAY,OAAA;AACZ,yGAAA,eAAe,OAAA;AACf,8GAAA,oBAAoB,OAAA"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser context identifier
|
|
3
|
+
*/
|
|
4
|
+
export type ContextId = string;
|
|
5
|
+
/**
|
|
6
|
+
* Page navigation options
|
|
7
|
+
*/
|
|
8
|
+
export interface NavigateOptions {
|
|
9
|
+
/** URL to navigate to */
|
|
10
|
+
url: string;
|
|
11
|
+
/** Wait for specific condition (default: 'load') */
|
|
12
|
+
waitUntil?: 'load' | 'domcontentloaded' | 'networkidle';
|
|
13
|
+
/** Timeout in milliseconds */
|
|
14
|
+
timeout?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Screenshot options
|
|
18
|
+
*/
|
|
19
|
+
export interface ScreenshotOptions {
|
|
20
|
+
/** File path to save screenshot to (optional, returns Buffer if not provided) */
|
|
21
|
+
path?: string;
|
|
22
|
+
/** Output format (default: 'png') */
|
|
23
|
+
format?: 'png' | 'jpeg';
|
|
24
|
+
/** JPEG quality 0-100 (only for jpeg) */
|
|
25
|
+
quality?: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Viewport size configuration
|
|
29
|
+
*/
|
|
30
|
+
export interface Viewport {
|
|
31
|
+
/** Width in pixels */
|
|
32
|
+
width: number;
|
|
33
|
+
/** Height in pixels */
|
|
34
|
+
height: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Page information
|
|
38
|
+
*/
|
|
39
|
+
export interface PageInfo {
|
|
40
|
+
/** Current URL */
|
|
41
|
+
url: string;
|
|
42
|
+
/** Page title */
|
|
43
|
+
title: string;
|
|
44
|
+
/** Can navigate back */
|
|
45
|
+
canGoBack: boolean;
|
|
46
|
+
/** Can navigate forward */
|
|
47
|
+
canGoForward: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Element match result from semantic matching
|
|
51
|
+
*/
|
|
52
|
+
export interface ElementMatch {
|
|
53
|
+
/** CSS selector for the element */
|
|
54
|
+
selector: string;
|
|
55
|
+
/** Confidence score (0-1) */
|
|
56
|
+
confidence: number;
|
|
57
|
+
/** Element information */
|
|
58
|
+
element: {
|
|
59
|
+
tag: string;
|
|
60
|
+
text?: string;
|
|
61
|
+
x: number;
|
|
62
|
+
y: number;
|
|
63
|
+
width: number;
|
|
64
|
+
height: number;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* HTML cleaning levels
|
|
69
|
+
*/
|
|
70
|
+
export type CleanLevel = 'minimal' | 'basic' | 'aggressive';
|
|
71
|
+
/**
|
|
72
|
+
* Markdown extraction options
|
|
73
|
+
*/
|
|
74
|
+
export interface MarkdownOptions {
|
|
75
|
+
/** Include links in markdown */
|
|
76
|
+
includeLinks?: boolean;
|
|
77
|
+
/** Include images in markdown */
|
|
78
|
+
includeImages?: boolean;
|
|
79
|
+
/** Maximum length in characters (-1 for no limit) */
|
|
80
|
+
maxLength?: number;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Video recording options
|
|
84
|
+
*/
|
|
85
|
+
export interface VideoRecordingOptions {
|
|
86
|
+
/** Frames per second (default: 30) */
|
|
87
|
+
fps?: number;
|
|
88
|
+
/** Video codec (default: 'libx264') */
|
|
89
|
+
codec?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Video recording statistics
|
|
93
|
+
*/
|
|
94
|
+
export interface VideoStats {
|
|
95
|
+
/** Number of frames captured */
|
|
96
|
+
frames: number;
|
|
97
|
+
/** Duration in seconds */
|
|
98
|
+
duration: number;
|
|
99
|
+
/** Is currently recording */
|
|
100
|
+
isRecording: boolean;
|
|
101
|
+
/** Is currently paused */
|
|
102
|
+
isPaused: boolean;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* HTTP server connection configuration
|
|
106
|
+
*/
|
|
107
|
+
export interface HttpConfig {
|
|
108
|
+
/** HTTP server base URL (e.g., 'http://localhost:8080') */
|
|
109
|
+
baseUrl: string;
|
|
110
|
+
/** Bearer token for authentication */
|
|
111
|
+
token: string;
|
|
112
|
+
/** Request timeout in milliseconds (default: 30000) */
|
|
113
|
+
timeout?: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Connection mode for the browser
|
|
117
|
+
*/
|
|
118
|
+
export type ConnectionMode = 'local' | 'http';
|
|
119
|
+
/**
|
|
120
|
+
* Browser configuration
|
|
121
|
+
*/
|
|
122
|
+
export interface BrowserConfig {
|
|
123
|
+
/**
|
|
124
|
+
* Connection mode: 'local' (default) or 'http'
|
|
125
|
+
* - 'local': Uses local browser binary via IPC (stdin/stdout)
|
|
126
|
+
* - 'http': Connects to a remote browser server via HTTP REST API
|
|
127
|
+
*/
|
|
128
|
+
mode?: ConnectionMode;
|
|
129
|
+
/** Path to browser binary (auto-detected if not provided) */
|
|
130
|
+
browserPath?: string;
|
|
131
|
+
/** Enable headless mode (default: true) */
|
|
132
|
+
headless?: boolean;
|
|
133
|
+
/** HTTP server configuration (required when mode is 'http') */
|
|
134
|
+
http?: HttpConfig;
|
|
135
|
+
/** Enable verbose logging */
|
|
136
|
+
verbose?: boolean;
|
|
137
|
+
/** Initialization/request timeout in milliseconds (default: 30000) */
|
|
138
|
+
initTimeout?: number;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Wait for selector options
|
|
142
|
+
*/
|
|
143
|
+
export interface WaitForSelectorOptions {
|
|
144
|
+
/** Timeout in milliseconds (default: 5000) */
|
|
145
|
+
timeout?: number;
|
|
146
|
+
/** Wait for element to be visible */
|
|
147
|
+
visible?: boolean;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* LLM status values
|
|
151
|
+
*/
|
|
152
|
+
export type LLMStatus = 'ready' | 'loading' | 'unavailable';
|
|
153
|
+
/**
|
|
154
|
+
* JSON extraction templates
|
|
155
|
+
*/
|
|
156
|
+
export type ExtractionTemplate = 'google_search' | 'wikipedia' | 'amazon_product' | 'github_repo' | 'twitter_feed' | 'reddit_thread' | '';
|
|
157
|
+
/**
|
|
158
|
+
* Key names for press key method
|
|
159
|
+
*/
|
|
160
|
+
export type KeyName = 'Enter' | 'Return' | 'Tab' | 'Escape' | 'Esc' | 'Backspace' | 'Delete' | 'Del' | 'ArrowUp' | 'Up' | 'ArrowDown' | 'Down' | 'ArrowLeft' | 'Left' | 'ArrowRight' | 'Right' | 'Space' | 'Home' | 'End' | 'PageUp' | 'PageDown';
|
|
161
|
+
/**
|
|
162
|
+
* Date and time information
|
|
163
|
+
*/
|
|
164
|
+
export interface DateTimeInfo {
|
|
165
|
+
/** Current datetime in ISO 8601 format */
|
|
166
|
+
current: string;
|
|
167
|
+
/** Date in YYYY-MM-DD format */
|
|
168
|
+
date: string;
|
|
169
|
+
/** Time in HH:MM:SS format */
|
|
170
|
+
time: string;
|
|
171
|
+
/** Day of the week */
|
|
172
|
+
day_of_week: string;
|
|
173
|
+
/** Timezone name */
|
|
174
|
+
timezone: string;
|
|
175
|
+
/** Timezone offset */
|
|
176
|
+
timezone_offset: string;
|
|
177
|
+
/** Unix timestamp */
|
|
178
|
+
unix_timestamp: number;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Geographic location information
|
|
182
|
+
*/
|
|
183
|
+
export interface LocationInfo {
|
|
184
|
+
/** Success status */
|
|
185
|
+
success: boolean;
|
|
186
|
+
/** Public IP address */
|
|
187
|
+
ip?: string;
|
|
188
|
+
/** City name */
|
|
189
|
+
city?: string;
|
|
190
|
+
/** Region/state name */
|
|
191
|
+
region?: string;
|
|
192
|
+
/** Country name */
|
|
193
|
+
country?: string;
|
|
194
|
+
/** Country code (ISO) */
|
|
195
|
+
country_code?: string;
|
|
196
|
+
/** Latitude */
|
|
197
|
+
latitude?: number;
|
|
198
|
+
/** Longitude */
|
|
199
|
+
longitude?: number;
|
|
200
|
+
/** Timezone */
|
|
201
|
+
timezone?: string;
|
|
202
|
+
/** Error message if failed */
|
|
203
|
+
error?: string;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Weather information
|
|
207
|
+
*/
|
|
208
|
+
export interface WeatherInfo {
|
|
209
|
+
/** Success status */
|
|
210
|
+
success: boolean;
|
|
211
|
+
/** Weather condition */
|
|
212
|
+
condition?: string;
|
|
213
|
+
/** Weather description */
|
|
214
|
+
description?: string;
|
|
215
|
+
/** Temperature in Celsius */
|
|
216
|
+
temperature_c?: number;
|
|
217
|
+
/** Temperature in Fahrenheit */
|
|
218
|
+
temperature_f?: number;
|
|
219
|
+
/** Humidity percentage */
|
|
220
|
+
humidity?: number;
|
|
221
|
+
/** Wind speed in km/h */
|
|
222
|
+
wind_speed_kmh?: number;
|
|
223
|
+
/** Wind speed in mph */
|
|
224
|
+
wind_speed_mph?: number;
|
|
225
|
+
/** Error message if failed */
|
|
226
|
+
error?: string;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Complete demographics information
|
|
230
|
+
*/
|
|
231
|
+
export interface DemographicsInfo {
|
|
232
|
+
/** Date and time information */
|
|
233
|
+
datetime: DateTimeInfo;
|
|
234
|
+
/** Location information (if available) */
|
|
235
|
+
location?: LocationInfo;
|
|
236
|
+
/** Weather information (if available) */
|
|
237
|
+
weather?: WeatherInfo;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Test step from Developer Playground JSON export
|
|
241
|
+
*/
|
|
242
|
+
export interface TestStep {
|
|
243
|
+
/** Step type */
|
|
244
|
+
type: 'navigate' | 'click' | 'type' | 'pick' | 'wait' | 'screenshot' | 'extract' | 'submit_form' | 'query' | 'nla' | 'solve_captcha' | 'highlight' | 'scroll_up' | 'scroll_down' | 'record_video' | 'stop_video';
|
|
245
|
+
/** Whether this step is selected for execution (optional, defaults to true) */
|
|
246
|
+
selected?: boolean;
|
|
247
|
+
/** URL for navigate */
|
|
248
|
+
url?: string;
|
|
249
|
+
/** Selector for click, type, pick, extract, highlight */
|
|
250
|
+
selector?: string;
|
|
251
|
+
/** Text for type */
|
|
252
|
+
text?: string;
|
|
253
|
+
/** Value for pick */
|
|
254
|
+
value?: string;
|
|
255
|
+
/** Duration for wait (milliseconds) */
|
|
256
|
+
duration?: number;
|
|
257
|
+
/** Filename for screenshot */
|
|
258
|
+
filename?: string;
|
|
259
|
+
/** Query for query step */
|
|
260
|
+
query?: string;
|
|
261
|
+
/** Command for NLA step */
|
|
262
|
+
command?: string;
|
|
263
|
+
/** FPS for record_video */
|
|
264
|
+
fps?: number;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Test template from Developer Playground JSON export
|
|
268
|
+
*/
|
|
269
|
+
export interface TestTemplate {
|
|
270
|
+
/** Test name */
|
|
271
|
+
name: string;
|
|
272
|
+
/** Test description */
|
|
273
|
+
description?: string;
|
|
274
|
+
/** Test steps */
|
|
275
|
+
steps: TestStep[];
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Test execution options
|
|
279
|
+
*/
|
|
280
|
+
export interface TestExecutionOptions {
|
|
281
|
+
/** Continue on error (default: false) */
|
|
282
|
+
continueOnError?: boolean;
|
|
283
|
+
/** Take screenshot on error (default: true) */
|
|
284
|
+
screenshotOnError?: boolean;
|
|
285
|
+
/** Verbose logging (default: false) */
|
|
286
|
+
verbose?: boolean;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Test execution result
|
|
290
|
+
*/
|
|
291
|
+
export interface TestExecutionResult {
|
|
292
|
+
/** Test name */
|
|
293
|
+
testName: string;
|
|
294
|
+
/** Total steps */
|
|
295
|
+
totalSteps: number;
|
|
296
|
+
/** Executed steps */
|
|
297
|
+
executedSteps: number;
|
|
298
|
+
/** Successful steps */
|
|
299
|
+
successfulSteps: number;
|
|
300
|
+
/** Failed steps */
|
|
301
|
+
failedSteps: number;
|
|
302
|
+
/** Execution time in milliseconds */
|
|
303
|
+
executionTime: number;
|
|
304
|
+
/** Success status */
|
|
305
|
+
success: boolean;
|
|
306
|
+
/** Errors encountered */
|
|
307
|
+
errors: Array<{
|
|
308
|
+
step: number;
|
|
309
|
+
type: string;
|
|
310
|
+
message: string;
|
|
311
|
+
}>;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* SameSite cookie attribute
|
|
315
|
+
*/
|
|
316
|
+
export type CookieSameSite = 'none' | 'lax' | 'strict';
|
|
317
|
+
/**
|
|
318
|
+
* Cookie object returned by getCookies
|
|
319
|
+
*/
|
|
320
|
+
export interface Cookie {
|
|
321
|
+
/** Cookie name */
|
|
322
|
+
name: string;
|
|
323
|
+
/** Cookie value */
|
|
324
|
+
value: string;
|
|
325
|
+
/** Cookie domain */
|
|
326
|
+
domain: string;
|
|
327
|
+
/** Cookie path */
|
|
328
|
+
path: string;
|
|
329
|
+
/** Whether cookie is secure (HTTPS only) */
|
|
330
|
+
secure: boolean;
|
|
331
|
+
/** Whether cookie is httpOnly (not accessible via JavaScript) */
|
|
332
|
+
httpOnly: boolean;
|
|
333
|
+
/** SameSite attribute */
|
|
334
|
+
sameSite: CookieSameSite;
|
|
335
|
+
/** Expiration timestamp (Unix epoch) or -1 for session cookie */
|
|
336
|
+
expires: number;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Options for setting a cookie
|
|
340
|
+
*/
|
|
341
|
+
export interface SetCookieOptions {
|
|
342
|
+
/** Cookie domain (optional, derived from URL if not specified) */
|
|
343
|
+
domain?: string;
|
|
344
|
+
/** Cookie path (default: '/') */
|
|
345
|
+
path?: string;
|
|
346
|
+
/** Whether cookie should only be sent over HTTPS */
|
|
347
|
+
secure?: boolean;
|
|
348
|
+
/** Whether cookie is inaccessible to JavaScript */
|
|
349
|
+
httpOnly?: boolean;
|
|
350
|
+
/** SameSite attribute (default: 'lax') */
|
|
351
|
+
sameSite?: CookieSameSite;
|
|
352
|
+
/** Expiration timestamp (Unix epoch). -1 for session cookie */
|
|
353
|
+
expires?: number;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Proxy type
|
|
357
|
+
*/
|
|
358
|
+
export type ProxyType = 'http' | 'https' | 'socks4' | 'socks5' | 'socks5h';
|
|
359
|
+
/**
|
|
360
|
+
* Proxy configuration
|
|
361
|
+
*/
|
|
362
|
+
export interface ProxyConfig {
|
|
363
|
+
/** Proxy type (http, https, socks4, socks5, socks5h) */
|
|
364
|
+
type: ProxyType;
|
|
365
|
+
/** Proxy server hostname or IP */
|
|
366
|
+
host: string;
|
|
367
|
+
/** Proxy server port */
|
|
368
|
+
port: number;
|
|
369
|
+
/** Authentication username (optional) */
|
|
370
|
+
username?: string;
|
|
371
|
+
/** Authentication password (optional) */
|
|
372
|
+
password?: string;
|
|
373
|
+
/** Enable stealth mode - blocks WebRTC leaks and other detection vectors (default: true) */
|
|
374
|
+
stealth?: boolean;
|
|
375
|
+
/** Block WebRTC to prevent IP leaks (default: true) */
|
|
376
|
+
blockWebrtc?: boolean;
|
|
377
|
+
/** Spoof timezone to match proxy location */
|
|
378
|
+
spoofTimezone?: boolean;
|
|
379
|
+
/** Spoof browser language to match proxy location */
|
|
380
|
+
spoofLanguage?: boolean;
|
|
381
|
+
/** Manual timezone override (e.g., 'America/New_York') */
|
|
382
|
+
timezoneOverride?: string;
|
|
383
|
+
/** Manual language override (e.g., 'en-US') */
|
|
384
|
+
languageOverride?: string;
|
|
385
|
+
/** Path to custom CA certificate for SSL interception proxies */
|
|
386
|
+
caCertPath?: string;
|
|
387
|
+
/** Trust custom CA certificate (for Charles Proxy, mitmproxy, etc.) */
|
|
388
|
+
trustCustomCa?: boolean;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Proxy status response
|
|
392
|
+
*/
|
|
393
|
+
export interface ProxyStatus {
|
|
394
|
+
/** Whether proxy is enabled */
|
|
395
|
+
enabled: boolean;
|
|
396
|
+
/** Whether proxy is connected */
|
|
397
|
+
connected: boolean;
|
|
398
|
+
/** Proxy type if configured */
|
|
399
|
+
type?: ProxyType;
|
|
400
|
+
/** Proxy host if configured */
|
|
401
|
+
host?: string;
|
|
402
|
+
/** Proxy port if configured */
|
|
403
|
+
port?: number;
|
|
404
|
+
/** Stealth mode enabled */
|
|
405
|
+
stealth?: boolean;
|
|
406
|
+
/** WebRTC blocking enabled */
|
|
407
|
+
blockWebrtc?: boolean;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Context creation options (for newPage)
|
|
411
|
+
*/
|
|
412
|
+
export interface ContextOptions {
|
|
413
|
+
/** LLM configuration */
|
|
414
|
+
llm?: {
|
|
415
|
+
/** Enable LLM features (default: true) */
|
|
416
|
+
enabled?: boolean;
|
|
417
|
+
/** Use built-in llama-server (default: true) */
|
|
418
|
+
useBuiltin?: boolean;
|
|
419
|
+
/** External LLM API endpoint */
|
|
420
|
+
endpoint?: string;
|
|
421
|
+
/** External LLM model name */
|
|
422
|
+
model?: string;
|
|
423
|
+
/** API key for external LLM */
|
|
424
|
+
apiKey?: string;
|
|
425
|
+
};
|
|
426
|
+
/** Proxy configuration */
|
|
427
|
+
proxy?: ProxyConfig;
|
|
428
|
+
/** Path to browser profile JSON file for persistent identity */
|
|
429
|
+
profilePath?: string;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Browser fingerprint configuration for consistent identity across sessions
|
|
433
|
+
*/
|
|
434
|
+
export interface BrowserFingerprint {
|
|
435
|
+
/** Full user agent string */
|
|
436
|
+
userAgent?: string;
|
|
437
|
+
/** Platform (e.g., "Win32") */
|
|
438
|
+
platform?: string;
|
|
439
|
+
/** Vendor (e.g., "Google Inc.") */
|
|
440
|
+
vendor?: string;
|
|
441
|
+
/** Browser languages (e.g., ["en-US", "en"]) */
|
|
442
|
+
languages?: string[];
|
|
443
|
+
/** CPU cores */
|
|
444
|
+
hardwareConcurrency?: number;
|
|
445
|
+
/** Device memory in GB */
|
|
446
|
+
deviceMemory?: number;
|
|
447
|
+
/** Touch support */
|
|
448
|
+
maxTouchPoints?: number;
|
|
449
|
+
/** Canvas noise seed for deterministic fingerprinting */
|
|
450
|
+
canvasNoiseSeed?: number;
|
|
451
|
+
/** GPU profile index (0=GTX1660Ti, 1=Intel UHD, 2=RTX3060) */
|
|
452
|
+
gpuProfileIndex?: number;
|
|
453
|
+
/** WebGL vendor string */
|
|
454
|
+
webglVendor?: string;
|
|
455
|
+
/** WebGL renderer string */
|
|
456
|
+
webglRenderer?: string;
|
|
457
|
+
/** Screen width in pixels */
|
|
458
|
+
screenWidth?: number;
|
|
459
|
+
/** Screen height in pixels */
|
|
460
|
+
screenHeight?: number;
|
|
461
|
+
/** Color depth (typically 24) */
|
|
462
|
+
colorDepth?: number;
|
|
463
|
+
/** Device pixel ratio */
|
|
464
|
+
pixelRatio?: number;
|
|
465
|
+
/** IANA timezone (e.g., "America/New_York") */
|
|
466
|
+
timezone?: string;
|
|
467
|
+
/** Locale (e.g., "en-US") */
|
|
468
|
+
locale?: string;
|
|
469
|
+
/** Audio context noise seed */
|
|
470
|
+
audioNoiseSeed?: number;
|
|
471
|
+
/** Simulated installed fonts */
|
|
472
|
+
installedFonts?: string[];
|
|
473
|
+
/** Has PDF plugin */
|
|
474
|
+
hasPdfPlugin?: boolean;
|
|
475
|
+
/** Has Chrome PDF viewer */
|
|
476
|
+
hasChromePdf?: boolean;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Complete browser profile containing identity fingerprint, cookies, and settings
|
|
480
|
+
*/
|
|
481
|
+
export interface BrowserProfile {
|
|
482
|
+
/** Unique profile identifier */
|
|
483
|
+
profileId: string;
|
|
484
|
+
/** Human-readable profile name */
|
|
485
|
+
profileName: string;
|
|
486
|
+
/** ISO 8601 creation timestamp */
|
|
487
|
+
createdAt: string;
|
|
488
|
+
/** ISO 8601 last modified timestamp */
|
|
489
|
+
modifiedAt: string;
|
|
490
|
+
/** Profile version for migrations */
|
|
491
|
+
version: number;
|
|
492
|
+
/** Browser fingerprint configuration */
|
|
493
|
+
fingerprint?: BrowserFingerprint;
|
|
494
|
+
/** Stored cookies */
|
|
495
|
+
cookies: Cookie[];
|
|
496
|
+
/** Whether LLM config is present */
|
|
497
|
+
hasLlmConfig: boolean;
|
|
498
|
+
/** LLM configuration */
|
|
499
|
+
llmConfig?: {
|
|
500
|
+
enabled: boolean;
|
|
501
|
+
useBuiltin: boolean;
|
|
502
|
+
externalEndpoint?: string;
|
|
503
|
+
externalModel?: string;
|
|
504
|
+
};
|
|
505
|
+
/** Whether proxy config is present */
|
|
506
|
+
hasProxyConfig: boolean;
|
|
507
|
+
/** Proxy configuration */
|
|
508
|
+
proxyConfig?: ProxyConfig;
|
|
509
|
+
/** Automatically save cookies on changes */
|
|
510
|
+
autoSaveCookies: boolean;
|
|
511
|
+
/** Persist local storage */
|
|
512
|
+
persistLocalStorage: boolean;
|
|
513
|
+
}
|
|
514
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,yBAAyB;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,aAAa,CAAC;IACxD,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACxB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ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;QACV,OAAO,EAAE,OAAO,CAAC;QACjB,UAAU,EAAE,OAAO,CAAC;QACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IAEF,sCAAsC;IACtC,cAAc,EAAE,OAAO,CAAC;IACxB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,4CAA4C;IAC5C,eAAe,EAAE,OAAO,CAAC;IACzB,4BAA4B;IAC5B,mBAAmB,EAAE,OAAO,CAAC;CAC9B"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@olib-ai/owl-browser-sdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AI-first browser automation SDK for Node.js/TypeScript - Built by Olib AI",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"dev": "tsc --watch",
|
|
11
|
+
"clean": "rm -rf dist",
|
|
12
|
+
"prepublishOnly": "npm run build"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"browser",
|
|
16
|
+
"automation",
|
|
17
|
+
"ai",
|
|
18
|
+
"selenium",
|
|
19
|
+
"puppeteer",
|
|
20
|
+
"playwright",
|
|
21
|
+
"web-scraping",
|
|
22
|
+
"testing",
|
|
23
|
+
"chromium",
|
|
24
|
+
"owl-browser"
|
|
25
|
+
],
|
|
26
|
+
"author": "Olib AI",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/Olib-AI/owl-browser.git",
|
|
31
|
+
"directory": "sdk"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://www.owlbrowser.net",
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18.0.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@types/node": "^20.0.0",
|
|
40
|
+
"typescript": "^5.3.0"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"README.md"
|
|
45
|
+
]
|
|
46
|
+
}
|