Repository navigation
Conversation
6 of 7 tasks
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
A file tab can use an installed syntax pack or a read-only viewer, recover when that plugin stops working, and reopen with the same file and host identity.
What Changed
Connects strict data packs to the language, icon and appearance stores. Syntax tokenization runs through bounded workers and a slot pool. File opening preserves source-versus-viewer intent, per-file selection and host-qualified identity; separate editor panes own separate viewer leases. Closed or disconnected guests retire their original authority. Dedicated iframe/table/canvas surfaces render bounded parser output, and the build emits checked viewer assets and a sandboxed preload.
Why
Extends the existing editor opening and session flows so choosing a plugin does not create a second file identity or lose normal restoration behavior. Host-owned documents and worker tokenization keep language data and file parsing out of the app renderer's authority.
Linked Issue
Maintainer-requested plugin work. Draft layer 16, based on desktop transport #28390. No new issue created.
Visual Proof
Disabled included packs → active Typst syntax, plus two folder-viewer panes. These are actual hidden Electron captures from the cumulative layer-17 tree. Its editor, syntax-worker and viewer surface files are identical to this layer; its new catalog/settings UI is an additional integration dependency, not part of this diff. These are workflow states, not screenshots of an older release.
Testing
Review
Data packs cannot add executable permissions through manifest edits. File viewers keep selected-file grants, pinned resource revisions and host ownership. Unsupported remote hosts fail closed. A viewer disconnect cannot switch to desktop files; reopening explicitly obtains new authority. The later catalog UI remains separately reviewable.
Agent skill upstream boundary
Checklist