@poly-ai/adk-node
v0.0.11
Published
TypeScript wrapper for pure PolyAI ADK N-API workflows.
Readme
@poly-ai/adk-node
N-API wrapper for pure PolyAI ADK workflows.
This crate is a thin synchronous adapter over adk-core. It accepts
TypeScript-friendly file maps and projection JSON strings, loads them into an
in-memory filesystem, and returns pull snapshots or push command batch bytes.
The colocated npm package exposes the public TypeScript API. It accepts
projection objects, serializes them before crossing the native boundary, and
normalizes native failures into AdkNapiError.
npm install
npm testThe native binding is built by NAPI-RS as part of npm test. The generated
.node binary and TypeScript build output are intentionally ignored by Git.
To smoke test the shared wrapper tests against the package currently published to npm, run:
npm run test:publishedThe published-package smoke test installs @poly-ai/adk-node@rc into
published-smoke/, a tiny checked-in npm package that imports the package the
same way a downstream service would.
