TypeScript SDK
The official TypeScript SDK provides type-safe access to the Chaser API for session management, workspaces, command execution, file operations, browser CDP, accounts, billing, webhooks, audit, and jobs.
Install
Create a client
The account parameter maps to the X-Chaser-Account header, so one client can target a personal or organization context.
Sessions
Command execution
Workspaces
Files
Port forwarding
Browser CDP
client.browser.connect() waits for readiness, fetches /json/version, and opens a WebSocket CDP connection.
Organizations and service accounts
Scope
The SDK covers the core Chaser API surface. It does not include CHASM assistant management or act as an MCP transport wrapper. For MCP usage, call POST /v1/mcp directly.
