counterparts 0.3.0 → 0.3.2

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 (207) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/docs/module-map.md +2 -0
  3. package/package.json +2 -1
  4. package/src/adapters/claude-code/CONTRACT.md +2 -1
  5. package/src/adapters/claude-code/NOTES.md +90 -2
  6. package/src/adapters/claude-code/bin/hook.ts +17 -2
  7. package/src/adapters/claude-code/bin/runner.ts +4 -1
  8. package/src/adapters/claude-code/config.ts +23 -0
  9. package/src/adapters/claude-code/doctor.ts +148 -26
  10. package/src/adapters/claude-code/hooks.ts +37 -12
  11. package/src/adapters/claude-code/index.ts +2 -0
  12. package/src/adapters/claude-code/standdown.ts +12 -1
  13. package/src/adapters/claude-code/transcript.ts +79 -6
  14. package/src/adapters/cli/INTERFACE-GAPS.md +4 -0
  15. package/src/adapters/cli/commands.ts +209 -61
  16. package/src/adapters/cli/export.ts +27 -3
  17. package/src/adapters/cli/help.ts +22 -8
  18. package/src/adapters/cli/install.ts +3 -5
  19. package/src/adapters/cli/mechanisms.ts +295 -0
  20. package/src/adapters/cli/repair-dates.ts +3 -1
  21. package/src/adapters/cli/snapshot.ts +4 -27
  22. package/src/adapters/dashboard/CONTRACT.md +13 -9
  23. package/src/adapters/dashboard/INTERFACE-GAPS.md +4 -0
  24. package/src/adapters/dashboard/NOTES.md +3 -2
  25. package/src/adapters/dashboard/activity.ts +2 -1
  26. package/src/adapters/dashboard/bin/dashboard.ts +18 -3
  27. package/src/adapters/dashboard/upgrade.ts +23 -0
  28. package/src/adapters/dashboard/web/README.md +153 -0
  29. package/src/adapters/dashboard/web/actions.ts +631 -0
  30. package/src/adapters/dashboard/web/app.html +40 -1703
  31. package/src/adapters/dashboard/web/app.js +55 -0
  32. package/src/adapters/dashboard/web/mechanisms/association/index.js +15 -0
  33. package/src/adapters/dashboard/web/mechanisms/association/panel.js +17 -0
  34. package/src/adapters/dashboard/web/mechanisms/consolidation/index.js +15 -0
  35. package/src/adapters/dashboard/web/mechanisms/consolidation/panel.js +23 -0
  36. package/src/adapters/dashboard/web/mechanisms/decay/index.js +15 -0
  37. package/src/adapters/dashboard/web/mechanisms/decay/panel.js +45 -0
  38. package/src/adapters/dashboard/web/mechanisms/emotional/index.js +15 -0
  39. package/src/adapters/dashboard/web/mechanisms/episodic-semantic/index.js +15 -0
  40. package/src/adapters/dashboard/web/mechanisms/index.js +60 -0
  41. package/src/adapters/dashboard/web/mechanisms/interference/index.js +15 -0
  42. package/src/adapters/dashboard/web/mechanisms/picture.js +28 -0
  43. package/src/adapters/dashboard/web/mechanisms/prospective/index.js +15 -0
  44. package/src/adapters/dashboard/web/mechanisms/reconsolidation/index.js +15 -0
  45. package/src/adapters/dashboard/web/mechanisms/reconsolidation/panel.js +15 -0
  46. package/src/adapters/dashboard/web/mechanisms/regions.js +30 -0
  47. package/src/adapters/dashboard/web/mechanisms/retrieval/index.js +15 -0
  48. package/src/adapters/dashboard/web/mechanisms/retrieval/panel.js +20 -0
  49. package/src/adapters/dashboard/web/mechanisms/salience/index.js +15 -0
  50. package/src/adapters/dashboard/web/mechanisms/salience/panel.js +14 -0
  51. package/src/adapters/dashboard/web/mechanisms/schema/index.js +15 -0
  52. package/src/adapters/dashboard/web/narrate.ts +10 -10
  53. package/src/adapters/dashboard/web/pages/flow/flow.css +38 -0
  54. package/src/adapters/dashboard/web/pages/flow/index.js +117 -0
  55. package/src/adapters/dashboard/web/pages/flow/sections/blind.js +12 -0
  56. package/src/adapters/dashboard/web/pages/flow/sections/detail.js +45 -0
  57. package/src/adapters/dashboard/web/pages/flow/sections/diagram.js +291 -0
  58. package/src/adapters/dashboard/web/pages/flow/sections/feed.js +11 -0
  59. package/src/adapters/dashboard/web/pages/flow/sections/fired.js +41 -0
  60. package/src/adapters/dashboard/web/pages/flow/sections/heatmap.js +25 -0
  61. package/src/adapters/dashboard/web/pages/flow/sections/records.js +24 -0
  62. package/src/adapters/dashboard/web/pages/flow/sections/symmetry.js +17 -0
  63. package/src/adapters/dashboard/web/pages/flow/state.js +3 -0
  64. package/src/adapters/dashboard/web/pages/health/health.css +93 -0
  65. package/src/adapters/dashboard/web/pages/health/index.js +41 -0
  66. package/src/adapters/dashboard/web/pages/health/sections/archive.js +84 -0
  67. package/src/adapters/dashboard/web/pages/health/sections/checks.js +172 -0
  68. package/src/adapters/dashboard/web/pages/health/sections/cycle.js +37 -0
  69. package/src/adapters/dashboard/web/pages/health/sections/verify.js +54 -0
  70. package/src/adapters/dashboard/web/pages/home/brain.js +375 -0
  71. package/src/adapters/dashboard/web/pages/home/home.css +134 -0
  72. package/src/adapters/dashboard/web/pages/home/index.js +84 -0
  73. package/src/adapters/dashboard/web/pages/home/sections/explorer.js +206 -0
  74. package/src/adapters/dashboard/web/pages/home/sections/hero.js +22 -0
  75. package/src/adapters/dashboard/web/pages/home/sections/live-activity.js +25 -0
  76. package/src/adapters/dashboard/web/pages/home/sections/recent-chapters.js +13 -0
  77. package/src/adapters/dashboard/web/pages/home/sections/tiles.js +52 -0
  78. package/src/adapters/dashboard/web/pages/memories/index.js +75 -0
  79. package/src/adapters/dashboard/web/pages/memories/memories.css +143 -0
  80. package/src/adapters/dashboard/web/pages/memories/sections/constellation.js +178 -0
  81. package/src/adapters/dashboard/web/pages/memories/sections/kinds.js +42 -0
  82. package/src/adapters/dashboard/web/pages/memories/sections/list.js +114 -0
  83. package/src/adapters/dashboard/web/pages/memories/sections/search.js +102 -0
  84. package/src/adapters/dashboard/web/pages/memories/sections/tools.js +155 -0
  85. package/src/adapters/dashboard/web/pages/memories/state.js +22 -0
  86. package/src/adapters/dashboard/web/pages/self/diff.js +79 -0
  87. package/src/adapters/dashboard/web/pages/self/index.js +43 -0
  88. package/src/adapters/dashboard/web/pages/self/markdown.js +61 -0
  89. package/src/adapters/dashboard/web/pages/self/sections/journal.js +32 -0
  90. package/src/adapters/dashboard/web/pages/self/sections/page.js +149 -0
  91. package/src/adapters/dashboard/web/pages/self/sections/settling.js +150 -0
  92. package/src/adapters/dashboard/web/pages/self/sections/stories.js +47 -0
  93. package/src/adapters/dashboard/web/pages/self/sections/wake.js +74 -0
  94. package/src/adapters/dashboard/web/pages/self/self.css +182 -0
  95. package/src/adapters/dashboard/web/server.ts +305 -28
  96. package/src/adapters/dashboard/web/shared/absence.js +14 -0
  97. package/src/adapters/dashboard/web/shared/actions.js +48 -0
  98. package/src/adapters/dashboard/web/shared/api.js +17 -0
  99. package/src/adapters/dashboard/web/shared/base.css +34 -0
  100. package/src/adapters/dashboard/web/shared/canvas.js +68 -0
  101. package/src/adapters/dashboard/web/shared/colors.js +6 -0
  102. package/src/adapters/dashboard/web/shared/dom.js +4 -0
  103. package/src/adapters/dashboard/web/shared/event-modal.js +25 -0
  104. package/src/adapters/dashboard/web/shared/fonts/OFL-courier-prime.txt +93 -0
  105. package/src/adapters/dashboard/web/shared/fonts/OFL-outfit.txt +93 -0
  106. package/src/adapters/dashboard/web/shared/fonts/courier-prime-latin-400.woff2 +0 -0
  107. package/src/adapters/dashboard/web/shared/fonts/courier-prime-latin-700.woff2 +0 -0
  108. package/src/adapters/dashboard/web/shared/fonts/outfit-latin-wght.woff2 +0 -0
  109. package/src/adapters/dashboard/web/shared/format.js +31 -0
  110. package/src/adapters/dashboard/web/shared/layout.css +32 -0
  111. package/src/adapters/dashboard/web/shared/memory-modal.js +124 -0
  112. package/src/adapters/dashboard/web/shared/modal.css +24 -0
  113. package/src/adapters/dashboard/web/shared/modal.js +22 -0
  114. package/src/adapters/dashboard/web/shared/state.js +12 -0
  115. package/src/adapters/dashboard/web/shared/tip.css +4 -0
  116. package/src/adapters/dashboard/web/shared/tip.js +12 -0
  117. package/src/adapters/dashboard/web/shared/tokens.css +50 -0
  118. package/src/adapters/dashboard/web/shared/type.css +52 -0
  119. package/src/adapters/dashboard/web/shared/utilities.css +5 -0
  120. package/src/adapters/dashboard/web/shared/vendor/MIT-three.txt +21 -0
  121. package/src/adapters/dashboard/web/shared/vendor/three.module.min.js +6 -0
  122. package/src/adapters/dashboard/web/shared/widgets/bar.css +9 -0
  123. package/src/adapters/dashboard/web/shared/widgets/card.css +6 -0
  124. package/src/adapters/dashboard/web/shared/widgets/chapters.js +15 -0
  125. package/src/adapters/dashboard/web/shared/widgets/chart.css +4 -0
  126. package/src/adapters/dashboard/web/shared/widgets/confirm.css +31 -0
  127. package/src/adapters/dashboard/web/shared/widgets/confirm.js +52 -0
  128. package/src/adapters/dashboard/web/shared/widgets/feed.css +13 -0
  129. package/src/adapters/dashboard/web/shared/widgets/feed.js +41 -0
  130. package/src/adapters/dashboard/web/shared/widgets/light.css +4 -0
  131. package/src/adapters/dashboard/web/shared/widgets/light.js +15 -0
  132. package/src/adapters/dashboard/web/shared/widgets/rows.css +7 -0
  133. package/src/adapters/dashboard/web/shared/widgets/table.css +17 -0
  134. package/src/adapters/dashboard/web/shared/widgets/tiles.css +14 -0
  135. package/src/adapters/dashboard/web/shell/pages.js +15 -0
  136. package/src/adapters/dashboard/web/shell/pulse.js +86 -0
  137. package/src/adapters/dashboard/web/shell/tabs.js +49 -0
  138. package/src/adapters/dashboard/web/static.ts +76 -0
  139. package/src/adapters/dashboard/web/views/activity.ts +80 -0
  140. package/src/adapters/dashboard/web/views/archive-words.ts +57 -0
  141. package/src/adapters/dashboard/web/views/flow-view.ts +217 -0
  142. package/src/adapters/dashboard/web/views/health.ts +328 -0
  143. package/src/adapters/dashboard/web/views/mechanism-panel.ts +370 -0
  144. package/src/adapters/dashboard/web/views/mechanisms.ts +302 -0
  145. package/src/adapters/dashboard/web/views/memories.ts +342 -0
  146. package/src/adapters/dashboard/web/views/memory.ts +210 -0
  147. package/src/adapters/dashboard/web/views/meta.ts +64 -0
  148. package/src/adapters/dashboard/web/views/mind.ts +729 -0
  149. package/src/adapters/dashboard/web/views/overview.ts +282 -0
  150. package/src/adapters/dashboard/web/views/pulse.ts +19 -0
  151. package/src/adapters/dashboard/web/views/rows.ts +207 -0
  152. package/src/adapters/dashboard/web/views/search.ts +62 -0
  153. package/src/adapters/dashboard/web/views/shared.ts +161 -0
  154. package/src/adapters/dashboard/web/views.ts +34 -1724
  155. package/src/adapters/fired.ts +138 -31
  156. package/src/adapters/mcp/INTERFACE-GAPS.md +4 -1
  157. package/src/adapters/mcp/NOTES.md +43 -0
  158. package/src/adapters/mcp/bin/serve.ts +9 -1
  159. package/src/adapters/mcp/index.ts +7 -0
  160. package/src/adapters/mcp/server.ts +167 -6
  161. package/src/adapters/mcp/tools.ts +42 -0
  162. package/src/adapters/mcp/write-up.ts +1 -1
  163. package/src/adapters/sessions.ts +18 -1
  164. package/src/adapters/snapshots.ts +71 -39
  165. package/src/core/associate/INTERFACE-GAPS.md +8 -0
  166. package/src/core/counterpart.ts +86 -7
  167. package/src/core/encode/INTERFACE-GAPS.md +12 -0
  168. package/src/core/feelings-wheel.ts +218 -0
  169. package/src/core/handoff/INTERFACE-GAPS.md +2 -0
  170. package/src/core/mint.ts +14 -2
  171. package/src/core/prospective/INTERFACE-GAPS.md +14 -0
  172. package/src/core/prospective/windows.ts +10 -48
  173. package/src/core/recall/INTERFACE-GAPS.md +6 -0
  174. package/src/core/remember/INTERFACE-GAPS.md +10 -0
  175. package/src/core/schemas/INTERFACE-GAPS.md +8 -0
  176. package/src/core/schemas/NOTES.md +118 -1
  177. package/src/core/schemas/index.ts +330 -40
  178. package/src/core/schemas/tunables.ts +23 -0
  179. package/src/core/schemas/types.ts +64 -1
  180. package/src/core/self/CONTRACT.md +3 -0
  181. package/src/core/self/INTERFACE-GAPS.md +10 -0
  182. package/src/core/self/NOTES.md +33 -2
  183. package/src/core/self/calendar.ts +7 -78
  184. package/src/core/self/episodes.ts +52 -12
  185. package/src/core/self/index.ts +40 -12
  186. package/src/core/self/writer.ts +22 -22
  187. package/src/core/sleep/NOTES.md +36 -0
  188. package/src/core/sleep/cycle.ts +38 -3
  189. package/src/core/sleep/fade.ts +76 -0
  190. package/src/core/sleep/index.ts +4 -1
  191. package/src/core/sleep/prune.ts +8 -1
  192. package/src/core/sleep/tunables.ts +5 -0
  193. package/src/core/sleep/types.ts +24 -0
  194. package/src/core/store/CONTRACT.md +36 -7
  195. package/src/core/store/NOTES.md +197 -0
  196. package/src/core/store/errors.ts +22 -0
  197. package/src/core/store/feelings.ts +182 -0
  198. package/src/core/store/index.ts +339 -45
  199. package/src/core/store/operational.ts +240 -22
  200. package/src/core/store/owner-op-seam.ts +13 -3
  201. package/src/core/store/paths.ts +15 -1
  202. package/src/core/store/pre-migration.ts +258 -0
  203. package/src/core/store/prose.ts +8 -1
  204. package/src/core/store/render.ts +3 -0
  205. package/src/core/time.ts +374 -0
  206. package/src/core/types.ts +13 -0
  207. package/src/adapters/dashboard/web/brain.html +0 -463
