@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,209 @@
1
+ /**
2
+ * Adventure's **Look** action. The genre's actions are introduced in `index.ts`.
3
+ */
4
+ import { compile, slot, spec, sessionEvents } from '@serene-pub/sdk';
5
+ import * as C from '@serene-pub/contracts';
6
+ import { adventureGenre, POST_HISTORY_TOKEN_TRIGGER } from '../../registry/genres.js';
7
+ /* ── look ───────────────────────────────────────────────────────────────── */
8
+ /** @internal */
9
+ export const ADVENTURE_LOOK_SPEC_ID = 'core:spec/adventure-look';
10
+ /**
11
+ * 1.0.0, edited in place (lorebooks C2, 2026-10-02): a `presences` read and an
12
+ * `eligible` step before `rank`. Content-addressed; `specHashes.test.ts`
13
+ * records the move.
14
+ *
15
+ * Edited in place again (owner ruling 2026-10-03): the context step is the
16
+ * SCENE builder, with the places listing — see `adventureLookSpec`.
17
+ *
18
+ * And again (history window, 2026-10-03): `contextBudget` runs before the
19
+ * reads and `gather.history.read` takes its `budget`, so the transcript fit,
20
+ * not the newest 100 rows, decides where the conversation starts.
21
+ * @internal
22
+ */
23
+ export const ADVENTURE_LOOK_VERSION = '1.0.0';
24
+ /**
25
+ * The narrator describes where you are, from the lore and the world state, and
26
+ * changes nothing.
27
+ *
28
+ * It is also the opening scene: the create pipeline deliberately makes no model
29
+ * call, so this is the button a new Adventure session is meant to start with.
30
+ *
31
+ * **Built on the scene builder** (`core:task/build-scene-context@1`, owner
32
+ * ruling 2026-10-03), the context Adventure's own narrator reads, so Look is
33
+ * shown what the narrator is shown: `{{location}}`, the clock and the weather,
34
+ * the place the scene is in with its ways on (`{{locationEntry}}`) and every
35
+ * place the world holds (`{{knownLocations}}`), off the same `rooms` listing
36
+ * and the same room rule as `adventure-respond`. It was built on
37
+ * `build-template-context@1`, which computes no scene variables, so Look
38
+ * described a place it had never been shown. No `plan`: nothing is planned,
39
+ * so `{{beats}}` is empty and the builder anchors on the world state alone.
40
+ * The builder also resolves the step as nobody, so the line the model
41
+ * continues is the narrator's rather than the session's last speaker's.
42
+ *
43
+ * Its prompt row moved with it, from the `build-template-context` pool into
44
+ * the `build-scene-context` pool (migration `0111` re-keys the row in place,
45
+ * so a configuration pointing at it keeps pointing at it).
46
+ * @internal
47
+ */
48
+ export const adventureLookSpec = () => compile(spec(ADVENTURE_LOOK_SPEC_ID, {
49
+ version: ADVENTURE_LOOK_VERSION,
50
+ taxonomy: {
51
+ role: 'action',
52
+ },
53
+ contributes: {
54
+ actions: [
55
+ {
56
+ key: 'look',
57
+ venue: { kind: 'composer' },
58
+ quick: true,
59
+ icon: 'eye',
60
+ label: { en: 'Look' },
61
+ description: { en: 'Have the narrator describe where you are and what you can see.' },
62
+ },
63
+ ],
64
+ },
65
+ })
66
+ .inlet('input', C.userMessage.v1(), {
67
+ genre: adventureGenre,
68
+ event: sessionEvents.sessionAction,
69
+ })
70
+ // Before the reads (history window, 2026-10-03): the history read
71
+ // is sized by this budget, so it is computed first. It reads only
72
+ // config, never a step, so moving it changes no value.
73
+ .task('contextBudget', ($) => C.contextBudget.v1({
74
+ sampling: slot.samplingOf('write'),
75
+ // The other half of the same pair, for the model's own
76
+ // window (0114) — see `respond`.
77
+ connection: slot.connectionOf('write'),
78
+ params: slot.params(),
79
+ }))
80
+ .gather('gather', { mode: 'parallel' }, (b) => b
81
+ .chain('history', (c) => c.query('read', ($) => C.sessionHistory.v1({
82
+ scope: $.input.sessionScope,
83
+ // Sized by the window (history window, 2026-10-03).
84
+ budget: $.contextBudget.available,
85
+ params: slot.params(),
86
+ })))
87
+ .chain('lore', (c) => c.query('read', ($) => C.lorebookTriggers.v1({
88
+ scope: $.input.sessionScope,
89
+ params: slot.params(),
90
+ })))
91
+ .chain('cast', (c) => c.query('read', ($) => C.sessionCast.v1({ scope: $.input.sessionScope })))
92
+ .chain('state', (c) => c.query('read', ($) => C.sessionState.v1({ scope: $.input.sessionScope })))
93
+ // Every place the world holds, by listing (the places plan
94
+ // A28, as `adventure-respond` reads them): location entries
95
+ // with their ways on (the preset), for `{{locationEntry}}`
96
+ // and `{{knownLocations}}`.
97
+ .chain('rooms', (c) => c.query('read', ($) => C.lorebookEntries.v1({
98
+ scope: $.input.sessionScope,
99
+ params: slot.params(),
100
+ })))
101
+ // Who is in the world at the session's moment (R4), for `eligible`.
102
+ .chain('presences', (c) => c.query('read', ($) => C.castPresences.v1({ scope: $.input.sessionScope }))))
103
+ // The pool the ranker reads: the conversation's band intent (R-7
104
+ // P5 — `session-history` ranks nothing, but its `share` reserves the
105
+ // transcript's slice of the window) ahead of the keyword scan's
106
+ // candidates, which open with the scan's own three intents
107
+ // (`lorebook-triggers` declares one per band it produces). A concat
108
+ // rather than the scan's port straight into `rank`, because a
109
+ // ranker takes one list and the intent needs a seat in it.
110
+ .task('lore', ($) => C.concatCandidates.v1({
111
+ sources: [$.gather.history.read.band, $.gather.lore.read.main],
112
+ }))
113
+ // The hard gates before the ranker (C2; R2, R4): the scan's own
114
+ // exclusions, and the presence gate.
115
+ .task('eligible', ($) => C.eligibility.v1({
116
+ candidates: $.lore.candidates,
117
+ exclusions: $.gather.lore.read.exclusions,
118
+ presences: $.gather.presences.read.main,
119
+ at: $.gather.presences.read.at,
120
+ }))
121
+ // The room the place slot shows (the room rule, as in
122
+ // `adventure-respond`): the world's `location` resolved against
123
+ // the places, so the ranker leaves that room to
124
+ // `{{locationEntry}}` rather than spending lore budget on it twice.
125
+ .task('place', ($) => C.undescribedName.v1({
126
+ name: $.gather.state.read.state,
127
+ locationEntries: $.gather.rooms.read.entries,
128
+ params: slot.params(),
129
+ }), { expose: { label: 'The current place' } })
130
+ .task('rank', ($) => C.rankHybrid.v1({
131
+ candidates: $.eligible.candidates,
132
+ budget: $.contextBudget.available,
133
+ shownElsewhere: $.place.entryId,
134
+ params: slot.params(),
135
+ }))
136
+ // The narrator's context (owner ruling 2026-10-03): the scene
137
+ // builder, with no plan. The key stays `context`, so a stored
138
+ // value at `context#prompts` keeps its address.
139
+ .task('context', ($) => C.buildSceneContext.v1({
140
+ cast: $.gather.cast.read.cast,
141
+ state: $.gather.state.read.state,
142
+ fields: $.input.fields,
143
+ locationEntries: $.gather.rooms.read.entries,
144
+ prompts: slot.prompts(),
145
+ variables: slot.variables(),
146
+ }))
147
+ .task('lines', ($) => C.processMessages.v1({
148
+ messages: $.gather.history.read.messages,
149
+ cast: $.gather.cast.read.cast,
150
+ templateContext: $.context.templateContext,
151
+ seedName: $.context.seedName,
152
+ }))
153
+ /**
154
+ * 🚧 **The transcript's files, placed** (attachments follow-ups, owner
155
+ * ruling 2026-10-03) — `respond`'s two steps: the files the rows show,
156
+ * then per line what `write` receives (an image it can read rides its
157
+ * own turn; otherwise its name). A transcript with no files passes
158
+ * through untouched, so the prompt is byte for byte what it was.
159
+ */
160
+ .query('attachments', ($) => C.historyAttachments.v1({
161
+ messages: $.gather.history.read.messages,
162
+ params: slot.params(),
163
+ }))
164
+ .task('attached', ($) => C.placeAttachments.v1({
165
+ messages: $.lines.messages,
166
+ attachments: $.attachments.attachments,
167
+ connection: slot.connectionOf('write'),
168
+ params: slot.params(),
169
+ }))
170
+ .task('prompt', ($) => C.assemble.v2({
171
+ candidates: $.rank.candidates,
172
+ decisions: $.rank.decisions,
173
+ groups: $.rank.groups,
174
+ budget: $.contextBudget.available,
175
+ messages: $.attached.messages,
176
+ templateContext: $.context.templateContext,
177
+ template: slot.template(),
178
+ prompts: slot.prompts({ node: 'context' }),
179
+ variables: slot.variables(),
180
+ params: slot.params(),
181
+ connection: slot.connectionOf('write'),
182
+ }))
183
+ .oracle('write', ($) => C.generateText.v1({
184
+ context: $.prompt.context,
185
+ connection: slot.connection(),
186
+ sampling: slot.sampling(),
187
+ params: slot.params(),
188
+ // No `prompts` on the generating step — see `../chat/respond.ts`
189
+ // (culled 2026-09-16, R-12).
190
+ }), { expose: { stream: true, status: 'Looking around' } })
191
+ .outlet('save', ($) => C.createMessage.v1({ text: $.write.text }))
192
+ /**
193
+ * What this step ships with: the post-history reminder's trigger
194
+ * (`POST_HISTORY_TOKEN_TRIGGER`), because the prompt renders the
195
+ * session's growing history and the reminder only earns its place
196
+ * once there is enough of it to drift from; and the places and the
197
+ * room rule as `adventure-respond` ships them — preset values on
198
+ * new nodes, so they reach an install through a re-projection
199
+ * (0111).
200
+ */
201
+ .preset('default', { label: 'Default', default: true }, (p) => p
202
+ .params('prompt', { postHistoryTokenTrigger: POST_HISTORY_TOKEN_TRIGGER })
203
+ .params('gather.rooms.read', {
204
+ entryTypes: ['core:entry/location'],
205
+ withLinks: true,
206
+ })
207
+ .params('place', { path: 'world.location' }))
208
+ .build());
209
+ //# sourceMappingURL=look.js.map
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The flagship genre's two required pipelines: create a world, and take a turn
3
- * in it (DESIGN-adventure-genre.md).
2
+ * The flagship genre's two required pipelines: create a world (`create.ts`), and
3
+ * take a turn in it (this file; DESIGN-adventure-genre.md).
4
4
  *
