{
  "name": "psyche-platform",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "projectType": "library",
  "sourceRoot": "libs/psyche",
  "tags": ["scope:psyche", "type:platform", "lang:python"],
  "implicitDependencies": [
    "psyche-auth",
    "psyche-database",
    "psyche-cache",
    "psyche-state-sync",
    "psyche-messaging",
    "psyche-storage",
    "psyche-logging",
    "psyche-tracing",
    "psyche-common",
    "psyche-avatar-training",
    "psyche-avatar-expressions",
    "psyche-avatar-lipsync",
    "psyche-avatar-quality",
    "psyche-avatar-taa",
    "psyche-avatar-cache",
    "psyche-avatar-core",
    "psyche-avatar-isis-integration",
    "psyche-voice-synthesis",
    "psyche-voice-streaming",
    "psyche-viseme-generator",
    "psyche-speech-recognition",
    "psyche-dialogue-manager",
    "psyche-voice-consistency",
    "psyche-noise-handling",
    "psyche-facs-expressions",
    "psyche-micro-expressions",
    "psyche-gaze-control",
    "psyche-head-movement",
    "psyche-gesture-system",
    "psyche-posture-system",
    "psyche-behavior-coordinator",
    "psyche-emotion-engine",
    "psyche-face-detection",
    "psyche-face-analysis",
    "psyche-emotion-recognition",
    "psyche-gaze-estimation",
    "psyche-engagement-detector",
    "psyche-head-pose-estimation",
    "psyche-memory-core",
    "psyche-memory-in-context",
    "psyche-memory-working",
    "psyche-memory-archival",
    "psyche-memory-tools",
    "psyche-memory-consolidation",
    "psyche-memory-persistence",
    "psyche-memory-embeddings",
    "psyche-memory-retrieval",
    "psyche-computer-use-core",
    "psyche-browser-automation",
    "psyche-screen-analysis",
    "psyche-sandbox",
    "psyche-action-safety",
    "psyche-tool-registry",
    "psyche-tool-execution",
    "psyche-conferencing-core",
    "psyche-zoom-integration",
    "psyche-teams-integration",
    "psyche-meet-integration",
    "psyche-webex-integration",
    "psyche-knowledge-ingestion",
    "psyche-knowledge-context",
    "psyche-knowledge-retrieval",
    "psyche-sophia-integration",
    "psyche-sophia-search-integration"
  ],
  "targets": {
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest",
        "cwd": "libs/psyche"
      },
      "outputs": ["{projectRoot}/htmlcov", "{projectRoot}/coverage.xml"]
    },
    "test-cov": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest --cov --cov-report=html --cov-report=xml --cov-report=term",
        "cwd": "libs/psyche"
      },
      "outputs": ["{projectRoot}/htmlcov", "{projectRoot}/coverage.xml"]
    },
    "test-unit": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest -m unit",
        "cwd": "libs/psyche"
      }
    },
    "test-integration": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest -m integration --run-integration",
        "cwd": "libs/psyche"
      }
    },
    "test-slow": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest -m slow --run-slow",
        "cwd": "libs/psyche"
      }
    },
    "test-gpu": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest -m gpu --run-gpu",
        "cwd": "libs/psyche"
      }
    },
    "test-parallel": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest -n auto",
        "cwd": "libs/psyche"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check .",
        "cwd": "libs/psyche"
      }
    },
    "lint-fix": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check --fix .",
        "cwd": "libs/psyche"
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black .",
        "cwd": "libs/psyche"
      }
    },
    "format-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black --check .",
        "cwd": "libs/psyche"
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "true # python typecheck skipped (mypy/poetry not installed)",
        "cwd": "libs/psyche"
      }
    },
    "install": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry install",
        "cwd": "libs/psyche"
      }
    }
  }
}
