STT_PROVIDER now defaults to "builtin": Whisper (onnx-community/whisper-base, q8) runs in the bridge process on the CPU via @huggingface/transformers, so no provider account is needed and recordings stay on the bridge host. Silent captures are detected by level before the model runs. The external OpenAI-compatible adapter remains available. Tests: 130 unit/integration; 4 scenarios with the real model on a real speech recording (npm run test:real-stt). Not tested on audio from the glasses or on a droplet. deploy/ and docs/deploy-droplet.md are examples that have not been run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
24 lines
513 B
JSON
24 lines
513 B
JSON
{
|
|
"name": "@hermeven/bridge",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "tsx src/main.ts",
|
|
"cli": "tsx src/cli.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.4.3",
|
|
"@hermeven/contracts": "*",
|
|
"@huggingface/transformers": "^4.3.2",
|
|
"@sinclair/typebox": "^0.34.52",
|
|
"better-sqlite3": "^13.2.0",
|
|
"fastify": "^5.12.8",
|
|
"pino": "^10.4.0",
|
|
"tsx": "^4.23.15"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^9.6.0"
|
|
}
|
|
}
|