5
5
  * ## The one idea
6
6
  *
@@ -61,37 +61,6 @@
61
61
  * of texts, which is a new declaration this lane did not need to make.
62
62
  */
63
63
  /** @internal */
64
- export declare const ADVENTURE_CREATE_SPEC_ID = "core:spec/adventure-create";
65
- /** @internal */
66
- export declare const ADVENTURE_CREATE_VERSION = "1.0.0";
67
- /**
68
- * The genre's one required member: what happens when an Adventure session is
69
- * created.
70
- *
71
- * ## Attaching the slots is writing nothing
72
- *
73
- * The design says creation "attaches the lorebook's world slots and each cast
74
- * member's card config". Resolution already does that by READING: `valueOf`
75
- * walks session → lorebook → card → declaration default, and absence means
76
- * inherit. So attaching is materialising rows that say what the declaration
77
- * already says, and the one thing a seed must never do is write a row nobody
78
- * asked for — a stored 20 would stop tracking a card that later says 40.
79
- *
80
- * What makes the slots appear at all is the genre declaring them (`genreSlots`);
81
- * this pipeline's job is the greetings, exactly as Chat's is.
82
- *
83
- * ## No opening narration, deliberately
84
- *
85
- * The design asks for the narrator to run once for the opening scene. It is not
86
- * here, and the reason is what creating a session is: a synchronous action a
87
- * person is waiting on. A model call inside it makes "New session" as slow as
88
- * the slowest backend and fails the whole creation when no connection is set —
89
- * on the one screen where a new user is most likely to have set none. The
90
- * opening scene is `core:spec/adventure-look` instead, which is a button.
91
- * @internal
92
- */
93
- export declare const adventureCreateSpec: () => import("@serene-pub/sdk").SpecDocument;
94
- /** @internal */
95
64
  export declare const ADVENTURE_RESPOND_SPEC_ID = "core:spec/adventure-respond";
