@agentsky/desktop-ui 0.4.123 → 0.4.125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,7 +23,8 @@ scripts/sync-web-* regenerate the web-derived files (tokens, icons, logos, Are
23
23
  editors/ the editors bundle's own build and dependencies
24
24
  test/ node --test suites for the modules and the generated files
25
25
  dist/ the build output: one script and one stylesheet per page,
26
- the pages rewritten to load them, assets/, editors/ and
26
+ the pages rewritten to load them, chunks/ (what the main
27
+ window imports on demand), assets/, editors/ and
27
28
  vendor/mermaid.js
28
29
  ```
29
30
 
@@ -47,7 +48,10 @@ too large and too dynamic to bundle, so the build copies its prebuilt file to
47
48
  `dist/vendor/mermaid.js` and the page loads it as a plain script when the first
48
49
  diagram draws. The artifact editors are a bundle of their own
49
50
  (`src/editors/`, built by `editors/build.js` from the web app's sources) that
50
- the page imports when an editor opens; the build copies it as it is.
51
+ the page imports when an editor opens; the build copies it as it is. The main
52
+ window's bundle is split: what it imports with `import()` (the PDF reader's
53
+ pdf.js) is a chunk under `dist/chunks/` fetched when first needed, so a launch
54
+ parses only what the first screen runs.
51
55
 
52
56
  Everything a page references at run time must end up under `dist/`: the shell
53
57
  serves that directory and nothing else, under a content security policy that