Improve the sandbox development environment to support "new user" simulation
while maintaining a high-quality developer experience.
Changes:
- Persistence: Redirect HOME to /home/developer and add a persistent volume
to preserve shell history, gh auth state, and isolated environments.
- Tooling: Pre-install GitHub CLI (gh), air (hot-reload), and delve (dlv)
in the sandbox Dockerfile.
- Isolated Envs:
- Update ssenv to store environments in persistent $HOME/.ss-envs.
- Add --init flag to ssnew/ssenv to auto-run 'ss init -g' in new envs.
- Add visual PS1 indicator when an isolated environment is active.
- DX Refinements:
- Add a centralized 'help' command (aliased to override bash built-in).
- Fix ANSI color rendering in help script.
- Robust PROJECT_ROOT redirection in skillshare wrapper script.
- Support /home/developer in setup.sh environment checks.
- Add `make sandbox-logs` / `mise run sandbox:logs` convenience target
- Unify Docker build versions via ARG: Node 24, pnpm 10.28.0, Go 1.25.5
- Extract shared demo content to scripts/create-demo-content.sh, slim down
setup.sh and sandbox_playground_up.sh from ~150 duplicated lines each
- Move devcontainer scripts (ui, ui-p, docs) to .devcontainer/bin/
(source-controlled, survives make clean) with auto mode-switching
Replace the embedded SPA (go:embed + build tags) with runtime download
from GitHub Releases. The binary no longer bundles UI assets — they are
downloaded on first `skillshare ui` launch and cached at
~/.cache/skillshare/ui/<version>/.
- Delete embed.go / embed_dev.go; add spa_disk.go with placeholder handler
- Simplify ensureUIAvailable(): cache check before dev-mode fallback
- Pre-download UI assets in `skillshare upgrade` (best-effort)
- Remove Node stages from production and CI Dockerfiles
- Keep Node stage in sandbox for playground UI cache pre-population
- Remove ui-embed-check CI job and -tags dev build flag
- Update Makefile, mise.toml, GoReleaser, release workflow
- Add docker/sandbox/entrypoint.sh to auto-copy /ui-dist → internal/server/dist/
when missing, fixing the gitignore regression for all Docker workflows
- Add scripts/_sandbox_common.sh with shared SCRIPT_DIR, PROJECT_ROOT,
COMPOSE_FILE, and require_docker() function
- Refactor all 5 sandbox scripts to source _sandbox_common.sh
- Use YAML extension fields (x-sandbox-common) in docker-compose.sandbox.yml
to eliminate duplicated service config
- Break sandbox_playground_up.sh one-liner into readable steps, add
skillshare-ui alias and init hint
- Change test.sh to use `make build` for placeholder consistency
Single-binary web UI for visual skill management — React 19 + Vite
frontend embedded via go:embed, Go net/http REST API backend (30+
endpoints). Includes dashboard, skills browser, targets, sync, collect,
search, install, config editor, backup/restore, and git sync pages.
Also adds Bitbucket/GitLab URL parsing for install, git operations
library, skill version checking, CI frontend build steps, Docker
sandbox support, and website docs for the ui command.