Skip to content

fix(processing): remove package-gated operations - #17

Merged
lucifer1004 merged 2 commits into
pku-typst:mainfrom
lucifer1004:fix/pptx-export-applicability
Jul 20, 2026
Merged

fix(processing): remove package-gated operations#17
lucifer1004 merged 2 commits into
pku-typst:mainfrom
lucifer1004:fix/pptx-export-applicability

Conversation

@lucifer1004

Copy link
Copy Markdown
Contributor

What changed

  • remove package-gated processing policies from the distribution schema, Core, and UI
  • keep dynamic imports modeled solely as an immutable input-capture limitation
  • always materialize an empty package directory for package-free project bundles
  • tighten the related architecture and configuration documentation

Why

A converter implementation was incorrectly modeled as a package requirement on the submitted project. That introduced an unused applicability mechanism and caused valid package-free Typst projects to be rejected before processing.

Processing operations are now selected by the distribution and exact worker contract only. Typst package capture remains responsible for constructing immutable worker input.

Impact

Downstream distributions can enable Typst processing operations without inventing package eligibility rules, and workers receive a stable directory layout even when a project has no package dependencies.

Validation

  • backend: 257 tests; Clippy with warnings denied
  • processing SDK: 6 tests; Clippy with warnings denied
  • web: 428 tests, lint, and TypeScript build
  • Community documentation checks
  • downstream worker contract and overlay validation

Drop the unused package eligibility policy from distributions and processing submission. Keep dynamic imports as an input-capture limitation, and always materialize an empty package directory for package-free project bundles.
@lucifer1004
lucifer1004 marked this pull request as ready for review July 20, 2026 17:37
@lucifer1004
lucifer1004 merged commit 46b8a58 into pku-typst:main Jul 20, 2026
10 checks passed
@lucifer1004
lucifer1004 deleted the fix/pptx-export-applicability branch July 20, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant