Commit Graph
2 Commits
Author SHA1 Message Date
DeryFerd f48753cec4 test(cli): run the launcher-migration smoke that had no caller
scripts/cli_install_smoke.py installs the bundled command with real uv in
temporary tool and config directories, replaces an existing desktop wrapper and
checks the wrapper's environment survives. Nothing referenced it, so the only
check of the launcher-migration path the installer ships could rot unnoticed.

Run it on the macOS and Linux legs of the install smoke, which already has uv,
and make the Windows branch a skip with a reason instead of a SystemExit. Add
tests/test_cli_install_smoke.py so the wiring cannot disappear again.

2 passed; removing the workflow step fails the guard with "no install-smoke step
runs scripts/cli_install_smoke.py". The end-to-end run happens on the POSIX CI
legs, since this host cannot run a #!/bin/sh wrapper.
2026-11-17 19:29:13 +07:00
mostafa-ismail-2004 4708ae9a51 feat(cli): add the voicestudio terminal command
Add a terminal command that drives the desktop app's local backend.

- The desktop app owns the backend. When no backend answers, the CLI
  starts the installed app in the background (no window); it publishes
  its address in backend.json and quits after 10 idle minutes. Opening
  the app later shows a window in the same process, so a terminal
  session and the GUI never run two backends.
- The backend reports activity (requests, jobs, downloads, installs,
  calls) at /system/activity so idle shutdown never interrupts work, and
  holds a kernel lock on its data directory so a second backend fails
  fast with an actionable message.
- `voicestudio stop` stops a background app; commands that only report
  state never start it, and `status` exits 3 when it is not running.
- Output is readable tables and fields chosen from each result's shape;
  `--json` prints the raw data and piped output is tab-separated.
- Tab completion for bash, zsh, fish and PowerShell
  (`voicestudio completion <shell>`), without building the command tree.
- `voicestudio update` opens the app's updater; the CLI itself makes no
  network requests.
- Settings → General shows the terminal command and can add it to PATH
  on request; shell profiles are only edited with that consent.
2026-11-05 18:18:58 +02:00