Skip to content

Support the full lifecycle of plugin-owned conversations in the native thread UI #8571

Backlog

Description

@rafalrudol

The workflow

Our plugin displays conversations for individual agents in its own sidebar. Each conversation is a hidden BB thread. We use the native composer and thread menus so people can start, name, archive and restore conversations in the same place. Four SDK gaps make us implement parts of this lifecycle ourselves.

What happens today and what we would expect

These observations were made on BB 0.50.1 with Plugin SDK 0.6.157. We have not repeated them on upstream main.

1. Lock where a composer sends its first message

Render experimental_NewThreadComposer with defaultProviderId="tt-agents", defaultProjectId="proj_personal" and a defaultEnvironment pointing to the server machine’s personal workspace. Change the provider or machine, then send. The component accepts that selection and our submit handler must reject it and ask the user to restore the original settings.

Please add independent allowProviderChange, allowProjectChange and allowEnvironmentChange props, defaulting to true. With all three set to false, keep the supplied defaults fixed, including the machine, and keep model selection available within defaultProviderId.

2. Restore hidden threads from the native archive

Spawn a thread with visibility: "hidden", archive it, then open BB’s Archived threads. The thread is absent. Our plugin maintains a separate archive so users can find and restore these conversations.

Please add an Include hidden threads option to the native archive and use its existing restore action. Alternatively, expose an experimental_archivedThreadsSection slot so a plugin can list its archived threads there.

3. Observe archive and delete in the native thread menu

Render experimental_ThreadActionsMenu for a plugin-owned sidebar row, select Archive, and delay the write. The plugin can observe the menu closing, but cannot tell which action was selected, whether it committed, or whether the row should be restored after an error. We implement separate optimistic mutations for archive and delete.

Please expose onSelect({ actionId, threadIds, operationId }) once the user confirms an action, plus onCommit and onRollback carrying the same operation ID and targets. Include the error on rollback. This would let a plugin update its rows while BB executes the action.

4. Generate a title from the first visible message

Start a thread with an agent-only text block. Send a visible user message, wait for the turn to finish, then run bb thread regenerate-title <thread-id>. BB returns HTTP 409 with “This thread has no task message to generate a title from” even though the thread now has user text suitable for a title.

Please have the existing regenerate-title operation start with the earliest visible user text and skip agent-only input. If no visible user message exists, keep returning a conflict with that reason.

AGENT GENERATED

Activity

  1. added
    plugins
    threads
    on Dec 2, 2026
  2. bb-slop-cop commented on Dec 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Type: Feature
    • Priority: Medium
    • Effort: High
    • Labels: plugins, threads

    No reproduction report or PR: the issue primarily requests new SDK and native UI capabilities.

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

    pluginsthreads

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions