Skip to content

Tags: toma/vad

Tags

v1.0.1

Toggle v1.0.1's commit message
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.

v1.0.0

Toggle v1.0.0's commit message
Init VAD