{
  "name": "Backend Model Env",
  "dockerComposeFile": "docker-compose.yml",
  "service": "model-backend",
  "remoteUser": "vscode",
  "workspaceFolder": "/workspaces/model",
  "initializeCommand": "docker network create shared-dev 2>/dev/null || true; test -d \"$HOME/.config/gh\" || test -n \"$GITHUB_TOKEN\" || { echo >&2 'error: no GitHub auth found. Run `gh auth login && gh auth setup-git` on the host, or export GITHUB_TOKEN, then retry.'; exit 1; }",
  "postCreateCommand": "gh repo clone Hestia-Homes/agentic-toolkit /tmp/agentic-toolkit -- --branch 0.0.7 --depth 1 && bash /tmp/agentic-toolkit/setup.sh",
  "postStartCommand": "bash .devcontainer/backend/post-install.sh",
  "mounts": [
    "source=${localEnv:HOME},target=/workspaces/home,type=bind",
    "source=${localEnv:HOME}/.aws,target=/home/vscode/.aws,type=bind,consistency=cached"
  ],
  "customizations": {
    "vscode": {
      "extensions": [
        "ms-python.python",
        "ms-toolsai.jupyter",
        "mechatroner.rainbow-csv",
        "ms-toolsai.datawrangler",
        "4ops.terraform",
        "fabiospampinato.vscode-todo-plus",
        "jgclark.vscode-todo-highlight",
        "corentinartaud.pdfpreview",
        "ms-python.vscode-python-envs",
        "ms-python.black-formatter",
        "waderyan.gitblame",
        "GrapeCity.gc-excelviewer",
        "anthropic.claude-code",
        "eamodio.gitlens"
      ],
      "settings": {
        "files.defaultWorkspace": "/workspaces/model",
        "[python]": {
          "editor.defaultFormatter": "ms-python.black-formatter",
          "editor.formatOnSave": true
        },
        "python.formatting.provider": "none"
      }
    }
  },
  "containerEnv": {
    "PYTHONFLAGS": "-Xfrozen_modules=off"
  },
  "forwardPorts": [8000],
  "portsAttributes": {
    "8000": {
      "label": "FastAPI",
      "onAutoForward": "notify"
    }
  }
}
 