96
65
  /**
97
66
  * 1.0.0, edited in place (lorebooks C2/C3, 2026-10-02): the vector and entity
@@ -106,6 +75,13 @@ export declare const ADVENTURE_RESPOND_SPEC_ID = "core:spec/adventure-respond";
106
75
  * the window's worth of the newest rows (never more than 2000) instead of the
107
76
  * newest 100, so the transcript fit decides where the conversation starts.
108
77
  * Content-addressed; `specHashes.test.ts` records the move.
78
+ *
79
+ * Edited in place again (sprites in-pipeline, 2026-10-05): the sprite step —
80
+ * `spritePick` (`core:oracle/pick-sprite@1`, handed the reply's text and
81
+ * speaker) and `spriteShow` — right after `save`, so a character's line gets
82
+ * a face as Chat's does (owner ruling D-a); and `semantic.arm.queries` wires
83
+ * its own embedding connection, since `embed-text` declares none.
84
+ * Content-addressed; `specHashes.test.ts` records the move.
109
85
  * @internal
110
86
  */
111
87
  export declare const ADVENTURE_RESPOND_VERSION = "1.0.0";
@@ -220,4 +196,4 @@ export declare const ADVENTURE_KEEPER_SCHEMA: {
220
196
  };
221
197
  /** @internal */
