mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
63 lines
No EOL
2.2 KiB
JSON
63 lines
No EOL
2.2 KiB
JSON
{
|
|
"name": "Backend Model Env",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "model-backend",
|
|
"remoteUser": "vscode",
|
|
"workspaceFolder": "/workspaces/model",
|
|
|
|
// Host preflight: ensure GitHub auth exists before we try to build.
|
|
// Either ~/.config/gh (from `gh auth login`) or a GITHUB_TOKEN env var.
|
|
"initializeCommand": "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; }",
|
|
|
|
// Install Domna's curated skill set (pinned to 0.0.5) into this workspace.
|
|
// `gh repo clone` handles private-repo auth using the mounted host ~/.config/gh.
|
|
"postCreateCommand": "gh repo clone Hestia-Homes/agentic-toolkit /tmp/agentic-toolkit -- --branch 0.0.5 --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",
|
|
"lindacong.vscode-book-reader",
|
|
"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",
|
|
"jakobhoeg.vscode-pokemon",
|
|
"github.vscode-github-actions",
|
|
"me-dutour-mathieu.vscode-github-actions",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
|