Skip to content

v0.13.1

Choose a tag to compare

@github-actions github-actions released this 21 Apr 18:24
· 17 commits to master since this release

🐛 Bug fix

curl | bash installer: historian model picker frozen

The one-line installer (curl -fsSL ... | bash) could freeze on the historian model selection screen — arrow keys did nothing, ctrl+c didn't exit — forcing users to kill the terminal and fall back to running bunx --bun @cortexkit/opencode-magic-context@latest setup directly.

Root cause: a regression in scripts/install.sh (v0.12.x) added --bun to the bunx invocation, which forced the setup CLI to run under Bun even when a modern Node was on PATH. Bun's TTY handling under a shell </dev/tty redirect doesn't deliver raw-mode keypress events reliably, which broke @clack/prompts' select() component that the historian/dreamer/sidekick pickers depend on.

Fix: install.sh now prefers bunx without --bun when bun and a compatible Node (≥ 20.12) are both present, letting the CLI's #!/usr/bin/env node shebang run the setup under Node — which handles </dev/tty correctly. Falls back to npx with the same Node check, then to bunx --bun with an on-screen hint pointing users at the working direct invocation if neither is available.

If you already have magic-context installed, nothing to do — this only affects users running the installer fresh.

Full Changelog: v0.13.0...v0.13.1