browser-use-sdk 2.0.12 → 2.0.13
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/cjs/BaseClient.d.ts +1 -1
- package/dist/cjs/Client.d.ts +1 -1
- package/dist/cjs/Client.js +3 -3
- package/dist/cjs/api/errors/ForbiddenError.d.ts +1 -2
- package/dist/cjs/api/resources/billing/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/billing/client/Client.js +2 -2
- package/dist/cjs/api/resources/browsers/client/Client.d.ts +9 -7
- package/dist/cjs/api/resources/browsers/client/Client.js +9 -7
- package/dist/cjs/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.ts +1 -1
- package/dist/cjs/api/resources/files/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/files/client/Client.js +1 -1
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/profiles/client/Client.js +1 -1
- package/dist/cjs/api/resources/sessions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/sessions/client/Client.js +1 -1
- package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +2 -0
- package/dist/cjs/api/resources/skills/client/Client.d.ts +6 -4
- package/dist/cjs/api/resources/skills/client/Client.js +12 -5
- package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.d.ts +12 -0
- package/dist/cjs/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.js +3 -0
- package/dist/cjs/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.d.ts +2 -0
- package/dist/cjs/api/resources/skills/client/requests/UpdateSkillRequest.d.ts +5 -2
- package/dist/cjs/api/resources/skills/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/skillsMarketplace/client/Client.d.ts +24 -5
- package/dist/cjs/api/resources/skillsMarketplace/client/Client.js +87 -7
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.d.ts +12 -0
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.js +3 -0
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.js +3 -0
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.d.ts +2 -0
- package/dist/cjs/api/resources/skillsMarketplace/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/tasks/client/Client.d.ts +9 -3
- package/dist/cjs/api/resources/tasks/client/Client.js +9 -3
- package/dist/cjs/api/resources/tasks/client/requests/CreateTaskRequest.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +29 -1
- package/dist/cjs/api/resources/workflows/client/Client.js +85 -1
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.d.ts +18 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/types/AccountNotFoundError.d.ts +1 -1
- package/dist/cjs/api/types/AccountView.d.ts +5 -5
- package/dist/cjs/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.d.ts +6 -0
- package/dist/cjs/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.js +3 -0
- package/dist/cjs/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.d.ts +6 -0
- package/dist/cjs/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.js +3 -0
- package/dist/cjs/api/types/CommonUtilsErrorsInsufficientCreditsError.d.ts +6 -0
- package/dist/cjs/api/types/CommonUtilsErrorsInsufficientCreditsError.js +3 -0
- package/dist/cjs/api/types/EnabledSkillsLimitExceededError.d.ts +6 -0
- package/dist/cjs/api/types/EnabledSkillsLimitExceededError.js +3 -0
- package/dist/cjs/api/types/ExecuteSkillRequest.d.ts +7 -0
- package/dist/cjs/api/types/ExecuteSkillRequest.js +3 -0
- package/dist/cjs/api/types/MarketplaceSkillResponse.d.ts +14 -0
- package/dist/cjs/api/types/SessionItemView.d.ts +2 -0
- package/dist/cjs/api/types/SessionStatus.d.ts +3 -3
- package/dist/cjs/api/types/SessionStatus.js +3 -3
- package/dist/cjs/api/types/SessionTimeoutLimitExceededError.d.ts +1 -1
- package/dist/cjs/api/types/SessionView.d.ts +2 -0
- package/dist/cjs/api/types/SkillCategory.d.ts +20 -0
- package/dist/cjs/api/types/SkillCategory.js +23 -0
- package/dist/cjs/api/types/SkillResponse.d.ts +14 -2
- package/dist/cjs/api/types/SkillsGenerationStatus.d.ts +1 -0
- package/dist/cjs/api/types/SkillsGenerationStatus.js +1 -0
- package/dist/cjs/api/types/WorkflowCreateFromTaskResponse.d.ts +11 -0
- package/dist/cjs/api/types/WorkflowCreateFromTaskResponse.js +3 -0
- package/dist/cjs/api/types/WorkflowExecutionResponse.d.ts +4 -0
- package/dist/cjs/api/types/WorkflowExecutionStateView.d.ts +4 -0
- package/dist/cjs/api/types/WorkflowExecutionStepView.d.ts +4 -4
- package/dist/cjs/api/types/WorkflowGenerationStateView.d.ts +6 -0
- package/dist/cjs/api/types/WorkflowItemView.d.ts +7 -0
- package/dist/cjs/api/types/WorkflowResponse.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +7 -2
- package/dist/cjs/api/types/index.js +7 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +1 -1
- package/dist/esm/Client.d.mts +1 -1
- package/dist/esm/Client.mjs +3 -3
- package/dist/esm/api/errors/ForbiddenError.d.mts +1 -2
- package/dist/esm/api/resources/billing/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/billing/client/Client.mjs +2 -2
- package/dist/esm/api/resources/browsers/client/Client.d.mts +9 -7
- package/dist/esm/api/resources/browsers/client/Client.mjs +9 -7
- package/dist/esm/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.mts +1 -1
- package/dist/esm/api/resources/files/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/files/client/Client.mjs +1 -1
- package/dist/esm/api/resources/profiles/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/profiles/client/Client.mjs +1 -1
- package/dist/esm/api/resources/sessions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/sessions/client/Client.mjs +1 -1
- package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +2 -0
- package/dist/esm/api/resources/skills/client/Client.d.mts +6 -4
- package/dist/esm/api/resources/skills/client/Client.mjs +12 -5
- package/dist/esm/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.d.mts +12 -0
- package/dist/esm/api/resources/skills/client/requests/ExecuteSkillSkillsSkillIdExecutePostRequest.mjs +2 -0
- package/dist/esm/api/resources/skills/client/requests/ListSkillsSkillsGetRequest.d.mts +2 -0
- package/dist/esm/api/resources/skills/client/requests/UpdateSkillRequest.d.mts +5 -2
- package/dist/esm/api/resources/skills/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/skillsMarketplace/client/Client.d.mts +24 -5
- package/dist/esm/api/resources/skillsMarketplace/client/Client.mjs +87 -7
- package/dist/esm/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.d.mts +12 -0
- package/dist/esm/api/resources/skillsMarketplace/client/requests/ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest.mjs +2 -0
- package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/skillsMarketplace/client/requests/GetSkillMarketplaceSkillsSkillSlugGetRequest.mjs +2 -0
- package/dist/esm/api/resources/skillsMarketplace/client/requests/ListSkillsMarketplaceSkillsGetRequest.d.mts +2 -0
- package/dist/esm/api/resources/skillsMarketplace/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/tasks/client/Client.d.mts +9 -3
- package/dist/esm/api/resources/tasks/client/Client.mjs +9 -3
- package/dist/esm/api/resources/tasks/client/requests/CreateTaskRequest.d.mts +2 -0
- package/dist/esm/api/resources/workflows/client/Client.d.mts +29 -1
- package/dist/esm/api/resources/workflows/client/Client.mjs +85 -1
- package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.d.mts +18 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowCreateFromTaskRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +1 -0
- package/dist/esm/api/types/AccountNotFoundError.d.mts +1 -1
- package/dist/esm/api/types/AccountView.d.mts +5 -5
- package/dist/esm/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.d.mts +6 -0
- package/dist/esm/api/types/AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs +2 -0
- package/dist/esm/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.d.mts +6 -0
- package/dist/esm/api/types/AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs +2 -0
- package/dist/esm/api/types/CommonUtilsErrorsInsufficientCreditsError.d.mts +6 -0
- package/dist/esm/api/types/CommonUtilsErrorsInsufficientCreditsError.mjs +2 -0
- package/dist/esm/api/types/EnabledSkillsLimitExceededError.d.mts +6 -0
- package/dist/esm/api/types/EnabledSkillsLimitExceededError.mjs +2 -0
- package/dist/esm/api/types/ExecuteSkillRequest.d.mts +7 -0
- package/dist/esm/api/types/ExecuteSkillRequest.mjs +2 -0
- package/dist/esm/api/types/MarketplaceSkillResponse.d.mts +14 -0
- package/dist/esm/api/types/SessionItemView.d.mts +2 -0
- package/dist/esm/api/types/SessionStatus.d.mts +3 -3
- package/dist/esm/api/types/SessionStatus.mjs +3 -3
- package/dist/esm/api/types/SessionTimeoutLimitExceededError.d.mts +1 -1
- package/dist/esm/api/types/SessionView.d.mts +2 -0
- package/dist/esm/api/types/SkillCategory.d.mts +20 -0
- package/dist/esm/api/types/SkillCategory.mjs +20 -0
- package/dist/esm/api/types/SkillResponse.d.mts +14 -2
- package/dist/esm/api/types/SkillsGenerationStatus.d.mts +1 -0
- package/dist/esm/api/types/SkillsGenerationStatus.mjs +1 -0
- package/dist/esm/api/types/WorkflowCreateFromTaskResponse.d.mts +11 -0
- package/dist/esm/api/types/WorkflowCreateFromTaskResponse.mjs +2 -0
- package/dist/esm/api/types/WorkflowExecutionResponse.d.mts +4 -0
- package/dist/esm/api/types/WorkflowExecutionStateView.d.mts +4 -0
- package/dist/esm/api/types/WorkflowExecutionStepView.d.mts +4 -4
- package/dist/esm/api/types/WorkflowGenerationStateView.d.mts +6 -0
- package/dist/esm/api/types/WorkflowItemView.d.mts +7 -0
- package/dist/esm/api/types/WorkflowResponse.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +7 -2
- package/dist/esm/api/types/index.mjs +7 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +83 -82
- package/reference.md +166 -14
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Skill category. */
|
|
2
|
+
export declare const SkillCategory: {
|
|
3
|
+
readonly Search: "search";
|
|
4
|
+
readonly ECommerce: "e_commerce";
|
|
5
|
+
readonly Financial: "financial";
|
|
6
|
+
readonly News: "news";
|
|
7
|
+
readonly RealEstate: "real_estate";
|
|
8
|
+
readonly SocialMedia: "social_media";
|
|
9
|
+
readonly Travel: "travel";
|
|
10
|
+
readonly Marketplace: "marketplace";
|
|
11
|
+
readonly LeadGeneration: "lead_generation";
|
|
12
|
+
readonly Seo: "seo";
|
|
13
|
+
readonly Jobs: "jobs";
|
|
14
|
+
readonly Developer: "developer";
|
|
15
|
+
readonly Media: "media";
|
|
16
|
+
readonly Automation: "automation";
|
|
17
|
+
readonly Integration: "integration";
|
|
18
|
+
readonly Other: "other";
|
|
19
|
+
};
|
|
20
|
+
export type SkillCategory = (typeof SkillCategory)[keyof typeof SkillCategory];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Skill category. */
|
|
3
|
+
export const SkillCategory = {
|
|
4
|
+
Search: "search",
|
|
5
|
+
ECommerce: "e_commerce",
|
|
6
|
+
Financial: "financial",
|
|
7
|
+
News: "news",
|
|
8
|
+
RealEstate: "real_estate",
|
|
9
|
+
SocialMedia: "social_media",
|
|
10
|
+
Travel: "travel",
|
|
11
|
+
Marketplace: "marketplace",
|
|
12
|
+
LeadGeneration: "lead_generation",
|
|
13
|
+
Seo: "seo",
|
|
14
|
+
Jobs: "jobs",
|
|
15
|
+
Developer: "developer",
|
|
16
|
+
Media: "media",
|
|
17
|
+
Automation: "automation",
|
|
18
|
+
Integration: "integration",
|
|
19
|
+
Other: "other",
|
|
20
|
+
};
|
|
@@ -5,10 +5,16 @@ import type * as BrowserUse from "../index.mjs";
|
|
|
5
5
|
export interface SkillResponse {
|
|
6
6
|
/** Unique identifier for the skill */
|
|
7
7
|
id: string;
|
|
8
|
+
/** URL-friendly slug for the skill */
|
|
9
|
+
slug?: string | null;
|
|
8
10
|
/** Title of the skill (shows up in the public view) */
|
|
9
11
|
title: string;
|
|
10
12
|
/** Description of the skill (shows up in the public view) */
|
|
11
13
|
description: string;
|
|
14
|
+
/** Categories of the skill */
|
|
15
|
+
categories: BrowserUse.SkillCategory[];
|
|
16
|
+
/** Domains/websites this skill interacts with */
|
|
17
|
+
domains: string[];
|
|
12
18
|
/** Goal of the skill (not shown in the public view) */
|
|
13
19
|
goal?: string | null;
|
|
14
20
|
/** Prompt for the agent to use when generating the skill automatically (not shown in the public view) */
|
|
@@ -23,8 +29,12 @@ export interface SkillResponse {
|
|
|
23
29
|
isEnabled: boolean;
|
|
24
30
|
/** Whether the skill is publicly available */
|
|
25
31
|
isPublic: boolean;
|
|
26
|
-
/**
|
|
27
|
-
|
|
32
|
+
/** URL of the custom skill icon */
|
|
33
|
+
iconUrl?: string | null;
|
|
34
|
+
/** When the skill was first published */
|
|
35
|
+
firstPublishedAt?: string | null;
|
|
36
|
+
/** When the skill was last published */
|
|
37
|
+
lastPublishedAt?: string | null;
|
|
28
38
|
/** Current version of the skill */
|
|
29
39
|
currentVersion: number | null;
|
|
30
40
|
/** When the current version started generating */
|
|
@@ -33,6 +43,8 @@ export interface SkillResponse {
|
|
|
33
43
|
currentVersionFinishedAt?: string | null;
|
|
34
44
|
/** Base64 encoded generated code (contact support@browser-use.com to get access) - ENTERPRISE ONLY */
|
|
35
45
|
code?: string | null;
|
|
46
|
+
/** Unique identifier for the skill this skill was cloned from */
|
|
47
|
+
clonedFromSkillId?: string | null;
|
|
36
48
|
/** Creation timestamp */
|
|
37
49
|
createdAt: string;
|
|
38
50
|
/** Last update timestamp */
|
|
@@ -5,5 +5,6 @@ export declare const SkillsGenerationStatus: {
|
|
|
5
5
|
readonly Failed: "failed";
|
|
6
6
|
readonly Finished: "finished";
|
|
7
7
|
readonly Cancelled: "cancelled";
|
|
8
|
+
readonly TimedOut: "timed_out";
|
|
8
9
|
};
|
|
9
10
|
export type SkillsGenerationStatus = (typeof SkillsGenerationStatus)[keyof typeof SkillsGenerationStatus];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response model for workflow created from an agent task.
|
|
3
|
+
*/
|
|
4
|
+
export interface WorkflowCreateFromTaskResponse {
|
|
5
|
+
/** ID of the newly created workflow */
|
|
6
|
+
workflowId: string;
|
|
7
|
+
/** Status of the workflow creation (pending, completed) */
|
|
8
|
+
status?: string;
|
|
9
|
+
/** Human-readable message about the creation */
|
|
10
|
+
message?: string;
|
|
11
|
+
}
|
|
@@ -33,6 +33,10 @@ export interface WorkflowExecutionResponse {
|
|
|
33
33
|
executionMetadata?: Record<string, unknown> | null;
|
|
34
34
|
/** Presigned URL to download execution logs */
|
|
35
35
|
logsDownloadUrl?: string | null;
|
|
36
|
+
/** AI-generated summary of the execution result */
|
|
37
|
+
aiSummary?: string | null;
|
|
38
|
+
/** AI's determination of whether execution succeeded */
|
|
39
|
+
aiSuccess?: boolean | null;
|
|
36
40
|
/** Naive UTC timestamp when execution was created */
|
|
37
41
|
createdAt: string;
|
|
38
42
|
}
|
|
@@ -25,4 +25,8 @@ export interface WorkflowExecutionStateView {
|
|
|
25
25
|
createdAt: string;
|
|
26
26
|
/** Live browser view URL (available during and up to 60s after execution) */
|
|
27
27
|
liveUrl?: string | null;
|
|
28
|
+
/** AI-generated summary of the execution result */
|
|
29
|
+
aiSummary?: string | null;
|
|
30
|
+
/** AI's determination of whether execution succeeded */
|
|
31
|
+
aiSuccess?: boolean | null;
|
|
28
32
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface WorkflowExecutionStepView {
|
|
5
5
|
/** Unique identifier for the step (execution_id-step-N) */
|
|
6
|
-
id
|
|
6
|
+
id?: string;
|
|
7
7
|
/** Sequential step number (1-indexed) */
|
|
8
|
-
stepNumber
|
|
8
|
+
stepNumber?: number;
|
|
9
9
|
/** Name of the step from workflow definition */
|
|
10
10
|
stepName?: string | null;
|
|
11
11
|
/** Description of what this step is doing */
|
|
12
|
-
nextGoal
|
|
12
|
+
nextGoal?: string;
|
|
13
13
|
/** Whether the step has completed */
|
|
14
14
|
isDone?: boolean;
|
|
15
15
|
/** Whether the step succeeded (None if in progress) */
|
|
@@ -25,5 +25,5 @@ export interface WorkflowExecutionStepView {
|
|
|
25
25
|
/** Error message if step failed */
|
|
26
26
|
error?: string | null;
|
|
27
27
|
/** ISO 8601 timestamp when step was executed */
|
|
28
|
-
createdAt
|
|
28
|
+
createdAt?: string;
|
|
29
29
|
}
|
|
@@ -9,10 +9,16 @@ export interface WorkflowGenerationStateView {
|
|
|
9
9
|
name: string;
|
|
10
10
|
/** Current status of workflow generation */
|
|
11
11
|
generationStatus: BrowserUse.WorkflowGenerationStatus;
|
|
12
|
+
/** Error message if generation failed */
|
|
13
|
+
generationError?: string | null;
|
|
14
|
+
/** Current progress step (e.g., "downloading_history", "detecting_variables") */
|
|
15
|
+
generationProgress?: string | null;
|
|
12
16
|
/** Live browser view URL (available only during generation) */
|
|
13
17
|
liveUrl?: string | null;
|
|
14
18
|
/** List of generated workflow steps (available after completion) */
|
|
15
19
|
steps?: BrowserUse.WorkflowGenerationStepView[];
|
|
16
20
|
/** When workflow was created */
|
|
17
21
|
createdAt: string;
|
|
22
|
+
/** When workflow was last updated */
|
|
23
|
+
updatedAt?: string | null;
|
|
18
24
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as BrowserUse from "../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* Minimal view model for listing workflows.
|
|
3
4
|
*/
|
|
@@ -14,6 +15,12 @@ export interface WorkflowItemView {
|
|
|
14
15
|
cost?: string;
|
|
15
16
|
/** Whether the workflow is archived */
|
|
16
17
|
isArchived?: boolean;
|
|
18
|
+
/** Status of workflow generation */
|
|
19
|
+
generationStatus?: BrowserUse.WorkflowGenerationStatus;
|
|
20
|
+
/** Error message if generation failed */
|
|
21
|
+
generationError?: string | null;
|
|
22
|
+
/** Generation metadata including progress_step */
|
|
23
|
+
generationMetadata?: Record<string, unknown> | null;
|
|
17
24
|
/** Naive UTC timestamp when the workflow was created */
|
|
18
25
|
createdAt: string;
|
|
19
26
|
}
|
|
@@ -27,6 +27,8 @@ export interface WorkflowResponse {
|
|
|
27
27
|
generationStatus?: BrowserUse.WorkflowGenerationStatus;
|
|
28
28
|
/** Error message if generation failed */
|
|
29
29
|
generationError?: string | null;
|
|
30
|
+
/** Generation metadata including progress_step */
|
|
31
|
+
generationMetadata?: Record<string, unknown> | null;
|
|
30
32
|
/** Input schema from workflow YAML defining required/optional variables */
|
|
31
33
|
inputSchema?: Record<string, unknown>[] | null;
|
|
32
34
|
/** Pre-filled input template based on input_schema for easy execution */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./AccountNotFoundError.mjs";
|
|
2
2
|
export * from "./AccountView.mjs";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
3
|
+
export * from "./AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs";
|
|
4
|
+
export * from "./AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
5
5
|
export * from "./BadRequestErrorBody.mjs";
|
|
6
6
|
export * from "./BrowserSessionItemView.mjs";
|
|
7
7
|
export * from "./BrowserSessionListResponse.mjs";
|
|
@@ -10,9 +10,12 @@ export * from "./BrowserSessionUpdateAction.mjs";
|
|
|
10
10
|
export * from "./BrowserSessionView.mjs";
|
|
11
11
|
export * from "./CannotDeleteSkillWhileGeneratingError.mjs";
|
|
12
12
|
export * from "./CannotRollbackPublicSkillError.mjs";
|
|
13
|
+
export * from "./CommonUtilsErrorsInsufficientCreditsError.mjs";
|
|
13
14
|
export * from "./ConcurrentSkillCreationsError.mjs";
|
|
14
15
|
export * from "./CreateSkillResponse.mjs";
|
|
15
16
|
export * from "./DownloadUrlGenerationError.mjs";
|
|
17
|
+
export * from "./EnabledSkillsLimitExceededError.mjs";
|
|
18
|
+
export * from "./ExecuteSkillRequest.mjs";
|
|
16
19
|
export * from "./ExecuteSkillResponse.mjs";
|
|
17
20
|
export * from "./FileView.mjs";
|
|
18
21
|
export * from "./GenerationNotCancellableError.mjs";
|
|
@@ -41,6 +44,7 @@ export * from "./SessionUpdateAction.mjs";
|
|
|
41
44
|
export * from "./SessionView.mjs";
|
|
42
45
|
export * from "./ShareNotFoundError.mjs";
|
|
43
46
|
export * from "./ShareView.mjs";
|
|
47
|
+
export * from "./SkillCategory.mjs";
|
|
44
48
|
export * from "./SkillListResponse.mjs";
|
|
45
49
|
export * from "./SkillNotFinishedError.mjs";
|
|
46
50
|
export * from "./SkillNotFoundError.mjs";
|
|
@@ -62,6 +66,7 @@ export * from "./UnsupportedContentTypeError.mjs";
|
|
|
62
66
|
export * from "./UploadFilePresignedUrlResponse.mjs";
|
|
63
67
|
export * from "./UploadFileRequest.mjs";
|
|
64
68
|
export * from "./ValidationError.mjs";
|
|
69
|
+
export * from "./WorkflowCreateFromTaskResponse.mjs";
|
|
65
70
|
export * from "./WorkflowExecutionCreatedResponse.mjs";
|
|
66
71
|
export * from "./WorkflowExecutionItemView.mjs";
|
|
67
72
|
export * from "./WorkflowExecutionListResponse.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./AccountNotFoundError.mjs";
|
|
2
2
|
export * from "./AccountView.mjs";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
3
|
+
export * from "./AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs";
|
|
4
|
+
export * from "./AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
5
5
|
export * from "./BadRequestErrorBody.mjs";
|
|
6
6
|
export * from "./BrowserSessionItemView.mjs";
|
|
7
7
|
export * from "./BrowserSessionListResponse.mjs";
|
|
@@ -10,9 +10,12 @@ export * from "./BrowserSessionUpdateAction.mjs";
|
|
|
10
10
|
export * from "./BrowserSessionView.mjs";
|
|
11
11
|
export * from "./CannotDeleteSkillWhileGeneratingError.mjs";
|
|
12
12
|
export * from "./CannotRollbackPublicSkillError.mjs";
|
|
13
|
+
export * from "./CommonUtilsErrorsInsufficientCreditsError.mjs";
|
|
13
14
|
export * from "./ConcurrentSkillCreationsError.mjs";
|
|
14
15
|
export * from "./CreateSkillResponse.mjs";
|
|
15
16
|
export * from "./DownloadUrlGenerationError.mjs";
|
|
17
|
+
export * from "./EnabledSkillsLimitExceededError.mjs";
|
|
18
|
+
export * from "./ExecuteSkillRequest.mjs";
|
|
16
19
|
export * from "./ExecuteSkillResponse.mjs";
|
|
17
20
|
export * from "./FileView.mjs";
|
|
18
21
|
export * from "./GenerationNotCancellableError.mjs";
|
|
@@ -41,6 +44,7 @@ export * from "./SessionUpdateAction.mjs";
|
|
|
41
44
|
export * from "./SessionView.mjs";
|
|
42
45
|
export * from "./ShareNotFoundError.mjs";
|
|
43
46
|
export * from "./ShareView.mjs";
|
|
47
|
+
export * from "./SkillCategory.mjs";
|
|
44
48
|
export * from "./SkillListResponse.mjs";
|
|
45
49
|
export * from "./SkillNotFinishedError.mjs";
|
|
46
50
|
export * from "./SkillNotFoundError.mjs";
|
|
@@ -62,6 +66,7 @@ export * from "./UnsupportedContentTypeError.mjs";
|
|
|
62
66
|
export * from "./UploadFilePresignedUrlResponse.mjs";
|
|
63
67
|
export * from "./UploadFileRequest.mjs";
|
|
64
68
|
export * from "./ValidationError.mjs";
|
|
69
|
+
export * from "./WorkflowCreateFromTaskResponse.mjs";
|
|
65
70
|
export * from "./WorkflowExecutionCreatedResponse.mjs";
|
|
66
71
|
export * from "./WorkflowExecutionItemView.mjs";
|
|
67
72
|
export * from "./WorkflowExecutionListResponse.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.13";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.0.
|
|
1
|
+
export const SDK_VERSION = "2.0.13";
|
package/package.json
CHANGED
|
@@ -1,84 +1,85 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
"name": "browser-use-sdk",
|
|
3
|
+
"version": "2.0.13",
|
|
4
|
+
"private": false,
|
|
5
|
+
"repository": "github:browser-use/browser-use-node",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"main": "./dist/cjs/index.js",
|
|
8
|
+
"module": "./dist/esm/index.mjs",
|
|
9
|
+
"types": "./dist/cjs/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/cjs/index.d.ts",
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/esm/index.d.mts",
|
|
15
|
+
"default": "./dist/esm/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/cjs/index.d.ts",
|
|
19
|
+
"default": "./dist/cjs/index.js"
|
|
20
|
+
},
|
|
21
|
+
"default": "./dist/cjs/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json"
|
|
22
24
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"reference.md",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
33
|
+
"format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
34
|
+
"lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
35
|
+
"lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
36
|
+
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
37
|
+
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
|
|
38
|
+
"build": "pnpm build:cjs && pnpm build:esm",
|
|
39
|
+
"build:cjs": "tsc --project ./tsconfig.cjs.json",
|
|
40
|
+
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
|
|
41
|
+
"test": "vitest",
|
|
42
|
+
"test:unit": "vitest --project unit",
|
|
43
|
+
"test:wire": "vitest --project wire",
|
|
44
|
+
"tsn": "ts-node -r tsconfig-paths/register"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"fast-json-stable-stringify": "^2.1.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"react": "^18 || ^19",
|
|
51
|
+
"zod": "^4"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"webpack": "^5.97.1",
|
|
55
|
+
"ts-loader": "^9.5.1",
|
|
56
|
+
"vitest": "^3.2.4",
|
|
57
|
+
"msw": "2.11.2",
|
|
58
|
+
"@types/node": "^18.19.70",
|
|
59
|
+
"typescript": "~5.7.2",
|
|
60
|
+
"@biomejs/biome": "2.3.1",
|
|
61
|
+
"@dotenvx/dotenvx": "^1.49.0",
|
|
62
|
+
"react": "^19.1.1",
|
|
63
|
+
"react-dom": "^19.1.1",
|
|
64
|
+
"tsconfig-paths": "^4.2.0",
|
|
65
|
+
"ts-node": "^10.5.0",
|
|
66
|
+
"zod": "^4"
|
|
67
|
+
},
|
|
68
|
+
"browser": {
|
|
69
|
+
"fs": false,
|
|
70
|
+
"os": false,
|
|
71
|
+
"path": false,
|
|
72
|
+
"stream": false
|
|
73
|
+
},
|
|
74
|
+
"packageManager": "pnpm@10.20.0",
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=18.0.0"
|
|
77
|
+
},
|
|
78
|
+
"sideEffects": false,
|
|
79
|
+
"description": "The official TypeScript library for the Browser Use API",
|
|
80
|
+
"author": {
|
|
81
|
+
"name": "Browser Use",
|
|
82
|
+
"url": "https://browser-use.com",
|
|
83
|
+
"email": "support@browser-use.com"
|
|
84
|
+
}
|
|
85
|
+
}
|