Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Promote dev → staging (input/handoff fixes through v0.2.27) - #72

Merged
BarneyChambers merged 5 commits into
stagingfrom
dev
Jun 16, 2026
Merged

Promote dev → staging (input/handoff fixes through v0.2.27)#72
BarneyChambers merged 5 commits into
stagingfrom
dev

Conversation

@BarneyChambers

Copy link
Copy Markdown
Collaborator

Promote dev → staging — carries the latest fixes (v0.2.27):
input-hang fixes (/dev/tty prompts, confirms, pickers), pinned agent versions,
openclaw gateway self-heal, OpenCode macOS install fix, and local agent PTY
(opencode/kilocode keyboard) fix.

sst/opencode now ships .zip assets on macOS (.tar.gz only on Linux), so the
hardcoded opencode-$OS-$ARCH.tar.gz 404'd on macOS — yet the install still
reported "OpenCode installed" and launched a missing binary ("opencode: command
not found"). The trailing ;-separated PATH/export statements masked the failed
curl's exit code.

- Pick .zip + unzip on darwin, .tar.gz + tar on linux.
- Chain every step with && and end with `test -x .../opencode` so a failed
  download/extract fails the install step (runLocal throws) instead of silently
  succeeding.

Verified on macOS: opencode-darwin-arm64.zip downloads, unzips to a Mach-O arm64
`opencode` binary at root (so mv + test -x succeed).
Fix OpenCode install on macOS (.zip asset) + detect failed download
…nput

OpenTUI-based agents (OpenCode, Kilo Code) accept keyboard input only when they
own a controlling PTY. Remotely that's provided by `ssh -tt`; locally they were
launched as a child sharing the CLI's terminal, so on macOS typing and Ctrl-C
did nothing once the agent TUI started.

Wrap the local interactive launch in `script` to give the agent its own PTY
(BSD form on macOS, util-linux -e -c form on Linux), falling back to a direct
launch when `script` is unavailable.

Verified on macOS: opencode launched directly in a PTY harness ignores
keystrokes; the same agent wrapped in `script` reacts to them.
Run local agent TUIs in a PTY so keyboard input works (opencode/kilocode on macOS)
Promote main → dev (input/handoff fixes: paste, prompts, pickers, opencode install, local PTY)
@BarneyChambers
BarneyChambers merged commit 07f154f into staging Jun 16, 2026
1 of 2 checks passed
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-spawn-ui Building Building Preview, Comment Jun 16, 2026 12:23pm

Request Review

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant