openpencil/.github
Kayshen-X 75ec668463 feat(sdk): add op-web-sdk read-only web viewer crate
Plan 1 of the web embedding SDK (TS-retirement Phase 2): a wasm Viewer that
parses a .op document, renders it read-only via CanvasKit by reusing
op-editor-ui's canvas_viewport, supports pan/zoom navigation, exposes
read-only JSON snapshots, and exports SVG. Type-gen reuses jian-ops-schema's
ts-rs export.

Additive: new crate plus surgical cold pub exposures (CanvasViewport::from_scene
in op-editor-ui; pub mod canvaskit + pub init_backend in op-host-web). No TS
deleted. 17 tests; wasm 2.2 MiB gzip (0 env.* imports); clippy -D warnings clean.
2026-06-19 17:52:12 +08:00
..
ISSUE_TEMPLATE V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
workflows feat(sdk): add op-web-sdk read-only web viewer crate 2026-06-19 17:52:12 +08:00
FUNDING.yml V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
pull_request_template.md V0.3.3 (#33) 2026-03-11 21:18:49 +08:00