* feat(protocol): let older readers accept newer wire messages A field or variant added by a newer daemon, app, or plugin made an older reader reject the whole message: strict objects failed on any unknown key, and one unknown tag in a list (a timeline item, a tool detail, a prompt content block) failed the page, the RPC, or the provider event. Wire objects now strip unknown keys, and readers parse through safeParseSkippingUnknownVariants: when the only failures are unknown tags or enum values inside lists, those elements are removed and the value is validated once more. Schemas stay closed so consumer switches stay exhaustive and the generated validators need no catch-all branch; the reader works on issues, so the generated validator and Zod agree. An unknown variant outside a list still fails that one message, flagged unknownVariant. config.json stays strict through local strict copies so typos still fail, the browser automation request stays strict so legacy tab targeting is rejected, and plugin hook results stay strict so a host without wrap fails closed. * docs(plugins): plugins read the provider protocol with the host SDK
@getpaseo/client
TypeScript SDK for building integrations on top of a Paseo daemon.
npm install @getpaseo/client
import { createPaseoClient } from "@getpaseo/client";
const client = createPaseoClient({ url: "ws://127.0.0.1:6767/ws" });
await client.connect();
const agent = await client.agents.create({
config: { provider: "codex/gpt-5.5" },
cwd: "/Users/me/dev/storefront",
prompt: "Review the current diff and name the riskiest change.",
});
const result = await agent.waitForFinish();
console.log(result.lastMessage);
await client.close();
The public API is the package root. Imports under @getpaseo/client/internal/* are unsupported implementation details used by Paseo's own packages.
Read the SDK documentation for agents, workspaces, terminals, provider discovery, events, recipes, and the API reference. Runnable TypeScript patterns also live in examples/.
Runtime
The client needs a WebSocket implementation. Modern browsers and Node.js 22 provide one globally.
Use a WebSocket URL ending in /ws, such as ws://127.0.0.1:6767/ws. Pass password when the daemon requires authentication.
The client advertises its supported protocol capabilities by default. Optional capabilities
overrides extend or override that declaration; browser hosting must be supplied by the caller.
Connecting alone does not subscribe to agent timelines or catalog events. See the
event guide for subscription lifetimes and timeline replacements.
Stability
The high-level API exported from @getpaseo/client is the supported SDK surface. The SDK and daemon remain protocol-compatible across versions, but newly added capabilities can require a newer daemon.