Skip to content

CLIAgent::Pi is dropped at the listener — no toasts for Pi today #9663

@juicesharp

Description

@juicesharp

Hey! Maintaining a Warp notifications plugin for the Pi CLI agent, and agent: "pi" payloads parse fine but never render a toast.

Tracked it down to app/src/terminal/cli_agent_sessions/listener/mod.rs:48-57CLIAgent::Pi is in the None arm, so the OSC 777 just gets dropped:

CLIAgent::Amp | CLIAgent::Droid | CLIAgent::Copilot | CLIAgent::Pi
    | CLIAgent::CursorCli | CLIAgent::Goose | CLIAgent::Unknown => None,

Moving Pi into the DefaultSessionListener arm (next to Claude | OpenCode | Gemini | Auggie) should be enough — same shape as the Gemini change in specs/APP-4067/TECH.md. The enum variant + command_prefix("pi") + SessionType::CliAgent(CLIAgent::Pi) already exist.

Metadata

Metadata

Labels

area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.bugSomething isn't working.ready-to-implementThe issue is ready for implementation work.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions