You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plugin prompts created with bb.ui.requestInput do not emit interaction.pending #3397
On BB 0.42.1, plugin-origin prompts created through bb.ui.requestInput appear in the pending-interactions API and UI but do not emit bb.events.on("interaction.pending") notifications in the same way provider-origin prompts do.
This repository already observed the difference with a Plans review prompt: the prompt remained pending and the sidebar showed Needs Attention, while the push-notifications plugin did not receive its subscribed event. The current MCP integration therefore reconciles threads.interactions.list on reads instead of relying solely on lifecycle events.
Reproduction:
Register an observer with bb.events.on("interaction.pending", ...) in a test plugin.
Create a prompt with another plugin's bb.ui.requestInput (for example, submit a plan for review).
Verify threads.interactions.list({ threadId }) contains the prompt.
Compare observer delivery with a provider-origin question/approval.
Expected: after a pending interaction is committed, emit the event for both origins with consistent thread/interaction identity. A positive test should assert one event per newly pending row and no duplicate event from read/reconciliation.
Also consider updating attention/unread timestamps when an interaction becomes pending on an already-idle thread. The sidebar can currently show Needs Attention without a corresponding new unread timestamp.
Classified as Bug · Priority: Medium · Effort: Medium; applied plugins and confirmed-repro. No existing classifications were replaced.
Reproduction report: REPRODUCED, high root-cause confidence. The plugin creation path commits pending prompts but omits the event emitter used by provider prompts. The regression failed in two clean trusted-main checkouts: one expected event, zero received.
Opened ready PR #3398: #3398. The fix changes 38 lines across two files; 47 focused tests, server typecheck and diff checks pass. Unread timestamp behavior remains unverified and outside this fix.
Activity
bb-slop-cop commentedon Sep 10, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassified as Bug · Priority: Medium · Effort: Medium; applied
pluginsandconfirmed-repro. No existing classifications were replaced.Reproduction report: REPRODUCED, high root-cause confidence. The plugin creation path commits pending prompts but omits the event emitter used by provider prompts. The regression failed in two clean trusted-main checkouts: one expected event, zero received.
Opened ready PR #3398: #3398. The fix changes 38 lines across two files; 47 focused tests, server typecheck and diff checks pass. Unread timestamp behavior remains unverified and outside this fix.
Notify the parent from the shared interaction lifecycle (#7729)