@hyperbrowser/sdk 0.63.0 → 0.64.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/dist/types/index.d.ts +1 -1
- package/dist/types/session.d.ts +26 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { StartBrowserUseTaskParams, StartBrowserUseTaskResponse, BrowserUseTaskS
|
|
|
6
6
|
export { StartClaudeComputerUseTaskParams, StartClaudeComputerUseTaskResponse, ClaudeComputerUseTaskStatusResponse, ClaudeComputerUseTaskResponse, ClaudeComputerUseTaskData, ClaudeComputerUseStepResponse, ClaudeComputerUseApiKeys, } from "./agents/claude-computer-use";
|
|
7
7
|
export { StartCuaTaskParams, StartCuaTaskResponse, CuaTaskStatusResponse, CuaTaskResponse, CuaTaskData, CuaStepResponse, CuaApiKeys, } from "./agents/cua";
|
|
8
8
|
export { StartHyperAgentTaskParams, StartHyperAgentTaskResponse, HyperAgentTaskStatusResponse, HyperAgentTaskResponse, HyperAgentTaskData, HyperAgentStep, HyperAgentOutput, HyperAgentActionOutput, HyperAgentApiKeys, } from "./agents/hyper-agent";
|
|
9
|
-
export { BasicResponse, SessionStatus, Session, SessionDetail, SessionListParams, SessionListResponse, ScreenConfig, CreateSessionParams, GetSessionDownloadsUrlResponse, GetSessionVideoRecordingUrlResponse, GetSessionRecordingUrlResponse, ImageCaptchaParam, UploadFileResponse, UploadFileOptions, GetActiveSessionsCountResponse, SessionEventLogListParams, SessionEventLogListResponse, SessionEventLog, } from "./session";
|
|
9
|
+
export { BasicResponse, SessionStatus, Session, SessionDetail, SessionListParams, SessionListResponse, ScreenConfig, CreateSessionParams, GetSessionDownloadsUrlResponse, GetSessionVideoRecordingUrlResponse, GetSessionRecordingUrlResponse, ImageCaptchaParam, UploadFileResponse, UploadFileOptions, GetActiveSessionsCountResponse, SessionEventLogListParams, SessionEventLogListResponse, SessionEventLog, SessionProfile, SessionLaunchState, } from "./session";
|
|
10
10
|
export { CreateProfileParams, ProfileResponse, CreateProfileResponse, ProfileListParams, ProfileListResponse, } from "./profile";
|
|
11
11
|
export { CreateExtensionParams, CreateExtensionResponse, ListExtensionsResponse, } from "./extension";
|
|
12
12
|
export { ExtractJobStatus, BrowserUseTaskStatus, BrowserUseLlm, ClaudeComputerUseLlm, ScrapeScreenshotFormat, ScrapeJobStatus, CrawlJobStatus, Country, State, ISO639_1, OperatingSystem, Platform, ScrapeFormat, ScrapeWaitUntil, ScrapePageStatus, CrawlPageStatus, RecordingStatus, DownloadsStatus, HyperAgentLlm, HyperAgentTaskStatus, ClaudeComputerUseTaskStatus, CuaTaskStatus, SessionEventLogType, } from "./constants";
|
package/dist/types/session.d.ts
CHANGED
|
@@ -4,6 +4,31 @@ export type SessionStatus = "active" | "closed" | "error";
|
|
|
4
4
|
export interface BasicResponse {
|
|
5
5
|
success: boolean;
|
|
6
6
|
}
|
|
7
|
+
export interface SessionProfile {
|
|
8
|
+
id: string;
|
|
9
|
+
persistChanges?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface SessionLaunchState {
|
|
12
|
+
useUltraStealth?: boolean;
|
|
13
|
+
useStealth?: boolean;
|
|
14
|
+
useProxy?: boolean;
|
|
15
|
+
solveCaptchas?: boolean;
|
|
16
|
+
adblock?: boolean;
|
|
17
|
+
trackers?: boolean;
|
|
18
|
+
annoyances?: boolean;
|
|
19
|
+
screen?: ScreenConfig;
|
|
20
|
+
enableWebRecording?: boolean;
|
|
21
|
+
enableVideoWebRecording?: boolean;
|
|
22
|
+
enableLogCapture?: boolean;
|
|
23
|
+
acceptCookies?: boolean;
|
|
24
|
+
profile?: SessionProfile;
|
|
25
|
+
staticIpId?: string;
|
|
26
|
+
saveDownloads?: boolean;
|
|
27
|
+
enableWindowManager?: boolean;
|
|
28
|
+
enableWindowManagerTaskbar?: boolean;
|
|
29
|
+
viewOnlyLiveView?: boolean;
|
|
30
|
+
disablePasswordManager?: boolean;
|
|
31
|
+
}
|
|
7
32
|
export interface Session {
|
|
8
33
|
id: string;
|
|
9
34
|
teamId: string;
|
|
@@ -13,6 +38,7 @@ export interface Session {
|
|
|
13
38
|
createdAt: string;
|
|
14
39
|
updatedAt: string;
|
|
15
40
|
sessionUrl: string;
|
|
41
|
+
launchState?: SessionLaunchState | null;
|
|
16
42
|
}
|
|
17
43
|
export interface SessionDetail extends Session {
|
|
18
44
|
wsEndpoint: string;
|