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:
@@ -190,9 +190,9 @@ wheels = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cohere"
|
||||
name = "cohere-transcribe"
|
||||
version = "0.1.0"
|
||||
source = { virtual = "." }
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "accelerate" },
|
||||
{ name = "huggingface-hub" },
|
||||
@@ -203,6 +203,7 @@ dependencies = [
|
||||
{ name = "soundfile" },
|
||||
{ name = "torch" },
|
||||
{ name = "transformers" },
|
||||
{ name = "typer" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
@@ -216,6 +217,7 @@ requires-dist = [
|
||||
{ name = "soundfile", specifier = ">=0.13.1" },
|
||||
{ name = "torch", specifier = ">=2.12.0" },
|
||||
{ name = "transformers", specifier = ">=5.9.0" },
|
||||
{ name = "typer", extras = ["all"], specifier = ">=0.15.0" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in New Issue
Block a user