openpencil/crates/op-host-web/src
Kayshen-X ace4c7257e feat(web): fetch preview assets at runtime instead of embedding them
The preview JPEGs (~2.4 MiB, already compressed so gzip passed them
straight through) leave the wasm data segment: a platform-free asset
registry in op-editor-core tracks per-route Absent/Pending/Ready/Failed
with single-flight and install-once semantics, the browser half fetches
over ArrayBuffer XHR with managed-mode headers and a slot-wrapped
callback so no synchronous failure can strand a route in Pending, and
paint sites fall back to the existing placeholder when bytes are not
(yet) there. Native keeps include_bytes verbatim. The staging script
copies the asset dirs into pkg/assets/ — under /pkg/ because the hub
frontend owns /assets/ — and the gate, CI workflow, and web image all
run it and assert the layout. Bundle: 7.13 → 5.10 MiB gzip, so the
tripwire returns to 6 MiB (85% occupancy); the sdk bundle keeps its own
8 MiB pending a real measurement.

Also closes the final review test gaps: the owner-session fixture now
returns a must-use lane guard (a dropped receiver made the saturated
lane read as Disconnected, not Full) and seeds the daemon's baseline
document so the hash check exercises the real path, and the closed
write barrier has a direct multi-page active-page regression test.
2026-08-09 01:37:06 +08:00
..
canvaskit feat(web): fetch preview assets at runtime instead of embedding them 2026-08-09 01:37:06 +08:00
dom_io feat(editor): give decks a full workspace of navigation, generation and export surfaces 2026-08-05 00:57:49 +08:00
event fix(editor): accept ime punctuation that commits without a composition 2026-08-05 00:50:22 +08:00
file_actions feat(html): overhaul HTML and browser-snapshot import fidelity 2026-08-04 21:47:49 +08:00
widget_host feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
a11y_dom.rs
agent_indicator_sync.rs fix(web): recovery affordance, tenant-aware URLs, and restore isolation for online 2026-08-08 18:25:00 +08:00
canvaskit.rs refactor: split every oversized module into sibling files 2026-07-26 14:58:19 +08:00
codegen_bundle.rs
codegen_web.rs fix(codegen): preserve generated results across framework tabs 2026-07-27 21:04:23 +08:00
codegen_web_tests.rs fix(codegen): preserve generated results across framework tabs 2026-07-27 21:04:23 +08:00
collab_sync.rs fix(web): wire the review remedies end to end 2026-08-08 19:57:08 +08:00
collab_sync_push_gate.rs fix(web): unblock session node creation, isolate account switches, persist online tenants 2026-08-08 16:29:41 +08:00
daemon_base.rs fix(web): recovery affordance, tenant-aware URLs, and restore isolation for online 2026-08-08 18:25:00 +08:00
document_json.rs feat(editor): give decks a full workspace of navigation, generation and export surfaces 2026-08-05 00:57:49 +08:00
dom_io.rs feat(html): overhaul HTML and browser-snapshot import fidelity 2026-08-04 21:47:49 +08:00
figma_temp_bridge.rs refactor: typed error enums across the whole workspace 2026-07-27 21:09:06 +08:00
figma_temp_worker.js feat(editor): improve document workflows and rendering 2026-07-23 21:15:04 +08:00
figma_temp_writer.rs refactor: typed error enums across the whole workspace 2026-07-27 21:09:06 +08:00
file_actions.rs feat(html): overhaul HTML and browser-snapshot import fidelity 2026-08-04 21:47:49 +08:00
font_meta.rs
font_store_idb.rs
iconify_web.rs refactor: typed error enums across the whole workspace 2026-07-27 21:09:06 +08:00
identity_epoch.rs fix(web): credential partition hygiene, shutdown write barrier, seed lifecycle 2026-08-08 20:44:32 +08:00
image_decode_queue.rs feat(editor): show authenticated profile avatars 2026-07-29 15:20:34 +08:00
ime_input.rs fix(editor): accept ime punctuation that commits without a composition 2026-08-05 00:50:22 +08:00
lib.rs feat(web): fetch preview assets at runtime instead of embedding them 2026-08-09 01:37:06 +08:00
listener.rs
live_sync.rs feat(web): cross-account tenant sharing with eviction persistence 2026-08-08 15:17:57 +08:00
live_sync_conflict.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
live_sync_controller.rs fix(web): unblock session node creation, isolate account switches, persist online tenants 2026-08-08 16:29:41 +08:00
live_sync_glue.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
live_sync_identity.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
live_sync_recovery.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
live_sync_toast_tests.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00
op_ck_bridge.js fix(renderer): shape complex scripts instead of painting them in storage order (#194) 2026-08-02 19:18:50 +08:00
op_ck_image_cache.js feat(renderer): rasterize svg image sources at the byte-cache seam 2026-08-05 22:15:09 +08:00
prompt_center_file_actions_tests.rs feat(ai): add prompt center 2026-07-30 09:00:40 +08:00
raf_pump.rs
repaint_coalescer.rs
repaint_ctx.rs fix(web): make the identity reset claims real and cover /mcp in the write barrier 2026-08-08 21:35:27 +08:00
theme_preset_io.rs
tooltip_pump.rs feat(editor): add delayed top-bar tooltips 2026-08-07 02:00:22 +08:00
vscode_bridge.rs feat(editor): improve document workflows and rendering 2026-07-23 21:15:04 +08:00
vscode_bridge_snapshot.rs feat(editor): give decks a full workspace of navigation, generation and export surfaces 2026-08-05 00:57:49 +08:00
web_acp_connect.rs fix(agent): make ACP connection probes generation-safe 2026-07-30 08:57:15 +08:00
web_agent_connect.rs feat(i18n): complete locale coverage across menus, providers, and panels 2026-07-26 11:24:06 +08:00
web_ai_credentials.rs
web_ai_transport.rs fix(web): recovery affordance, tenant-aware URLs, and restore isolation for online 2026-08-08 18:25:00 +08:00
web_asset_fetch.rs feat(web): fetch preview assets at runtime instead of embedding them 2026-08-09 01:37:06 +08:00
web_auth_sync.rs fix(web): wire the review remedies end to end 2026-08-08 19:57:08 +08:00
web_chat.rs feat(editor): record what a document is for as a scenario tag 2026-08-02 23:44:20 +08:00
web_chat_credential_tests.rs refactor: split every oversized module into sibling files 2026-07-26 14:58:19 +08:00
web_clipboard.rs fix(vscode): shift-tolerant redo, cmd+s save relay, and iframe autofocus 2026-07-19 20:41:37 +08:00
web_credential_sync.rs fix(web): request-time epoch snapshots, AI write admission, drain without ceiling 2026-08-08 22:35:42 +08:00
web_design_md.rs refactor(editor): split editor_ui_state into sibling modules and narrow snapshots 2026-07-26 13:21:06 +08:00
web_fonts.rs fix(editor): improve import and generation reliability 2026-07-21 06:34:53 +08:00
web_fonts_tests.rs fix(editor): improve import and generation reliability 2026-07-21 06:34:53 +08:00
web_image_panel.rs fix(web): recovery affordance, tenant-aware URLs, and restore isolation for online 2026-08-08 18:25:00 +08:00
web_model_catalog.rs fix(web): recovery affordance, tenant-aware URLs, and restore isolation for online 2026-08-08 18:25:00 +08:00
web_settings.rs fix(web): request-time epoch snapshots, AI write admission, drain without ceiling 2026-08-08 22:35:42 +08:00
web_settings_acp_scrub_tests.rs fix(web): unblock session node creation, isolate account switches, persist online tenants 2026-08-08 16:29:41 +08:00
web_settings_legacy.rs fix(agent): retire gemini cli provider, add antigravity and grok build 2026-07-24 21:11:15 +08:00
web_settings_lossless_tests.rs fix(web): unblock session node creation, isolate account switches, persist online tenants 2026-08-08 16:29:41 +08:00
web_settings_partition_tests.rs fix(web): make the identity reset claims real and cover /mcp in the write barrier 2026-08-08 21:35:27 +08:00
web_settings_storage.rs fix(web): credential partition hygiene, shutdown write barrier, seed lifecycle 2026-08-08 20:44:32 +08:00
web_settings_tests.rs fix(web): make the identity reset claims real and cover /mcp in the write barrier 2026-08-08 21:35:27 +08:00
web_settings_validation.rs feat(desktop): one-click mcp registration for twelve clis 2026-08-05 00:52:13 +08:00
web_storage.rs
widget_host.rs feat(editor): canvas toast banner surfaces the online recovery notice 2026-08-09 00:47:05 +08:00