# feat\(files\): open markdown, HTML, and PDF files outside the workspace · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/89d3b2644d198cbf53c1266cdc2367b5c5b06519)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 89d3b2644d198cbf53c1266cdc2367b5c5b06519

Requested commit: 89d3b2644d198cbf53c1266cdc2367b5c5b06519

Commit: 89d3b2644d198cbf53c1266cdc2367b5c5b06519

Tree: ebb2f7f1031c2ca4d2ac78075d19e0359ed29f2a

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
feat(files): open markdown, HTML, and PDF files outside the workspace

Agents often write reports to a temp directory and link them in chat. Those
chips had no way to show the file: the files panel only accepted
workspace-relative paths and the server rejected reads outside the root.

The server now reads absolute host paths (writes stay workspace-only) and
the media-file asset resource also serves HTML and PDF. Web and mobile open
such chips in the file viewer read-only; PDFs use the integrated browser
where it exists.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [ea71a19d4181ce13b0e8f374f45ba9237ee4a9ce](https://git.cafe/pingdotgg/t3code/commit/ea71a19d4181ce13b0e8f374f45ba9237ee4a9ce?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/89d3b2644d198cbf53c1266cdc2367b5c5b06519?format=markdown)
