@omicverse/omicos-client
v0.1.1
Published
Typed SDK for omicos-core: HTTP+SSE transports, TurnController chat state machine, auth flows, figure resolution.
Maintainers
Readme
@omicverse/omicos-client
Typed SDK for omicos-core: HTTP + SSE transports, the
TurnController chat state machine, auth flows, kernel and catalog reads, and
figure resolution.
npm install @omicverse/omicos-clientimport { HttpCoreTransport, getKernelVars } from '@omicverse/omicos-client'
const transport = new HttpCoreTransport('http://127.0.0.1:5056')
const { vars } = await getKernelVars(transport)Paths this SDK constructs are checked against core's route table before the
request goes out: on a real server an unmatched /api/* path does not 404, it
silently proxies to the cloud with the user's bearer token — so a typo must fail
loudly on the client instead.
GPL-3.0-only
