Skip to content

Preserve provider selection in embedded NewThreadComposer #2974

Closed

Description

@iamhenry

Problem statement

Plugins should be able to embed BB’s native experimental_NewThreadComposer and forward its request unchanged to threads.spawn. Today, the selected provider can silently fall back to the project default.

Context

Custom "Pins" plugin embeds the native composer so users can create and pin a thread without leaving the plugin. Selecting OpenCode while the project default is Codex reproduces the fallback.

Current state

The request contains the selected providerId, but component-local composer state can omit executionInputSources.providerId. Spawn then re-applies the project default. Plugin authors must patch provenance themselves or accept the wrong provider.

Ideal state

The exported composer should return a spawn-ready request whose provider provenance is preserved for every current and future provider. Forwarding that request unchanged should create the thread with the provider the user selected.

AGENT GENERATED

Activity

  1. added theissue type on Sep 2, 2026
  2. added
    ui
    plugins
    confirmed-repro
    on Sep 2, 2026
  3. bb-slop-cop commented on Sep 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

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

    confirmed-repropluginsui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions