@skillre/dsh-plugin-work-dashboard 0.13.0 → 0.15.0

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.
Files changed (38) hide show
  1. package/README.en.md +6 -9
  2. package/README.md +9 -12
  3. package/lib/client/api.d.ts +3 -3
  4. package/lib/client/api.js +1 -3
  5. package/lib/client/text.js +5 -5
  6. package/lib/client.js +37 -30
  7. package/lib/index.js +56 -8
  8. package/lib/report-contract.d.ts +132 -2
  9. package/lib/report-contract.js +127 -1
  10. package/lib/report-form.d.ts +33 -2
  11. package/lib/report-form.js +79 -6
  12. package/lib/report-page.js +2093 -1481
  13. package/lib/report-style.d.ts +24 -12
  14. package/lib/report-style.js +368 -447
  15. package/lib/transport.d.ts +5 -5
  16. package/lib/transport.js +4 -3
  17. package/lib/types.d.ts +25 -10
  18. package/package.json +9 -16
  19. package/skills/poc-export/SKILL.md +3 -3
  20. package/skills/poc-export/scripts/export-form.mjs +24 -5
  21. package/skills/poc-submit/SKILL.md +2 -2
  22. package/compatibility.json +0 -240
  23. package/docs/DESIGN-0.3.md +0 -122
  24. package/docs/DESIGN-1.0-/344/274/230/345/214/226/346/226/271/346/241/210.md +0 -212
  25. package/docs/DESIGN-/344/274/232/350/257/235/344/272/214-SuperAgent/344/270/216/344/273/223/345/272/223/346/224/271/351/200/240.md +0 -275
  26. package/docs/DESIGN-/345/257/274/345/207/272/350/241/250/345/215/225/351/207/215/350/256/276/350/256/241.md +0 -330
  27. package/docs/DESIGN-/346/217/220/351/206/222/344/270/216Gate/350/257/204/345/256/241.md +0 -518
  28. package/docs/DESIGN-/346/226/207/346/234/254/346/210/252/346/226/255.md +0 -565
  29. package/docs/DESIGN-/350/241/250/345/215/225/345/210/206/351/230/266/346/256/265.md +0 -420
  30. package/docs/LEDGER-REQUIREMENTS-v3.1.md +0 -367
  31. package/docs/PLAN-0.7-0.9.md +0 -230
  32. package/docs/PLAN-v3.1-adaptation.md +0 -237
  33. package/docs/POC-3.2-/350/277/233/345/261/225/345/245/221/347/272/246.md +0 -21
  34. package/docs/Super-Agent-3.2-/350/201/224/350/260/203/346/211/213/345/206/214.md +0 -38
  35. package/docs/TARGET-/345/217/260/350/264/246/344/273/223/345/272/223v3.1.md +0 -500
  36. package/docs//350/200/201Mac-SuperAgent/346/224/271/351/200/240/350/256/260/345/275/225-/347/254/254/344/272/214/346/255/245.md +0 -233
  37. package/lib/form.d.ts +0 -597
  38. package/lib/form.js +0 -3211
@@ -1,17 +1,29 @@
1
1
  /**
2
- * The stylesheet for the POC 3.2 report page and its return receipt.
2
+ * The stylesheet for the POC 3.2 report page.
3
3
  *
4
- * This is a plain string on purpose: the page is a single offline HTML file, so
5
- * there is nothing to import and no build-time asset to reference. The Host
6
- * embeds it in a `<style>` element; {@link REPORT_PAGE_SCRIPT} reads the same
7
- * bytes back out of the document when it builds the return receipt, so the page
8
- * and the receipt cannot drift apart.
4
+ * ## Two screens, one document
9
5
  *
10
- * Constraints:
11
- * - No `@import`, no remote font, no remote image: the file has to open from
12
- * `file://` on a locked-down laptop with no network.
13
- * - Every selector is prefixed `rp-` so it cannot collide with the Host shell.
14
- * - Both the interactive page and the read-only receipt live here. The receipt
15
- * only reuses tokens and adds `rp-rec-*` layout rules.
6
+ * The page is one HTML file with two screens: the worksheet the colleague fills
7
+ * in, and a read-only dossier of the project. The top bar carries a two-tab
8
+ * switcher; only one screen is displayed at a time.
9
+ *
10
+ * The visual split is the point, not decoration. Everything the colleague may
11
+ * EDIT sits on a white sheet with visible input boxes; everything they may only
12
+ * READ sits on the second screen, which has no inputs at all. The previous
13
+ * design mixed both in one column of bordered cards, and the practical result
14
+ * was that nobody could tell which boxes were theirs to fill.
15
+ *
16
+ * ## Everything is scoped under `.rp-app`
17
+ *
18
+ * The document is opened from `file://` and shares a machine with nothing else,
19
+ * but the generated page still owns only its own `main#app` element. Scoping
20
+ * every selector keeps that boundary honest and makes the stylesheet safe to
21
+ * embed next to any other content in the same file.
22
+ *
23
+ * ## No external resources
24
+ *
25
+ * Fonts are named, never fetched: a `file://` page that requests a webfont gets
26
+ * a blocked request and a flash of fallback text on a colleague's laptop with no
27
+ * network. The stacks below degrade to the platform's own Chinese faces.
16
28
  */
17
29
  export declare const REPORT_STYLE: string;