@hyperbrowser/sdk 0.92.3 → 0.92.5

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 CHANGED
@@ -274,6 +274,7 @@ const sandbox = await client.sandboxes.create({
274
274
  });
275
275
 
276
276
  await sandbox.stop();
277
+ await client.volumes.delete(sameVolume.id);
277
278
  ```
278
279
 
279
280
  List sandboxes with time-range and search filters:
package/dist/client.d.ts CHANGED
@@ -13,6 +13,7 @@ import { TeamService } from "./services/team";
13
13
  import { ComputerActionService } from "./services/computer-action";
14
14
  import { GeminiComputerUseService } from "./services/agents/gemini-computer-use";
15
15
  import { GrokComputerUseService } from "./services/agents/grok-computer-use";
16
+ import { MetaComputerUseService } from "./services/agents/meta-computer-use";
16
17
  import { WebService } from "./services/web";
17
18
  import { SandboxesService } from "./services/sandboxes";
18
19
  import { VolumesService } from "./services/volumes";
@@ -51,6 +52,7 @@ export declare class HyperbrowserClient {
51
52
  hyperAgent: HyperAgentService;
52
53
  geminiComputerUse: GeminiComputerUseService;
53
54
  grokComputerUse: GrokComputerUseService;
55
+ metaComputerUse: MetaComputerUseService;
54
56
  };
55
57
  readonly team: TeamService;
56
58
  readonly computerAction: ComputerActionService;
package/dist/client.js CHANGED
@@ -15,6 +15,7 @@ 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
17
  const grok_computer_use_1 = require("./services/agents/grok-computer-use");
18
+ const meta_computer_use_1 = require("./services/agents/meta-computer-use");
18
19
  const web_1 = require("./services/web");
19
20
  const sandboxes_1 = require("./services/sandboxes");
20
21
  const volumes_1 = require("./services/volumes");
@@ -60,6 +61,7 @@ class HyperbrowserClient {
60
61
  hyperAgent: new hyper_agent_1.HyperAgentService(apiKey, baseUrl, timeout),
61
62
  geminiComputerUse: new gemini_computer_use_1.GeminiComputerUseService(apiKey, baseUrl, timeout),
62
63
  grokComputerUse: new grok_computer_use_1.GrokComputerUseService(apiKey, baseUrl, timeout),
64
+ metaComputerUse: new meta_computer_use_1.MetaComputerUseService(apiKey, baseUrl, timeout),
63
65
  };
64
66
  }
65
67
  }
@@ -0,0 +1,30 @@
1
+ import { BasicResponse } from "../../types";
2
+ import { BaseService } from "../base";
3
+ import { MetaComputerUseTaskResponse, MetaComputerUseTaskStatusResponse, StartMetaComputerUseTaskParams, StartMetaComputerUseTaskResponse } from "../../types/agents/meta-computer-use";
4
+ export declare class MetaComputerUseService extends BaseService {
5
+ /**
6
+ * Start a new Meta Computer Use task job
7
+ * @param params The parameters for the task job
8
+ */
9
+ start(params: StartMetaComputerUseTaskParams): Promise<StartMetaComputerUseTaskResponse>;
10
+ /**
11
+ * Get the status of a Meta Computer Use task job
12
+ * @param id The ID of the task job to get
13
+ */
14
+ getStatus(id: string): Promise<MetaComputerUseTaskStatusResponse>;
15
+ /**
16
+ * Get the result of a Meta Computer Use task job
17
+ * @param id The ID of the task job to get
18
+ */
19
+ get(id: string): Promise<MetaComputerUseTaskResponse>;
20
+ /**
21
+ * Stop a Meta 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 Meta Computer Use task job and wait for it to complete
27
+ * @param params The parameters for the task job
28
+ */
29
+ startAndWait(params: StartMetaComputerUseTaskParams): Promise<MetaComputerUseTaskResponse>;
30
+ }
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MetaComputerUseService = 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 MetaComputerUseService extends base_1.BaseService {
9
+ /**
10
+ * Start a new Meta 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/meta-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 Meta Computer Use task job", undefined);
25
+ }
26
+ }
27
+ /**
28
+ * Get the status of a Meta 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/meta-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 Meta Computer Use task job ${id} status`, undefined);
40
+ }
41
+ }
42
+ /**
43
+ * Get the result of a Meta 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/meta-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 Meta Computer Use task job ${id}`, undefined);
55
+ }
56
+ }
57
+ /**
58
+ * Stop a Meta 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/meta-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 Meta Computer Use task job ${id}`, undefined);
72
+ }
73
+ }
74
+ /**
75
+ * Start a Meta 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 Meta 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 Meta 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.MetaComputerUseService = MetaComputerUseService;
@@ -1,4 +1,4 @@
1
- import { CreateVolumeParams, Volume, VolumeListParams, VolumeListResponse } from "../types/volume";
1
+ import { CreateVolumeParams, Volume, VolumeDeleteResult, VolumeListParams, VolumeListResponse } from "../types/volume";
2
2
  import { BaseService } from "./base";
3
3
  export declare class VolumesService extends BaseService {
4
4
  /**
@@ -13,4 +13,10 @@ export declare class VolumesService extends BaseService {
13
13
  * Get a single sandbox volume.
14
14
  */
