Skip to content

Publish HTML artifacts from an existing file #1936

Open

Description

@currentbits

User outcome

Let an agent publish a workspace HTML file to the preview without copying its contents into another tool call. Reuse the existing sandboxed renderer.

Current scope

Inline HTML and MCP resources are rendered, but a built-in file-backed artifact publishing tool was not found. This needs a bounded file/snapshot contract and workspace access checks, not merely another parameter on an existing tool.

Acceptance criteria

  • Publish an allowed workspace file as an HTML artifact without retyping its contents.
  • Define size limits, symlink/path rules, stable snapshot identity and clear failures.
  • Reuse the existing sandboxed viewer and validate local/linked-computer routing.

Verification

Add focused behavior coverage for the changed path, run relevant checks and record any unverified platform/provider behavior. Do not alter real user credentials or settings during tests.

Tracked by #1926. Implementation status is separate from merge status.

Activity

  1. added
    plan:todo
    on Nov 8, 2026
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

    plan:todo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions