Skip to content

Feature request: a slot to render progress/ETA below the composer (without replacing prompt.footer) #68560

Backlog

Description

@massaindustries

Summary

TUI plugins cannot render a persistent status/ETA line below the composer without replacing the native footer.

What exists today

  • prompt.footer / prompt.footer.status / prompt.footer.file — a horizontal footer row. append / after place content inline (to the right).
  • session.composer.top — a row above the composer.

There is no session.composer.bottom (or equivalent), and no supported way to add a second full-width row below the footer while keeping the native footer.

What I tried

  • append: "prompt.footer" → renders inline on the right.
  • after: "prompt.footer" → still in the same horizontal row.
  • replace: "prompt.footer" → gives a full-width row but removes the native footer.

Proposal

Add a documented slot such as session.composer.bottom (or prompt.footer.below, or allow multiple rows under prompt.footer) so a plugin can render a persistent status line below the prompt without replacing the footer.

Even better: a first-class progress/status API (label + fraction + deadline) that the host renders.

Use case

Long-running work (model training, evals, data downloads) benefits from a live ETA <remaining> <done>/<total> line under the composer. I built a small open-source plugin that does this today, but it is forced to append into the footer row (right-aligned):

https://github.com/massaindustries/OpenCodeETA

Environment

OpenCode V2.

Activity

  1. opencodejr commented on Dec 5, 2026

    @opencodejr
    Contributor

    Thanks, this looks like a real gap in the TUI plugin API, and maintainers will consider it. In the code I read, SlotMap (packages/plugin/src/tui/context.ts) has session.composer.top but nothing below the composer. prompt.footer is rendered inside a row container, which is why append/after stay in the same row. The likely change is a session.composer.bottom slot rendered after the composer in packages/tui/src/routes/session/index.tsx, next to where session.composer.top is rendered.

  2. added
    area/plugins
    type/feature
    version/v2
    on Dec 5, 2026
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

    area/pluginstype/featureversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions