Zum Inhalt springen
Alle Releases

v0.2.8

Veröffentlicht am .

Highlights

No more stray paneflow-shim: lines above your AI TUI

When you launched claude, codex, or cc inside a PaneFlow pane, the shim used to flash two informational lines on stderr before the TUI took over the screen:

paneflow-shim: writing hook config to ./.codex/hooks.json (git-ignored by Codex convention)
paneflow-shim: enabled codex_hooks feature flag in /home/you/.codex/config.toml (reverted on exit)

Both reprinted on every single launch, not just the first one — the shim's Drop cleanup deletes the hook config file when it becomes empty, so each new run hit the first_write / "newly enabled" branch again. The output was pure debug noise from the AI-hooks bring-up (PRD prd-ai-hooks-cross-platform, US-009) and added no diagnostic value at runtime.

paneflow-shim now follows the standard Unix "silent on success, verbose on error" convention. Every actionable error path is preserved unchanged:

  • cannot create / write / read config (filesystem refused the write)
  • <dir> exists but is not a directory (stale regular file blocking create_dir_all)
  • contained invalid JSON; overwriting with a fresh config
  • spawn / wait failures on the real claude / codex binary
  • invoked under an unexpected name (shim copied/symlinked under the wrong basename)
  • could not revert <path>; please remove the <marker> block manually (cleanup write failure)
  • <path> already has a [features] section without codex_hooks; skipping auto-enable

So you still get a clear, actionable message when something genuinely goes wrong — you just don't get a chatty status line on every successful launch anymore.

Internal cleanup

While here, the now-unused git_ignore_attribution parameter was dropped from install_hook_config_file and both call sites (Claude + Codex) updated. All 30 paneflow-shim unit tests still pass; clippy --workspace -D warnings is clean.

Install

See the Installation section in the README.

If you're already on v0.2.7, the in-app updater (Zed-style click-to-restart, shipped in v0.2.7) will pick this up automatically. The shim binaries embedded in paneflow-app are SHA256-checked at extract time, so the next time PaneFlow boots it will overwrite the cached ~/.cache/paneflow/bin/0.2.8/{claude,codex} shims with the silenced versions — no manual cache-clearing needed.

Validation

  • x86_64 + aarch64 Linux: ✅ (CI matrix, this release)
  • aarch64 Apple Silicon: ⏳ best-effort (kept in-matrix as continue-on-error: true until v0.3.0 macOS signing cut)
  • Windows x64: ⏳ best-effort (same posture)

Full changelog

  • fix(shim): silence informational stderr noise above AI tool TUIs (92a3b06)
  • chore: bump workspace version to 0.2.8 (6c5712d)

Full Changelog: https://github.com/ArthurDEV44/paneflow/compare/v0.2.7...v0.2.8