browser-use-sdk 2.0.11 → 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 +25 -6
- package/dist/cjs/api/resources/skills/client/Client.js +85 -8
- package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.js +3 -0
- 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/RollbackSkillSkillsSkillIdRollbackPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.js +3 -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 +3 -2
- 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/CannotRollbackPublicSkillError.d.ts +6 -0
- package/dist/cjs/api/types/CannotRollbackPublicSkillError.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 +15 -1
- package/dist/cjs/api/types/ParameterSchema.d.ts +1 -0
- package/dist/cjs/api/types/ParameterType.d.ts +1 -0
- package/dist/cjs/api/types/ParameterType.js +1 -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 +19 -3
- 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 +10 -6
- package/dist/cjs/api/types/index.js +10 -6
- 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 +25 -6
- package/dist/esm/api/resources/skills/client/Client.mjs +85 -8
- package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/skills/client/requests/CancelGenerationSkillsSkillIdCancelPostRequest.mjs +2 -0
- 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/RollbackSkillSkillsSkillIdRollbackPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/skills/client/requests/RollbackSkillSkillsSkillIdRollbackPostRequest.mjs +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 +3 -2
- 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/CannotRollbackPublicSkillError.d.mts +6 -0
- package/dist/esm/api/types/CannotRollbackPublicSkillError.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 +15 -1
- package/dist/esm/api/types/ParameterSchema.d.mts +1 -0
- package/dist/esm/api/types/ParameterType.d.mts +1 -0
- package/dist/esm/api/types/ParameterType.mjs +1 -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 +19 -3
- 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 +10 -6
- package/dist/esm/api/types/index.mjs +10 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +83 -82
- package/reference.md +232 -15
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export * from "./AccountNotFoundError.mjs";
|
|
2
2
|
export * from "./AccountView.mjs";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./AppApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
6
|
-
export * from "./AppApiV2SkillsViewsParameterSchema.mjs";
|
|
7
|
-
export * from "./AppApiV2SkillsViewsParameterType.mjs";
|
|
8
|
-
export * from "./AppViewsV2ErrorViewsInsufficientCreditsError.mjs";
|
|
3
|
+
export * from "./AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs";
|
|
4
|
+
export * from "./AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
9
5
|
export * from "./BadRequestErrorBody.mjs";
|
|
10
6
|
export * from "./BrowserSessionItemView.mjs";
|
|
11
7
|
export * from "./BrowserSessionListResponse.mjs";
|
|
@@ -13,9 +9,13 @@ export * from "./BrowserSessionStatus.mjs";
|
|
|
13
9
|
export * from "./BrowserSessionUpdateAction.mjs";
|
|
14
10
|
export * from "./BrowserSessionView.mjs";
|
|
15
11
|
export * from "./CannotDeleteSkillWhileGeneratingError.mjs";
|
|
12
|
+
export * from "./CannotRollbackPublicSkillError.mjs";
|
|
13
|
+
export * from "./CommonUtilsErrorsInsufficientCreditsError.mjs";
|
|
16
14
|
export * from "./ConcurrentSkillCreationsError.mjs";
|
|
17
15
|
export * from "./CreateSkillResponse.mjs";
|
|
18
16
|
export * from "./DownloadUrlGenerationError.mjs";
|
|
17
|
+
export * from "./EnabledSkillsLimitExceededError.mjs";
|
|
18
|
+
export * from "./ExecuteSkillRequest.mjs";
|
|
19
19
|
export * from "./ExecuteSkillResponse.mjs";
|
|
20
20
|
export * from "./FileView.mjs";
|
|
21
21
|
export * from "./GenerationNotCancellableError.mjs";
|
|
@@ -25,6 +25,8 @@ export * from "./MarketplaceSkillListResponse.mjs";
|
|
|
25
25
|
export * from "./MarketplaceSkillResponse.mjs";
|
|
26
26
|
export * from "./NotFoundErrorBody.mjs";
|
|
27
27
|
export * from "./OutputFileNotFoundError.mjs";
|
|
28
|
+
export * from "./ParameterSchema.mjs";
|
|
29
|
+
export * from "./ParameterType.mjs";
|
|
28
30
|
export * from "./PlanInfo.mjs";
|
|
29
31
|
export * from "./ProfileListResponse.mjs";
|
|
30
32
|
export * from "./ProfileNotFoundError.mjs";
|
|
@@ -42,6 +44,7 @@ export * from "./SessionUpdateAction.mjs";
|
|
|
42
44
|
export * from "./SessionView.mjs";
|
|
43
45
|
export * from "./ShareNotFoundError.mjs";
|
|
44
46
|
export * from "./ShareView.mjs";
|
|
47
|
+
export * from "./SkillCategory.mjs";
|
|
45
48
|
export * from "./SkillListResponse.mjs";
|
|
46
49
|
export * from "./SkillNotFinishedError.mjs";
|
|
47
50
|
export * from "./SkillNotFoundError.mjs";
|
|
@@ -63,6 +66,7 @@ export * from "./UnsupportedContentTypeError.mjs";
|
|
|
63
66
|
export * from "./UploadFilePresignedUrlResponse.mjs";
|
|
64
67
|
export * from "./UploadFileRequest.mjs";
|
|
65
68
|
export * from "./ValidationError.mjs";
|
|
69
|
+
export * from "./WorkflowCreateFromTaskResponse.mjs";
|
|
66
70
|
export * from "./WorkflowExecutionCreatedResponse.mjs";
|
|
67
71
|
export * from "./WorkflowExecutionItemView.mjs";
|
|
68
72
|
export * from "./WorkflowExecutionListResponse.mjs";
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export * from "./AccountNotFoundError.mjs";
|
|
2
2
|
export * from "./AccountView.mjs";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./AppApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
6
|
-
export * from "./AppApiV2SkillsViewsParameterSchema.mjs";
|
|
7
|
-
export * from "./AppApiV2SkillsViewsParameterType.mjs";
|
|
8
|
-
export * from "./AppViewsV2ErrorViewsInsufficientCreditsError.mjs";
|
|
3
|
+
export * from "./AppEndpointsApiV2MarketplaceSkillsViewsInsufficientCreditsError.mjs";
|
|
4
|
+
export * from "./AppEndpointsApiV2SkillsViewsInsufficientCreditsError.mjs";
|
|
9
5
|
export * from "./BadRequestErrorBody.mjs";
|
|
10
6
|
export * from "./BrowserSessionItemView.mjs";
|
|
11
7
|
export * from "./BrowserSessionListResponse.mjs";
|
|
@@ -13,9 +9,13 @@ export * from "./BrowserSessionStatus.mjs";
|
|
|
13
9
|
export * from "./BrowserSessionUpdateAction.mjs";
|
|
14
10
|
export * from "./BrowserSessionView.mjs";
|
|
15
11
|
export * from "./CannotDeleteSkillWhileGeneratingError.mjs";
|
|
12
|
+
export * from "./CannotRollbackPublicSkillError.mjs";
|
|
13
|
+
export * from "./CommonUtilsErrorsInsufficientCreditsError.mjs";
|
|
16
14
|
export * from "./ConcurrentSkillCreationsError.mjs";
|
|
17
15
|
export * from "./CreateSkillResponse.mjs";
|
|
18
16
|
export * from "./DownloadUrlGenerationError.mjs";
|
|
17
|
+
export * from "./EnabledSkillsLimitExceededError.mjs";
|
|
18
|
+
export * from "./ExecuteSkillRequest.mjs";
|
|
19
19
|
export * from "./ExecuteSkillResponse.mjs";
|
|
20
20
|
export * from "./FileView.mjs";
|
|
21
21
|
export * from "./GenerationNotCancellableError.mjs";
|
|
@@ -25,6 +25,8 @@ export * from "./MarketplaceSkillListResponse.mjs";
|
|
|
25
25
|
export * from "./MarketplaceSkillResponse.mjs";
|
|
26
26
|
export * from "./NotFoundErrorBody.mjs";
|
|
27
27
|
export * from "./OutputFileNotFoundError.mjs";
|
|
28
|
+
export * from "./ParameterSchema.mjs";
|
|
29
|
+
export * from "./ParameterType.mjs";
|
|
28
30
|
export * from "./PlanInfo.mjs";
|
|
29
31
|
export * from "./ProfileListResponse.mjs";
|
|
30
32
|
export * from "./ProfileNotFoundError.mjs";
|
|
@@ -42,6 +44,7 @@ export * from "./SessionUpdateAction.mjs";
|
|
|
42
44
|
export * from "./SessionView.mjs";
|
|
43
45
|
export * from "./ShareNotFoundError.mjs";
|
|
44
46
|
export * from "./ShareView.mjs";
|
|
47
|
+
export * from "./SkillCategory.mjs";
|
|
45
48
|
export * from "./SkillListResponse.mjs";
|
|
46
49
|
export * from "./SkillNotFinishedError.mjs";
|
|
47
50
|
export * from "./SkillNotFoundError.mjs";
|
|
@@ -63,6 +66,7 @@ export * from "./UnsupportedContentTypeError.mjs";
|
|
|
63
66
|
export * from "./UploadFilePresignedUrlResponse.mjs";
|
|
64
67
|
export * from "./UploadFileRequest.mjs";
|
|
65
68
|
export * from "./ValidationError.mjs";
|
|
69
|
+
export * from "./WorkflowCreateFromTaskResponse.mjs";
|
|
66
70
|
export * from "./WorkflowExecutionCreatedResponse.mjs";
|
|
67
71
|
export * from "./WorkflowExecutionItemView.mjs";
|
|
68
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
|
+
}
|
package/reference.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<dl>
|
|
13
13
|
<dd>
|
|
14
14
|
|
|
15
|
-
Get authenticated account information including credit
|
|
15
|
+
Get authenticated account information including credit balance and account details.
|
|
16
16
|
</dd>
|
|
17
17
|
</dl>
|
|
18
18
|
</dd>
|
|
@@ -131,9 +131,15 @@ await client.tasks.listTasks();
|
|
|
131
131
|
<dl>
|
|
132
132
|
<dd>
|
|
133
133
|
|
|
134
|
+
Create and start a new task.
|
|
135
|
+
|
|
134
136
|
You can either:
|
|
135
|
-
1. Start a new task (auto
|
|
136
|
-
2. Start a new task in an existing session (
|
|
137
|
+
1. Start a new task without a sessionId (auto-creates a session with US proxy by default)
|
|
138
|
+
2. Start a new task in an existing session (reuse for follow-up tasks or custom configuration)
|
|
139
|
+
|
|
140
|
+
Important: Proxy configuration (proxyCountryCode) is a session-level setting, not a task-level setting.
|
|
141
|
+
To use a custom proxy location, create a session first via POST /sessions with your desired proxyCountryCode,
|
|
142
|
+
then pass that sessionId when creating tasks.
|
|
137
143
|
</dd>
|
|
138
144
|
</dl>
|
|
139
145
|
</dd>
|
|
@@ -1512,16 +1518,18 @@ await client.browsers.listBrowserSessions();
|
|
|
1512
1518
|
|
|
1513
1519
|
Create a new browser session.
|
|
1514
1520
|
|
|
1515
|
-
**Pricing:** Browser sessions are charged
|
|
1516
|
-
|
|
1521
|
+
**Pricing:** Browser sessions are charged per hour with tiered pricing:
|
|
1522
|
+
- Pay As You Go users: $0.06/hour
|
|
1523
|
+
- Business/Scaleup subscribers: $0.03/hour (50% discount)
|
|
1524
|
+
|
|
1525
|
+
The full rate is charged upfront when the session starts.
|
|
1517
1526
|
When you stop the session, any unused time is automatically refunded proportionally.
|
|
1518
1527
|
|
|
1519
|
-
Billing is rounded to the
|
|
1520
|
-
For example, if you stop a session after 30 minutes, you'll be refunded
|
|
1528
|
+
Billing is rounded up to the minute (minimum 1 minute).
|
|
1529
|
+
For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
|
|
1521
1530
|
|
|
1522
1531
|
**Session Limits:**
|
|
1523
|
-
-
|
|
1524
|
-
- Paid subscribers: Up to 4 hours per session
|
|
1532
|
+
- All users: Up to 4 hours per session
|
|
1525
1533
|
</dd>
|
|
1526
1534
|
</dl>
|
|
1527
1535
|
</dd>
|
|
@@ -2077,7 +2085,72 @@ await client.skills.cancelGeneration({
|
|
|
2077
2085
|
<dl>
|
|
2078
2086
|
<dd>
|
|
2079
2087
|
|
|
2080
|
-
**request:** `BrowserUse.
|
|
2088
|
+
**request:** `BrowserUse.CancelGenerationSkillsSkillIdCancelPostRequest`
|
|
2089
|
+
|
|
2090
|
+
</dd>
|
|
2091
|
+
</dl>
|
|
2092
|
+
|
|
2093
|
+
<dl>
|
|
2094
|
+
<dd>
|
|
2095
|
+
|
|
2096
|
+
**requestOptions:** `Skills.RequestOptions`
|
|
2097
|
+
|
|
2098
|
+
</dd>
|
|
2099
|
+
</dl>
|
|
2100
|
+
</dd>
|
|
2101
|
+
</dl>
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
</dd>
|
|
2105
|
+
</dl>
|
|
2106
|
+
</details>
|
|
2107
|
+
|
|
2108
|
+
<details><summary><code>client.skills.<a href="/src/api/resources/skills/client/Client.ts">rollbackSkill</a>({ ...params }) -> BrowserUse.SkillResponse</code></summary>
|
|
2109
|
+
<dl>
|
|
2110
|
+
<dd>
|
|
2111
|
+
|
|
2112
|
+
#### 📝 Description
|
|
2113
|
+
|
|
2114
|
+
<dl>
|
|
2115
|
+
<dd>
|
|
2116
|
+
|
|
2117
|
+
<dl>
|
|
2118
|
+
<dd>
|
|
2119
|
+
|
|
2120
|
+
Rollback to the previous version (cannot be undone).
|
|
2121
|
+
</dd>
|
|
2122
|
+
</dl>
|
|
2123
|
+
</dd>
|
|
2124
|
+
</dl>
|
|
2125
|
+
|
|
2126
|
+
#### 🔌 Usage
|
|
2127
|
+
|
|
2128
|
+
<dl>
|
|
2129
|
+
<dd>
|
|
2130
|
+
|
|
2131
|
+
<dl>
|
|
2132
|
+
<dd>
|
|
2133
|
+
|
|
2134
|
+
```typescript
|
|
2135
|
+
await client.skills.rollbackSkill({
|
|
2136
|
+
skill_id: "skill_id"
|
|
2137
|
+
});
|
|
2138
|
+
|
|
2139
|
+
```
|
|
2140
|
+
</dd>
|
|
2141
|
+
</dl>
|
|
2142
|
+
</dd>
|
|
2143
|
+
</dl>
|
|
2144
|
+
|
|
2145
|
+
#### ⚙️ Parameters
|
|
2146
|
+
|
|
2147
|
+
<dl>
|
|
2148
|
+
<dd>
|
|
2149
|
+
|
|
2150
|
+
<dl>
|
|
2151
|
+
<dd>
|
|
2152
|
+
|
|
2153
|
+
**request:** `BrowserUse.RollbackSkillSkillsSkillIdRollbackPostRequest`
|
|
2081
2154
|
|
|
2082
2155
|
</dd>
|
|
2083
2156
|
</dl>
|
|
@@ -2125,7 +2198,8 @@ Execute a skill with the provided parameters.
|
|
|
2125
2198
|
|
|
2126
2199
|
```typescript
|
|
2127
2200
|
await client.skills.executeSkill({
|
|
2128
|
-
skill_id: "skill_id"
|
|
2201
|
+
skill_id: "skill_id",
|
|
2202
|
+
body: {}
|
|
2129
2203
|
});
|
|
2130
2204
|
|
|
2131
2205
|
```
|
|
@@ -2142,7 +2216,7 @@ await client.skills.executeSkill({
|
|
|
2142
2216
|
<dl>
|
|
2143
2217
|
<dd>
|
|
2144
2218
|
|
|
2145
|
-
**request:** `BrowserUse.
|
|
2219
|
+
**request:** `BrowserUse.ExecuteSkillSkillsSkillIdExecutePostRequest`
|
|
2146
2220
|
|
|
2147
2221
|
</dd>
|
|
2148
2222
|
</dl>
|
|
@@ -2320,7 +2394,7 @@ Get details of a specific public skill from the marketplace.
|
|
|
2320
2394
|
|
|
2321
2395
|
```typescript
|
|
2322
2396
|
await client.skillsMarketplace.getSkill({
|
|
2323
|
-
|
|
2397
|
+
skill_slug: "skill_slug"
|
|
2324
2398
|
});
|
|
2325
2399
|
|
|
2326
2400
|
```
|
|
@@ -2337,7 +2411,7 @@ await client.skillsMarketplace.getSkill({
|
|
|
2337
2411
|
<dl>
|
|
2338
2412
|
<dd>
|
|
2339
2413
|
|
|
2340
|
-
**request:** `BrowserUse.
|
|
2414
|
+
**request:** `BrowserUse.GetSkillMarketplaceSkillsSkillSlugGetRequest`
|
|
2341
2415
|
|
|
2342
2416
|
</dd>
|
|
2343
2417
|
</dl>
|
|
@@ -2357,7 +2431,7 @@ await client.skillsMarketplace.getSkill({
|
|
|
2357
2431
|
</dl>
|
|
2358
2432
|
</details>
|
|
2359
2433
|
|
|
2360
|
-
<details><summary><code>client.skillsMarketplace.<a href="/src/api/resources/skillsMarketplace/client/Client.ts">cloneSkill</a>({ ...params }) -> BrowserUse.
|
|
2434
|
+
<details><summary><code>client.skillsMarketplace.<a href="/src/api/resources/skillsMarketplace/client/Client.ts">cloneSkill</a>({ ...params }) -> BrowserUse.SkillResponse</code></summary>
|
|
2361
2435
|
<dl>
|
|
2362
2436
|
<dd>
|
|
2363
2437
|
|
|
@@ -2418,6 +2492,72 @@ await client.skillsMarketplace.cloneSkill({
|
|
|
2418
2492
|
</dl>
|
|
2419
2493
|
|
|
2420
2494
|
|
|
2495
|
+
</dd>
|
|
2496
|
+
</dl>
|
|
2497
|
+
</details>
|
|
2498
|
+
|
|
2499
|
+
<details><summary><code>client.skillsMarketplace.<a href="/src/api/resources/skillsMarketplace/client/Client.ts">executeSkill</a>({ ...params }) -> BrowserUse.ExecuteSkillResponse</code></summary>
|
|
2500
|
+
<dl>
|
|
2501
|
+
<dd>
|
|
2502
|
+
|
|
2503
|
+
#### 📝 Description
|
|
2504
|
+
|
|
2505
|
+
<dl>
|
|
2506
|
+
<dd>
|
|
2507
|
+
|
|
2508
|
+
<dl>
|
|
2509
|
+
<dd>
|
|
2510
|
+
|
|
2511
|
+
Execute a skill with the provided parameters.
|
|
2512
|
+
</dd>
|
|
2513
|
+
</dl>
|
|
2514
|
+
</dd>
|
|
2515
|
+
</dl>
|
|
2516
|
+
|
|
2517
|
+
#### 🔌 Usage
|
|
2518
|
+
|
|
2519
|
+
<dl>
|
|
2520
|
+
<dd>
|
|
2521
|
+
|
|
2522
|
+
<dl>
|
|
2523
|
+
<dd>
|
|
2524
|
+
|
|
2525
|
+
```typescript
|
|
2526
|
+
await client.skillsMarketplace.executeSkill({
|
|
2527
|
+
skill_id: "skill_id",
|
|
2528
|
+
body: {}
|
|
2529
|
+
});
|
|
2530
|
+
|
|
2531
|
+
```
|
|
2532
|
+
</dd>
|
|
2533
|
+
</dl>
|
|
2534
|
+
</dd>
|
|
2535
|
+
</dl>
|
|
2536
|
+
|
|
2537
|
+
#### ⚙️ Parameters
|
|
2538
|
+
|
|
2539
|
+
<dl>
|
|
2540
|
+
<dd>
|
|
2541
|
+
|
|
2542
|
+
<dl>
|
|
2543
|
+
<dd>
|
|
2544
|
+
|
|
2545
|
+
**request:** `BrowserUse.ExecuteSkillMarketplaceSkillsSkillIdExecutePostRequest`
|
|
2546
|
+
|
|
2547
|
+
</dd>
|
|
2548
|
+
</dl>
|
|
2549
|
+
|
|
2550
|
+
<dl>
|
|
2551
|
+
<dd>
|
|
2552
|
+
|
|
2553
|
+
**requestOptions:** `SkillsMarketplace.RequestOptions`
|
|
2554
|
+
|
|
2555
|
+
</dd>
|
|
2556
|
+
</dl>
|
|
2557
|
+
</dd>
|
|
2558
|
+
</dl>
|
|
2559
|
+
|
|
2560
|
+
|
|
2421
2561
|
</dd>
|
|
2422
2562
|
</dl>
|
|
2423
2563
|
</details>
|
|
@@ -2811,6 +2951,83 @@ await client.workflows.getWorkflowGenerationState({
|
|
|
2811
2951
|
</dl>
|
|
2812
2952
|
|
|
2813
2953
|
|
|
2954
|
+
</dd>
|
|
2955
|
+
</dl>
|
|
2956
|
+
</details>
|
|
2957
|
+
|
|
2958
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">createWorkflowFromTask</a>({ ...params }) -> BrowserUse.WorkflowCreateFromTaskResponse</code></summary>
|
|
2959
|
+
<dl>
|
|
2960
|
+
<dd>
|
|
2961
|
+
|
|
2962
|
+
#### 📝 Description
|
|
2963
|
+
|
|
2964
|
+
<dl>
|
|
2965
|
+
<dd>
|
|
2966
|
+
|
|
2967
|
+
<dl>
|
|
2968
|
+
<dd>
|
|
2969
|
+
|
|
2970
|
+
Create a workflow from an existing agent task's recorded history.
|
|
2971
|
+
|
|
2972
|
+
This endpoint creates a workflow by using the browser-use rerun history
|
|
2973
|
+
feature. The task must have completed with history stored in S3.
|
|
2974
|
+
|
|
2975
|
+
The workflow creation process:
|
|
2976
|
+
1. Creates a new workflow record in pending state
|
|
2977
|
+
2. Triggers an Inngest event to process the task history
|
|
2978
|
+
3. The Inngest handler downloads history, detects variables, and updates the workflow
|
|
2979
|
+
|
|
2980
|
+
Use GET /workflows/{workflow_id} to poll for creation completion.
|
|
2981
|
+
</dd>
|
|
2982
|
+
</dl>
|
|
2983
|
+
</dd>
|
|
2984
|
+
</dl>
|
|
2985
|
+
|
|
2986
|
+
#### 🔌 Usage
|
|
2987
|
+
|
|
2988
|
+
<dl>
|
|
2989
|
+
<dd>
|
|
2990
|
+
|
|
2991
|
+
<dl>
|
|
2992
|
+
<dd>
|
|
2993
|
+
|
|
2994
|
+
```typescript
|
|
2995
|
+
await client.workflows.createWorkflowFromTask({
|
|
2996
|
+
name: "name",
|
|
2997
|
+
taskId: "taskId",
|
|
2998
|
+
sessionId: "sessionId"
|
|
2999
|
+
});
|
|
3000
|
+
|
|
3001
|
+
```
|
|
3002
|
+
</dd>
|
|
3003
|
+
</dl>
|
|
3004
|
+
</dd>
|
|
3005
|
+
</dl>
|
|
3006
|
+
|
|
3007
|
+
#### ⚙️ Parameters
|
|
3008
|
+
|
|
3009
|
+
<dl>
|
|
3010
|
+
<dd>
|
|
3011
|
+
|
|
3012
|
+
<dl>
|
|
3013
|
+
<dd>
|
|
3014
|
+
|
|
3015
|
+
**request:** `BrowserUse.WorkflowCreateFromTaskRequest`
|
|
3016
|
+
|
|
3017
|
+
</dd>
|
|
3018
|
+
</dl>
|
|
3019
|
+
|
|
3020
|
+
<dl>
|
|
3021
|
+
<dd>
|
|
3022
|
+
|
|
3023
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3024
|
+
|
|
3025
|
+
</dd>
|
|
3026
|
+
</dl>
|
|
3027
|
+
</dd>
|
|
3028
|
+
</dl>
|
|
3029
|
+
|
|
3030
|
+
|
|
2814
3031
|
</dd>
|
|
2815
3032
|
</dl>
|
|
2816
3033
|
</details>
|