Skip to content

fix: handle hook stdin EPIPE#105

Merged
VickyXAI merged 1 commit into
BlockRunAI:mainfrom
0xCheetah1:fix/hook-stdin-epipe
Jul 18, 2026
Merged

fix: handle hook stdin EPIPE#105
VickyXAI merged 1 commit into
BlockRunAI:mainfrom
0xCheetah1:fix/hook-stdin-epipe

Conversation

@0xCheetah1

Copy link
Copy Markdown
Contributor

Summary

  • handle hook child stdin EPIPE through the stream error event
  • continue failing open for early-exiting hook handlers
  • warn on non-EPIPE stdin write failures

Verification

  • npm run build
  • npm test

@VickyXAI
VickyXAI merged commit e10a7f1 into BlockRunAI:main Jul 18, 2026
2 checks passed
VickyXAI pushed a commit that referenced this pull request Jul 18, 2026
Two community PRs from @0xCheetah1:
- #106: Ctrl+A expands the /model picker to the full live gateway catalog,
  grouped by provider and ranked by version/tier; Esc no longer quits an
  idle session (Ctrl+C / /exit do); bare 'claude' shortcut → Opus.
- #105: hook child stdin EPIPE now handled via the stream error event
  (async EPIPE the old sync try/catch missed — latent crash risk); EPIPE
  ignored (fail-open), other write errors logged.

625 tests pass.
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.

2 participants