@miao-ai/client
v0.1.1
Published
Transport-independent client for the Miao Runtime Protocol
Downloads
264
Maintainers
Readme
@miao-ai/client
Transport-independent TypeScript client for miao.runtime/v1.
npm install @miao-ai/[email protected]The package provides correlated requests, typed Runtime operations, event
subscriptions, cancellation, structured errors, bounded queues, and Host
Capability routing. Supply an implementation of MiaoTransport and call
connect() before using the Runtime facade.
Node.js applications normally use @miao-ai/node, which supplies process,
socket, HTTP/SSE, and WebSocket transports.
Host Capability handlers should declare input/output schemas, enforce a finite
deadline, and propagate context.signal. Write capabilities always traverse
Runtime policy and approval.
Runtime and SDK versions are independent. The current release pairs SDK 0.1.1
with Runtime 0.22.1; compatibility is negotiated through the protocol
descriptor.
Licensed under MIT OR Apache-2.0.
