mirror of
https://github.com/Kynde/dais.git
synced 2026-10-20 08:32:28 +02:00
- Clojure daemon: ndjson unix-socket control API (publish/control/target/ query/events/replay), JSONL audit log with replay-by-trace, state.json + mic-recording/speech-detected markers, timeout-only notifications - Router with whole-match keypress grammar (ported from lausu), :prefix and :key-armed fallback strategies, enter-modes, armed single-shot - Delivery backends: tmux (load-buffer/paste-buffer + send-keys, list-panes existence check) and focus (ydotool type/key with keycode chords) - Resident ear worker (pixi/faster-whisper): manual latch via pw-record, model loaded once; daemon supervises and syncs mode transitions (voice-off discards a recording, F10 stop transcribes it) - tools/: dais-ctl (node) + KDE-safe sh toggles dais-vad/dais-rec/dais-esc - 36 tests / 135 assertions; live acceptance: 3s latch recording transcribed in ~1s and routed to a type-text plan
13 lines
464 B
Clojure
13 lines
464 B
Clojure
{:paths ["src"]
|
|
:deps {org.clojure/clojure {:mvn/version "1.12.0"}
|
|
org.clojure/data.json {:mvn/version "2.5.1"}}
|
|
:aliases
|
|
{;; Run the daemon: clojure -M:daemon [--dry-run]
|
|
:daemon {:main-opts ["-m" "dais.daemon"]}
|
|
|
|
;; Run tests: clojure -X:test
|
|
:test {:extra-paths ["test"]
|
|
:extra-deps {io.github.cognitect-labs/test-runner
|
|
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
|
|
:exec-fn cognitect.test-runner.api/test}}}
|