@hyperbrowser/sdk 0.91.2 → 0.91.6
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/client.d.ts +2 -0
- package/dist/client.js +2 -0
- package/dist/services/agents/grok-computer-use.d.ts +30 -0
- package/dist/services/agents/grok-computer-use.js +103 -0
- package/dist/types/agents/grok-computer-use.d.ts +53 -0
- package/dist/types/agents/grok-computer-use.js +2 -0
- package/dist/types/constants.d.ts +8 -5
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { HyperAgentService } from "./services/agents/hyper-agent";
|
|
|
12
12
|
import { TeamService } from "./services/team";
|
|
13
13
|
import { ComputerActionService } from "./services/computer-action";
|
|
14
14
|
import { GeminiComputerUseService } from "./services/agents/gemini-computer-use";
|
|
15
|
+
import { GrokComputerUseService } from "./services/agents/grok-computer-use";
|
|
15
16
|
import { WebService } from "./services/web";
|
|
16
17
|
import { SandboxesService } from "./services/sandboxes";
|
|
17
18
|
import { VolumesService } from "./services/volumes";
|
|
@@ -49,6 +50,7 @@ export declare class HyperbrowserClient {
|
|
|
49
50
|
cua: CuaService;
|
|
50
51
|
hyperAgent: HyperAgentService;
|
|
51
52
|
geminiComputerUse: GeminiComputerUseService;
|
|
53
|
+
grokComputerUse: GrokComputerUseService;
|
|
52
54
|
};
|
|
53
55
|
readonly team: TeamService;
|
|
54
56
|
readonly computerAction: ComputerActionService;
|
package/dist/client.js
CHANGED
|
@@ -14,6 +14,7 @@ const hyper_agent_1 = require("./services/agents/hyper-agent");
|
|
|
14
14
|
const team_1 = require("./services/team");
|
|
15
15
|
const computer_action_1 = require("./services/computer-action");
|
|
16
16
|
const gemini_computer_use_1 = require("./services/agents/gemini-computer-use");
|
|
17
|
+
const grok_computer_use_1 = require("./services/agents/grok-computer-use");
|
|
17
18
|
const web_1 = require("./services/web");
|
|
18
19
|
const sandboxes_1 = require("./services/sandboxes");
|
|
19
20
|
const volumes_1 = require("./services/volumes");
|
|
@@ -58,6 +59,7 @@ class HyperbrowserClient {
|
|
|
58
59
|
cua: new cua_1.CuaService(apiKey, baseUrl, timeout),
|
|
59
60
|
hyperAgent: new hyper_agent_1.HyperAgentService(apiKey, baseUrl, timeout),
|
|
60
61
|
geminiComputerUse: new gemini_computer_use_1.GeminiComputerUseService(apiKey, baseUrl, timeout),
|
|
62
|
+
grokComputerUse: new grok_computer_use_1.GrokComputerUseService(apiKey, baseUrl, timeout),
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BasicResponse } from "../../types";
|
|
2
|
+
import { BaseService } from "../base";
|
|
3
|
+
import { GrokComputerUseTaskResponse, GrokComputerUseTaskStatusResponse, StartGrokComputerUseTaskParams, StartGrokComputerUseTaskResponse } from "../../types/agents/grok-computer-use";
|
|
4
|
+
export declare class GrokComputerUseService extends BaseService {
|
|
5
|
+
/**
|
|
6
|
+
* Start a new Grok Computer Use task job
|
|
7
|
+
* @param params The parameters for the task job
|
|
8
|
+
*/
|
|
9
|
+
start(params: StartGrokComputerUseTaskParams): Promise<StartGrokComputerUseTaskResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Get the status of a Grok Computer Use task job
|
|
12
|
+
* @param id The ID of the task job to get
|
|
13
|
+
*/
|
|
14
|
+
getStatus(id: string): Promise<GrokComputerUseTaskStatusResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Get the result of a Grok Computer Use task job
|
|
17
|
+
* @param id The ID of the task job to get
|
|
18
|
+
*/
|
|
19
|
+
get(id: string): Promise<GrokComputerUseTaskResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Stop a Grok Computer Use task job
|
|
22
|
+
* @param id The ID of the task job to stop
|
|
23
|
+
*/
|
|
24
|
+
stop(id: string): Promise<BasicResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Start a Grok Computer Use task job and wait for it to complete
|
|
27
|
+
* @param params The parameters for the task job
|
|
28
|
+
*/
|
|
29
|
+
startAndWait(params: StartGrokComputerUseTaskParams): Promise<GrokComputerUseTaskResponse>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GrokComputerUseService = void 0;
|
|
4
|
+
const client_1 = require("../../client");
|
|
5
|
+
const constants_1 = require("../../types/constants");
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const base_1 = require("../base");
|
|
8
|
+
class GrokComputerUseService extends base_1.BaseService {
|
|
9
|
+
/**
|
|
10
|
+
* Start a new Grok Computer Use task job
|
|
11
|
+
* @param params The parameters for the task job
|
|
12
|
+
*/
|
|
13
|
+
async start(params) {
|
|
14
|
+
try {
|
|
15
|
+
return await this.request("/task/grok-computer-use", {
|
|
16
|
+
method: "POST",
|
|
17
|
+
body: JSON.stringify(params),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
if (error instanceof client_1.HyperbrowserError) {
|
|
22
|
+
throw error;
|
|
23
|
+
}
|
|
24
|
+
throw new client_1.HyperbrowserError("Failed to start Grok Computer Use task job", undefined);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get the status of a Grok Computer Use task job
|
|
29
|
+
* @param id The ID of the task job to get
|
|
30
|
+
*/
|
|
31
|
+
async getStatus(id) {
|
|
32
|
+
try {
|
|
33
|
+
return await this.request(`/task/grok-computer-use/${id}/status`);
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
if (error instanceof client_1.HyperbrowserError) {
|
|
37
|
+
throw error;
|
|
38
|
+
}
|
|
39
|
+
throw new client_1.HyperbrowserError(`Failed to get Grok Computer Use task job ${id} status`, undefined);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get the result of a Grok Computer Use task job
|
|
44
|
+
* @param id The ID of the task job to get
|
|
45
|
+
*/
|
|
46
|
+
async get(id) {
|
|
47
|
+
try {
|
|
48
|
+
return await this.request(`/task/grok-computer-use/${id}`);
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
if (error instanceof client_1.HyperbrowserError) {
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
throw new client_1.HyperbrowserError(`Failed to get Grok Computer Use task job ${id}`, undefined);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Stop a Grok Computer Use task job
|
|
59
|
+
* @param id The ID of the task job to stop
|
|
60
|
+
*/
|
|
61
|
+
async stop(id) {
|
|
62
|
+
try {
|
|
63
|
+
return await this.request(`/task/grok-computer-use/${id}/stop`, {
|
|
64
|
+
method: "PUT",
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
catch (error) {
|
|
68
|
+
if (error instanceof client_1.HyperbrowserError) {
|
|
69
|
+
throw error;
|
|
70
|
+
}
|
|
71
|
+
throw new client_1.HyperbrowserError(`Failed to stop Grok Computer Use task job ${id}`, undefined);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Start a Grok Computer Use task job and wait for it to complete
|
|
76
|
+
* @param params The parameters for the task job
|
|
77
|
+
*/
|
|
78
|
+
async startAndWait(params) {
|
|
79
|
+
const job = await this.start(params);
|
|
80
|
+
const jobId = job.jobId;
|
|
81
|
+
if (!jobId) {
|
|
82
|
+
throw new client_1.HyperbrowserError("Failed to start Grok Computer Use task job, could not get job ID");
|
|
83
|
+
}
|
|
84
|
+
let failures = 0;
|
|
85
|
+
while (true) {
|
|
86
|
+
try {
|
|
87
|
+
const { status } = await this.getStatus(jobId);
|
|
88
|
+
if (status === "completed" || status === "failed" || status === "stopped") {
|
|
89
|
+
return await this.get(jobId);
|
|
90
|
+
}
|
|
91
|
+
failures = 0;
|
|
92
|
+
}
|
|
93
|
+
catch (error) {
|
|
94
|
+
failures++;
|
|
95
|
+
if (failures >= constants_1.POLLING_ATTEMPTS) {
|
|
96
|
+
throw new client_1.HyperbrowserError(`Failed to poll Grok Computer Use task job ${jobId} after ${constants_1.POLLING_ATTEMPTS} attempts: ${error}`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
await (0, utils_1.sleep)(2000);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.GrokComputerUseService = GrokComputerUseService;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { GrokComputerUseLlm, GrokReasoningEffort, GrokComputerUseTaskStatus } from "../constants";
|
|
2
|
+
import { CreateSessionParams } from "../session";
|
|
3
|
+
export interface GrokComputerUseApiKeys {
|
|
4
|
+
xai?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface StartGrokComputerUseTaskParams {
|
|
7
|
+
task: string;
|
|
8
|
+
llm?: GrokComputerUseLlm;
|
|
9
|
+
reasoningEffort?: GrokReasoningEffort;
|
|
10
|
+
sessionId?: string;
|
|
11
|
+
maxFailures?: number;
|
|
12
|
+
maxSteps?: number;
|
|
13
|
+
keepBrowserOpen?: boolean;
|
|
14
|
+
sessionOptions?: CreateSessionParams;
|
|
15
|
+
useCustomApiKeys?: boolean;
|
|
16
|
+
apiKeys?: GrokComputerUseApiKeys;
|
|
17
|
+
useComputerAction?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface StartGrokComputerUseTaskResponse {
|
|
20
|
+
jobId: string;
|
|
21
|
+
liveUrl: string | null;
|
|
22
|
+
}
|
|
23
|
+
export interface GrokComputerUseTaskStatusResponse {
|
|
24
|
+
status: GrokComputerUseTaskStatus;
|
|
25
|
+
}
|
|
26
|
+
export interface GrokComputerUseStepResponse {
|
|
27
|
+
created_at?: string | null;
|
|
28
|
+
completed_at?: string | null;
|
|
29
|
+
output_text?: string | null;
|
|
30
|
+
error?: string | null;
|
|
31
|
+
incomplete_details?: any;
|
|
32
|
+
model?: string | null;
|
|
33
|
+
output?: any[];
|
|
34
|
+
reasoning?: any;
|
|
35
|
+
status?: string | null;
|
|
36
|
+
}
|
|
37
|
+
export interface GrokComputerUseTaskData {
|
|
38
|
+
steps: GrokComputerUseStepResponse[];
|
|
39
|
+
finalResult: string | null;
|
|
40
|
+
}
|
|
41
|
+
export interface GrokComputerUseTaskMetadata {
|
|
42
|
+
inputTokens?: number | null;
|
|
43
|
+
outputTokens?: number | null;
|
|
44
|
+
numTaskStepsCompleted?: number | null;
|
|
45
|
+
}
|
|
46
|
+
export interface GrokComputerUseTaskResponse {
|
|
47
|
+
jobId: string;
|
|
48
|
+
status: GrokComputerUseTaskStatus;
|
|
49
|
+
metadata?: GrokComputerUseTaskMetadata | null;
|
|
50
|
+
data?: GrokComputerUseTaskData | null;
|
|
51
|
+
error?: string | null;
|
|
52
|
+
liveUrl: string | null;
|
|
53
|
+
}
|
|
@@ -8,6 +8,7 @@ export type CuaTaskStatus = "pending" | "running" | "completed" | "failed" | "st
|
|
|
8
8
|
export type HyperAgentTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
|
|
9
9
|
export type ClaudeComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
|
|
10
10
|
export type GeminiComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
|
|
11
|
+
export type GrokComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
|
|
11
12
|
export type ScrapePageStatus = "completed" | "failed" | "pending" | "running";
|
|
12
13
|
export type CrawlPageStatus = "completed" | "failed";
|
|
13
14
|
export type ScrapeWaitUntil = "load" | "domcontentloaded" | "networkidle";
|
|
@@ -16,12 +17,14 @@ export type RecordingStatus = "not_enabled" | "pending" | "in_progress" | "compl
|
|
|
16
17
|
export type DownloadsStatus = "not_enabled" | "pending" | "in_progress" | "completed" | "failed";
|
|
17
18
|
export declare const POLLING_ATTEMPTS = 5;
|
|
18
19
|
export type BrowserUseVersion = "0.1.40" | "0.7.10" | "latest";
|
|
19
|
-
export type BrowserUseLlm = "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-5" | "gpt-5-mini" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-4-20250514" | "claude-3-7-sonnet-20250219" | "claude-3-5-sonnet-20241022" | "claude-3-5-haiku-20241022" | "gemini-2.0-flash" | "gemini-2.5-flash";
|
|
20
|
-
export type ClaudeComputerUseLlm = "claude-opus-4-5" | "claude-opus-4-6" | "claude-opus-4-7" | "claude-opus-4-8" | "claude-haiku-4-5-20251001" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-4-20250514" | "claude-3-7-sonnet-20250219";
|
|
21
|
-
export type CuaLlm = "computer-use-preview" | "gpt-5.
|
|
20
|
+
export type BrowserUseLlm = "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-5" | "gpt-5-mini" | "claude-sonnet-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-4-20250514" | "claude-3-7-sonnet-20250219" | "claude-3-5-sonnet-20241022" | "claude-3-5-haiku-20241022" | "gemini-2.0-flash" | "gemini-2.5-flash";
|
|
21
|
+
export type ClaudeComputerUseLlm = "claude-opus-4-5" | "claude-opus-4-6" | "claude-opus-4-7" | "claude-opus-4-8" | "claude-haiku-4-5-20251001" | "claude-sonnet-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-4-20250514" | "claude-3-7-sonnet-20250219";
|
|
22
|
+
export type CuaLlm = "computer-use-preview" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gpt-5.5" | "gpt-5.4" | "gpt-5.4-mini";
|
|
22
23
|
export type HyperAgentVersion = "0.8.0" | "1.1.0";
|
|
23
|
-
export type HyperAgentLlm = "gpt-5.5" | "gpt-5.2" | "gpt-5.1" | "gpt-5" | "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "gemini-2.5-flash" | "gemini-3-flash-preview";
|
|
24
|
-
export type GeminiComputerUseLlm = "gemini-3.5-flash" | "gemini-3-flash-preview" | "gemini-2.5-computer-use-preview-10-2025";
|
|
24
|
+
export type HyperAgentLlm = "gpt-5.6-luna" | "gpt-5.5" | "gpt-5.2" | "gpt-5.1" | "gpt-5" | "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "claude-sonnet-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "gemini-2.5-flash" | "gemini-3-flash-preview";
|
|
25
|
+
export type GeminiComputerUseLlm = "gemini-3.6-flash" | "gemini-3.5-flash" | "gemini-3.5-flash-lite" | "gemini-3-flash-preview" | "gemini-2.5-computer-use-preview-10-2025";
|
|
26
|
+
export type GrokComputerUseLlm = "grok-4.5";
|
|
27
|
+
export type GrokReasoningEffort = "low" | "medium" | "high";
|
|
25
28
|
export type SessionRegion = "us-central" | "asia-south" | "us-dev" | "europe-west" | "us-west" | "us-east";
|
|
26
29
|
export type Country = "AD" | "AE" | "AF" | "AL" | "AM" | "AO" | "AR" | "AT" | "AU" | "AW" | "AZ" | "BA" | "BD" | "BE" | "BG" | "BH" | "BJ" | "BO" | "BR" | "BS" | "BT" | "BY" | "BZ" | "CA" | "CF" | "CH" | "CI" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "EC" | "EE" | "EG" | "ES" | "ET" | "EU" | "FI" | "FJ" | "FR" | "GB" | "GE" | "GH" | "GM" | "GR" | "HK" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IN" | "IQ" | "IR" | "IS" | "IT" | "JM" | "JO" | "JP" | "KE" | "KH" | "KR" | "KW" | "KZ" | "LB" | "LI" | "LR" | "LT" | "LU" | "LV" | "MA" | "MC" | "MD" | "ME" | "MG" | "MK" | "ML" | "MM" | "MN" | "MR" | "MT" | "MU" | "MV" | "MX" | "MY" | "MZ" | "NG" | "NL" | "NO" | "NZ" | "OM" | "PA" | "PE" | "PH" | "PK" | "PL" | "PR" | "PT" | "PY" | "QA" | "RANDOM_COUNTRY" | "RO" | "RS" | "RU" | "SA" | "SC" | "SD" | "SE" | "SG" | "SI" | "SK" | "SN" | "SS" | "TD" | "TG" | "TH" | "TM" | "TN" | "TR" | "TT" | "TW" | "UA" | "UG" | "US" | "UY" | "UZ" | "VE" | "VG" | "VN" | "YE" | "ZA" | "ZM" | "ZW" | "ad" | "ae" | "af" | "al" | "am" | "ao" | "ar" | "at" | "au" | "aw" | "az" | "ba" | "bd" | "be" | "bg" | "bh" | "bj" | "bo" | "br" | "bs" | "bt" | "by" | "bz" | "ca" | "cf" | "ch" | "ci" | "cl" | "cm" | "cn" | "co" | "cr" | "cu" | "cy" | "cz" | "de" | "dj" | "dk" | "dm" | "ec" | "ee" | "eg" | "es" | "et" | "eu" | "fi" | "fj" | "fr" | "gb" | "ge" | "gh" | "gm" | "gr" | "hk" | "hn" | "hr" | "ht" | "hu" | "id" | "ie" | "il" | "in" | "iq" | "ir" | "is" | "it" | "jm" | "jo" | "jp" | "ke" | "kh" | "kr" | "kw" | "kz" | "lb" | "li" | "lr" | "lt" | "lu" | "lv" | "ma" | "mc" | "md" | "me" | "mg" | "mk" | "ml" | "mm" | "mn" | "mr" | "mt" | "mu" | "mv" | "mx" | "my" | "mz" | "ng" | "nl" | "no" | "nz" | "om" | "pa" | "pe" | "ph" | "pk" | "pl" | "pr" | "pt" | "py" | "qa" | "ro" | "rs" | "ru" | "sa" | "sc" | "sd" | "se" | "sg" | "si" | "sk" | "sn" | "ss" | "td" | "tg" | "th" | "tm" | "tn" | "tr" | "tt" | "tw" | "ua" | "ug" | "us" | "uy" | "uz" | "ve" | "vg" | "vn" | "ye" | "za" | "zm" | "zw";
|
|
27
30
|
export type OperatingSystem = "windows" | "android" | "macos" | "linux" | "ios";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,12 +7,13 @@ export { StartClaudeComputerUseTaskParams, StartClaudeComputerUseTaskResponse, C
|
|
|
7
7
|
export { StartCuaTaskParams, StartCuaTaskResponse, CuaTaskStatusResponse, CuaTaskResponse, CuaTaskData, CuaStepResponse, CuaApiKeys, CuaTaskMetadata, } from "./agents/cua";
|
|
8
8
|
export { StartHyperAgentTaskParams, StartHyperAgentTaskResponse, HyperAgentTaskStatusResponse, HyperAgentTaskResponse, HyperAgentTaskData, HyperAgentStep, HyperAgentOutput, HyperAgentActionOutput, HyperAgentApiKeys, HyperAgentTaskMetadata, HyperAgentOutputV110, HyperAgentStepV110, } from "./agents/hyper-agent";
|
|
9
9
|
export { StartGeminiComputerUseTaskParams, StartGeminiComputerUseTaskResponse, GeminiComputerUseTaskStatusResponse, GeminiComputerUseTaskResponse, GeminiComputerUseTaskData, GeminiComputerUseStepResponse, GeminiComputerUseApiKeys, GeminiComputerUseTaskMetadata, } from "./agents/gemini-computer-use";
|
|
10
|
+
export { StartGrokComputerUseTaskParams, StartGrokComputerUseTaskResponse, GrokComputerUseTaskStatusResponse, GrokComputerUseTaskResponse, GrokComputerUseTaskData, GrokComputerUseStepResponse, GrokComputerUseApiKeys, GrokComputerUseTaskMetadata, } from "./agents/grok-computer-use";
|
|
10
11
|
export { BasicResponse, BrowserMemorySize, SessionStatus, Session, SessionDetail, SessionGetParams, SessionListParams, SessionListResponse, ScreenConfig, CaptchaEvaluationPageResult, CaptchaEvaluationParams, CaptchaEvaluationResponse, CaptchaEvaluationTarget, CaptchaEvaluationType, CaptchaSolverType, CreateSessionParams, CreateSessionSnapshotResponse, GetSessionDownloadsUrlResponse, GetSessionVideoRecordingUrlResponse, GetSessionRecordingUrlResponse, ImageCaptchaParam, UploadFileResponse, UploadFileOptions, GetActiveSessionsCountResponse, SessionEventLogListParams, SessionEventLogListResponse, SessionEventLog, SessionProfile, SessionLaunchState, SessionCreditBreakdown, StartSessionFromSnapshotParams, UpdateSessionProfileParams, UpdateSessionProxyLocationParams, UpdateSessionProxyParams, UpdateSessionScreenParams, UpdateSessionSolveCaptchasParams, UpdateSessionSolveCaptchasResponse, } from "./session";
|
|
11
12
|
export { SandboxStatus, SandboxRuntimeTarget, Sandbox, SandboxDetail, SandboxVolumeMountType, SandboxVolumeMount, SandboxListParams, SandboxListResponse, SandboxImageSummary, SandboxImageListResponse, SandboxSnapshotStatus, SandboxSnapshotSummary, SandboxSnapshotListParams, SandboxSnapshotListResponse, CreateSandboxParams, SandboxMemorySnapshotParams, SandboxMemorySnapshotResult, SandboxExposeParams, SandboxExposeResult, SandboxUnexposeResult, SandboxProcessStatus, SandboxExecParams, SandboxExecOptions, SandboxProcessSummary, SandboxProcessResult, SandboxProcessListParams, SandboxProcessListResponse, SandboxProcessWaitParams, SandboxProcessSignal, SandboxProcessStdinParams, SandboxProcessStreamEvent, SandboxFileType, SandboxFileInfo, SandboxFileWriteInfo, SandboxFileListOptions, SandboxFileReadFormat, SandboxFileReadOptions, SandboxFileWriteData, SandboxFileWriteEntry, SandboxFileTextWriteOptions, SandboxFileBytesWriteOptions, SandboxFileMakeDirOptions, SandboxFileCopyParams, SandboxFileChmodParams, SandboxFileChownParams, SandboxFileTransferResult, SandboxFileSystemEventType, SandboxFileSystemEvent, SandboxWatchDirOptions, SandboxPresignFileParams, SandboxPresignedUrl, SandboxTerminalCreateParams, SandboxTerminalOutputChunk, SandboxTerminalStatus, SandboxTerminalWaitParams, SandboxTerminalKillParams, SandboxTerminalEvent, } from "./sandbox";
|
|
12
13
|
export { CreateVolumeParams, Volume, VolumeListResponse } from "./volume";
|
|
13
14
|
export { CreateProfileParams, ForkProfileParams, ProfileResponse, CreateProfileResponse, ProfileListParams, ProfileListResponse, } from "./profile";
|
|
14
15
|
export { CreateExtensionParams, CreateExtensionResponse, ListExtensionsResponse, } from "./extension";
|
|
15
|
-
export { ExtractJobStatus, BrowserUseTaskStatus, BrowserUseLlm, ClaudeComputerUseLlm, CuaLlm, GeminiComputerUseLlm, ScrapeScreenshotFormat, ScrapeJobStatus, CrawlJobStatus, Country, State, ISO639_1, OperatingSystem, Platform, ScrapeFormat, ScrapeWaitUntil, ScrapePageStatus, CrawlPageStatus, RecordingStatus, DownloadsStatus, HyperAgentLlm, HyperAgentTaskStatus, ClaudeComputerUseTaskStatus, CuaTaskStatus, GeminiComputerUseTaskStatus, SessionEventLogType, SessionRegion, BrowserUseVersion, HyperAgentVersion, } from "./constants";
|
|
16
|
+
export { ExtractJobStatus, BrowserUseTaskStatus, BrowserUseLlm, ClaudeComputerUseLlm, CuaLlm, GeminiComputerUseLlm, GrokComputerUseLlm, GrokReasoningEffort, ScrapeScreenshotFormat, ScrapeJobStatus, CrawlJobStatus, Country, State, ISO639_1, OperatingSystem, Platform, ScrapeFormat, ScrapeWaitUntil, ScrapePageStatus, CrawlPageStatus, RecordingStatus, DownloadsStatus, HyperAgentLlm, HyperAgentTaskStatus, ClaudeComputerUseTaskStatus, CuaTaskStatus, GeminiComputerUseTaskStatus, GrokComputerUseTaskStatus, SessionEventLogType, SessionRegion, BrowserUseVersion, HyperAgentVersion, } from "./constants";
|
|
16
17
|
export { TeamCreditInfo } from "./team";
|
|
17
18
|
export { ComputerAction, Coordinate, ClickActionParams, DragActionParams, PressKeysActionParams, MoveMouseActionParams, ScreenshotActionParams, ScrollActionParams, TypeTextActionParams, ComputerActionParams, ComputerActionResponse, ComputerActionMouseButton, ComputerActionResponseData, HoldKeyActionParams, MouseDownActionParams, MouseUpActionParams, GetClipboardTextActionParams, PutSelectionTextActionParams, ComputerActionResponseDataClipboardText, ListWindowsActionParams, ComputerActionWindow, ComputerActionResponseDataListWindows, } from "./computer-action";
|
|
18
19
|
export { FetchParams, FetchResponse, FetchResponseData, FetchStatus } from "./web/fetch";
|