Thanks for contributing to opencode-bootstrap.
This repository is focused on one thing: reproducible bootstrap of a curated global OpenCode setup for Linux, macOS, and WSL.
Please keep changes aligned with that goal.
- Prefer minimal and reviewable diffs.
- Keep the bootstrap flow idempotent.
- Do not add secrets, tokens, or machine-specific credentials.
- Keep MCP usage intentionally small.
- Preserve Linux + macOS + WSL compatibility.
Run at least:
sh -n bootstrap.sh
sh -n scripts/verify.sh
sh -n scripts/generate-checksums.sh
./scripts/generate-checksums.sh --check
./bootstrap.sh --dry-run --target-dir /tmp/opencode-bootstrap-dry-run
./bootstrap.sh --target-dir /tmp/opencode-bootstrap-test --force --skip-backup
./scripts/verify.sh --target-dir /tmp/opencode-bootstrap-testThen clean up temporary directories.
If you touch custom tools, also smoke-test tool loading through opencode serve and check that the expected tool IDs are present.
If you change anything under bundle/:
- update the relevant files
- regenerate
bundle/checksums.txt - run the bootstrap smoke checks
- update
CHANGELOG.mdif the change is user-visible
Do not commit:
~/.local/share/opencode/auth.json- API keys
- OAuth tokens
- session exports containing secrets
- machine-specific shell profile data