@serene-pub/core-catalog 0.6.0-pr-2 → 0.6.0-pr-4

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 (243) hide show
  1. package/README.md +21 -1
  2. package/components/{sessions → genres/chat}/authors-note/AuthorsNote.svelte +1 -1
  3. package/components/{sessions → genres/chat}/authors-note/AuthorsNoteWidget.svelte +1 -1
  4. package/components/{sessions → shared}/lore-entries/LoreEntries.svelte +1 -1
  5. package/components/{sessions → shared}/lore-entries/LoreEntriesWidget.svelte +1 -1
  6. package/components/{sessions → shared}/messages/MessageComposer.svelte +1 -1
  7. package/components/{sessions → shared}/messages/Messages.svelte +1 -1
  8. package/components/{sessions → shared}/messages/MessagesWidget.svelte +1 -1
  9. package/components/{sessions → shared}/messages/SessionComposer.svelte +1 -1
  10. package/components/{sessions → shared}/messages/SessionMessage.svelte +1 -1
  11. package/components/{sessions → shared}/messages/conversation.svelte.ts +1 -1
  12. package/components/{sessions → shared}/scene-portraits/ScenePortraits.svelte +1 -1
  13. package/components/{sessions → shared}/scene-portraits/ScenePortraitsWidget.svelte +1 -1
  14. package/components/{sessions → shared}/stats/Stats.svelte +1 -1
  15. package/components/{sessions → shared}/stats/StatsWidget.svelte +1 -1
  16. package/components/{sessions → shared}/world-state/WorldState.svelte +1 -1
  17. package/components/{sessions → shared}/world-state/WorldStateWidget.svelte +1 -1
  18. package/dist/components/authors-note.js +5 -5
  19. package/dist/components/authors-note.source.json +1 -1
  20. package/dist/components/core-ui.json +1 -1
  21. package/dist/components/lore-entries.js +5 -5
  22. package/dist/components/lore-entries.source.json +1 -1
  23. package/dist/components/messages.js +26 -26
  24. package/dist/components/messages.source.json +1 -1
  25. package/dist/components/scene-portraits.js +7 -7
  26. package/dist/components/scene-portraits.source.json +1 -1
  27. package/dist/components/{shared-TCQZXBE3.js → shared-3FGURYVS.js} +2 -2
  28. package/dist/components/{shared-AINANAIA.js → shared-FXYLABGF.js} +6 -6
  29. package/dist/components/{shared-UAQVMZZK.js → shared-U3UU5V7L.js} +3 -3
  30. package/dist/components/stats.js +6 -6
  31. package/dist/components/stats.source.json +1 -1
  32. package/dist/components/world-state.js +6 -6
  33. package/dist/components/world-state.source.json +1 -1
  34. package/dist/{answerForm.d.ts → factories/answerForm.d.ts} +4 -30
  35. package/dist/{answerForm.js → factories/answerForm.js} +4 -37
  36. package/dist/factories/once.d.ts +7 -0
  37. package/dist/factories/once.js +9 -0
  38. package/dist/{turnOrder.d.ts → factories/turnOrder.d.ts} +0 -22
  39. package/dist/{turnOrder.js → factories/turnOrder.js} +4 -104
  40. package/dist/genres/adventure/advanceTime.d.ts +11 -0
  41. package/dist/genres/adventure/advanceTime.js +17 -0
  42. package/dist/genres/adventure/answer.d.ts +23 -0
  43. package/dist/genres/adventure/answer.js +59 -0
  44. package/dist/genres/adventure/answerForm.d.ts +9 -0
  45. package/dist/genres/adventure/answerForm.js +11 -0
  46. package/dist/genres/adventure/ask.d.ts +73 -0
  47. package/dist/genres/adventure/ask.js +157 -0
  48. package/dist/genres/adventure/create.d.ts +36 -0
  49. package/dist/genres/adventure/create.js +62 -0
  50. package/dist/genres/adventure/index.d.ts +43 -0
  51. package/dist/genres/adventure/index.js +43 -0
  52. package/dist/genres/adventure/keeperAction.d.ts +24 -0
  53. package/dist/genres/adventure/keeperAction.js +150 -0
  54. package/dist/genres/adventure/look.d.ts +45 -0
  55. package/dist/genres/adventure/look.js +209 -0
  56. package/dist/{adventure.d.ts → genres/adventure/respond.d.ts} +10 -34
  57. package/dist/{adventure.js → genres/adventure/respond.js} +34 -60
  58. package/dist/genres/adventure/rest.d.ts +10 -0
  59. package/dist/genres/adventure/rest.js +16 -0
  60. package/dist/genres/adventure/turnOrder.d.ts +10 -0
  61. package/dist/genres/adventure/turnOrder.js +27 -0
  62. package/dist/genres/chat/answerForm.d.ts +9 -0
  63. package/dist/genres/chat/answerForm.js +11 -0
  64. package/dist/genres/chat/create.d.ts +7 -0
  65. package/dist/{createChat.js → genres/chat/create.js} +6 -6
  66. package/dist/genres/chat/generateImage.d.ts +7 -0
  67. package/dist/{generateImage.js → genres/chat/generateImage.js} +5 -5
  68. package/dist/genres/chat/index.d.ts +15 -0
  69. package/dist/genres/chat/index.js +15 -0
  70. package/dist/{narrate.d.ts → genres/chat/narrate.d.ts} +3 -3
  71. package/dist/{narrate.js → genres/chat/narrate.js} +34 -12
  72. package/dist/{narrateCharacter.d.ts → genres/chat/narrateCharacter.d.ts} +2 -2
  73. package/dist/{narrateCharacter.js → genres/chat/narrateCharacter.js} +35 -16
  74. package/dist/genres/chat/respond.d.ts +25 -0
  75. package/dist/{respond.js → genres/chat/respond.js} +48 -22
  76. package/dist/genres/chat/turnOrder.d.ts +9 -0
  77. package/dist/genres/chat/turnOrder.js +28 -0
  78. package/dist/{ui/sessions → genres/chat/ui}/authors-note/index.d.ts +1 -1
  79. package/dist/genres/guide/answerForm.d.ts +9 -0
  80. package/dist/genres/guide/answerForm.js +11 -0
  81. package/dist/genres/guide/create.d.ts +24 -0
  82. package/dist/genres/guide/create.js +58 -0
  83. package/dist/genres/guide/index.d.ts +9 -0
  84. package/dist/genres/guide/index.js +9 -0
  85. package/dist/{guide.d.ts → genres/guide/respond.d.ts} +1 -20
  86. package/dist/{guide.js → genres/guide/respond.js} +29 -60
  87. package/dist/genres/guide/turnOrder.d.ts +10 -0
  88. package/dist/genres/guide/turnOrder.js +27 -0
  89. package/dist/genres/index.d.ts +14 -0
  90. package/dist/genres/index.js +41 -0
  91. package/dist/genres/lair/answerForm.d.ts +17 -0
  92. package/dist/genres/lair/answerForm.js +19 -0
  93. package/dist/genres/lair/buildRoom.d.ts +64 -0
  94. package/dist/genres/lair/buildRoom.js +244 -0
  95. package/dist/genres/lair/castellanAction.d.ts +27 -0
  96. package/dist/genres/lair/castellanAction.js +177 -0
  97. package/dist/genres/lair/create.d.ts +28 -0
  98. package/dist/genres/lair/create.js +69 -0
  99. package/dist/genres/lair/fileRoom.d.ts +53 -0
  100. package/dist/genres/lair/fileRoom.js +288 -0
  101. package/dist/genres/lair/index.d.ts +60 -0
  102. package/dist/genres/lair/index.js +60 -0
  103. package/dist/genres/lair/nudge.d.ts +25 -0
  104. package/dist/genres/lair/nudge.js +78 -0
  105. package/dist/{lair.d.ts → genres/lair/respond.d.ts} +15 -28
  106. package/dist/{lair.js → genres/lair/respond.js} +45 -76
  107. package/dist/genres/lair/reveal.d.ts +10 -0
  108. package/dist/genres/lair/reveal.js +18 -0
  109. package/dist/genres/lair/roomAnswer.d.ts +86 -0
  110. package/dist/genres/lair/roomAnswer.js +378 -0
  111. package/dist/genres/lair/trap.d.ts +11 -0
  112. package/dist/genres/lair/trap.js +24 -0
  113. package/dist/genres/lair/turnOrder.d.ts +9 -0
  114. package/dist/genres/lair/turnOrder.js +36 -0
  115. package/dist/genres/lair/whisper.d.ts +35 -0
  116. package/dist/genres/lair/whisper.js +90 -0
  117. package/dist/index.d.ts +47 -29
  118. package/dist/index.js +117 -88
  119. package/dist/{genres.js → registry/genres.js} +4 -4
  120. package/dist/{ui/sessions → registry}/widgets.js +6 -6
  121. package/dist/{presets.js → seed/presets.js} +28 -13
  122. package/dist/{prompts.js → seed/prompts.js} +27 -56
  123. package/dist/{annexField.d.ts → shared/annexField.d.ts} +3 -2
  124. package/dist/{annexField.js → shared/annexField.js} +6 -8
  125. package/dist/shared/builtins/branch.d.ts +8 -0
  126. package/dist/shared/builtins/branch.js +13 -0
  127. package/dist/{builtins.d.ts → shared/builtins/builtIn.d.ts} +16 -21
  128. package/dist/{builtins.js → shared/builtins/builtIn.js} +3 -37
  129. package/dist/shared/builtins/delete.d.ts +8 -0
  130. package/dist/shared/builtins/delete.js +13 -0
  131. package/dist/shared/builtins/edit.d.ts +8 -0
  132. package/dist/shared/builtins/edit.js +13 -0
  133. package/dist/shared/builtins/hide.d.ts +8 -0
  134. package/dist/shared/builtins/hide.js +13 -0
  135. package/dist/shared/builtins/index.d.ts +11 -0
  136. package/dist/shared/builtins/index.js +11 -0
  137. package/dist/shared/builtins/swipe.d.ts +8 -0
  138. package/dist/shared/builtins/swipe.js +17 -0
  139. package/dist/shared/sprites.d.ts +34 -0
  140. package/dist/shared/sprites.js +98 -0
  141. package/dist/shared/summarize/character.d.ts +9 -0
  142. package/dist/shared/summarize/character.js +10 -0
  143. package/dist/shared/summarize/history.d.ts +9 -0
  144. package/dist/shared/summarize/history.js +10 -0
  145. package/dist/shared/summarize/index.d.ts +10 -0
  146. package/dist/shared/summarize/index.js +10 -0
  147. package/dist/shared/summarize/scene.d.ts +38 -0
  148. package/dist/shared/summarize/scene.js +42 -0
  149. package/dist/shared/summarize/summarizeSpec.d.ts +54 -0
  150. package/dist/{summarize.js → shared/summarize/summarizeSpec.js} +8 -53
  151. package/dist/shared/summarize/world.d.ts +8 -0
  152. package/dist/shared/summarize/world.js +9 -0
  153. package/dist/{toolLoop.d.ts → shared/toolLoop.d.ts} +25 -3
  154. package/dist/{toolLoop.js → shared/toolLoop.js} +67 -14
  155. package/dist/{ui/sessions → shared/ui}/conversation/index.d.ts +1 -1
  156. package/dist/{ui/sessions → shared/ui}/conversation/index.js +1 -1
  157. package/dist/{ui/sessions → shared/ui}/coreWidgetsEntry.d.ts +1 -1
  158. package/dist/{ui/sessions → shared/ui}/coreWidgetsEntry.js +1 -1
  159. package/dist/{ui/sessions → shared/ui}/lore-entries/index.d.ts +1 -1
  160. package/dist/{ui/sessions → shared/ui}/scene-portraits/index.d.ts +1 -1
  161. package/dist/{ui/sessions → shared/ui}/scene-portraits/index.js +1 -1
  162. package/dist/{ui/sessions → shared/ui}/session-state/index.d.ts +1 -1
  163. package/dist/{ui/sessions → shared/ui}/session-state/index.js +1 -1
  164. package/package.json +28 -28
  165. package/dist/adventureActions.d.ts +0 -169
  166. package/dist/adventureActions.js +0 -599
  167. package/dist/createChat.d.ts +0 -7
  168. package/dist/generateImage.d.ts +0 -7
  169. package/dist/lairActions.d.ts +0 -296
  170. package/dist/lairActions.js +0 -1287
  171. package/dist/respond.d.ts +0 -24
  172. package/dist/sprites.d.ts +0 -24
  173. package/dist/sprites.js +0 -102
  174. package/dist/summarize.d.ts +0 -76
  175. /package/components/{sessions → genres/chat}/authors-note/authors-note.ts +0 -0
  176. /package/components/{sessions/shared → shared}/context.ts +0 -0
  177. /package/components/{sessions → shared}/lore-entries/lore-entries.ts +0 -0
  178. /package/components/{sessions → shared}/messages/MessageBlocksView.svelte +0 -0
  179. /package/components/{sessions → shared}/messages/MessageControls.svelte +0 -0
  180. /package/components/{sessions → shared}/messages/MessageMediaStrip.svelte +0 -0
  181. /package/components/{sessions → shared}/messages/MessagePartsView.svelte +0 -0
  182. /package/components/{sessions → shared}/messages/MessageStateLedger.svelte +0 -0
  183. /package/components/{sessions → shared}/messages/NextCharacterBlock.svelte +0 -0
  184. /package/components/{sessions → shared}/messages/SessionContainer.svelte +0 -0
  185. /package/components/{sessions → shared}/messages/StateProposalList.svelte +0 -0
  186. /package/components/{sessions → shared}/messages/mediaStrip.ts +0 -0
  187. /package/components/{sessions → shared}/messages/messages.ts +0 -0
  188. /package/components/{sessions → shared}/scene-portraits/StatBars.svelte +0 -0
  189. /package/components/{sessions → shared}/scene-portraits/scene-portraits.ts +0 -0
  190. /package/components/{sessions → shared}/state/SlotControl.svelte +0 -0
  191. /package/components/{sessions → shared}/state/entryFinder.ts +0 -0
  192. /package/components/{sessions → shared}/state/slotWriter.svelte.ts +0 -0
  193. /package/components/{sessions → shared}/stats/stats.ts +0 -0
  194. /package/components/{sessions/shared → shared}/widgetRef.svelte.ts +0 -0
  195. /package/components/{sessions → shared}/world-state/world-state.ts +0 -0
  196. /package/dist/{ui/sessions → genres/chat/ui}/authors-note/index.js +0 -0
  197. /package/dist/{entries.d.ts → registry/entries.d.ts} +0 -0
  198. /package/dist/{entries.js → registry/entries.js} +0 -0
  199. /package/dist/{genres.d.ts → registry/genres.d.ts} +0 -0
  200. /package/dist/{ui/sessions → registry}/layouts.d.ts +0 -0
  201. /package/dist/{ui/sessions → registry}/layouts.js +0 -0
  202. /package/dist/{slots.d.ts → registry/slots.d.ts} +0 -0
  203. /package/dist/{slots.js → registry/slots.js} +0 -0
  204. /package/dist/{statShapes.d.ts → registry/statShapes.d.ts} +0 -0
  205. /package/dist/{statShapes.js → registry/statShapes.js} +0 -0
  206. /package/dist/{ui/sessions → registry}/widgets.d.ts +0 -0
  207. /package/dist/{guideMascotImage.d.ts → seed/guideMascotImage.d.ts} +0 -0
  208. /package/dist/{guideMascotImage.js → seed/guideMascotImage.js} +0 -0
  209. /package/dist/{presets.d.ts → seed/presets.d.ts} +0 -0
  210. /package/dist/{prompts.d.ts → seed/prompts.d.ts} +0 -0
  211. /package/dist/{graphBuild.d.ts → shared/graphBuild.d.ts} +0 -0
  212. /package/dist/{graphBuild.js → shared/graphBuild.js} +0 -0
  213. /package/dist/{ui/sessions → shared/ui}/conversation/actionsDisclosure.d.ts +0 -0
  214. /package/dist/{ui/sessions → shared/ui}/conversation/actionsDisclosure.js +0 -0
  215. /package/dist/{ui/sessions → shared/ui}/conversation/composerTray.d.ts +0 -0
  216. /package/dist/{ui/sessions → shared/ui}/conversation/composerTray.js +0 -0
  217. /package/dist/{ui/sessions → shared/ui}/conversation/dossier.d.ts +0 -0
  218. /package/dist/{ui/sessions → shared/ui}/conversation/dossier.js +0 -0
  219. /package/dist/{ui/sessions → shared/ui}/conversation/formAnswer.d.ts +0 -0
  220. /package/dist/{ui/sessions → shared/ui}/conversation/formAnswer.js +0 -0
  221. /package/dist/{ui/sessions → shared/ui}/conversation/itemValues.d.ts +0 -0
  222. /package/dist/{ui/sessions → shared/ui}/conversation/itemValues.js +0 -0
  223. /package/dist/{ui/sessions → shared/ui}/conversation/messageOrder.d.ts +0 -0
  224. /package/dist/{ui/sessions → shared/ui}/conversation/messageOrder.js +0 -0
  225. /package/dist/{ui/sessions → shared/ui}/conversation/messageSpeaker.d.ts +0 -0
  226. /package/dist/{ui/sessions → shared/ui}/conversation/messageSpeaker.js +0 -0
  227. /package/dist/{ui/sessions → shared/ui}/conversation/messageVerbState.d.ts +0 -0
  228. /package/dist/{ui/sessions → shared/ui}/conversation/messageVerbState.js +0 -0
  229. /package/dist/{ui/sessions → shared/ui}/conversation/slashPalette.d.ts +0 -0
  230. /package/dist/{ui/sessions → shared/ui}/conversation/slashPalette.js +0 -0
  231. /package/dist/{ui/sessions → shared/ui}/conversation/text.d.ts +0 -0
  232. /package/dist/{ui/sessions → shared/ui}/conversation/text.js +0 -0
  233. /package/dist/{ui/sessions → shared/ui}/lore-entries/index.js +0 -0
  234. /package/dist/{ui/sessions → shared/ui}/scene-portraits/portraits.d.ts +0 -0
  235. /package/dist/{ui/sessions → shared/ui}/scene-portraits/portraits.js +0 -0
  236. /package/dist/{ui/sessions → shared/ui}/session-state/barMath.d.ts +0 -0
  237. /package/dist/{ui/sessions → shared/ui}/session-state/barMath.js +0 -0
  238. /package/dist/{ui/sessions → shared/ui}/session-state/shapes.d.ts +0 -0
  239. /package/dist/{ui/sessions → shared/ui}/session-state/shapes.js +0 -0
  240. /package/dist/{ui/sessions → shared/ui}/session-state/stateView.d.ts +0 -0
  241. /package/dist/{ui/sessions → shared/ui}/session-state/stateView.js +0 -0
  242. /package/dist/{ui/sessions → shared/ui}/widgetContext.d.ts +0 -0
  243. /package/dist/{ui/sessions → shared/ui}/widgetContext.js +0 -0
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Summarize character lore; the four summarize pipelines share
3
+ * `summarizeSpec.ts`.
4
+ */
5
+ import { summarizeSpec } from "./summarizeSpec.js";
6
+ /** @experimental */
7
+ export const SUMMARIZE_CHARACTER_SPEC_ID = "core:spec/summarize-character";
8
+ /** @experimental */
9
+ export const summarizeCharacterSpec = () => summarizeSpec({ id: SUMMARIZE_CHARACTER_SPEC_ID, loreType: "character" });
10
+ //# sourceMappingURL=character.js.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Summarize a history entry; the four summarize pipelines share
3
+ * `summarizeSpec.ts`.
4
+ */
5
+ /** @experimental */
6
+ export declare const SUMMARIZE_HISTORY_SPEC_ID = "core:spec/summarize-history";
7
+ /** @experimental */
8
+ export declare const summarizeHistorySpec: () => import("@serene-pub/sdk").SpecDocument;
9
+ //# sourceMappingURL=history.d.ts.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Summarize a history entry; the four summarize pipelines share
3
+ * `summarizeSpec.ts`.
4
+ */
5
+ import { summarizeSpec } from "./summarizeSpec.js";
6
+ /** @experimental */
7
+ export const SUMMARIZE_HISTORY_SPEC_ID = "core:spec/summarize-history";
8
+ /** @experimental */
9
+ export const summarizeHistorySpec = () => summarizeSpec({ id: SUMMARIZE_HISTORY_SPEC_ID, loreType: "history" });
10
+ //# sourceMappingURL=history.js.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The four summarize pipelines, one per file; the builder they share, and why
3
+ * there are four, is `summarizeSpec.ts`.
4
+ */
5
+ export { SUMMARIZE_VERSION } from './summarizeSpec.js';
6
+ export * from './world.js';
7
+ export * from './character.js';
8
+ export * from './scene.js';
9
+ export * from './history.js';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The four summarize pipelines, one per file; the builder they share, and why
3
+ * there are four, is `summarizeSpec.ts`.
4
+ */
5
+ export { SUMMARIZE_VERSION } from './summarizeSpec.js';
6
+ export * from './world.js';
7
+ export * from './character.js';
8
+ export * from './scene.js';
9
+ export * from './history.js';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Summarize a scene; the four summarize pipelines share `summarizeSpec.ts`.
3
+ */
4
+ /** @experimental */
5
+ export declare const SUMMARIZE_SCENE_SPEC_ID = "core:spec/summarize-scene";
6
+ /**
7
+ * ⚠ **The cast extraction is ON ICE, not deleted** (plan §2, ruled 2026-09-08).
8
+ *
9
+ * `extractsCast` is deliberately absent rather than removed: the branch above,
10
+ * `core:oracle/extract-cast@1` and its shipped prompt all stay exactly where
11
+ * they are, so reviving the step is restoring this one property.
12
+ *
13
+ * Why it is off. The measured replacement for the *participant* half — the
14
+ * roster unioned with speech-gated textual extraction — scored 100% precision
15
+ * at 88.5% recall from the sender side and 96.2% recall from the roster side,
16
+ * with **zero fabricated people in any configuration**, over 40,000 turns in
17
+ * ~661 ms and no model at all. Its failure profile is omission, categorically
18
+ * unlike the 24% fabrication that got the acts layer rejected. Until that
19
+ * pre-fill has been used in anger the LLM step is disabled rather than dropped.
20
+ *
21
+ * The *mentioned* half is not coming back at all in this shape: it is derived
22
+ * from `message_annotations` now (plan §1) — exactly (scene text × vocabulary),
23
+ * invalidated by the freshness triple — rather than asked of a model and stored.
24
+ *
25
+ * Participants keep coming from where they always did on this path: every
26
+ * distinct sender in the scene's span is made a participant by
27
+ * `sockets/scenes.ts` and `sockets/summarize.ts` regardless of what any
28
+ * extraction said, so turning this off narrows the proposal, it does not empty
29
+ * it. The graph build keeps its own Pass 1 extraction for scenes that have no
30
+ * stored cast at all.
31
+ *
32
+ * ⚠ Editing this document does not reach a database that has already seeded —
33
+ * publishing is idempotent by `(slug, semver)` — so this ships with a migration
34
+ * deleting the `pipeline_spec_versions` row, precedent `0095`/`0100`.
35
+ * @experimental
36
+ */
37
+ export declare const summarizeSceneSpec: () => import("@serene-pub/sdk").SpecDocument;
38
+ //# sourceMappingURL=scene.d.ts.map
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Summarize a scene; the four summarize pipelines share `summarizeSpec.ts`.
3
+ */
4
+ import { summarizeSpec } from "./summarizeSpec.js";
5
+ /** @experimental */
6
+ export const SUMMARIZE_SCENE_SPEC_ID = "core:spec/summarize-scene";
7
+ /**
8
+ * ⚠ **The cast extraction is ON ICE, not deleted** (plan §2, ruled 2026-09-08).
9
+ *
10
+ * `extractsCast` is deliberately absent rather than removed: the branch above,
11
+ * `core:oracle/extract-cast@1` and its shipped prompt all stay exactly where
12
+ * they are, so reviving the step is restoring this one property.
13
+ *
14
+ * Why it is off. The measured replacement for the *participant* half — the
15
+ * roster unioned with speech-gated textual extraction — scored 100% precision
16
+ * at 88.5% recall from the sender side and 96.2% recall from the roster side,
17
+ * with **zero fabricated people in any configuration**, over 40,000 turns in
18
+ * ~661 ms and no model at all. Its failure profile is omission, categorically
19
+ * unlike the 24% fabrication that got the acts layer rejected. Until that
20
+ * pre-fill has been used in anger the LLM step is disabled rather than dropped.
21
+ *
22
+ * The *mentioned* half is not coming back at all in this shape: it is derived
23
+ * from `message_annotations` now (plan §1) — exactly (scene text × vocabulary),
24
+ * invalidated by the freshness triple — rather than asked of a model and stored.
25
+ *
26
+ * Participants keep coming from where they always did on this path: every
27
+ * distinct sender in the scene's span is made a participant by
28
+ * `sockets/scenes.ts` and `sockets/summarize.ts` regardless of what any
29
+ * extraction said, so turning this off narrows the proposal, it does not empty
30
+ * it. The graph build keeps its own Pass 1 extraction for scenes that have no
31
+ * stored cast at all.
32
+ *
33
+ * ⚠ Editing this document does not reach a database that has already seeded —
34
+ * publishing is idempotent by `(slug, semver)` — so this ships with a migration
35
+ * deleting the `pipeline_spec_versions` row, precedent `0095`/`0100`.
36
+ * @experimental
37
+ */
38
+ export const summarizeSceneSpec = () => summarizeSpec({
39
+ id: SUMMARIZE_SCENE_SPEC_ID,
40
+ loreType: "scene"
41
+ });
42
+ //# sourceMappingURL=scene.js.map
@@ -0,0 +1,54 @@
1
+ /**
2
+ * The four summarize pipelines: world lore, character lore, scene, history entry.
3
+ *
4
+ * ## Why four specs and not one with a `loreType` parameter
5
+ *
6
+ * They are four *namespaces*. Each has its own prompts, its own connection and
7
+ * sampling choices per step, and its own configs a user swaps between — which is
8
+ * exactly what `world_summarize_configs`, `character_summarize_configs` and
9
+ * `scene_summarize_configs` already are. One spec with a discriminator would put
10
+ * that difference in a condition somebody has to find, and would give all four a
11
+ * single shared prompt set, which is the thing the three tables exist to avoid.
12
+ *
13
+ * History entry summarization gets the fourth. Today it is a `loreType` the
14
+ * summarizer already supports (`"world" | "history" | "character" | "scene"`)
15
+ * that falls through to the **scene** config in `sockets/summarize.ts` — so a
16
+ * user tuning scene summaries silently retunes history entries. That is a defect
17
+ * this split fixes rather than a feature it adds.
18
+ *
19
+ * ## The two phases, and why the first is a `map`
20
+ *
21
+ * Messages are cut into token-sized batches and each is drafted *without sight
22
+ * of any other*; the ordered drafts are then merged into one narrative. Drafting
23
+ * in isolation is what makes a long session summarizable at all — the model never
24
+ * holds more than one batch — and the batches genuinely do not depend on each
25
+ * other, so `map` states that and lets the connection's own queue decide the
26
+ * ordering. A loop would impose a sequence the work does not have.
27
+ */
28
+ /** @internal */
29
+ export declare const SUMMARIZE_VERSION = "1.3.0";
30
+ interface SummarizeShape {
31
+ id: string;
32
+ /**
33
+ * Which kind of entry this namespace writes.
34
+ *
35
+ * Authored on the nodes, not configured. It is the thing that distinguishes
36
+ * the four namespaces from one another — the prompt templates branch on it
37
+ * for every phase — so it belongs to the pipeline's identity rather than to
38
+ * a user's tuning. A user changing it would turn their scene summarizer into
39
+ * a world summarizer without renaming anything.
40
+ */
41
+ loreType: "world" | "character" | "scene" | "history";
42
+ /** Scene summaries also work out who was present. */
43
+ extractsCast?: boolean;
44
+ }
45
+ /**
46
+ * One summarize pipeline.
47
+ *
48
+ * The `extractsCast` arm is the only structural difference between the four, and
49
+ * it is a whole extra Provider with its own prompt, connection and sampling —
50
+ * which is why it is a branch here rather than a slot on a shared node.
51
+ */
52
+ export declare const summarizeSpec: ({ id, loreType, extractsCast }: SummarizeShape) => import("@serene-pub/sdk").SpecDocument;
53
+ export {};
54
+ //# sourceMappingURL=summarizeSpec.d.ts.map
@@ -27,14 +27,6 @@
27
27
  */
