{
  "name": "@maya/crucible-agents",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/maya/crucible-agents/src",
  "projectType": "library",
  "tags": ["scope:maya", "layer:crucible", "type:rust-lib", "type:python"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo build --manifest-path libs/maya/crucible-agents/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*", "{projectRoot}/Cargo.toml"]
    },
    "build:py": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "python3 -m compileall -q python/crucible_agents",
        "cwd": "libs/maya/crucible-agents"
      },
      "inputs": ["{projectRoot}/python/**/*"]
    },
    "lint": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo fmt --manifest-path libs/maya/crucible-agents/Cargo.toml -- --check"
      },
      "inputs": ["{projectRoot}/src/**/*", "{projectRoot}/Cargo.toml"]
    },
    "lint:py": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "python3 -m compileall -q python/crucible_agents python/tests",
        "cwd": "libs/maya/crucible-agents"
      },
      "inputs": ["{projectRoot}/python/**/*"]
    },
    "test": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo test --manifest-path libs/maya/crucible-agents/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*", "{projectRoot}/Cargo.toml"]
    },
    "test:py": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "PYTHONPATH=python python3 -m unittest discover -s python/tests",
        "cwd": "libs/maya/crucible-agents"
      },
      "inputs": ["{projectRoot}/python/**/*"]
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo check --manifest-path libs/maya/crucible-agents/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*", "{projectRoot}/Cargo.toml"]
    },
    "typecheck:py": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "python3 -m py_compile python/crucible_agents/__init__.py python/crucible_agents/training.py",
        "cwd": "libs/maya/crucible-agents"
      },
      "inputs": ["{projectRoot}/python/**/*"]
    }
  }
}
