Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.14.1"
".": "2.15.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-f39b852755134d01a440f7c37701f6c5397f43d13740d9ba08739cae488382a7.yml
openapi_spec_hash: de6c25eebe5026d0fb9a4d7a93ec7718
config_hash: d4b0c534eaf7665ea25168e0e824c9d3
configured_endpoints: 36
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-e82c289d3d3aabd936a476cf81630587ffe46ab9e9bdebced4b31b8c2f9bc08f.yml
openapi_spec_hash: 473121b283812a3dfd866afe9b61dc7d
config_hash: 1b24ea9fa13645b16b74aa794dbc8190
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 2.15.0 (2026-07-02)

Full Changelog: [v2.14.1...v2.15.0](https://github.com/browserbase/sdk-node/compare/v2.14.1...v2.15.0)

### Features

* [CORE-000][apps/sdk] Add agents to SDK ([1f1fb26](https://github.com/browserbase/sdk-node/commit/1f1fb26aaa11928cdc6b26baa7452c8577ea206c))


### Documentation

* document and un-gate allowedDomains session setting ([d18989f](https://github.com/browserbase/sdk-node/commit/d18989f3085093d85cf8e52825c8920ce753e7b9))

## 2.14.1 (2026-06-18)

### Bug Fixes
Expand Down
33 changes: 33 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,36 @@ Methods:

- <code title="get /v1/sessions/{id}/replays">client.sessions.replays.<a href="./src/resources/sessions/replays.ts">retrieve</a>(id) -> ReplayRetrieveResponse</code>
- <code title="get /v1/sessions/{id}/replays/{pageId}">client.sessions.replays.<a href="./src/resources/sessions/replays.ts">retrievePage</a>(id, pageId) -> Response</code>

# Agents

Types:

- <code><a href="./src/resources/agents/agents.ts">AgentCreateResponse</a></code>
- <code><a href="./src/resources/agents/agents.ts">AgentRetrieveResponse</a></code>
- <code><a href="./src/resources/agents/agents.ts">AgentUpdateResponse</a></code>
- <code><a href="./src/resources/agents/agents.ts">AgentListResponse</a></code>

Methods:

- <code title="post /v1/agents">client.agents.<a href="./src/resources/agents/agents.ts">create</a>({ ...params }) -> AgentCreateResponse</code>
- <code title="get /v1/agents/{agentId}">client.agents.<a href="./src/resources/agents/agents.ts">retrieve</a>(agentId) -> AgentRetrieveResponse</code>
- <code title="patch /v1/agents/{agentId}">client.agents.<a href="./src/resources/agents/agents.ts">update</a>(agentId, { ...params }) -> AgentUpdateResponse</code>
- <code title="get /v1/agents">client.agents.<a href="./src/resources/agents/agents.ts">list</a>({ ...params }) -> AgentListResponse</code>
- <code title="delete /v1/agents/{agentId}">client.agents.<a href="./src/resources/agents/agents.ts">delete</a>(agentId) -> void</code>

## Runs

Types:

- <code><a href="./src/resources/agents/runs.ts">RunCreateResponse</a></code>
- <code><a href="./src/resources/agents/runs.ts">RunRetrieveResponse</a></code>
- <code><a href="./src/resources/agents/runs.ts">RunListResponse</a></code>
- <code><a href="./src/resources/agents/runs.ts">RunListMessagesResponse</a></code>

Methods:

- <code title="post /v1/agents/runs">client.agents.runs.<a href="./src/resources/agents/runs.ts">create</a>({ ...params }) -> RunCreateResponse</code>
- <code title="get /v1/agents/runs/{runId}">client.agents.runs.<a href="./src/resources/agents/runs.ts">retrieve</a>(runId) -> RunRetrieveResponse</code>
- <code title="get /v1/agents/runs">client.agents.runs.<a href="./src/resources/agents/runs.ts">list</a>({ ...params }) -> RunListResponse</code>
- <code title="get /v1/agents/runs/{runId}/messages">client.agents.runs.<a href="./src/resources/agents/runs.ts">listMessages</a>(runId, { ...params }) -> RunListMessagesResponse</code>
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@browserbasehq/sdk",
"version": "2.14.1",
"version": "2.15.0",
"description": "The official Node.js library for the Browserbase API",
"author": "Browserbase <support@browserbase.com>",
"license": "Apache-2.0",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
Expand Down
23 changes: 23 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ import { Extension, ExtensionCreateParams, Extensions } from './resources/extens
import { FetchAPI, FetchAPICreateParams, FetchAPICreateResponse } from './resources/fetch-api';
import { Project, ProjectListResponse, ProjectUsage, Projects } from './resources/projects';
import { Search, SearchWebParams, SearchWebResponse } from './resources/search';
import {
AgentCreateParams,
AgentCreateResponse,
AgentListParams,
AgentListResponse,
AgentRetrieveResponse,
AgentUpdateParams,
AgentUpdateResponse,
Agents,
} from './resources/agents/agents';
import {
Session,
SessionCreateParams,
Expand Down Expand Up @@ -171,6 +181,7 @@ export class Browserbase extends Core.APIClient {
projects: API.Projects = new API.Projects(this);
search: API.Search = new API.Search(this);
sessions: API.Sessions = new API.Sessions(this);
agents: API.Agents = new API.Agents(this);

/**
* Check whether the base URL is set to its default.
Expand Down Expand Up @@ -222,6 +233,7 @@ Browserbase.FetchAPI = FetchAPI;
Browserbase.Projects = Projects;
Browserbase.Search = Search;
Browserbase.Sessions = Sessions;
Browserbase.Agents = Agents;

export declare namespace Browserbase {
export type RequestOptions = Core.RequestOptions;
Expand Down Expand Up @@ -277,6 +289,17 @@ export declare namespace Browserbase {
type SessionUpdateParams as SessionUpdateParams,
type SessionListParams as SessionListParams,
};

export {
Agents as Agents,
type AgentCreateResponse as AgentCreateResponse,
type AgentRetrieveResponse as AgentRetrieveResponse,
type AgentUpdateResponse as AgentUpdateResponse,
type AgentListResponse as AgentListResponse,
type AgentCreateParams as AgentCreateParams,
type AgentUpdateParams as AgentUpdateParams,
type AgentListParams as AgentListParams,
};
}

export { toFile, fileFromPath } from './uploads';
Expand Down
3 changes: 3 additions & 0 deletions src/resources/agents.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export * from './agents/index';
Loading
Loading