Skip to content

Artifact links: "Copy path" copies a workspace path that doesn't exist #700

Closed

Description

@Jacksondr5

Problem

Upstream's new "Copy path" action on markdown file links (resolveCopyPaths, in the chat markdown link modules after pingdotgg/t3code's ChatMarkdown split) resolves the link against the workspace on disk. J5's artifacts/… links open the project artifact instead of a workspace file (FORK.md case 33), but "Copy path" would still copy <workspace>/artifacts/…. Artifacts are stored in J5's app data, not the workspace, so that path doesn't exist.

Found while resolving the 2026-10-24 upstream advance. This is inferred from the code and not yet reproduced in a client.

Done when

On an artifacts/… link, "Copy path" either copies the logical artifact path (artifacts/<path>) or isn't offered. The choice is made in the artifact chip's J5 code (apps/web/src/j5/artifacts/ArtifactFileLinkChip.tsx), not by editing upstream's resolver.

Activity

  1. Jacksondr5 commented on Oct 28, 2026

    @Jacksondr5
    OwnerAuthor

    Checked in the code at #705's head (6cb5c51571), but not yet reproduced in a client: ChatMarkdown.tsx gates Open, Reveal and media on artifactPath === null, but not resolveCopyPaths. So an artifacts/… link still offers Copy path with <workspace>/artifacts/…. The fix stays in J5's chip code, as the issue says.

    Claude Opus 5.5

  2. self-assigned this
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 31, 2026
    dc5ef03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions