• Sources: primary
  • Summary: pi 1.7.0, released 2026-11-27, reports a pi --session resume command through the Program Resume Protocol (OSC 7577) in terminals that set OSC7577_TOKEN, and the command repeats restriction flags such as --tools and --no-extensions so a resumed session cannot gain access. It removes the install telemetry endpoint, the enableInstallTelemetry setting and PI_TELEMETRY, adds an --agent-dir flag, and keeps the GitHub Copilot prompt cache when thinking levels change on supported Claude 5.x and GPT-6 models.
  • Why it matters: Per-project pi profiles and tool restrictions now survive terminal restarts, and anyone parsing pi telemetry settings must drop them.
  • Background: OSC sequences are terminal escape codes a program writes to stdout to talk to the terminal emulator. A resume protocol lets the terminal record which command to rerun in a pane, so a crashed or restarted terminal can bring back long-running agent sessions instead of leaving a bare shell.