Skip to content

ACP: surface available_commands_update as a slash palette (provider-acp drops OMP slash ads) #3848

Description

@mgpai22

The workflow

Using OMP (oh-my-pi) over provider-acp in a bb thread. OMP advertises slash commands (builtins with text handles plus project .omp/commands/*.md file commands) via ACP available_commands_update. I want to discover and invoke them from the composer, e.g. /ui-check, /win-check, /jobs.

What happens today

bb classifies available_commands_update as noise (packages/provider-bridge-acp/src/visibility.ts) and provider-acp declares no composer actions, so nothing is shown. The only way to run a command is to type the exact spelling manually; the text passes through session/prompt verbatim and OMP expands it. A typo silently becomes literal prompt text instead of erroring.

What you would expect

bb renders the advertised commands in the composer (typeahead or palette, reusing the existing provider-command-typeahead surface), inserts the exact spelling, and shows the description/hints from the update. Manual typing keeps working as today.

Context and alternatives

Verified at bb main cc13f2f (2026-09-17): bridge sends text verbatim (buildPromptContentBlocks in packages/provider-bridge-acp/src/bridge/bridge.ts into session/prompt). OMP side at 42d74e1 executes file commands for anything not matching a handled builtin, with $ARGUMENTS substitution. Workaround today: type exact spellings from memory. Related area, different symptom: #2122.

  • I searched open and closed issues for the same request.

AGENT GENERATED

Activity

  1. added
    providers
    ui
    provider-acp
    on Sep 17, 2026
  2. bb-slop-cop commented on Sep 17, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type Feature, Priority Medium, Effort Medium, and labels providers, ui, provider-acp. No existing classifications were present; final values were verified.

    This adds ACP command discovery and insertion to the composer. Manual invocation provides a workaround; implementation spans provider command metadata and composer integration. No reproduction report or PR was created because the final Type is Feature.

  3. added a commit that references this issue on Sep 23, 2026
    dbbfdc2
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

    provider-acpprovidersui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions