feat(detmir): add rust-first operations tooling

This commit is contained in:
igor04091968
2026-06-02 17:57:58 +03:00
parent 60670d30a8
commit 19e3682bc8
263 changed files with 51678 additions and 718 deletions
@@ -2,9 +2,14 @@
set -euo pipefail
BASE_DIR="/opt/activitywatch/dlp-content-analysis"
RUST_ANALYZER="/usr/local/bin/aw-dlp-content-analyzer-rust"
VENV_PY="$BASE_DIR/.venv/bin/python"
ANALYZER="$BASE_DIR/content_analyzer.py"
if [ -x "$RUST_ANALYZER" ]; then
exec "$RUST_ANALYZER" "$@"
fi
if [ ! -x "$VENV_PY" ]; then
echo "ERROR: content-analysis virtualenv is missing: $VENV_PY" >&2
exit 1