Skip to content

Fix reliable TUI startup and Rust release commits#45

Merged
konard merged 2 commits into
mainfrom
issue-841-722d23014d4b
Jul 25, 2026
Merged

Fix reliable TUI startup and Rust release commits#45
konard merged 2 commits into
mainfrom
issue-841-722d23014d4b

Conversation

@konard

@konard konard commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose pre-prompt TUI interactions for first-run/workspace-trust dialogs
  • default PTY launches to TERM=xterm-256color, preserving caller overrides
  • inspect git diff --cached --quiet exit codes instead of expecting command-stream to throw
  • restore the already-published Rust 0.2.7 version and collected changelog on main
  • cover startup ordering plus clean, changed, and fatal git-diff outcomes with regression tests

Root causes

Real clients can display startup gates before their prompt. Sending a prompt at the first output event loses it before OpenCode is ready and cannot clear Claude/Codex trust dialogs. Codex additionally refuses its TUI under the TERM=dumb commonly inherited in CI.

Separately, command-stream resolves commands with nonzero exit codes. The Rust release script treated the resolved exit-1 result from git diff --quiet as a clean index, so it published the modified working tree but skipped the version/changelog commit.

Verification

  • npm test (237 passing)
  • focused ESLint on changed source/tests
  • cargo check --locked
  • Prettier check for changed JavaScript/Markdown files

@konard konard changed the title Fix Rust release commits after nonzero git diff Fix reliable TUI startup and Rust release commits Jul 25, 2026
@konard
konard merged commit 6ec81d2 into main Jul 25, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant