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] Render per-project artifact images in the opentask panel #879
The opentask extension panel now rewrites per-project artifact image paths onto the infer daemon's route, so generated images render inline in the panel instead of answering 404. Markdown image paths embedding /.infer/projects//artifacts/ (both tilde-prefixed and absolute home-directory) map onto GET http://127.0.0.1:/artifacts//, which the daemon serves read-only over the AG-UI binding's loopback listener. The stale global /.infer/artifacts/<...> rewriting was removed.
Affected pages: the browser-use / CLI bridge documentation (the wire contract lives in docs/browser-extension-protocol.md in inference-gateway/cli, shipped by inference-gateway/cli#1416), wherever the docs site describes the browser extension's artifact rendering, and any page still describing the old global artifacts layout.
Gather context - the only page describing this is opentask.md, section "Artifacts (generated images)"
Read the upstream wire contract (docs/browser-extension-protocol.md in inference-gateway/cli)
Update opentask.md
Validate: lint:md, format:check, build all pass
Commit and open PR
What changed
opentask.md "Artifacts (generated images)" now describes the shipped behavior:
The extension rewrites markdown image paths containing /.infer/projects/<project-slug>/artifacts/<relative-path> - tilde-prefixed or spelled out as an absolute home-directory path - onto GET http://127.0.0.1:<port>/artifacts/<project-slug>/<relative-path>. The stale global /artifacts/<relative-path> form is gone.
Dropped the "daemon does not serve that route yet / answers 404 / a per-project form is planned" paragraph. The daemon now serves the file read-only over the AG-UI binding's loopback listener, so generated images render inline in the panel, and the slug in the route is what lets one daemon serving many projects resolve the right directory.
Added the route's confinement: unauthenticated because a browser <img> tag cannot send the bearer token, so it listens only on loopback and answers only from inside ~/.infer/projects/<project-slug>/artifacts/; a non-local slug, a relative path that escapes the artifacts dir, a missing file, and a directory all answer 404.
No other page described the old global layout for the extension. The remaining ~/.infer/artifacts/ references in cli.md, cli-skills.md and github-action.md are the CLI's own session artifacts directory, which this change does not touch, so I left them alone. Page stays ASCII-only with plain hyphens.
Activity
edenreich commentedon Sep 30, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Sep 30, 2026
Claude finished @edenreich's task in 2m 9s —— View job •
docs/issue-879-20260930-2343• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-879-20260930-2343?quick_pull=1&title=Issue%20%23879%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23879%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented the per-project artifacts route
opentask.md, section "Artifacts (generated images)"docs/browser-extension-protocol.mdininference-gateway/cli)opentask.mdlint:md,format:check,buildall passWhat changed
opentask.md"Artifacts (generated images)" now describes the shipped behavior:/.infer/projects/<project-slug>/artifacts/<relative-path>- tilde-prefixed or spelled out as an absolute home-directory path - ontoGET http://127.0.0.1:<port>/artifacts/<project-slug>/<relative-path>. The stale global/artifacts/<relative-path>form is gone.<img>tag cannot send the bearer token, so it listens only on loopback and answers only from inside~/.infer/projects/<project-slug>/artifacts/; a non-local slug, a relative path that escapes the artifacts dir, a missing file, and a directory all answer 404.No other page described the old global layout for the extension. The remaining
~/.infer/artifacts/references incli.md,cli-skills.mdandgithub-action.mdare the CLI's own session artifacts directory, which this change does not touch, so I left them alone. Page stays ASCII-only with plain hyphens.PR: #880
| Branch
inference-gateway-releaser commentedon Oct 1, 2026
🎉 This issue has been resolved in version 0.9.20 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