diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 37fcefa..5fdd883 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "1.0.0"
+ ".": "1.1.0"
}
diff --git a/.stats.yml b/.stats.yml
index eeba574..808f944 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 26
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-ce018db4d6891d645cfb220c86d17ac1d431e1ba2f604e8015876b17a5a11149.yml
-openapi_spec_hash: e9a00924682ab214ca5d8b6b5c84430e
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-814bdd9f98b750d42a2b713a0a12b14fc5a0241ff820b2fbc7666ab2e9a5443f.yml
+openapi_spec_hash: 0dae4d4d33a3ec93e470f9546e43fad3
config_hash: dd3e22b635fa0eb9a7c741a8aaca2a7f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d39fddf..0bf3d39 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,14 @@
# Changelog
+## 1.1.0 (2025-08-20)
+
+Full Changelog: [v1.0.0...v1.1.0](https://github.com/browser-use/browser-use-node/compare/v1.0.0...v1.1.0)
+
+### Features
+
+* LLM key strings over LLM model enum ([415d734](https://github.com/browser-use/browser-use-node/commit/415d734d7f1c8cec85d3aee9f0e1050f31a7b1ac))
+* **mcp:** add code execution tool ([96e6aca](https://github.com/browser-use/browser-use-node/commit/96e6acad04252d075543b60a8de59f95648ca8a7))
+
## 1.0.0 (2025-08-19)
Full Changelog: [v0.7.0...v1.0.0](https://github.com/browser-use/browser-use-node/compare/v0.7.0...v1.0.0)
diff --git a/api.md b/api.md
index be74967..14e49d5 100644
--- a/api.md
+++ b/api.md
@@ -25,7 +25,6 @@ Methods:
Types:
- FileView
-- LlmModel
- TaskItemView
- TaskStatus
- TaskStepView
diff --git a/package.json b/package.json
index 3df189a..b27e731 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "browser-use-sdk",
- "version": "1.0.0",
+ "version": "1.1.0",
"description": "The official TypeScript library for the Browser Use API",
"author": "Browser Use ",
"types": "dist/index.d.ts",
@@ -53,7 +53,7 @@
"publint": "^0.2.12",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
- "tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz",
+ "tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz",
"tsconfig-paths": "^4.0.0",
"typescript": "5.8.3",
"typescript-eslint": "8.31.1",
diff --git a/src/client.ts b/src/client.ts
index 9ea96ab..019bfe2 100644
--- a/src/client.ts
+++ b/src/client.ts
@@ -35,7 +35,6 @@ import {
} from './resources/browser-profiles';
import {
FileView,
- LlmModel,
TaskCreateParams,
TaskCreateResponse,
TaskGetLogsResponse,
@@ -779,7 +778,6 @@ export declare namespace BrowserUse {
export {
Tasks as Tasks,
type FileView as FileView,
- type LlmModel as LlmModel,
type TaskItemView as TaskItemView,
type TaskStatus as TaskStatus,
type TaskStepView as TaskStepView,
diff --git a/src/resources/index.ts b/src/resources/index.ts
index 23500e6..6061ea2 100644
--- a/src/resources/index.ts
+++ b/src/resources/index.ts
@@ -28,7 +28,6 @@ export {
export {
Tasks,
type FileView,
- type LlmModel,
type TaskItemView,
type TaskStatus,
type TaskStepView,
diff --git a/src/resources/tasks.ts b/src/resources/tasks.ts
index 398e28c..cfffe12 100644
--- a/src/resources/tasks.ts
+++ b/src/resources/tasks.ts
@@ -403,33 +403,17 @@ export interface FileView {
fileName: string;
}
-export type LlmModel =
- | 'gpt-4o'
- | 'gpt-4o-mini'
- | 'gpt-4.1'
- | 'gpt-4.1-mini'
- | 'o4-mini'
- | 'o3'
- | 'gemini-2.0-flash'
- | 'gemini-2.0-flash-lite'
- | 'gemini-2.5-flash-preview-04-17'
- | 'gemini-2.5-flash'
- | 'gemini-2.5-pro'
- | 'claude-3-7-sonnet-20250219'
- | 'claude-sonnet-4-20250514'
- | 'llama-4-maverick-17b-128e-instruct';
-
/**
* View model for representing a task with its execution details
*
* Attributes: id: Unique identifier for the task session_id: ID of the session
- * this task belongs to llm: The LLM model used for this task task: The task
- * prompt/instruction given to the agent status: Current status of the task
- * execution started_at: Naive UTC timestamp when the task was started finished_at:
- * Naive UTC timestamp when the task completed (None if still running) metadata:
- * Optional additional metadata associated with the task set by the user
- * is_scheduled: Whether this task was created as a scheduled task steps: Optional
- * list of execution steps done_output: Final output/result of the task
+ * this task belongs to llm: The LLM model used for this task represented as a
+ * string task: The task prompt/instruction given to the agent status: Current
+ * status of the task execution started_at: Naive UTC timestamp when the task was
+ * started finished_at: Naive UTC timestamp when the task completed (None if still
+ * running) metadata: Optional additional metadata associated with the task set by
+ * the user is_scheduled: Whether this task was created as a scheduled task steps:
+ * Optional list of execution steps done_output: Final output/result of the task
* user_uploaded_files: Optional list of files uploaded by user for this task
* output_files: Optional list of files generated as output by this task
* browser_use_version: Version of browser-use used for this task (older tasks may
@@ -441,7 +425,7 @@ export interface TaskItemView {
isScheduled: boolean;
- llm: LlmModel;
+ llm: string;
sessionId: string;
@@ -511,24 +495,24 @@ export interface TaskStepView {
*
* Attributes: id: Unique identifier for the task session_id: ID of the session
* this task belongs to session: The session this task belongs to llm: The LLM
- * model used for this task task: The task prompt/instruction given to the agent
- * status: Current status of the task execution started_at: Naive UTC timestamp
- * when the task was started finished_at: Naive UTC timestamp when the task
- * completed (None if still running) metadata: Optional additional metadata
- * associated with the task set by the user is_scheduled: Whether this task was
- * created as a scheduled task steps: List of execution steps done_output: Final
- * output/result of the task user_uploaded_files: List of files uploaded by user
- * for this task output_files: List of files generated as output by this task
- * browser_use_version: Version of browser-use used for this task (older tasks may
- * not have this set) is_success: Whether the task was successful (self-reported by
- * the agent)
+ * model used for this task represented as a string task: The task
+ * prompt/instruction given to the agent status: Current status of the task
+ * execution started_at: Naive UTC timestamp when the task was started finished_at:
+ * Naive UTC timestamp when the task completed (None if still running) metadata:
+ * Optional additional metadata associated with the task set by the user
+ * is_scheduled: Whether this task was created as a scheduled task steps: List of
+ * execution steps done_output: Final output/result of the task
+ * user_uploaded_files: List of files uploaded by user for this task output_files:
+ * List of files generated as output by this task browser_use_version: Version of
+ * browser-use used for this task (older tasks may not have this set) is_success:
+ * Whether the task was successful (self-reported by the agent)
*/
export interface TaskView {
id: string;
isScheduled: boolean;
- llm: LlmModel;
+ llm: string;
outputFiles: Array;
@@ -704,7 +688,18 @@ export namespace TaskCreateParams {
* of the agent profile to use for the task
*/
export interface AgentSettings {
- llm?: TasksAPI.LlmModel;
+ llm?:
+ | 'gpt-4.1'
+ | 'gpt-4.1-mini'
+ | 'o4-mini'
+ | 'o3'
+ | 'gemini-2.5-flash'
+ | 'gemini-2.5-pro'
+ | 'claude-sonnet-4-20250514'
+ | 'gpt-4o'
+ | 'gpt-4o-mini'
+ | 'llama-4-maverick-17b-128e-instruct'
+ | 'claude-3-7-sonnet-20250219';
profileId?: string | null;
@@ -769,7 +764,6 @@ export interface TaskGetUserUploadedFileParams {
export declare namespace Tasks {
export {
type FileView as FileView,
- type LlmModel as LlmModel,
type TaskItemView as TaskItemView,
type TaskStatus as TaskStatus,
type TaskStepView as TaskStepView,
diff --git a/src/version.ts b/src/version.ts
index bea2896..c80f975 100644
--- a/src/version.ts
+++ b/src/version.ts
@@ -1 +1 @@
-export const VERSION = '1.0.0'; // x-release-please-version
+export const VERSION = '1.1.0'; // x-release-please-version
diff --git a/tests/api-resources/tasks.test.ts b/tests/api-resources/tasks.test.ts
index adaca39..720b29d 100644
--- a/tests/api-resources/tasks.test.ts
+++ b/tests/api-resources/tasks.test.ts
@@ -25,7 +25,7 @@ describe('resource tasks', () => {
const response = await client.tasks.create({
task: 'x',
agentSettings: {
- llm: 'gpt-4o',
+ llm: 'gpt-4.1',
profileId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
startUrl: 'startUrl',
},
diff --git a/yarn.lock b/yarn.lock
index 408b735..0551ce4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3303,9 +3303,9 @@ ts-node@^10.5.0:
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"
-"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz":
- version "1.1.8"
- resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz#f544b359b8f05e607771ffacc280e58201476b04"
+"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz":
+ version "1.1.9"
+ resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz#777f6f5d9e26bf0e94e5170990dd3a841d6707cd"
dependencies:
debug "^4.3.7"
fast-glob "^3.3.2"