ContextStudioWizard/lib
Karamelmar dcc7a2aed7 Implement Option B: CS Core on host, agents inside container
- New lib/container.sh generates three files per project:
  - bin/claude: wrapper that routes every claude call into the
    agents container via `podman/docker exec --workdir $PWD`
  - start.sh: builds image if missing, starts detached container
    with project mounted at same absolute path as host, prepends
    bin/ to PATH, then launches CS Core on the host
  - stop.sh: stops and removes the agents container

- Container mounts project at identical host path so CS Core's
  working directory paths resolve correctly inside the container
- TTY detection in wrapper: uses -it when stdin is a terminal,
  -i otherwise (node-pty compatibility)
- Container stopped automatically when CS Core exits

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 12:29:38 +01:00
..
container.sh Implement Option B: CS Core on host, agents inside container 2026-03-09 12:29:38 +01:00
core.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00
prereqs.sh Fix set -e bug causing silent exit after valid input 2026-03-09 12:11:31 +01:00
project.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00
utils.sh Fix set -e bug causing silent exit after valid input 2026-03-09 12:11:31 +01:00
workflow.sh Add Context Studio Wizard — project scaffolding CLI 2026-03-09 11:49:04 +01:00