Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

chore: auto-save WIP via Claude stop-hook safety net (2026-07-01 18:31)

Ruben Lütke610aecedbf23
diff --git a/pyproject.toml b/pyproject.toml
index 2c32882d5b..581c04fb51 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -193,19 +193,25 @@ desktop-macos = [
"pyobjc-framework-ApplicationServices>=10; sys_platform == 'darwin'",
"pyobjc-framework-Accessibility>=10; sys_platform == 'darwin'",
]
-# Local (offline) voice + embedding engines. Heavyweight: silero-vad and
-# sentence-transformers each pull torch (a multi-hundred-MB wheel), and the
-# wake-word engines need audio + models — all useless on a headless VPS. Entirely
-# optional per the cloud-first doctrine (CLAUDE.md): the default VAD/STT/wake/
-# embedding paths are cloud-reachable, so the base install stays torch-free. Every
+# Local (offline) voice engines. Entirely optional per the cloud-first doctrine
+# (CLAUDE.md §3): the default VAD/STT/wake paths are cloud-reachable, so the base
+# install stays torch-free and this extra is opt-in (`--with-voice-local`). Every
# package here is lazy-imported in its provider, so the base `import jarvis` and
# the headless server boot without them.
+#
+# torch note: NONE of Jarvis's own code imports torch on any runtime path — the
+# VAD runs the bundled Silero ONNX via onnxruntime (jarvis/audio/vad.py), STT
+# uses ctranslate2 (faster-whisper), wake uses onnxruntime/tflite. torch is only
+# an UNUSED transitive dependency of the `silero-vad` package (its own model
+# loader imports it), so it arrives with this opt-in extra but is never executed;
+# a normal/base install pulls no torch and no NVIDIA/CUDA wheels at all.
+# `sentence-transformers` was removed 2026-07-01: it had ZERO importers in jarvis/
+# (an embedding vestige) yet dragged in torch + a large transformers/HF tree.
local-voice = [
"silero-vad>=5.1",
"webrtcvad-wheels>=2.0",
"pvporcupine>=3.0",
"openwakeword>=0.6",
- "sentence-transformers>=3.3",
]
[project.scripts]