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 19:57)

Ruben Lütkec364a928be67
diff --git a/install/README.md b/install/README.md
index 79918554e9..81d17f0eb3 100644
--- a/install/README.md
+++ b/install/README.md
@@ -108,4 +108,4 @@ Before that flip:
- CI smoke workflow `.github/workflows/install-test.yml` — fresh runner per platform, fakes API keys, asserts exit code 0.
- `personal-jarvis update` console script — opencode parity.
- Vercel shortener `jarvis-install.vercel.app` → raw.githubusercontent.com.
-- `pyproject.toml` extras split (base / `[desktop]` / `[voice-local]`) so the headless Linux path doesn't drag in `pywin32`.
+- `pyproject.toml` extras split (base / `[desktop]` / `[local-voice]`) so the headless Linux path doesn't drag in `pywin32`.
diff --git a/install/installer.py b/install/installer.py
index fae2207ce8..8a1dcdd130 100644
--- a/install/installer.py
+++ b/install/installer.py
@@ -10,7 +10,7 @@ Steps:
2. Install Personal Jarvis editable + runtime deps via pip.
3. Optionally install the ``[desktop]`` extras (Windows + macOS GUI
users; skipped on headless Linux servers unless ``--with-desktop``).
- 4. Optionally install ``[voice-local]`` extras (faster-whisper, Silero,
+ 4. Optionally install ``[local-voice]`` extras (faster-whisper, Silero,
openWakeWord). Off by default — 1.5 GB model download.
5. Run the existing first-run wizard (``python -m jarvis --wizard``)
unless ``--no-wizard``.
@@ -192,8 +192,8 @@ def step_pip_install(*, with_desktop: bool, with_voice_local: bool, dry_run: boo
if with_desktop:
plans.append(("desktop extras", pip + ["install", "-e", ".[desktop]"]))
if with_voice_local:
- plans.append(("voice-local extras (faster-whisper, Silero, openWakeWord)",
- pip + ["install", "-e", ".[voice-local]"]))
+ plans.append(("local-voice extras (faster-whisper, Silero, openWakeWord)",
+ pip + ["install", "-e", ".[local-voice]"]))
note("this can take a minute — grabbing dependencies")
diff --git a/jarvis/__init__.py b/jarvis/__init__.py
index ee97504afe..b1890b5e34 100644
--- a/jarvis/__init__.py
+++ b/jarvis/__init__.py
@@ -1,3 +1,3 @@
-"""Personal Jarvis — voice-driven meta-orchestrator for Windows 11."""
+"""Personal Jarvis — a voice-driven, cross-platform meta-orchestrator."""
-__version__ = "0.1.0"
+__version__ = "1.0.0"
diff --git a/jarvis/core/paths.py b/jarvis/core/paths.py
index ce41f32314..1627a9e788 100644
--- a/jarvis/core/paths.py
+++ b/jarvis/core/paths.py
@@ -12,6 +12,7 @@ go through the getters defined here.
from __future__ import annotations
import os
+import sys
from pathlib import Path
@@ -128,11 +129,14 @@ def desktop_mirror_dir() -> Path:
def ensure_session_output_dir(slug: str) -> tuple[Path, Path]:
- """Create the canonical session directory and a Desktop junction (mirror).
+ """Create the canonical session directory and (on Windows) a Desktop junction.
Returns:
- (canonical, mirror) — mirror is a Windows directory junction.
- If creating the junction fails, canonical is still returned.
+ (canonical, mirror) — on Windows ``mirror`` is a directory junction into
+ ``canonical`` for one-click Desktop access. On macOS/Linux (including a
+ headless server with no Desktop) the junction is skipped and ``mirror``
+ equals ``canonical``, so callers always receive a usable path and no
+ stray ``~/Desktop/Jarvis-Output`` folder is created.
"""
import subprocess
@@ -140,6 +144,13 @@ def ensure_session_output_dir(slug: str) -> tuple[Path, Path]:
canonical = user_outputs_dir() / slug
canonical.mkdir(parents=True, exist_ok=True)
+
+ # The Desktop mirror is a Windows directory junction (``mklink /J``) — a
+ # convenience, never a core path. Skip it entirely off Windows so a headless
+ # VPS or a Mac never grows an empty ``~/Desktop/Jarvis-Output`` directory.
+ if sys.platform != "win32":
+ return canonical, canonical
+
mirror_root = desktop_mirror_dir()
mirror_root.mkdir(parents=True, exist_ok=True)
mirror = mirror_root / slug
diff --git a/jarvis/plugins/stt/__init__.py b/jarvis/plugins/stt/__init__.py
index 8840147927..af60a20e47 100644
--- a/jarvis/plugins/stt/__init__.py
+++ b/jarvis/plugins/stt/__init__.py
@@ -164,9 +164,13 @@ def _build_local_fallback(stt_cfg: Any, language: str | None) -> Any:
from jarvis.plugins.stt.fwhisper import FasterWhisperProvider
return FasterWhisperProvider(
+ # CPU-safe defaults: a stranger with no NVIDIA GPU is the baseline, not
+ # the maintainer's card. If a real STTConfig is passed its explicit
+ # device/compute_type win; the getattr defaults only bite duck-typed
+ # stubs, and they must presume no GPU (fwhisper still self-heals to CPU).
model=getattr(stt_cfg, "model", "distil-large-v3"),
- device=getattr(stt_cfg, "device", "cuda"),
- compute_type=getattr(stt_cfg, "compute_type", "int8_float16"),
+ device=getattr(stt_cfg, "device", "cpu"),
+ compute_type=getattr(stt_cfg, "compute_type", "int8"),
language=language,
)