@@ -0,0 +1,22 @@
1
+ /* The one overlay. `#overlay` / `#modal` live in the shell; the memory and
2
+ event cards that open in it are `memory-modal.js` and `event-modal.js`. */
3
+ import { $, esc } from "./dom.js";
4
+
5
+ export function closeModal() { $("overlay").classList.remove("show"); }
6
+ export function openModal(html) { $("modal").innerHTML = '<span class="x" onclick="closeModal()">×</span>' + html; $("overlay").classList.add("show"); }
7
+
8
+ /** A titled block inside a card, or its absence sentence. */
9
+ export function section(title, body, emptyMsg) {
10
+ if (!body && !emptyMsg) return "";
11
+ return "<h4>" + esc(title) + "</h4>" +
12
+ (body || "<div style='color:var(--dim);font-size:11px'>" + esc(emptyMsg) + "</div>");
13
+ }
14
+
15
+ /** Wire the overlay once: a click on the backdrop or Escape closes it. The
16
+ * inline `onclick="closeModal()"` in every card needs the global. */
17
+ export function mountModal() {
18
+ const overlay = $("overlay");
19
+ overlay.onclick = (e) => { if (e.target === overlay) closeModal(); };
20
+ addEventListener("keydown", (e) => { if (e.key === "Escape") closeModal(); });
21
+ window.closeModal = closeModal;
22
+ }
@@ -0,0 +1,12 @@
1
+ /* The little state more than one module reads. Nothing is cached between
2
+ loads: every panel is a pure function of one JSON view, because the whole
3
+ point of render-time resolution is that a memory removed a minute ago stops
4
+ resolving on the next request. */
5
+
6
+ /** Which tab is showing, and which have been built once. */
7
+ export const tabs = { current: "home", loaded: {} };
8
+
9
+ /** The pulse's bookkeeping: the newest event seen, and the cheap shape of the
10
+ * store (`/api/meta`'s rows + day) so a poll can notice a deposit that left no
11
+ * trace in the event log. `fingerprint` is null until `/api/meta` answers. */
12
+ export const live = { lastSeq: 0, fingerprint: null };
@@ -0,0 +1,4 @@
1
+ #tip{position:fixed;display:none;background:var(--deep);border:1px solid var(--glow);border-radius:6px;
2
+ padding:8px 11px;font-size:11px;max-width:330px;pointer-events:none;z-index:120;color:var(--ink);
3
+ line-height:1.55;box-shadow:0 6px 26px rgba(0,0,0,.6)}
4
+ #tip .dimline{color:var(--dim);font-size:10px;margin-top:4px}
@@ -0,0 +1,12 @@
1
+ /* The hover tooltip (the constellation uses it). `#tip` lives in the shell. */
2
+ import { $ } from "./dom.js";
3
+
4
+ export function showTip(x, y, html) {
5
+ const tip = $("tip");
6
+ tip.innerHTML = html;
7
+ tip.style.display = "block";
8
+ const w = tip.offsetWidth, h = tip.offsetHeight;
9
+ tip.style.left = Math.min(innerWidth - w - 10, Math.max(8, x + 14)) + "px";
10
+ tip.style.top = Math.max(8, y - h - 12) + "px";
11
+ }
12
+ export function hideTip() { $("tip").style.display = "none"; }
@@ -0,0 +1,50 @@
1
+ /* ───────────────────────────────────────────────────────────────────────────
2
+ The glow theme, and the only theme — now the website's (counterparts.ai,
3
+ `features/home-v2/styles/home-v2.css`), so the dashboard and the site read
4
+ as one thing: near-black ground, neon cyan and purple, Outfit for anything
5
+ read as words, Courier only for big numbers and ids (see type.css).
6
+ Every colour is a variable so a second theme is a block, not a rewrite.
7
+
8
+ The faces are SELF-HOSTED from this origin (`shared/fonts/`, OFL licences
9
+ beside them): no CDN, no network beyond this server, so the page still
10
+ renders identically with the machine unplugged. Courier asks for Apple's
11
+ installed Courier first, exactly as the site does (every Mac and iPhone has
12
+ it), and Courier Prime — Courier redrawn for screens — is the bundled
13
+ fallback everywhere else.
14
+ ─────────────────────────────────────────────────────────────────────────── */
15
+ @font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:swap;
16
+ src:url("/shared/fonts/outfit-latin-wght.woff2") format("woff2")}
17
+ @font-face{font-family:"Courier Prime";font-style:normal;font-weight:400;font-display:swap;
18
+ src:url("/shared/fonts/courier-prime-latin-400.woff2") format("woff2")}
19
+ @font-face{font-family:"Courier Prime";font-style:normal;font-weight:700;font-display:swap;
20
+ src:url("/shared/fonts/courier-prime-latin-700.woff2") format("woff2")}
21
+ :root{
22
+ /* The site's ground (#04070c) with its soft top-right lift (`--lift`, painted
23
+ on body). Cards stay OPAQUE (#0d1117): the contrast ramp below is measured
24
+ against them, and a translucent card would make every ratio depend on
25
+ what happens to sit behind it. */
26
+ --bg:#04070c; --lift:#0a1220; --card:#0d1117; --hover:#111820; --deep:#060a10;
27
+ --border:rgba(0,229,255,.14); --glow:rgba(0,229,255,.28);
28
+ /* The three text steps, measured rather than eyeballed. WCAG ratios against
29
+ the page ground (#0a0e14) and the card (#0d1117), which are the only two
30
+ backgrounds any text sits on:
31
+ --ink 11.8 : 1 — memory prose, table cells, node state
32
+ --dim 6.4 : 1 / 6.2 : 1 — the narration lede, nav, legends, headers
33
+ --faint 5.1 : 1 / 5.0 : 1 — the per-memory metadata row
34
+ The old values were 3.35 and 1.86. The 1.86 was the line carrying what was
35
+ remembered and when — the least legible text on the page was the one
36
+ constitution line 16 is actually about. The hierarchy survives as a real
37
+ three-step ramp; only the floor moved.
38
+ 2026-09-25: the ground moved to the site's #04070c (darker, so every ratio
39
+ on it rose); the lift at the top right peaks at #0a1220, a touch lighter
40
+ than the old ground, and --faint measures about 4.8 : 1 at its brightest.
41
+ `tools/visual-loop` re-measures all of it on every run. */
42
+ --ink:#c5cdd8; --dim:#8a95a3; --faint:#79848f;
43
+ --cyan:#00e5ff; --purple:#b388ff; --amber:#ffd740; --teal:#00bfa5; --red:#ff5252;
44
+ --radius:4px;
45
+ /* The two faces, as the site names them. --sans: prose, body, headings and
46
+ the wordmark. --mono: labels, numbers, pills, ids, terminals. */
47
+ --sans:"Outfit",system-ui,-apple-system,"Segoe UI",sans-serif;
48
+ --mono:Courier,"Courier Prime","Courier New",monospace;
49
+ --hovershadow:0 0 15px rgba(0,229,255,.15), inset 0 0 15px rgba(0,229,255,.02);
50
+ }
@@ -0,0 +1,52 @@
1
+ /* ───────────────────────────────────────────────────────────────────────────
2
+ Which face goes where, in one place. Loaded LAST, so a page rule's family or
3
+ case never wins by accident.
4
+
5
+ OUTFIT (`--sans`, set on `body` in base.css) for anything a person reads as
6
+ words: headings and their subtitles, tab labels, badges, tile captions,
7
+ table headers, feed lines, pills. The owner found Courier hard to read
8
+ (2026-09-25), so the old small-caps, letter-spaced labels are softened too:
9
+ sentence case, a little weight, the way counterparts.ai reads.
10
+
11
+ COURIER (`--mono`) only where fixed-width really helps: the big tile
12
+ numbers, ids and dotted record names, hashes, byte figures. If in doubt,
13
+ Outfit.
14
+ ─────────────────────────────────────────────────────────────────────────── */
15
+
16
+ /* ── the Courier list: numbers, ids, machine names ── */
17
+ .tile .n,.ev .k,td .ident,#modal .copy,#modal .sub .path{font-family:var(--mono)}
18
+
19
+ /* ── headings: Outfit, sentence case, weight instead of tracking ── */
20
+ h2{font-family:var(--sans);font-size:15px;font-weight:600;letter-spacing:.1px;text-transform:none;
21
+ color:var(--ink);margin:26px 0 10px}
22
+ h2:first-child{margin-top:0}
23
+ h2 small{font-size:13px;font-weight:400;color:var(--dim)}
24
+ #flowdetail h3,.story h3,#modal h3{font-family:var(--sans);font-weight:600;letter-spacing:.1px;font-size:15px}
25
+
26
+ /* the small labels that used to be spaced capitals */
27
+ .tile .l,th,.lane h4,#modal h4,#flowdetail .lab,.story .about{
28
+ text-transform:none;letter-spacing:.1px;font-weight:500}
29
+ .tile .l{font-size:12px;color:var(--dim)}
30
+ th{font-size:12px}
31
+ .lane h4{font-size:13px}
32
+ #modal h4{font-size:12.5px;color:var(--dim)}
33
+ #flowdetail .lab{font-size:12px;color:var(--dim)}
34
+ .story .about{font-size:12px}
35
+
36
+ /* ── the header strip ── */
37
+ nav a{font-size:14px}
38
+ .badge{font-size:11.5px;letter-spacing:.1px}
39
+
40
+ /* ── prose, one step up from sizes set for a wide monospace ── */
41
+ .lede{font-size:14.5px}
42
+ .rows .r,.ev,.blind,.lane .item,.story .said,#flowdetail p{font-size:13px}
43
+ .bar{font-size:13px}
44
+ #modal .body{font-size:13.5px}
45
+ #tip{font-size:12.5px}
46
+ .empty{font-size:13px}
47
+ .foot{font-size:12px}
48
+
49
+ /* ── the small lines under prose ── */
50
+ .rows .meta,.ev .d,.legend,.beat .day,.beat .verdict,.fnode .sb,.gloss,.tile .s,#qn,#tip .dimline{font-size:12px}
51
+ .fnode .nm{font-size:13px;letter-spacing:.2px}
52
+ .ev .k,td .ident{font-size:11px}
@@ -0,0 +1,5 @@
1
+ .foot{color:var(--faint);font-size:10.5px;line-height:1.7;margin-top:10px;max-width:96ch}
2
+ .tone-amber{color:var(--amber)}
3
+ .tone-notable{color:var(--ink)}
4
+ .tone-calm{color:var(--dim)}
5
+ #err{display:none;margin-bottom:12px}
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright © 2010-2024 three.js authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.