feat: add Typer CLI with daemon mode and wtype keyboard injection
Replace argparse CLI with Typer-based CLI supporting `cohere on/off/status` commands. The daemon runs transcription in the background and types into the focused Wayland window via wtype. Adds wtype to flake.nix and fixes the hatchling build backend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -14,14 +14,16 @@ dependencies = [
|
||||
"soundfile>=0.13.1",
|
||||
"torch>=2.12.0",
|
||||
"transformers>=5.9.0",
|
||||
"typer[all]>=0.15.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
cohere = "cohere_transcribe.cli:main"
|
||||
cohere-transcribe = "cohere_transcribe.cli:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.backends"
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/cohere_transcribe"]
|
||||
|
||||
Reference in New Issue
Block a user