222
198
  export declare const adventureRespondSpec: () => import("@serene-pub/sdk").SpecDocument;
223
- //# sourceMappingURL=adventure.d.ts.map
199
+ //# sourceMappingURL=respond.d.ts.map
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The flagship genre's two required pipelines: create a world, and take a turn
3
- * in it (DESIGN-adventure-genre.md).
2
+ * The flagship genre's two required pipelines: create a world (`create.ts`), and
3
+ * take a turn in it (this file; DESIGN-adventure-genre.md).
4
4
  *
5
5
  * ## The one idea
6
6
  *
@@ -62,61 +62,7 @@
62
62
  */
63
63
  import { compile, slot, spec, sessionEvents } from '@serene-pub/sdk';
64
64
  import * as C from '@serene-pub/contracts';
65
- import { adventureGenre, POST_HISTORY_TOKEN_TRIGGER } from './genres.js';
66
- /* ── create ─────────────────────────────────────────────────────────────── */
67
- /** @internal */
68
- export const ADVENTURE_CREATE_SPEC_ID = 'core:spec/adventure-create';
69
- /** @internal */
70
- export const ADVENTURE_CREATE_VERSION = '1.0.0';
71
- /**
72
- * The genre's one required member: what happens when an Adventure session is
73
- * created.
74
- *
75
- * ## Attaching the slots is writing nothing
76
- *
77
- * The design says creation "attaches the lorebook's world slots and each cast
78
- * member's card config". Resolution already does that by READING: `valueOf`
79
- * walks session → lorebook → card → declaration default, and absence means
80
- * inherit. So attaching is materialising rows that say what the declaration
81
- * already says, and the one thing a seed must never do is write a row nobody
82
- * asked for — a stored 20 would stop tracking a card that later says 40.
83
- *
84
- * What makes the slots appear at all is the genre declaring them (`genreSlots`);
85
- * this pipeline's job is the greetings, exactly as Chat's is.
86
- *
87
- * ## No opening narration, deliberately
88
- *
89
- * The design asks for the narrator to run once for the opening scene. It is not
90
- * here, and the reason is what creating a session is: a synchronous action a
91
- * person is waiting on. A model call inside it makes "New session" as slow as
92
- * the slowest backend and fails the whole creation when no connection is set —
93
- * on the one screen where a new user is most likely to have set none. The
94
- * opening scene is `core:spec/adventure-look` instead, which is a button.
95
- * @internal
96
- */
97
- export const adventureCreateSpec = () => compile(spec(ADVENTURE_CREATE_SPEC_ID, {
98
- version: ADVENTURE_CREATE_VERSION,
99
- taxonomy: {
100
- role: 'create',
101
- },
102
- genre: {
103
- name: adventureGenre.name,
104
- family: adventureGenre.family,
105
- description: adventureGenre.description,
106
- shape: adventureGenre.shape,
107
- events: adventureGenre.events,
108
- },
109
- })
110
- .inlet('input', C.sessionCreated.v1(), {
111
- genre: adventureGenre,
112
- event: sessionEvents.sessionCreated,
113
- })
114
- .query('collect', ($) => C.sessionGreetings.v1({ scope: $.input.sessionScope }))
115
- .outlet('seed', ($) => C.seedGreetings.v1({
116
- greetings: $.collect.greetings,
117
- channel: adventureGenre.shape?.greeting?.channel ?? 'main',
118
- }))
119
- .build());
65
+ import { adventureGenre, POST_HISTORY_TOKEN_TRIGGER } from '../../registry/genres.js';
120
66
  /* ── respond ────────────────────────────────────────────────────────────── */
