Skip to content

[FEATURE]: TUI plugin slot for subagent and shell completion notices #61732

Open

Description

@cevr

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Each background subagent or shell that finishes adds a ↳ Subagent finished · … line to the transcript. With several parallel workers these lines add up. A plugin that draws its own transcript can't change them: they have no slot, and layout.rowGap sees them as other.

Proposal:

  • a session.message.completion slot around that line, with input { sessionID, messageID };
  • a notice row kind for system and synthetic messages, so a gap rule can stack them.

With both, my plugin folds completions that land together into one line: ↳ 3 agents finished · a, b, c.

I have this working with a test on my fork, on top of #61699: cevr/opencode@dfddf989af. I can open a PR once the design is OK.

Activity

  1. opencodejr commented on Nov 4, 2026

    @opencodejr
    Contributor

    Thanks for the detailed proposal, @cevr! In short, you're asking for a session.message.completion TUI plugin slot around the ↳ Subagent finished · … / shell completion line (input { sessionID, messageID }), plus a notice row kind for system and synthetic messages in layout.rowGap. A plugin could then group completions that land together, e.g. ↳ 3 agents finished · a, b, c.

    This builds on the transcript hooks in #61699 (for #61697), which aren't merged yet, so the maintainers will want to look at the two together. They'll consider the design before you open a PR. Thanks for already having an implementation with a test ready.

    Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions