You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document list_files and @path expansion for daemon clients #1106
The infer daemon AG-UI binding gained a list_files request and worker-side @<path> file expansion in inference-gateway/cli#1717. Daemon clients (browser extension, desktop app) can now offer the @ file autocomplete and send file references like the chat TUI. The docs site does not cover either yet.
list_files (optional project_dir) is answered with a files frame: {"type": "files", "files": ["cmd/infer/main.go", "README.md", "~/.infer/config.yaml"]}. Paths are relative to the worker's project dir, followed by the user's ~/.infer files as ~/.infer/<path>. The list is empty when the project dir cannot be walked.
An @<path> token in a run_agent_input text part is expanded by the worker before the run: a text file is inlined as a fenced block, a Markdown file as its ## Summary section when it has one, and an image becomes a note naming its path. A path that does not resolve to a readable file within the size limits stays in place as the raw token.
Affected pages: the CLI AG-UI output and daemon / browser extension protocol pages.
opentask.md - new ### Project file references section, placed right after the ### GitHub issue references section and mirroring its shape: the list_files request with optional project_dir, the files reply as a JSON example, the empty-list case when the project dir cannot be walked, plus the four @<path> expansion rules (text file inlined as a fenced block, Markdown file's ## Summary when it has one, image as a note naming its path, unresolvable path left as the raw token).
opentask.md - list_files and files rows in the browser-extension frame table.
cli.md - one list_files row in the AG-UI "App frames in" table, linking to the new section.
I took the wording from the CLI repo's docs/browser-extension-protocol.md rather than from the issue summary, so the size-limit and hidden-file caveats match what the worker actually does.
Skipped
The chat TUI's @ autocomplete has no prose section on the docs site (unlike #, which has /cli/#github-issue-references), so there was no TUI section to extend the way the # commit did - the new section stands alone and cli.md links into it. Writing a TUI-side @ menu section for cli.md is a bigger separate piece and I left it out; say the word if you want it. I did not run bun run preview (no nav or theme change here).
| Branch
Activity
edenreich commentedon Nov 6, 2026
@claude can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 6, 2026
Claude finished @edenreich's task in 3m 9s —— View job •
docs/issue-1106-20261106-1801• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1106-20261106-1801?quick_pull=1&title=Issue%20%231106%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231106%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented
list_filesand@<path>expansionlist_issues/#Ncommit as an exact template)docs/browser-extension-protocol.mdinstead of paraphrasing the issuelist_filesrequest +filesreply + empty-list case@<path>expansion (Markdown summary, image note, raw-token fallback)list_filesamong the project-scoped request frameslint:md,format:check,build- all pass)PR: #1109
What changed
33 lines added, nothing rewritten:
opentask.md- new### Project file referencessection, placed right after the### GitHub issue referencessection and mirroring its shape: thelist_filesrequest with optionalproject_dir, thefilesreply as a JSON example, the empty-list case when the project dir cannot be walked, plus the four@<path>expansion rules (text file inlined as a fenced block, Markdown file's## Summarywhen it has one, image as a note naming its path, unresolvable path left as the raw token).opentask.md-list_filesandfilesrows in the browser-extension frame table.cli.md- onelist_filesrow in the AG-UI "App frames in" table, linking to the new section.I took the wording from the CLI repo's
docs/browser-extension-protocol.mdrather than from the issue summary, so the size-limit and hidden-file caveats match what the worker actually does.Skipped
The chat TUI's
@autocomplete has no prose section on the docs site (unlike#, which has/cli/#github-issue-references), so there was no TUI section to extend the way the#commit did - the new section stands alone andcli.mdlinks into it. Writing a TUI-side@menu section forcli.mdis a bigger separate piece and I left it out; say the word if you want it. I did not runbun run preview(no nav or theme change here).| Branch
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