28
28
  import { compile, spec, slot } from "@serene-pub/sdk";
29
29
  import * as C from "@serene-pub/contracts";
30
- /** @experimental */
31
- export const SUMMARIZE_WORLD_SPEC_ID = "core:spec/summarize-world";
32
- /** @experimental */
33
- export const SUMMARIZE_CHARACTER_SPEC_ID = "core:spec/summarize-character";
34
- /** @experimental */
35
- export const SUMMARIZE_SCENE_SPEC_ID = "core:spec/summarize-scene";
36
- /** @experimental */
37
- export const SUMMARIZE_HISTORY_SPEC_ID = "core:spec/summarize-history";
38
30
  // 1.1.0: the request travels to the drafting, synthesis and cast steps, so a
39
31
  // topic focuses every prompt and the known-cast list reaches extraction. A
40
32
  // published version is immutable, so the wiring change is a new version and
@@ -67,11 +59,15 @@ const DRAFT_NODE = "drafting.item.draft";
67
59
  * it is a whole extra Provider with its own prompt, connection and sampling —
68
60
  * which is why it is a branch here rather than a slot on a shared node.
69
61
  */
70
- const summarizeSpec = ({ id, loreType, extractsCast }) => compile((() => {
62
+ export const summarizeSpec = ({ id, loreType, extractsCast }) => compile((() => {
71
63
  const base = spec(id, {
72
64
  version: SUMMARIZE_VERSION,
73
- /** Catalogue claims (23 §2): person-invoked, any mode. */
74
- taxonomy: { role: "action" }
65
+ /**
66
+ * Catalogue claims (23 §2): `maintenance` (ruled 2026-10-05).
67
+ * A person asks for one, but a summary runs off the turn's
68
+ * critical path and writes lore, not a line of the story.
69
+ */
70
+ taxonomy: { role: "maintenance" }
75
71
  })
76
72
  // Manually triggered: a person asks for a summary. ACTION events
77
73
  // carry no write targets, so this drops out of the cycle check by
@@ -177,45 +173,4 @@ const summarizeSpec = ({ id, loreType, extractsCast }) => compile((() => {
177
173
  }))
178
174
  .build();
179
175
  })());
180
- /** @experimental */
181
- export const summarizeWorldSpec = () => summarizeSpec({ id: SUMMARIZE_WORLD_SPEC_ID, loreType: "world" });
182
- /** @experimental */
183
- export const summarizeCharacterSpec = () => summarizeSpec({ id: SUMMARIZE_CHARACTER_SPEC_ID, loreType: "character" });
184
- /**
185
- * ⚠ **The cast extraction is ON ICE, not deleted** (plan §2, ruled 2026-09-08).
186
- *
187
- * `extractsCast` is deliberately absent rather than removed: the branch above,
188
- * `core:oracle/extract-cast@1` and its shipped prompt all stay exactly where
189
- * they are, so reviving the step is restoring this one property.
190
- *
191
- * Why it is off. The measured replacement for the *participant* half — the
192
- * roster unioned with speech-gated textual extraction — scored 100% precision
193
- * at 88.5% recall from the sender side and 96.2% recall from the roster side,
194
- * with **zero fabricated people in any configuration**, over 40,000 turns in
195
- * ~661 ms and no model at all. Its failure profile is omission, categorically
196
- * unlike the 24% fabrication that got the acts layer rejected. Until that
197
- * pre-fill has been used in anger the LLM step is disabled rather than dropped.
198
- *
199
- * The *mentioned* half is not coming back at all in this shape: it is derived
200
- * from `message_annotations` now (plan §1) — exactly (scene text × vocabulary),
201
- * invalidated by the freshness triple — rather than asked of a model and stored.
202
- *
203
- * Participants keep coming from where they always did on this path: every
204
- * distinct sender in the scene's span is made a participant by
205
- * `sockets/scenes.ts` and `sockets/summarize.ts` regardless of what any
206
- * extraction said, so turning this off narrows the proposal, it does not empty
207
- * it. The graph build keeps its own Pass 1 extraction for scenes that have no
208
- * stored cast at all.
209
- *
210
- * ⚠ Editing this document does not reach a database that has already seeded —
211
- * publishing is idempotent by `(slug, semver)` — so this ships with a migration
212
- * deleting the `pipeline_spec_versions` row, precedent `0095`/`0100`.
213
- * @experimental
214
- */
215
- export const summarizeSceneSpec = () => summarizeSpec({
216
- id: SUMMARIZE_SCENE_SPEC_ID,
217
- loreType: "scene"
218
- });
219
- /** @experimental */
220
- export const summarizeHistorySpec = () => summarizeSpec({ id: SUMMARIZE_HISTORY_SPEC_ID, loreType: "history" });
221
- //# sourceMappingURL=summarize.js.map
176
+ //# sourceMappingURL=summarizeSpec.js.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Summarize world lore; the four summarize pipelines share `summarizeSpec.ts`.
3
+ */
4
+ /** @experimental */
5
+ export declare const SUMMARIZE_WORLD_SPEC_ID = "core:spec/summarize-world";
6
+ /** @experimental */
7
+ export declare const summarizeWorldSpec: () => import("@serene-pub/sdk").SpecDocument;
8
+ //# sourceMappingURL=world.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Summarize world lore; the four summarize pipelines share `summarizeSpec.ts`.
3
+ */
4
+ import { summarizeSpec } from "./summarizeSpec.js";
5
+ /** @experimental */
6
+ export const SUMMARIZE_WORLD_SPEC_ID = "core:spec/summarize-world";
7
+ /** @experimental */
8
+ export const summarizeWorldSpec = () => summarizeSpec({ id: SUMMARIZE_WORLD_SPEC_ID, loreType: "world" });
9
+ //# sourceMappingURL=world.js.map
@@ -1,3 +1,4 @@
1
+ import type { CorePromptSeed } from '../seed/prompts.js';
1
2
  /** @experimental */
2
3
  export declare const TOOL_LOOP_SPEC_ID = "core:spec/tool-loop";
3
4
  /** @internal */
@@ -12,9 +13,9 @@ export declare const TOOL_LOOP_VERSION = "1.0.0";
12
13
  * pipeline — what it asks, what it offers and how it repeats — is one file.
13
14
  *
14
15
  * ⚠ The instructions it opens and closes with are NOT here. `system` and
15
- * `postHistory` are the `prompts` slot `tools.item.prompt` owns, seeded from
16
- * `CORE_PROMPTS` like every other shipped step's prompt — so a person edits
17
- * the wording in the panel and this file holds the layout alone. Written into
16
+ * `postHistory` are the `prompts` slot `tools.item.prompt` owns: a pool row
17
+ * (`TOOL_LOOP_PROMPT`, below) like every shipped step's prompt — so a person
18
+ * edits the wording in the panel and this file holds the layout alone. Written into
18
19
  * the template as literal prose they would be a second copy of text the pool
19
20
  * already ships, and the panel's box would edit the copy nobody reads.
20
21
  *
@@ -32,6 +33,27 @@ export declare const TOOL_LOOP_VERSION = "1.0.0";
32
33
  * @experimental
33
34
  */
34
35
  export declare const TOOL_LOOP_TEMPLATE = "{{{system}}}\n\n{{{advertisement}}}\n\n{{#if results}}\n# What your tools have returned so far\n{{{results}}}\n{{/if}}\n\n{{#if sessionMessages}}\n# The conversation\n{{#each sessionMessages}}\n{{{name}}}: {{{message}}}{{{attachments}}}\n{{/each}}\n{{/if}}\n\n{{#if postHistory}}\n{{{postHistory}}}\n{{/if}}";
36
+ /**
37
+ * The reference agentic turn's own pool row (20 §9): the `system` and
38
+ * `postHistory` text `TOOL_LOOP_TEMPLATE` renders. It left `CORE_PROMPTS`
39
+ * with the spec (ruled 2026-10-05); a test that publishes `toolLoopSpec()`
40
+ * seeds it.
41
+ *
42
+ * `core:task/assemble@2` is the node type, so this pool is shared with
43
+ * nothing: tool-loop is the only spec that wires `slot.prompts()` on an
44
+ * assemble node — the reply and narrator pipelines author their text on their
45
+ * own context builders.
46
+ *
47
+ * ⚠ `system` is the paragraph `TOOL_LOOP_TEMPLATE` used to open with, moved
48
+ * out byte-for-byte. It lives in exactly one place: a template carrying a
49
+ * literal copy would be the text the model actually reads, leaving the
50
+ * panel's prompt box editing prose with no effect.
51
+ *
52
+ * ⚠ `postHistory` is new prose with no legacy counterpart — 0.5 shipped no
53
+ * tool loop — so it is outside the drift canary's subject.
54
+ * @internal
55
+ */
56
+ export declare const TOOL_LOOP_PROMPT: CorePromptSeed;
35
57
  /** @experimental */
36
58
  export declare const toolLoopSpec: () => import("@serene-pub/sdk").SpecDocument;
37
59
  //# sourceMappingURL=toolLoop.d.ts.map
@@ -9,8 +9,13 @@
9
9
  * with a bigger prompt and more tools, and "read the reference pipeline" is a
10
10
  * better answer than a paragraph describing one. And it is what the
11
11
  * integration suite runs — the loop block, the three tool nodes and the carry
12
- * all exercised end to end against a seeded database, rather than asserted
13
- * about in isolation where a wiring mistake cannot show.
12
+ * all exercised end to end against a database, rather than asserted about in
13
+ * isolation where a wiring mistake cannot show.
14
+ *
15
+ * **Not a seeded pipeline** (ruled 2026-10-05): it left `CORE_SPECS`, so no
16
+ * install publishes it. It stays exported as an example and a test fixture; a
17
+ * test that runs it publishes `toolLoopSpec()` and seeds `TOOL_LOOP_PROMPT`
18
+ * itself.
14
19
  *
15
20
  * **Deliberately bound to no genre.** It declares no `genre` in its taxonomy
16
21
  * and no lock on its input, so it is not offered on Chat sessions and does not
@@ -47,9 +52,12 @@
47
52
  */
48
53
  import { compile, handlebars, slot, spec } from '@serene-pub/sdk';
49
54
  import * as C from '@serene-pub/contracts';
50
- import { withSpriteTail } from './sprites.js';
51
55
  /** @experimental */
52
56
  export const TOOL_LOOP_SPEC_ID = 'core:spec/tool-loop';
57
+ // ⚠ 1.0.0, edited in place (2026-10-05, sprites in-pipeline) —
58
+ // content-addressed; `specHashes.test.ts` records the move. The sprite step is
59
+ // written out after `save` (`spritePick`, `spriteShow`) where the retired
60
+ // `withSpriteTail` wrapper appended nodes this source never named.
53
61
  /** @internal */
54
62
  export const TOOL_LOOP_VERSION = '1.0.0';
55
63
  /**
@@ -62,9 +70,9 @@ export const TOOL_LOOP_VERSION = '1.0.0';
62
70
  * pipeline — what it asks, what it offers and how it repeats — is one file.
63
71
  *
64
72
  * ⚠ The instructions it opens and closes with are NOT here. `system` and
65
- * `postHistory` are the `prompts` slot `tools.item.prompt` owns, seeded from
66
- * `CORE_PROMPTS` like every other shipped step's prompt — so a person edits
67
- * the wording in the panel and this file holds the layout alone. Written into
73
+ * `postHistory` are the `prompts` slot `tools.item.prompt` owns: a pool row
74
+ * (`TOOL_LOOP_PROMPT`, below) like every shipped step's prompt — so a person
75
+ * edits the wording in the panel and this file holds the layout alone. Written into
68
76
  * the template as literal prose they would be a second copy of text the pool
69
77
  * already ships, and the panel's box would edit the copy nobody reads.
70
78
  *
@@ -100,10 +108,40 @@ export const TOOL_LOOP_TEMPLATE = `{{{system}}}
100
108
  {{#if postHistory}}
101
109
  {{{postHistory}}}
102
110
  {{/if}}`;
111
+ /**
112
+ * The reference agentic turn's own pool row (20 §9): the `system` and
113
+ * `postHistory` text `TOOL_LOOP_TEMPLATE` renders. It left `CORE_PROMPTS`
114
+ * with the spec (ruled 2026-10-05); a test that publishes `toolLoopSpec()`
115
+ * seeds it.
116
+ *
117
+ * `core:task/assemble@2` is the node type, so this pool is shared with
118
+ * nothing: tool-loop is the only spec that wires `slot.prompts()` on an
119
+ * assemble node — the reply and narrator pipelines author their text on their
120
+ * own context builders.
121
+ *
122
+ * ⚠ `system` is the paragraph `TOOL_LOOP_TEMPLATE` used to open with, moved
123
+ * out byte-for-byte. It lives in exactly one place: a template carrying a
124
+ * literal copy would be the text the model actually reads, leaving the
125
+ * panel's prompt box editing prose with no effect.
126
+ *
127
+ * ⚠ `postHistory` is new prose with no legacy counterpart — 0.5 shipped no
128
+ * tool loop — so it is outside the drift canary's subject.
129
+ * @internal
130
+ */
131
+ export const TOOL_LOOP_PROMPT = {
132
+ nodeType: "core:task/assemble",
133
+ slot: "prompts",
134
+ createdForSpec: TOOL_LOOP_SPEC_ID,
135
+ defaultForSpecs: [TOOL_LOOP_SPEC_ID],
136
+ seedKey: "pipeline-prompt:core:task/assemble:prompts:tool-loop-default",
137
+ name: "Tool loop",
138
+ fields: {
139
+ system: "You are answering inside a story. Answer from what you can\nverify rather than from what you can guess: the tools below read this\nsession's own lore and transcript, and using one is cheaper than being wrong.",
140
+ postHistory: "Remember: to call a tool, reply with the fenced tool_call block and nothing else. Reply in the story's voice when you already have what you need."
141
+ }
142
+ };
103
143
  /** @experimental */
104
- export const toolLoopSpec = () => compile(
105
- // The sprite tail (DESIGN-sprites §5): after `save`, choose the line's face.
106
- withSpriteTail(spec(TOOL_LOOP_SPEC_ID, {
144
+ export const toolLoopSpec = () => compile(spec(TOOL_LOOP_SPEC_ID, {
107
145
  version: TOOL_LOOP_VERSION,
108
146
  /**
109
147
  * No `genre`, on purpose — see the header. `action` because a
@@ -207,10 +245,10 @@ withSpriteTail(spec(TOOL_LOOP_SPEC_ID, {
207
245
  // its own `prompts` slot (the binding never
208
246
  // forwards it), so this is the one place the
209
247
  // text is authored and the panel offers one
210
- // box, not two. The pool's shipped row is
211
- // `CORE_PROMPTS`' tool-loop entry, which is
212
- // what the template's `system` and
213
- // `postHistory` render.
248
+ // box, not two. The pool's row is
249
+ // `TOOL_LOOP_PROMPT`, which is what the
250
+ // template's `system` and `postHistory`
251
+ // render.
214
252
  prompts: slot.prompts(),
215
253
  variables: slot.variables(),
216
254
  params: slot.params(),
@@ -259,6 +297,21 @@ withSpriteTail(spec(TOOL_LOOP_SPEC_ID, {
259
297
  .outlet('save', ($) => C.updateMessage.v1({
260
298
  target: $.placeholder.messageId,
261
299
  text: $.answer.text,
300
+ }))
301
+ /**
302
+ * The line's face (DESIGN-sprites §5) — see `respond`. The text
303
+ * is the answer the loop settled on, as `save` wrote it.
304
+ */
305
+ .oracle('spritePick', ($) => C.pickSprite.v1({
306
+ text: $.answer.text,
307
+ speaker: $.input.speaker,
308
+ scope: $.input.sessionScope,
309
+ params: slot.params(),
310
+ }), { expose: { session: true } })
311
+ .outlet('spriteShow', ($) => C.showSprite.v1({
312
+ target: $.save.messageId,
313
+ pick: $.spritePick.main,
314
+ source: 'picker',
262
315
  }))
263
316
  /**
264
317
  * What the reference ships, and the only place its two authored
@@ -273,6 +326,6 @@ withSpriteTail(spec(TOOL_LOOP_SPEC_ID, {
273
326
  source: TOOL_LOOP_TEMPLATE,
274
327
  engine: handlebars.id,
275
328
  })
276
- .params('answer', { path: 'answer' })))
329
+ .params('answer', { path: 'answer' }))
277
330
  .build());
278
331
  //# sourceMappingURL=toolLoop.js.map
@@ -2,7 +2,7 @@
2
2
  * `@serene-pub/core-catalog/conversation` — the plain-TypeScript half of
3
3
  * core's conversation widget (C7): the dossier its host projects, and the
4
4
  * verdicts, ordering and text the widget draws from. The widget's Svelte
5
- * source lives in `components/sessions/messages/` and ships built
5
+ * source lives in `components/shared/messages/` and ships built
6
6
  * (`dist/components/messages.js`); a host imports only this half, which
7
7
  * carries no Svelte runtime.
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * `@serene-pub/core-catalog/conversation` — the plain-TypeScript half of
3
3
  * core's conversation widget (C7): the dossier its host projects, and the
4
4
  * verdicts, ordering and text the widget draws from. The widget's Svelte
5
- * source lives in `components/sessions/messages/` and ships built
5
+ * source lives in `components/shared/messages/` and ships built
6
6
  * (`dist/components/messages.js`); a host imports only this half, which
7
7
  * carries no Svelte runtime.
8
8
  *
@@ -7,5 +7,5 @@
7
7
  * preset core ships. Only what such a reader needs is re-exported here; the
8
8
  * value API (`coreWidgets`, `CORE_COMPONENTS`) stays on the root.
9
9
  */
10
- export { CORE_WIDGETS, systemStyleSlug, type WidgetDecl, type WidgetDependency, type WidgetScope, type WidgetStylePreset, } from './widgets.js';
10
+ export { CORE_WIDGETS, systemStyleSlug, type WidgetDecl, type WidgetDependency, type WidgetScope, type WidgetStylePreset, } from '../../registry/widgets.js';
11
11
  //# sourceMappingURL=coreWidgetsEntry.d.ts.map
@@ -7,5 +7,5 @@
7
7
  * preset core ships. Only what such a reader needs is re-exported here; the
8
8
  * value API (`coreWidgets`, `CORE_COMPONENTS`) stays on the root.
9
9
  */
10
- export { CORE_WIDGETS, systemStyleSlug, } from './widgets.js';
10
+ export { CORE_WIDGETS, systemStyleSlug, } from '../../registry/widgets.js';
11
11
  //# sourceMappingURL=coreWidgetsEntry.js.map
@@ -3,7 +3,7 @@
3
3
  * core's Lore entries widget (R21, R58): its settings, its filter and sort
4
4
  * words, the line under each entry, the page span, and the latest-ask guard
5
5
  * the widget pages with. The widget's Svelte source lives in
6
- * `components/sessions/lore-entries/` and ships built
6
+ * `components/shared/lore-entries/` and ships built
7
7
  * (`dist/components/lore-entries.js`); a host imports only this half, which
8
8
  * carries no Svelte runtime.
9
9
  *
@@ -2,7 +2,7 @@
2
2
  * `@serene-pub/core-catalog/scene-portraits` — the plain-TypeScript half of
3
3
  * core's Scene Portraits widget (R21): its settings, and the faces, pins and
4
4
  * mini bar rows it draws from `characters.v1` and `session_state.v1`. The
5
- * widget's Svelte source lives in `components/sessions/scene-portraits/` and
5
+ * widget's Svelte source lives in `components/shared/scene-portraits/` and
6
6
  * ships built (`dist/components/scene-portraits.js`); this half carries no
7
7
  * Svelte runtime.
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * `@serene-pub/core-catalog/scene-portraits` — the plain-TypeScript half of
3
3
  * core's Scene Portraits widget (R21): its settings, and the faces, pins and
4
4
  * mini bar rows it draws from `characters.v1` and `session_state.v1`. The
5
- * widget's Svelte source lives in `components/sessions/scene-portraits/` and
5
+ * widget's Svelte source lives in `components/shared/scene-portraits/` and
6
6
  * ships built (`dist/components/scene-portraits.js`); this half carries no
7
7
  * Svelte runtime.
8
8
  *
@@ -3,7 +3,7 @@
3
3
  * core's two state widgets, World State and Stats (R21): when a number is a
4
4
  * bar, what a value reads as, and what each widget draws from the
5
5
  * `session_state` section and its settings. Their Svelte source lives in
6
- * `components/sessions/{world-state,stats,state}/` and ships built
6
+ * `components/shared/{world-state,stats,state}/` and ships built
7
7
  * (`dist/components/world-state.js`, `dist/components/stats.js`); a host
8
8
  * imports only this half, which carries no Svelte runtime.
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * core's two state widgets, World State and Stats (R21): when a number is a
4
4
  * bar, what a value reads as, and what each widget draws from the
5
5
  * `session_state` section and its settings. Their Svelte source lives in
6
- * `components/sessions/{world-state,stats,state}/` and ships built
6
+ * `components/shared/{world-state,stats,state}/` and ships built
7
7
  * (`dist/components/world-state.js`, `dist/components/stats.js`); a host
8
8
  * imports only this half, which carries no Svelte runtime.
9
9
  *