Skip to content

[FEATURE] Expose slash shortcut completion over the daemon binding #1715

Closed

Description

@inference-gateway-maintainer

Summary

A daemon client of the infer daemon AG-UI WebSocket binding cannot match the chat TUI's mid-text / menu: the TUI lists both the shortcut registry (built-in commands plus YAML-defined custom shortcuts) and skills (internal/presentation/tui/autocomplete/autocomplete.go, loadShortcuts and appendSkills), while the binding only exposes list_skills (internal/presentation/headless/panel.go, answered via the skills frame). Built-in commands and custom shortcuts are missing from a client's dropdown.

This tracker was filed by the audit behind #1711, which landed the # issue autocomplete (list_issues) and the worker-side #N expansion. The / gap needs a frame that carries the registry's entries (name, description, usage, and the command/shortcut kind the TUI badge shows), and a decision on execution: today a client can run a snippet shortcut (/git commit) through completion_request, but shortcuts like /context or /clear only make sense through a panel command surface, so the frame's consumers should say what they will do with the entries.

Acceptance Criteria

  • A client can list the shortcut registry entries over the daemon binding and the serve worker stdin, carrying for each entry the name, description, usage and kind (command or shortcut) the TUI shows.
  • The list covers built-in commands and custom shortcuts, with skills staying on the existing list_skills frame (or the follow-up documents a merged list and its precedence against the registry).
  • docs/browser-extension-protocol.md and docs/ag-ui-output.md document the new frame and its reply, with the lowercase app-frame type the protocol reserves for non-run traffic.
  • Tests cover the new frame in internal/presentation/headless and the daemon relay (internal/sessions).

Activity

  1. inference-gateway-releaser commented on Nov 7, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.246.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  2. moved this from Todo to Done in 2026on Nov 7, 2026
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

    enhancementreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions