Repository navigation
DreamCode v1.2.9
What is Fixed
install.sh — Complete Rewrite (9 Issues Fixed)
The one-shot install now works. Run curl -fsSL https://raw.githubusercontent.com/weebcoder101/dreamcode/main/install.sh | bash and you get the correct binary, every time.
- Self-updating race — 3-phase bootstrap: clone/pull → re-exec from updated script → build. Even
curl | bashpicks up the latest install.sh before building. - Branch detection — auto-detects remote HEAD instead of hard-coding
main/dreamcode-fork - No more silent failures — all
2>/dev/nullremoved from git pull, pip install, package manager installs - Post-build version verification — binary
--versionis checked against the expected version - Symlink resolution verified — after symlinking,
readlink -fconfirms the target exists and is executable - PATH always available —
export PATHruns regardless of shell rc detection, sodreamcodeworks immediately - Removed broken
bun install -g .—~/.local/bin/dreamcodeis the single canonical entry point - Version derived from
package.json— no more hard-coded version string that goes stale - Stale clone detection — warns if you have multiple dreamcode installs
- Removed stale
installfile — the upstream opencode pre-built installer was cluttering the repo root
Script.version Fallback Warning
The silent 1.1.0 fallback now logs a visible warning whenever OPENCODE_VERSION env is not set. No more mystery version drops.
Installation
curl -fsSL https://raw.githubusercontent.com/weebcoder101/dreamcode/main/install.sh | bash