Tags: toma/vad
Tags
Convert VAD server into an embeddable npm library Reshape the package from a Bun HTTP/WebSocket server into a Node + Bun library where callers point each detector at local ONNX model files. - RealtimeVAD and EndOfTurnDetector now take modelPath (and tokenizerPath for EOT) in their constructors; no HuggingFace downloads at runtime. - Drop server harness (src/index.ts), HF downloader (utils/hf.ts), env schema, logger, EOT test script, Dockerfile, .dockerignore, and Zod. - Build to dist/ via tsc; explicit .js extensions in source so Node ESM resolves the output correctly. - Update CI to also run build; publish workflow runs build before npm publish. - Rewrite README around the library API.