Skip to content

feat(plugins): add a floating-menu slot in the agent stream #6481

Closed

Description

@smsunarto

The workflow

Keep thread-specific status and actions available while reading the agent stream: machine/workspace, project scripts, branch, pull-request actions, and change counts. These should sit in a floating menu in the upper-right of the stream, below the thread header.

Reference layout for a floating menu in the agent stream

What happens today

The SDK does not provide a dedicated slot for this location. The existing experimental_appOverlay contract is app-wide and leaves positioning, visibility, and responsive behavior to the plugin.

What you would expect

Add a supported plugin slot for a floating menu inside each visible agent-stream pane. A plugin should be able to register its component and receive the relevant thread/project context while BB handles its placement.

Acceptance criteria:

  • BB anchors the slot below the header at the stream's upper-right edge and keeps it in place while messages scroll.
  • Each visible thread pane gets its own correctly scoped instance, including split layouts. Resizing panes or opening a sidebar/right panel keeps the menu within its owning pane.
  • Plugins own the menu contents and actions; BB owns placement, available space, layering, and a documented compact-screen policy.
  • The host defines ordering for multiple contributions and preserves normal transcript scrolling, selection, and interaction outside the menu.
  • Document the slot in the Plugin Guide with an SDK example.

The exact API name is open; the requested capability is the stream-local floating surface.

Context and alternatives

Header actions, composer context segments, and right-panel tabs occupy different locations. An app-wide overlay leaves layout management to each plugin.

Related: #3812 concerns plugin overlays being covered by native Browser views; this request is for a supported placement slot within the agent stream.

Checks

  • Searched open and closed issues for floating menus, stream/plugin slots, and thread overlays; no matching request found.
  • The body ends with the required attribution.

AGENT GENERATED

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions