mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"name": "assessment-model",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "frontend",
|
|
"remoteUser": "vscode",
|
|
"workspaceFolder": "/workspaces/assessment-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,
|
|
// then install npm deps. `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 && npm install",
|
|
|
|
"forwardPorts": [3000],
|
|
"appPort": ["3000:3000"],
|
|
|
|
"mounts": [
|
|
// Optional, just makes getting from Downloads (local env) easier
|
|
"source=${localEnv:HOME},target=/workspaces/home,type=bind"
|
|
],
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"files.defaultWorkspace": "/workspaces/assessment-model",
|
|
"editor.formatOnSave": true,
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true
|
|
},
|
|
"extensions": [
|
|
"esbenp.prettier-vscode",
|
|
"Anthropic.claude-code"
|
|
]
|
|
}
|
|
}
|
|
}
|