Skip to content

[DOCS] Desktop: @ file and # issue menus in the composer #1118

Closed

Description

@edenreich

Summary

The desktop composer gains two menus next to the slash menu, matching the infer chat TUI's autocomplete: @ lists the project's files and # lists the project's open GitHub issues (inference-gateway/desktop#449 for inference-gateway/desktop#440, inference-gateway/desktop#451 for inference-gateway/desktop#441). Picking a row inserts @<path> or #<number>, and the CLI's worker expands the token into the file's content or the issue before the run (inference-gateway/cli#1717 and inference-gateway/cli#1716, infer v0.246.0 or newer).

Acceptance Criteria

  • desktop.md documents the @ menu next to "The slash menu". Typing @ at the start of the text or after a space lists the project's files, filtered by what you type after @. ArrowUp/ArrowDown move, Enter inserts @<path>, Escape closes. Paths are relative to the project, followed by your ~/.infer files as ~/.infer/<path>.
  • Explain what the CLI does with an @<path> token: a text file is inlined as a fenced block, a Markdown file is reduced to its ## Summary, and a reference that does not resolve stays as typed. Hidden files, ignored directories and files over the size limits are not offered.
  • Document the # menu. Typing # lists the project's open GitHub issues as #<number> <title>, filtered by number or title, and Enter inserts #<number>, which the CLI expands into the issue's content (at most 10 distinct issues per message). It needs a GitHub repository, gh and gh auth, and shows nothing otherwise. A # inside a word, such as C# or a URL fragment, opens nothing.
  • Note that both menus need infer v0.246.0 or newer and stay empty with an older infer.
  • Source: feat(composer): pick a project file from an @ menu desktop#449 and feat(composer): pick an open GitHub issue from a # menu desktop#451.

Activity

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

    @edenreich
    ContributorAuthor

    @claude can you work on this? use /ponytail:ponytail

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

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 7s —— View job • docs/issue-1118-20261107-1856


    Done

    • Gather context (read desktop.md, cli.md, opentask.md)
    • Board: added to Roadmap 2026, Status moved In progress -> QA
    • Documented the @ file menu and the CLI's token expansion
    • Documented the # issue menu, its prerequisites and the mid-word case
    • Noted the infer v0.246.0 requirement for both menus
    • Validated: bun run lint:md, bun run format:check, bun run build all pass
    • Committed and opened the PR

    What changed

    One new block in desktop.md, immediately after "The slash menu" - two ### sections plus a shared version note:

    • The @ file menu - trigger position, filtering, ArrowUp/ArrowDown/Enter/Escape, @<path> insertion, paths relative to the project then ~/.infer/<path>, and what is left out (hidden files, ignored directories, oversized files). Then what the worker does with the token: text file inlined as a fenced block, Markdown reduced to its ## Summary, unresolved reference left as typed.
    • The # issue menu - #<number> <title> rows, filtering by number or title, Enter inserts #<number>, the worker expands it into title, body and recent comments, 10 distinct issues per message. Prerequisites (GitHub remote, gh installed and authenticated) with the silent no-op behaviour, and the C# / URL-fragment case.
    • Both menus need infer v0.246.0 or newer and stay empty against an older CLI.

    I reused the existing anchors rather than restating the mechanics: /opentask/#project-file-references for the daemon frames and /cli/#github-issue-references for the TUI's version of the same autocomplete. Per AGENTS.md the doc text carries no tracker numbers - the source PRs are referenced only in this issue, not in the page.

    Create a PR - already opened as #1120.

    I did not run the dev server to look at the rendered page, and I did not verify the v0.246.0 version number or the exact key handling against the desktop source - both are taken from the issue as written.
    | Branch

  6. moved this from Todo to In progress in 2026on Nov 7, 2026
  7. moved this from In progress to QA in 2026on Nov 7, 2026
  8. moved this from QA to Done in 2026on Nov 8, 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