Skip to content

[DOCS] Document list_issues and #N expansion for daemon clients #1104

Closed

Description

@edenreich

Summary

The infer daemon AG-UI binding gained a list_issues request and worker-side #N issue expansion in inference-gateway/cli#1716. Daemon clients (browser extension, desktop app) can now offer the # issue autocomplete and send issue references like the chat TUI. The docs site does not cover either yet.

  • list_issues (optional project_dir) is answered with an issues frame: {"type": "issues", "issues": [{"number": 57, "title": "Fix the flaky test", "state": "OPEN"}]}. The list holds the project's recent open issues, newest first, and is empty when gh, a git repo or auth is missing.
  • A #N token in a run_agent_input text part, at the start or after whitespace, is replaced by the issue's title, body and most recent comments before the run. At most 10 distinct issues are expanded per message. A failed fetch, or a token past the cap, stays in place as the raw token.

Affected pages: the CLI AG-UI output and daemon / browser extension protocol pages.

Source: inference-gateway/cli#1716

Acceptance Criteria

  • The list_issues request and issues reply are documented with a JSON example and the empty-list cases
  • The #N expansion in run_agent_input is documented, including the 10-issue cap and the raw-token fallback
  • list_issues 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 work on this?

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

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 55s —— View job • docs/issue-1104-20261106-1747 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1104-20261106-1747?quick_pull=1&title=Issue%20%231104%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231104%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done

    • Read the issue and locate the affected pages
    • cli.md: documented #N expansion for daemon / worker clients and added list_issues to the app-frames table
    • opentask.md: new "GitHub issue references" section (request + issues reply JSON, empty-list cases, expansion rules) and frame-reference rows for list_issues / issues
    • bun run format:check, bun run lint:md, bun run build all pass
    • Opened PR docs(daemon): list_issues and #N issue expansion #1105

    What changed

    opentask.md gets the protocol detail: list_issues with its optional project_dir, the issues reply as JSON, the empty-list cases (no gh, not a git repo, not authenticated - no error frame, the autocomplete just offers nothing), and the #N expansion rules - token at start-of-text or after whitespace, at most 10 distinct issues per message, raw token left in place on a failed fetch or past the cap. Two rows added to the frame reference table.

    cli.md keeps the TUI section as the single explanation of the feature and adds one paragraph saying both halves are available to daemon and worker clients, with the cap and the fallback, plus a list_issues row in the shared event stream's app-frames table.

    All three acceptance criteria are covered. I documented the frame from the issue description only - I did not read the CLI source, so the exact issues field set and the cap come from the issue text.
    | Branch | PR #1105

  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