15
15
  get(id: string): Promise<Volume>;
16
+ /**
17
+ * Delete a sandbox volume by id or name.
18
+ * Name lookup is case-insensitive. Multiple volumes that share a name
19
+ * return 409 and require an id. Active mounts also return 409.
20
+ */
21
+ delete(key: string): Promise<VolumeDeleteResult>;
16
22
  }
@@ -53,5 +53,21 @@ class VolumesService extends base_1.BaseService {
53
53
  throw new client_1.HyperbrowserError(`Failed to get volume ${id}`, undefined);
54
54
  }
55
55
  }
56
+ /**
57
+ * Delete a sandbox volume by id or name.
58
+ * Name lookup is case-insensitive. Multiple volumes that share a name
59
+ * return 409 and require an id. Active mounts also return 409.
60
+ */
61
+ async delete(key) {
62
+ try {
63
+ return await this.request(`/volume/${encodeURIComponent(key)}`, { method: "DELETE" });
64
+ }
65
+ catch (error) {
66
+ if (error instanceof client_1.HyperbrowserError) {
67
+ throw error;
68
+ }
69
+ throw new client_1.HyperbrowserError(`Failed to delete volume ${key}`, undefined);
70
+ }
71
+ }
56
72
  }
57
73
  exports.VolumesService = VolumesService;
@@ -183,6 +183,7 @@ const BROWSER_USE_LLM_SCHEMA = {
183
183
  "claude-3-5-sonnet-20241022",
184
184
  "claude-3-5-haiku-20241022",
185
185
  "gemini-2.0-flash",
186
+ "gemini-3.8-flash",
186
187
  ],
187
188
  default: "gemini-2.0-flash",
188
189
  };
