mirror of
https://github.com/Kynde/dais.git
synced 2026-10-20 08:32:28 +02:00
v1.2.0
Durable persistence means a picked target stays picked even after its pane dies — which is right, since dais-driven panes come and go. Release is the missing complement: how you say you are done with one and hand the digit back to the picker. state/daemon: - state/release-slot: refuses an unknown slot and the LAST remaining slot, and moves :active-slot to the next survivor when the active one goes. load-targets only honors the durable overlay while (get targets active-slot) resolves, so a dangling active slot would silently discard every persisted target on the next daemon start. - target action "release"; persists through transition!'s existing :targets watch, so a release sticks across restarts exactly like a pick does. dais-ctl: target release <slot>, plus slot completion in _dais-ctl. dais-top: x then 1-5, sticky footer prompt, ? entry. It takes a digit rather than acting on the picker's highlighted row because the usual reason to release a slot is that its pane is GONE — and a gone pane has no row in the picker, which only lists live tmux panes. Also fixes the startup banner: it printed (:targets cfg) — config, not the durable overlay the daemon actually runs with — so it misreported every picked or released slot on every restart. Now reads the state atom, sorted, with * marking the active slot. config: drop the retired system:claude.0 slot. ai/gotchas.md records two things this turned up: the :active-slot-must-resolve invariant, and tmux pane_index being positional — closing a pane renumbers those after it, so a stored "s:w.2" silently retargets while still reading alive and green.
…
…
…
dais — Do As I Say
Personal Linux voice control for controlling TUI coding agents for Linux.
Dais transcribes locally and routes each uttterance as either a command or dictation. The output is delivered to a tmux pane or the focused app.
The core idea here is that the agent receiving the voice input can clean up the transcript. All that's needed is to inform the agent about it, and for this there's the brief prompt for that.
mic · VAD · transcription
|
daemon --> commands ---\
| |
\------> dictation -------> tmux paste / ydotool
Primary motivation: hands-free coding in the car
- dais voice controls an agent session
- airc Tmux remote control supporting remote viewing in a browser (e.g. Tesla) and has Android app for also controlling.
Deprecated
- swyd First phase tmux viewer written for Tesla's browser. The features were merged into airc, and swyd is now deprecated.
Run
systemctl --user start dais # unit: tools/dais.service (enabled here)
tools/dais-ctl status
tools/dais-vad # open mic; say "voice off" to stop
See tools/README.md for the tools and the voice-command reference.
Reading order
FABLE_PLAN.md— design decisions with rationale, milestone status.tools/README.md— usage, examples, voice commands.BRIEF.md— the notice a driven agent should read (dais-ctl brief).AGENTS.md+ai/— for coding agents working on this repo.GOAL.md,CODEX_PLAN.md— original goal notes and an alternative plan.
Languages
Clojure
69.4%
JavaScript
22.4%
Python
7.9%
Shell
0.3%