121
67
  /** @internal */
122
68
  export const ADVENTURE_RESPOND_SPEC_ID = 'core:spec/adventure-respond';
@@ -133,6 +79,13 @@ export const ADVENTURE_RESPOND_SPEC_ID = 'core:spec/adventure-respond';
133
79
  * the window's worth of the newest rows (never more than 2000) instead of the
134
80
  * newest 100, so the transcript fit decides where the conversation starts.
135
81
  * Content-addressed; `specHashes.test.ts` records the move.
82
+ *
83
+ * Edited in place again (sprites in-pipeline, 2026-10-05): the sprite step —
84
+ * `spritePick` (`core:oracle/pick-sprite@1`, handed the reply's text and
85
+ * speaker) and `spriteShow` — right after `save`, so a character's line gets
86
+ * a face as Chat's does (owner ruling D-a); and `semantic.arm.queries` wires
87
+ * its own embedding connection, since `embed-text` declares none.
88
+ * Content-addressed; `specHashes.test.ts` records the move.
136
89
  * @internal
137
90
  */
138
91
  export const ADVENTURE_RESPOND_VERSION = '1.0.0';
@@ -436,7 +389,9 @@ export const adventureRespondSpec = () => compile(spec(ADVENTURE_RESPOND_SPEC_ID
436
389
  .task('queries', ($) => C.queryWindows.v1({
437
390
  messages: $.gather.history.read.messages,
438
391
  cast: $.gather.cast.read.cast,
439
- connection: slot.connectionOf('semantic.arm.embed'),
392
+ // The install's embedding connection, for whether
393
+ // one is set up (Search by meaning's Automatic).
394
+ connection: slot.connection(),
440
395
  params: slot.params(),
441
396
  }))
442
397
  .oracle('embed', ($) => C.embedText.v1({
@@ -614,7 +569,7 @@ export const adventureRespondSpec = () => compile(spec(ADVENTURE_RESPOND_SPEC_ID
614
569
  connection: slot.connection(),
615
570
  sampling: slot.sampling(),
616
571
  params: slot.params(),
617
- // No `prompts` on the generating steps — see `respond.ts`
572
+ // No `prompts` on the generating steps — see `../chat/respond.ts`
618
573
  // (culled 2026-09-16, R-12).
619
574
  }), {
620
575
  expose: {
@@ -911,6 +866,25 @@ export const adventureRespondSpec = () => compile(spec(ADVENTURE_RESPOND_SPEC_ID
911
866
  .outlet('save', ($) => C.updateMessage.v1({
912
867
  target: $.placeholder.messageId,
913
868
  text: $.reply.text,
869
+ }))
870
+ /* ── the line's face ──────────────────────────────────────── */
871
+ /**
872
+ * The sprite picker (DESIGN-sprites §5), handed the reply as
873
+ * `save` wrote it and the speaker the row was written for. A
874
+ * narrator's turn names no character, so it picks nothing; a
875
+ * character's turn may. Before the keeper, so the face lands
876
+ * while the state is still being kept.
877
+ */
878
+ .oracle('spritePick', ($) => C.pickSprite.v1({
879
+ text: $.reply.text,
880
+ speaker: $.input.speaker,
881
+ scope: $.input.sessionScope,
882
+ params: slot.params(),
883
+ }), { expose: { session: true, status: 'Choosing a sprite' } })
884
+ .outlet('spriteShow', ($) => C.showSprite.v1({
885
+ target: $.save.messageId,
886
+ pick: $.spritePick.main,
887
+ source: 'picker',
914
888
  }))
915
889
  /* ── keep state ─────────────────────────────────────────────── */
916
890
  /**
@@ -1131,4 +1105,4 @@ export const adventureRespondSpec = () => compile(spec(ADVENTURE_RESPOND_SPEC_ID
1131
1105
  seedKey: 'sampling-background',
1132
1106
  }))
1133
1107
  .build());
1134
- //# sourceMappingURL=adventure.js.map
1108
+ //# sourceMappingURL=respond.js.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Adventure's **Rest** action. The genre's actions are introduced in `index.ts`.
3
+ */
4
+ /** @internal */
5
+ export declare const ADVENTURE_REST_SPEC_ID = "core:spec/adventure-rest";
6
+ /** @internal */
7
+ export declare const ADVENTURE_REST_VERSION = "1.0.0";
8
+ /** Stop and recover: stamina and health back, and the clock moves on. @internal */
9
+ export declare const adventureRestSpec: () => import("@serene-pub/sdk").SpecDocument;
10
+ //# sourceMappingURL=rest.d.ts.map
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Adventure's **Rest** action. The genre's actions are introduced in `index.ts`.
3
+ */
4
+ import { keeperAction } from './keeperAction.js';
5
+ /** @internal */
6
+ export const ADVENTURE_REST_SPEC_ID = 'core:spec/adventure-rest';
7
+ /** @internal */
8
+ export const ADVENTURE_REST_VERSION = '1.0.0';
9
+ /** Stop and recover: stamina and health back, and the clock moves on. @internal */
10
+ export const adventureRestSpec = () => keeperAction(ADVENTURE_REST_SPEC_ID, ADVENTURE_REST_VERSION, {
11
+ key: 'rest',
12
+ icon: 'bed',
13
+ label: 'Rest',
14
+ description: 'Stop to recover stamina and health while time moves on.',
15
+ });
16
+ //# sourceMappingURL=rest.js.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Adventure's turn order: `turnOrderSpec` (`factories/turnOrder.ts`) for
3
+ * Adventure.
4
+ */
5
+ import { type TurnOrderHandle } from '../../factories/turnOrder.js';
6
+ /** @experimental */
7
+ export declare const ADVENTURE_TURN_ORDER_SPEC_ID = "core:spec/adventure-turn-order";
8
+ /** Adventure's turn order, by value — hand `build()` and `strategyNode` to `swaps` (R26). @experimental */
9
+ export declare const adventureTurnOrder: TurnOrderHandle;
10
+ //# sourceMappingURL=turnOrder.d.ts.map
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Adventure's turn order: `turnOrderSpec` (`factories/turnOrder.ts`) for
3
+ * Adventure.
4
+ */
5
+ import * as C from '@serene-pub/contracts';
6
+ import { adventureGenre } from '../../registry/genres.js';
7
+ import { TURN_ORDER_NARRATOR_EVENTS, turnOrderSpec, turnStrategyNode } from '../../factories/turnOrder.js';
8
+ import { once } from '../../factories/once.js';
9
+ /** @experimental */
10
+ export const ADVENTURE_TURN_ORDER_SPEC_ID = 'core:spec/adventure-turn-order';
11
+ /** The planner genres: nobody is seated — the one entry is the pipeline's own voice. */
12
+ const NOBODY = { characters: 'none', envoys: 'none' };
13
+ /** Adventure's turn order, by value — hand `build()` and `strategyNode` to `swaps` (R26). @experimental */
14
+ export const adventureTurnOrder = {
15
+ genre: adventureGenre,
16
+ spec: ADVENTURE_TURN_ORDER_SPEC_ID,
17
+ events: TURN_ORDER_NARRATOR_EVENTS,
18
+ build: once(() => turnOrderSpec({
19
+ id: ADVENTURE_TURN_ORDER_SPEC_ID,
20
+ genre: adventureGenre,
21
+ events: TURN_ORDER_NARRATOR_EVENTS,
22
+ strategy: C.turnNarrator,
23
+ pool: NOBODY,
24
+ })),
25
+ strategyNode: turnStrategyNode({}),
26
+ };
27
+ //# sourceMappingURL=turnOrder.js.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Chat's answer pipeline: `answerFormSpec` (`factories/answerForm.ts`), published
3
+ * for Chat.
4
+ */
5
+ /** @internal */
6
+ export declare const CHAT_ANSWER_FORM_SPEC_ID = "core:spec/chat-answer-form";
7
+ /** @internal */
8
+ export declare const answerFormChatSpec: () => import("@serene-pub/sdk").SpecDocument;
9
+ //# sourceMappingURL=answerForm.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Chat's answer pipeline: `answerFormSpec` (`factories/answerForm.ts`), published
3
+ * for Chat.
4
+ */
5
+ import { chatGenre } from '../../registry/genres.js';
6
+ import { answerFormSpec } from '../../factories/answerForm.js';
7
+ /** @internal */
8
+ export const CHAT_ANSWER_FORM_SPEC_ID = 'core:spec/chat-answer-form';
9
+ /** @internal */
10
+ export const answerFormChatSpec = () => answerFormSpec(CHAT_ANSWER_FORM_SPEC_ID, chatGenre);
11
+ //# sourceMappingURL=answerForm.js.map
@@ -0,0 +1,7 @@
1
+ /** @internal */
2
+ export declare const CHAT_CREATE_SPEC_ID = "core:spec/chat-create";
3
+ /** @internal */
4
+ export declare const CHAT_CREATE_VERSION = "2.2.0";
5
+ /** @internal */
6
+ export declare const createChatSpec: () => import("@serene-pub/sdk").SpecDocument;
7
+ //# sourceMappingURL=create.d.ts.map
@@ -33,14 +33,14 @@
33
33
  */
34
34
  import { compile, spec, sessionEvents } from "@serene-pub/sdk";
35
35
  import * as C from "@serene-pub/contracts";
36
- import { chatGenre } from "./genres.js";
36
+ import { chatGenre } from "../../registry/genres.js";
37
37
  /** @internal */
38
- export const CREATE_CHAT_SPEC_ID = "core:spec/create-chat";
38
+ export const CHAT_CREATE_SPEC_ID = "core:spec/chat-create";
39
39
  /** @internal */
40
- export const CREATE_CHAT_VERSION = "2.2.0";
40
+ export const CHAT_CREATE_VERSION = "2.2.0";
41
41
  /** @internal */
42
- export const createChatSpec = () => compile(spec(CREATE_CHAT_SPEC_ID, {
43
- version: CREATE_CHAT_VERSION,
42
+ export const createChatSpec = () => compile(spec(CHAT_CREATE_SPEC_ID, {
43
+ version: CHAT_CREATE_VERSION,
44
44
  taxonomy: { role: "create" },
45
45
  genre: {
46
46
  name: chatGenre.name,
@@ -64,4 +64,4 @@ export const createChatSpec = () => compile(spec(CREATE_CHAT_SPEC_ID, {
64
64
  channel: chatGenre.shape?.greeting?.channel ?? "main"
65
65
  }))
66
66
  .build());
67
- //# sourceMappingURL=createChat.js.map
67
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1,7 @@
1
+ /** @experimental */
2
+ export declare const CHAT_GENERATE_IMAGE_SPEC_ID = "core:spec/chat-generate-image";
3
+ /** @internal */
4
+ export declare const CHAT_GENERATE_IMAGE_VERSION = "1.0.0";
5
+ /** @experimental */
6
+ export declare const generateImageSpec: () => import("@serene-pub/sdk").SpecDocument;
7
+ //# sourceMappingURL=generateImage.d.ts.map
@@ -27,14 +27,14 @@
27
27
  */
28
28
  import { compile, spec, sessionEvents, slot } from '@serene-pub/sdk';
29
29
  import * as C from '@serene-pub/contracts';
30
- import { chatGenre } from './genres.js';
30
+ import { chatGenre } from '../../registry/genres.js';
31
31
  /** @experimental */
32
- export const GENERATE_IMAGE_SPEC_ID = 'core:spec/generate-image';
32
+ export const CHAT_GENERATE_IMAGE_SPEC_ID = 'core:spec/chat-generate-image';
33
33
  /** @internal */
34
- export const GENERATE_IMAGE_VERSION = '1.0.0';
34
+ export const CHAT_GENERATE_IMAGE_VERSION = '1.0.0';
35
35
  /** @experimental */
36
- export const generateImageSpec = () => compile(spec(GENERATE_IMAGE_SPEC_ID, {
37
- version: GENERATE_IMAGE_VERSION,
36
+ export const generateImageSpec = () => compile(spec(CHAT_GENERATE_IMAGE_SPEC_ID, {
37
+ version: CHAT_GENERATE_IMAGE_VERSION,
38
38
  /** A person-invoked action on chats (23 §2), same as narrate. */
39
39
  taxonomy: {
40
40
  role: 'action',
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The Chat genre's pipelines, one per file: its create pipeline and reply,
3
+ * the narrator's two halves, image generation, and its answer form and turn
4
+ * order. Chat's one widget of its own, the Author's note, has its typed
5
+ * section under `ui/` (`@serene-pub/core-catalog/authors-note`), never
6
+ * re-exported here.
7
+ */
8
+ export * from './create.js';
9
+ export * from './respond.js';
10
+ export * from './narrate.js';
11
+ export * from './narrateCharacter.js';
12
+ export * from './generateImage.js';
13
+ export * from './answerForm.js';
14
+ export * from './turnOrder.js';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The Chat genre's pipelines, one per file: its create pipeline and reply,
3
+ * the narrator's two halves, image generation, and its answer form and turn
4
+ * order. Chat's one widget of its own, the Author's note, has its typed
5
+ * section under `ui/` (`@serene-pub/core-catalog/authors-note`), never
6
+ * re-exported here.
7
+ */
8
+ export * from './create.js';
9
+ export * from './respond.js';
10
+ export * from './narrate.js';
11
+ export * from './narrateCharacter.js';
12
+ export * from './generateImage.js';
13
+ export * from './answerForm.js';
14
+ export * from './turnOrder.js';
15
+ //# sourceMappingURL=index.js.map
@@ -26,7 +26,7 @@
26
26
  *
27
27
  * ## Its sibling (ruling 2026-09-07)
28
28
  *
29
- * `core:spec/narrate-character` is the other half of the split: a turn spoken
29
+ * `core:spec/chat-side-character` is the other half of the split: a turn spoken
30
30
  * by somebody who is not in the cast. This one narrates the **world** and
31
31
  * speaks as nobody; that one speaks **as a person** and is written from their
32
32
  * perspective. Both read world lore, and neither is inserted into the
@@ -41,9 +41,9 @@
41
41
  * character, which is precisely what neither wants.
42
42
  */
43
43
  /** @experimental */
44
- export declare const NARRATE_SPEC_ID = "core:spec/narrate";
44
+ export declare const CHAT_NARRATE_SPEC_ID = "core:spec/chat-narrate";
45
45
  /** @internal */
46
- export declare const NARRATE_VERSION = "1.11.0";
46
+ export declare const CHAT_NARRATE_VERSION = "1.11.0";
47
47
  /** @experimental */
48
48
  export declare const narrateSpec: () => import("@serene-pub/sdk").SpecDocument;
49
49
  //# sourceMappingURL=narrate.d.ts.map