ContextStudioWizard/templates/devcontainer.json
Karamelmar 09ff27be92 Add Context Studio Wizard — project scaffolding CLI
- wizard.sh: interactive bash wizard that scaffolds new CS projects
- lib/: utils, core install, project structure, workflow generation
- templates/: Dockerfile, devcontainer.json, agent presets (minimal/standard), system.json, roles, hook rules
- README: setup, usage, mobility workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 11:49:04 +01:00

36 lines
1.2 KiB
JSON

{
"name": "{{PROJECT_NAME}}",
"build": {
"dockerfile": "Dockerfile"
},
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
"workspaceFolder": "/workspace",
"mounts": [
"source=${localEnv:HOME}/.context-studio/core,target=/opt/context-studio/core,type=bind,consistency=cached",
"source=${localEnv:HOME}/.anthropic,target=/root/.anthropic,type=bind,consistency=cached"
],
"remoteEnv": {
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
"CS_CORE_DIR": "/opt/context-studio/core",
"CS_WORKFLOW_DIR": "/workspace/workflow",
"PROJECT_ROOT_DIR": "/workspace",
"DISPLAY": "${localEnv:DISPLAY}"
},
"postCreateCommand": "cd /opt/context-studio/core && npm install && git config --global --add safe.directory /workspace && git config --global --add safe.directory /opt/context-studio/core",
"runArgs": [
"--init",
"--cap-add=SYS_PTRACE",
"--security-opt", "seccomp=unconfined"
],
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"ms-vscode.cpptools"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
}
}
}
}