Repository navigation
Description
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
AskUserQuestiontool, rendered by a plugin'spendingInteractionslot - 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:
- Create a thread in any project, for example
bb thread spawn --project <id> --prompt "Reply only with ok.". - In the app, click Reply in side chat on its reply. A side chat opens beside it.
- Get the side chat's thread id:
bb thread list --include-hidden(the hidden thread whose title is "Replying to this earlier message…"). - Run
BB_THREAD_ID=<side chat thread> bb secret request DEMO_TOKEN --write-env /tmp/repro.env --purpose "Repro". It waits for the form. - Look at the side chat: its timeline shows "Requesting DEMO_TOKEN", but no form appears and the "Reply…" composer stays.
- 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
EmbeddedThreadChatdrops every plugin interaction before rendering banners: EmbeddedThreadChat.tsx#L231-L233,.filter((interaction) => interaction.payload.kind !== "plugin").- The banners it would render handle plugin interactions: their default branch mounts
PluginPendingInteractionComposer(ThreadPendingInteractionBanner.tsx#L154-L160). - The main thread view passes every pending interaction to the same banners, with no filter (ThreadDetailPromptArea.tsx#L964, #L2354).
- The filter came with Make the side-chat plugin the only side chat #957. Its comment then said a plugin-owned interaction "renders in its own composer instead". Nothing renders it in the embedded chat today:
PluginPendingInteractionComposeris mounted only from the banners. Two tests inEmbeddedThreadChat.test.tsx(#L577, #L588) still assert the old behaviour.
What you ruled out
- Still on
mainat 69426e5: the filter and both tests are unchanged. - Not Pi: injected AskUserQuestion interaction stays pending with no card, then times out after 30 minutes #5004: that one is the main thread view showing no card. Here the main view shows the form and only
ThreadChatdrops it. - Not Fix side-chat interactions and mobile viewport layout #2870: it fixed how the side chat lays out the interactions it does render, and kept the plugin filter.
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 GENERATEDand links the thread or report.
Found from bb thread thr_crdx7e9twn (local).
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 21, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotui,plugins,side-chat,ask-user-question,confirmed-repro.origin/maincheckouts; root-cause confidence: high.EmbeddedThreadChatfilters out plugin-kind pending interactions before mounting the shared banners and blocking the composer.Show plugin-rendered interactions in ThreadChat
deep-randhawa commentedon Oct 26, 2026
Still reproduces on bb 0.47.1 (Linux host, app used remotely via the web).
bb secret request SLACK_USER_TOKEN SLACK_APP_TOKEN --write-env ~/.config/secrets.env --purpose … --describe …read -s … >> secrets.envin a terminal.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.
Build the thread screen once and use it for the main view, side chat …
Use one thread screen for the main view, side chat and plugin ThreadC…
Make plugin surfaces prove they use core's path and delete plugin-onl…