feat(speech): the speech capability over Cap'n Web, behind a gate
check / check (push) Canceled after 0s

The agent's ears and voice: a server on the home server transcribes
a clip (sox, whisper.cpp) and speaks text (piper), one job at a time.
A gate hands the capability to whoever presents its key; the key comes
from systemd's credentials, not argv.

make test runs the unit tests in Nix's sandbox; make smoke starts a
real server on localhost, speaks a phrase, and hears it back.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-02 15:42:05 -06:00
1 parent a6e8f97b9f
commit b3e4eb0336
20 files changed
+621

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
{
"name": "pdtv26-speech",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pdtv26-speech",
"version": "0.1.0",
"license": "Apache-2.0",
"dependencies": {
"capnweb": "0.13.1",
"ws": "8.23.1"
}
},
"node_modules/capnweb": {
"version": "0.13.1",
"resolved": "https://registry.npmjs.org/capnweb/-/capnweb-0.13.1.tgz",
"integrity": "sha512-JEE/MYKv41blYv5MGGzKiT3DT4qz00AQ+NsmPSdVFVSKuy2/ggUI4aDGJO+jEvAXNXuZURoxo7hCfx+VKbM32g==",
"license": "MIT"
},
"node_modules/ws": {
"version": "8.23.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.23.1.tgz",
"integrity": "sha512-1rzWDSN0NOi3tpwgHsQExjWRoKUGtjCkJ2gZRaaRtzhYLboMytOI9pj9PU7yCgY37auqdd4OyLofZDbkeuZmPA==",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
}
}
}