@preview package support #10

Open
opened 2026-08-26 04:49:55 +00:00 by jlxq0 · 0 comments
Owner

Migrated from Plan.md's "Deferred (do not drift into these)" section when that file was retired; open work belongs in issues, not in a file with no state. Nothing here is scheduled and no decision has been taken. Do not start it without an explicit go.

world.rs rejects VirtualRoot::Package(_) with a clear diagnostic, and that rejection is part of the filesystem sandbox rather than a missing feature: BundleWorld is eagerly populated with no interior mutability, and a file() miss returns FileError::NotFound.

Supporting @preview means fetching third-party code at compile time into a process that renders customer documents. That is a security decision before it is a feature, and nobody has taken it.

Migrated from `Plan.md`'s "Deferred (do not drift into these)" section when that file was retired; open work belongs in issues, not in a file with no state. **Nothing here is scheduled and no decision has been taken.** Do not start it without an explicit go. `world.rs` rejects `VirtualRoot::Package(_)` with a clear diagnostic, and that rejection is part of the filesystem sandbox rather than a missing feature: `BundleWorld` is eagerly populated with no interior mutability, and a `file()` miss returns `FileError::NotFound`. Supporting `@preview` means fetching third-party code at compile time into a process that renders customer documents. **That is a security decision before it is a feature**, and nobody has taken it.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jlxq0/typst-mcp#10
No description provided.