@@ -0,0 +1,64 @@
1
+ import { MetaComputerUseLlm, MetaReasoningEffort, MetaComputerUseTaskStatus } from "../constants";
2
+ import { CreateSessionParams } from "../session";
3
+ export interface MetaComputerUseApiKeys {
4
+ meta?: string;
5
+ }
6
+ export interface StartMetaComputerUseTaskParams {
7
+ task: string;
8
+ llm?: MetaComputerUseLlm;
9
+ reasoningEffort?: MetaReasoningEffort;
10
+ sessionId?: string;
11
+ maxFailures?: number;
12
+ maxSteps?: number;
13
+ keepBrowserOpen?: boolean;
14
+ sessionOptions?: CreateSessionParams;
15
+ useCustomApiKeys?: boolean;
16
+ apiKeys?: MetaComputerUseApiKeys;
17
+ useComputerAction?: boolean;
18
+ }
19
+ export interface StartMetaComputerUseTaskResponse {
20
+ jobId: string;
21
+ liveUrl: string | null;
22
+ }
23
+ export interface MetaComputerUseTaskStatusResponse {
24
+ status: MetaComputerUseTaskStatus;
25
+ }
26
+ export interface MetaComputerUseStepError {
27
+ code: string;
28
+ message: string;
29
+ }
30
+ export interface MetaComputerUseStepIncompleteDetails {
31
+ reason?: string;
32
+ }
33
+ export interface MetaComputerUseStepReasoning {
34
+ effort?: string | null;
35
+ summary?: string | null;
36
+ }
37
+ export interface MetaComputerUseStepResponse {
38
+ created_at?: number | null;
39
+ completed_at?: number | null;
40
+ output_text?: string | null;
41
+ error?: MetaComputerUseStepError | null;
42
+ incomplete_details?: MetaComputerUseStepIncompleteDetails | null;
43
+ model?: string | null;
44
+ output?: any[];
45
+ reasoning?: MetaComputerUseStepReasoning | null;
46
+ status?: string | null;
47
+ }
48
+ export interface MetaComputerUseTaskData {
49
+ steps: MetaComputerUseStepResponse[];
50
+ finalResult: string | null;
51
+ }
52
+ export interface MetaComputerUseTaskMetadata {
53
+ inputTokens?: number | null;
54
+ outputTokens?: number | null;
55
+ numTaskStepsCompleted?: number | null;
56
+ }
57
+ export interface MetaComputerUseTaskResponse {
58
+ jobId: string;
59
+ status: MetaComputerUseTaskStatus;
60
+ metadata?: MetaComputerUseTaskMetadata | null;
61
+ data?: MetaComputerUseTaskData | null;
62
+ error?: string | null;
63
+ liveUrl: string | null;
64
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@ export type HyperAgentTaskStatus = "pending" | "running" | "completed" | "failed
9
9
  export type ClaudeComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
10
10
  export type GeminiComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
11
11
  export type GrokComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
12
+ export type MetaComputerUseTaskStatus = "pending" | "running" | "completed" | "failed" | "stopped";
12
13
  export type ScrapePageStatus = "completed" | "failed" | "pending" | "running";
13
14
  export type CrawlPageStatus = "completed" | "failed";
14
15
  export type ScrapeWaitUntil = "load" | "domcontentloaded" | "networkidle";
@@ -17,14 +18,16 @@ export type RecordingStatus = "not_enabled" | "pending" | "in_progress" | "compl
17
18
  export type DownloadsStatus = "not_enabled" | "pending" | "in_progress" | "completed" | "failed";
18
19
  export declare const POLLING_ATTEMPTS = 5;
19
20
  export type BrowserUseVersion = "0.1.40" | "0.7.10" | "latest";
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-5" | "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";
21
+ 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" | "gemini-3.8-flash";
22
+ export type ClaudeComputerUseLlm = "claude-fable-5-1" | "claude-opus-5" | "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";
23
+ export type CuaLlm = "computer-use-preview" | "gpt-6-astra" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gpt-5.5" | "gpt-5.4" | "gpt-5.4-mini";
23
24
  export type HyperAgentVersion = "0.8.0" | "1.1.0";
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.7-flash" | "gemini-3-flash-preview";
25
- export type GeminiComputerUseLlm = "gemini-3.7-flash" | "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";
25
+ 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.8-flash" | "gemini-3.7-flash" | "gemini-3-flash-preview";
26
+ export type GeminiComputerUseLlm = "gemini-3.8-flash" | "gemini-3.7-flash" | "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
27
  export type GrokComputerUseLlm = "grok-4.5";
27
28
  export type GrokReasoningEffort = "low" | "medium" | "high";
29
+ export type MetaComputerUseLlm = "muse-spark-1.1" | "muse-spark-1.2" | "muse-spark-1.3";
30
+ export type MetaReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
28
31
  export type SessionRegion = "us" | "us-central" | "asia-south" | "us-dev" | "europe-west" | "us-west" | "us-east";
29
32
  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";
30
33
  export type OperatingSystem = "windows" | "android" | "macos" | "linux" | "ios";
@@ -8,12 +8,13 @@ export { StartCuaTaskParams, StartCuaTaskResponse, CuaTaskStatusResponse, CuaTas
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
10
  export { StartGrokComputerUseTaskParams, StartGrokComputerUseTaskResponse, GrokComputerUseTaskStatusResponse, GrokComputerUseTaskResponse, GrokComputerUseTaskData, GrokComputerUseStepResponse, GrokComputerUseApiKeys, GrokComputerUseTaskMetadata, } from "./agents/grok-computer-use";
11
+ export { StartMetaComputerUseTaskParams, StartMetaComputerUseTaskResponse, MetaComputerUseTaskStatusResponse, MetaComputerUseTaskResponse, MetaComputerUseTaskData, MetaComputerUseStepResponse, MetaComputerUseStepError, MetaComputerUseStepIncompleteDetails, MetaComputerUseStepReasoning, MetaComputerUseApiKeys, MetaComputerUseTaskMetadata, } from "./agents/meta-computer-use";
11
12
  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";
12
13
  export { SandboxStatus, SandboxRuntimeTarget, SandboxNetworkPolicy, SandboxNetworkPolicyPatch, SandboxNetworkUpdateResult, Sandbox, SandboxDetail, SandboxVolumeMountType, SandboxVolumeMount, SandboxListParams, SandboxListResponse, SandboxImageSource, SandboxImageSummary, SandboxImageListParams, SandboxImageListResponse, SandboxSnapshotStatus, SandboxSnapshotSummary, SandboxSnapshotListParams, SandboxSnapshotListResponse, SandboxSnapshotDeleteResult, SandboxImageDeleteResult, SandboxImageBuildStatus, SandboxImageBuildUpload, SandboxImageBuild, CreateSandboxImageBuildParams, CompleteSandboxImageBuildParams, SandboxImageBuildCreateResult, SandboxImageBuildListParams, SandboxImageBuildListResponse, 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";
13
- export { CreateVolumeParams, Volume, VolumeListParams, VolumeListResponse } from "./volume";
14
+ export { CreateVolumeParams, Volume, VolumeListParams, VolumeListResponse, VolumeDeleteResult, } from "./volume";
14
15
  export { CreateProfileParams, ForkProfileParams, ProfileResponse, CreateProfileResponse, ProfileListParams, ProfileListResponse, } from "./profile";
15
16
  export { CreateExtensionParams, CreateExtensionResponse, ListExtensionsResponse, } from "./extension";
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";
17
+ export { ExtractJobStatus, BrowserUseTaskStatus, BrowserUseLlm, ClaudeComputerUseLlm, CuaLlm, GeminiComputerUseLlm, GrokComputerUseLlm, GrokReasoningEffort, MetaComputerUseLlm, MetaReasoningEffort, ScrapeScreenshotFormat, ScrapeJobStatus, CrawlJobStatus, Country, State, ISO639_1, OperatingSystem, Platform, ScrapeFormat, ScrapeWaitUntil, ScrapePageStatus, CrawlPageStatus, RecordingStatus, DownloadsStatus, HyperAgentLlm, HyperAgentTaskStatus, ClaudeComputerUseTaskStatus, CuaTaskStatus, GeminiComputerUseTaskStatus, GrokComputerUseTaskStatus, MetaComputerUseTaskStatus, SessionEventLogType, SessionRegion, BrowserUseVersion, HyperAgentVersion, } from "./constants";
17
18
  export { TeamCreditInfo } from "./team";
18
19
  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";
19
20
  export { FetchParams, FetchResponse, FetchResponseData, FetchStatus } from "./web/fetch";
@@ -18,3 +18,8 @@ export interface VolumeListResponse {
18
18
  page?: number;
19
19
  perPage?: number;
20
20
  }
21
+ export interface VolumeDeleteResult {
22
+ deleted: boolean;
23
+ id?: string;
24
+ name?: string;
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbrowser/sdk",
3
- "version": "0.92.3",
3
+ "version": "0.92.5",
4
4
  "description": "Node SDK for Hyperbrowser API",
5
5
  "author": "",
6
6
  "repository": {