Skip to content

Session Chat: name the asking subagent and page requests in permission and question panels #901

Closed

Description

@ivanfenenko

Part of #899. The permission and question panels say which subagent is asking, page between waiting requests, and the question panel can collapse like the permission panel.

Both panels keep replacing the composer while a request waits.

Scope

  • Who's asking: a request that comes from a descendant subagent session shows a light amber row above the request:

    • the agent's letter
    • "general · subagent wants to run: npm test" for permissions, or "explore · subagent asks" for questions
    • an Open action that opens that subagent's session

    The name comes from the subagent's session data, which Session Chat already loads to find descendant requests. Requests from the current session show no row.

  • Paging: arrows next to the existing "1 of 2" counter, dots under the panel, and a horizontal swipe on the panel.

  • Question collapse: the question panel gets the same collapse chevron as the permission panel, which collapses it to an "Answer question" pill above the composer.

  • Works on v1 and v2. No protocol-specific UI.

Acceptance

  • Subagent row with Open on both panels, on iOS and Android.
  • Paging by arrows, dots and swipe on both platforms.
  • The question panel collapses to an "Answer question" pill and expands again.
  • Unit tests: request attribution (own session vs subagent, name lookup) and paging state.
  • Verified in the real apps against the scenario harness (subagent permission and question scenarios), with screenshots for both platforms.

Activity

  1. added
    enhancement
    ios
    android
    todo
    priority: medium
    on Oct 31, 2026
  2. added 3 commits that reference this issue on Oct 31, 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

    androidenhancementiospriority: mediumtodo

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions