@baguette-studios/kernl-client
v0.1.2
Published
Browser-safe Kernl client, session transport, and capability snapshot contracts.
Readme
@baguette-studios/kernl-client
Browser-safe client for appending user messages and browser tool results to the Kernl hosted service. It also defines the capability snapshot and browser event contracts used by framework SDKs.
npm install @baguette-studios/kernl-clientimport { createKernlSessionClient } from "@baguette-studios/kernl-client";
const client = createKernlSessionClient({
projectId: "your-project",
clientKey: "kernlpk_live_...",
baseUrl: "https://api.kernl.dev",
session: { id: "conversation:123" }
});This package is a client SDK. It does not contain the private Kernl hosted runtime, provider execution, control-plane validation, storage, queues, or model credentials.
Most React applications can use the client configuration on @baguette-studios/kernl-react without importing this package directly.
See the session protocol for the wire contract.
