default stt.model -> medium (biggest accuracy gain for the coined wake word; small/large-v3 documented alternatives). seed faster-whisper with an initial_prompt derived from the configured wake phrases + command vocabulary (grammar.vocabulary / initial_prompt, one source — command synonyms now live in named _*_VERBS tuples). split the single fuzzy threshold into wake_fuzzy_threshold (0.6, lenient — a false wake is cheap) and command_fuzzy_threshold (0.8, tight — a false command fires the wrong action); grammar.parse() takes both. add a [vad] config section (silence_ms, max_seconds) for the existing Alexa-style record-until-pause endpointing, which captures a command whole and lets the trailing pause separate it from following chatter (that chatter is a separate capture the wake gate discards). bump to 0.1.3. Signed-off-by: disqualifier <dev@disqualifier.me>
31 lines
653 B
TOML
31 lines
653 B
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "claudedo"
|
|
version = "0.1.3"
|
|
description = "voice-control daemon for claude code (local STT -> tmux send-keys)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "Proprietary" }
|
|
authors = [{ name = "dsql" }]
|
|
dependencies = [
|
|
"sounddevice>=0.4.6",
|
|
"numpy>=1.24",
|
|
"faster-whisper>=1.0.0",
|
|
"tomli>=2.0; python_version < '3.11'",
|
|
]
|
|
|
|
[project.scripts]
|
|
claudedo = "claudedo.__main__:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.flake8]
|
|
max-line-length = 120
|