Skip to content

[DOCS] OpenTask page says the daemon serves /artifacts/, but the route answers 404 #866

Closed

Description

@edenreich

Summary

The OpenTask page, in its section on generated images, states that alongside /ws the daemon serves the artifacts dir read-only over HTTP:

GET http://127.0.0.1:<port>/artifacts/<relative-path>

The daemon's binding does not serve that route. It answers 404, so images the agent generated do not render in the extension panel. One daemon serves many projects, and the route names no project, so it cannot map to one artifacts dir. Serving it per project is tracked in inference-gateway/cli#1414.

The same section gives the artifacts dir as ~/.infer/artifacts/. The CLI saves artifacts under ~/.infer/projects/<project-slug>/artifacts/.

Affected page: opentask.md, the section on generated images in the CLI bridge protocol.

The CLI's own wire contract already states this in docs/browser-extension-protocol.md, section "Artifacts (generated images)".

Acceptance Criteria

Reference: inference-gateway/cli#1413, inference-gateway/cli#1414

Activity

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

    @edenreich
    ContributorAuthor

    @claude Can you work on this?

  5. inference-gateway-maintainer commented on Sep 29, 2026

    @inference-gateway-maintainer
    Contributor

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


    Done - PR #867

    • Gather context (read opentask.md generated-images section, cross-checked the CLI's docs/browser-extension-protocol.md)
    • Track issue on Roadmap board (In progress -> QA)
    • Rewrite the section: route not served by the daemon (404), dropped loopback/traversal claims, fixed artifacts path
    • Validate: bun run lint:md, bun run format:check, bun run build - all pass
    • Commit + open PR

    What changed in opentask.md

    The generated-images section now:

    • States the daemon does not serve /artifacts/ yet and answers 404, so generated images do not render in the panel, and that a per-project form is planned. One daemon serves many projects and the route names none, so it cannot map to one artifacts dir - only infer chat's per-project binding serves it today.
    • No longer claims the route is loopback-only with path traversal blocked, since no daemon route exists.
    • Gives the artifacts dir as ~/.infer/projects/<project-slug>/artifacts/ (was ~/.infer/artifacts/).
    • Keeps the extension's rewrite rule, matching the CLI's wire contract.

    Per the repo convention against tracker references in doc content, the upstream issue numbers are described as "a per-project form is planned" rather than linked. The acceptance criterion about revisiting the page when the CLI route lands is noted in the PR body, not in the page.
    | Branch | PR #867

  6. inference-gateway-releaser commented on Sep 30, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.19 🎉

    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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions