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>
This commit is contained in:
parent
cd5b28919c
commit
09ff27be92
19 changed files with 1132 additions and 1 deletions
36
templates/devcontainer.json
Normal file
36
templates/devcontainer.json
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue