github nicobailon/pi-interactive-shell v0.16.0

2 hours ago

Pi Interactive Shell 0.16.0 can now use optional Jev supervision to recognize when terminal sessions need input, approval, or attention. Completed build, test, and install commands can preserve their full local output while returning focused, recoverable excerpts on demand. Background sessions are less fragile: they survive /reload, keep agent control when backgrounded, and retain final Linux PTY output. New content-free diagnostics make Jev behavior easier to inspect without recording terminal content or credentials.

Highlights

  • Let agents recognize when a terminal session needs input, approval, or attention with optional Jev supervision.
  • Recover useful evidence from completed build, test, and install logs without losing access to the full local output.
  • Keep running background sessions and monitors alive through /reload, with more reliable control and completion output.
  • Inspect Jev behavior through private diagnostics that never record terminal content, commands, paths, or credentials.

Full changelog

Added

  • Add optional Jev supervision for hands-free, dispatch, and monitor sessions. It can recognize requests for input or approval, completion, blockers, and custom watch conditions. Optional actions are limited to exact inputs that the user approved in advance (#61).
  • Add selected output for explicitly opted-in background commands. Agents can request useful excerpts from completed build, test, and install logs, page through the full local output, and recover every excerpt by its original source range (#67).
  • Add an optional local Jev diagnostic journal with bounded summaries and structured incident reports. Diagnostic records contain no terminal content, commands, paths, session IDs, goals, or credentials (#65).
  • Add automated TypeScript and test checks on macOS and Ubuntu for pull requests and main (#57).

Changed

  • Improve Jev attention decisions, route confident states directly, and suppress duplicate attention notifications until the terminal state changes (#63).
  • Keep the background-session widget compact on short and mobile terminals by hiding completed sessions and collapsing overflow.
  • Clarify that cancellation sends best-effort termination signals but does not confirm that every subprocess exited.

Fixed

  • Validate custom Jev redaction patterns before use and apply them with bounded RE2-compatible matching (#61).
  • Start Jev supervision while hands-free and dispatch overlays are still visible, preserve it when sessions move to the background, and keep action limits intact across /reload (#61).
  • Preserve running background sessions and monitors across /reload instead of cancelling them during extension teardown.
  • Keep hands-free sessions under agent control when Ctrl+B moves them to the background (#54).
  • Preserve final PTY output before reporting process completion on Linux (#58).

Don't miss a new pi-interactive-shell release

NewReleases is sending notifications on new releases.