Skip to content

DreamCode v1.2.9

Choose a tag to compare

@weebcoder101 weebcoder101 released this 22 Jun 02:53
· 146 commits to main since this release

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.

  1. Self-updating race — 3-phase bootstrap: clone/pull → re-exec from updated script → build. Even curl | bash picks up the latest install.sh before building.
  2. Branch detection — auto-detects remote HEAD instead of hard-coding main/dreamcode-fork
  3. No more silent failures — all 2>/dev/null removed from git pull, pip install, package manager installs
  4. Post-build version verification — binary --version is checked against the expected version
  5. Symlink resolution verified — after symlinking, readlink -f confirms the target exists and is executable
  6. PATH always available — export PATH runs regardless of shell rc detection, so dreamcode works immediately
  7. Removed broken bun install -g . — ~/.local/bin/dreamcode is the single canonical entry point
  8. Version derived from package.json — no more hard-coded version string that goes stale
  9. Stale clone detection — warns if you have multiple dreamcode installs
  10. Removed stale install file — 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