Skip to content

ThreadChat (side chat, plugin panels) never shows plugin-rendered interactions such as AskUserQuestion forms #6071

Closed

Description

@pascal-de-ladurantaye

Summary

A thread shown through ThreadChat never shows a pending interaction that a plugin renders, such as an AskUserQuestion form or a secret request. This covers the side chat and any plugin panel that embeds the thread. The composer stays as if nothing were pending, and the form appears only when the same thread is opened in the main thread view.

Versions and environment

  • bb 0.46.1 (desktop app), macOS 26
  • provider pi; the question came from the agent's AskUserQuestion tool, rendered by a plugin's pendingInteraction slot
  • the thread was open in a plugin nav panel that renders <ThreadChat threadId=… variant="compact" />
  • also reproduced from source on main (pnpm dev, macOS 26, Node 24)

Steps to reproduce

Reproduced on main at 69426e5 with pnpm dev, using a secret request as the plugin-rendered interaction:

  1. Create a thread in any project, for example bb thread spawn --project <id> --prompt "Reply only with ok.".
  2. In the app, click Reply in side chat on its reply. A side chat opens beside it.
  3. Get the side chat's thread id: bb thread list --include-hidden (the hidden thread whose title is "Replying to this earlier message…").
  4. Run BB_THREAD_ID=<side chat thread> bb secret request DEMO_TOKEN --write-env /tmp/repro.env --purpose "Repro". It waits for the form.
  5. Look at the side chat: its timeline shows "Requesting DEMO_TOKEN", but no form appears and the "Reply…" composer stays.
  6. Open the side chat's thread in the main thread view (/projects/<project>/threads/<side chat thread>). The "Add secrets" form is there.

First observed with an agent's AskUserQuestion form, in a plugin nav panel that renders <ThreadChat threadId=… variant="compact" /> (bb 0.46.1 desktop).

Expected vs actual

bb thread interactions list <thread> --json
  "status": "pending"
  "origin": { "kind": "plugin", ... }

Actual: the ThreadChat surface shows no form and keeps its composer. The agent waits on an answer the user can't see there.

Expected: the form replaces the composer, as it does in the main thread view.

Evidence

What you ruled out

Suggested priority and effort (optional)

Medium. Any plugin-rendered form asked in a side chat or plugin panel is invisible there, and the workaround is to open the thread in the main view. Effort: low (remove the filter; update the two tests).

Checks

  • I reproduced this on the latest release or on main, or I say above that I could not.
  • I searched open and closed issues for the same problem.
  • If an agent wrote this, the body ends with > AGENT GENERATED and links the thread or report.

Found from bb thread thr_crdx7e9twn (local).

AGENT GENERATED

Activity

  1. added theissue type on Oct 21, 2026
  2. added
    ui
    plugins
    side-chat
    ask-user-question
    confirmed-repro
    on Oct 21, 2026
  3. bb-slop-cop commented on Oct 21, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Medium · Effort: Low.
    • Labels: ui, plugins, side-chat, ask-user-question, confirmed-repro.
    • Report: Reproduction and root-cause analysis.
    • Verdict: REPRODUCED in two clean trusted origin/main checkouts; root-cause confidence: high.
    • Root cause: EmbeddedThreadChat filters out plugin-kind pending interactions before mounting the shared banners and blocking the composer.
    • Evidence: The focused plugin-request case fails in both checkouts while approval and user-question controls pass; all 18 shared-banner tests pass. This verifies component routing, not the live macOS/Pi journey.
    • No new PR: #6072 is already open and links this issue; opening another would duplicate it. Its branch was not executed.

    AGENT GENERATED

  4. added a commit that references this issue on Oct 22, 2026
    f242c6d
  5. deep-randhawa commented on Oct 26, 2026

    @deep-randhawa

    Still reproduces on bb 0.47.1 (Linux host, app used remotely via the web).

    • Thread: a side chat ("Replying to this earlier message…") on a Claude Code thread
    • bb secret request SLACK_USER_TOKEN SLACK_APP_TOKEN --write-env ~/.config/secrets.env --purpose … --describe …
    • The command waits for the form, but no form ever appears in the side chat. The user had to cancel and fall back to read -s … >> secrets.env in a terminal.
    • The same command worked earlier from the main thread view of a different thread, so the issue is specific to side chat.

    Impact: in a side chat, an agent has no secure way to collect credentials, and the fallback means asking the user to run shell commands.

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

    ask-user-questionconfirmed-repropluginsside-chatui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions