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.

733 B
Raw Blame
{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "if [[ \"$CLAUDE_FILE_PATH\" == *dodaios/missions/* ]]; then ruff check \"$CLAUDE_FILE_PATH\" && mypy \"$CLAUDE_FILE_PATH\" 2>&1 | head -20; fi"
          },
          {
            "type": "command",
            "command": "case \"$CLAUDE_FILE_PATH\" in */docs/*|docs/*) PY=\"/c/Program Files/Python311/python.exe\"; [ -x \"$PY\" ] || PY=\"$(command -v python3 2>/dev/null || command -v python 2>/dev/null)\"; [ -n \"$PY\" ] && \"$PY\" \"${CLAUDE_PROJECT_DIR:-.}/scripts/ci/docs_privacy_scan.py\" \"$CLAUDE_FILE_PATH\" ;; esac"
          }
        ]
      }
    ]
  }
}