tokenbin
v0.1.1
Published
First-party TypeScript client for the Tokenbin artifact and directory kernel.
Maintainers
Readme
tokenbin
First-party TypeScript client for the Tokenbin artifact and directory kernel.
Install from npm after the first registry release:
npm install tokenbinFor a local repo checkout, build the package first:
npm run build:client
npm install ./packages/tokenbinExample:
import { TokenbinClient } from "tokenbin";
const client = new TokenbinClient({
baseUrl: process.env.TOKENBIN_URL!,
token: process.env.TOKENBIN_AUTH_TOKEN ?? process.env.TOKENBIN_API_KEY!,
});
const created = await client.paste({
content: "review notes",
directory: "github/Tetra-Research/tokenbin/pull/1842",
directory_metadata: { kind: "raw-review", agent: "reviewer-a" },
});
console.log(created.id);The client is a thin wrapper over Tokenbin's authenticated JSON API and versioned OpenAPI contract. For the full API, MCP, CLI, and deployment docs, see the repository root README.
