Skip to content

[DOCS] Document list_shortcuts for daemon clients #1107

Closed

Description

@edenreich

Summary

The infer daemon AG-UI binding gained a list_shortcuts request in inference-gateway/cli#1718. Daemon clients (browser extension, desktop app) can now fill their / menu with the shortcut registry the chat TUI lists: the built-in commands and the custom shortcuts defined in YAML. The docs site does not cover it yet.

  • list_shortcuts (optional project_dir) is answered with a shortcuts frame: {"type": "shortcuts", "shortcuts": [{"name": "clear", "description": "Clear the conversation", "usage": "/clear", "kind": "command"}]}. Entries are sorted by name, and name has no leading "/".
  • kind is command for a built-in and shortcut for a custom shortcut.
  • Skills stay on list_skills. A client merges the two lists itself, and on a name clash the registry entry wins, as in the TUI.
  • The frame only lists. The worker does not run a /<name> it receives in a run_agent_input message, so a client runs what it offers: a snippet shortcut through completion_request, anything else through its own command surface.

Affected pages: the daemon / browser extension protocol page.

Source: inference-gateway/cli#1718

Acceptance Criteria

  • The list_shortcuts request and shortcuts reply are documented with a JSON example and the two kind values
  • The page states that skills stay on list_skills, with the merge precedence, and that the frame does not execute anything
  • list_shortcuts is listed among the project-scoped requests

Activity

  1. added
    documentation
    on Nov 6, 2026
  2. added theissue type on Nov 6, 2026
  3. moved this to Todo in 2026on Nov 6, 2026
  4. edenreich commented on Nov 6, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Nov 6, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 18s —— View job • docs/issue-1107-20261106-1802


    Documenting list_shortcuts - done

    • Read the issue and locate the affected pages
    • Add a Shortcuts section to the daemon/extension protocol page (opentask.md)
    • Add list_shortcuts / shortcuts to the frame reference table
    • List list_shortcuts among the project-scoped requests in cli.md
    • bun run format:check, bun run lint:md, bun run build - all pass
    • Commit and open the PR

    What changed

    opentask.md - new ### Shortcuts section between Skills and GitHub issue references:

    • The list_shortcuts request (optional project_dir) and the shortcuts reply with the JSON example from the issue.
    • Both kind values: command for a built-in, shortcut for a custom shortcut. Plus the name sort and the no-leading-/ rule.
    • Skills stay on list_skills, a client merges the two lists itself, and on a name clash the registry entry wins as in the TUI.
    • The frame only lists - the worker does not run a /<name> from a run_agent_input message, so a client runs a snippet shortcut through a completion_request and anything else through its own command surface.
    • Two rows added to the frame reference table.

    cli.md - list_shortcuts added to the daemon's app-frames table, linking to the new section.

    One judgement call: completion_request is not documented anywhere on the site yet, so it is plain code rather than a link - worth its own ticket if clients need the shape.

    Create a PR - already opened as #1108.
    | Branch

  6. moved this from Todo to In progress in 2026on Nov 6, 2026
  7. moved this from In progress to QA in 2026on Nov 6, 2026
  8. moved this from QA to Done in 2026on Nov 7, 2026
  9. inference-gateway-releaser commented on Nov 8, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.24 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions