Skip to content

Add requestRename to plugin sidebar thread actions #5023

Description

@technicalpickles

The workflow

I'm building a plugin that renders threads in its own rows (a custom thread list plus a strip of tabs), and I want a Rename action on them. PluginSidebarThreadActions has rename(threadId, title), but it's documented as a "silent rename, no dialog, for inline editing in your own row". bb's built-in menu opens ThreadRenameDialog instead.

What happens today

Plugins can only rename silently, so every plugin that wants a Rename affordance has to build its own editor (I ended up with an inline input per surface, plus working around inputs inside buttons). The built-in dialog isn't reachable from the SDK.

requestDelete already solves the same problem for deletion: the host owns the dialog and the plugin just asks. Rename has no equivalent.

What you would expect

A requestRename(threadId) on PluginSidebarThreadActions that opens the same ThreadRenameDialog the built-in thread menu uses, with the same submit and error handling. rename stays as the silent option for plugins that want inline editing.

Context and alternatives

Works today with rename plus a hand-rolled inline input, so this isn't blocking. It's the same shape of gap as #2525, where a plugin also has to rebuild the thread actions menu by hand.

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

AGENT GENERATED

Activity

  1. added
    plugins
    on Oct 6, 2026
  2. bb-slop-cop commented on Oct 6, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied the missing classifications:

    • Type: Feature
    • Priority: Low
    • Effort: Low
    • Labels: plugins

    The SDK explicitly provides silent renaming; access to the host-owned rename dialog adds functionality rather than correcting unexpected behavior. An inline editor remains a workaround, and the extension can reuse the existing dialog/action design. No existing classification values needed preservation.

    No reproduction report or pull request: this is a feature request, so the bug-report and automatic-fix steps do not apply.

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

    plugins

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions