@serene-pub/core-catalog 0.6.0-pr-8 → 0.6.0-pr-9

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 (147) hide show
  1. package/README.md +1 -1
  2. package/components/shared/chronicle/ChronicleWidget.svelte +127 -57
  3. package/components/shared/composer/ComposerWidget.svelte +17 -5
  4. package/components/shared/composer/settings.ts +6 -2
  5. package/components/shared/composer/target.ts +19 -0
  6. package/components/shared/dialogue-box/DialogueBoxWidget.svelte +2 -2
  7. package/components/shared/lore-entries/LoreEntriesWidget.svelte +39 -35
  8. package/components/shared/messages/MessageBlocksView.svelte +1 -1
  9. package/components/shared/messages/MessageControls.svelte +21 -4
  10. package/components/shared/messages/MessagesWidget.svelte +24 -8
  11. package/components/shared/messages/NextCharacterBlock.svelte +18 -3
  12. package/components/shared/messages/SceneDivider.svelte +22 -12
  13. package/components/shared/messages/SessionComposer.svelte +67 -22
  14. package/components/shared/messages/SessionContainer.svelte +87 -32
  15. package/components/shared/messages/SessionMessage.svelte +68 -29
  16. package/components/shared/messages/SpokenLine.svelte +45 -13
  17. package/components/shared/messages/TurnLine.svelte +233 -45
  18. package/components/shared/messages/conversation.svelte.ts +30 -2
  19. package/components/shared/messages/rowFacts.ts +44 -0
  20. package/components/shared/messages/spokenLine.ts +63 -14
  21. package/components/shared/places/PlacesWidget.svelte +32 -20
  22. package/components/shared/routine-log/routineLog.ts +5 -21
  23. package/components/shared/session-runs/SessionRunsWidget.svelte +16 -12
  24. package/dist/components/actions.js +5 -5
  25. package/dist/components/actions.source.json +1 -1
  26. package/dist/components/album.js +1 -1
  27. package/dist/components/album.source.json +1 -1
  28. package/dist/components/annex.js +1 -1
  29. package/dist/components/annex.source.json +1 -1
  30. package/dist/components/attendance.js +1 -1
  31. package/dist/components/attendance.source.json +1 -1
  32. package/dist/components/authors-note.js +1 -1
  33. package/dist/components/authors-note.source.json +1 -1
  34. package/dist/components/backdrop.js +3 -3
  35. package/dist/components/backdrop.source.json +1 -1
  36. package/dist/components/chronicle.js +641 -484
  37. package/dist/components/chronicle.source.json +1 -1
  38. package/dist/components/composer.js +188 -153
  39. package/dist/components/composer.source.json +1 -1
  40. package/dist/components/core-ui.json +1 -1
  41. package/dist/components/dialogue-box.js +11 -11
  42. package/dist/components/dialogue-box.source.json +1 -1
  43. package/dist/components/lore-entries.js +101 -92
  44. package/dist/components/lore-entries.source.json +1 -1
  45. package/dist/components/messages.js +351 -275
  46. package/dist/components/messages.source.json +1 -1
  47. package/dist/components/places.js +237 -202
  48. package/dist/components/places.source.json +1 -1
  49. package/dist/components/routine-log.js +6 -17
  50. package/dist/components/routine-log.source.json +1 -1
  51. package/dist/components/scene-portraits.js +4 -4
  52. package/dist/components/scene-portraits.source.json +1 -1
  53. package/dist/components/session-runs.js +118 -211
  54. package/dist/components/session-runs.source.json +1 -1
  55. package/dist/components/{shared-OVDOAXYZ.js → shared-47J4TNSF.js} +1 -1
  56. package/dist/components/{shared-ASZVJYPD.js → shared-EFMMT76D.js} +56 -3
  57. package/dist/components/{shared-N7FFW5TX.js → shared-FOVKPMSK.js} +3 -3
  58. package/dist/components/{shared-7SWDK5MC.js → shared-HEAKNNZB.js} +4 -0
  59. package/dist/components/shared-JXP6SHKF.js +159 -0
  60. package/dist/components/{shared-TNJZHTMT.js → shared-JXYPKSTQ.js} +1 -1
  61. package/dist/components/{shared-2FMI3LEE.js → shared-KJIOSSE3.js} +2 -2
  62. package/dist/components/{shared-RQYMTMHF.js → shared-KLURQFWI.js} +2 -2
  63. package/dist/components/{shared-BR2KXM25.js → shared-MHCNUDUT.js} +96 -12
  64. package/dist/components/{shared-6S23SGJB.js → shared-NICRJ4Z2.js} +1 -1
  65. package/dist/components/{shared-M7AYID43.js → shared-W2BBJCNE.js} +7 -7
  66. package/dist/components/{shared-XJD6Y2OU.js → shared-YYYXFDZU.js} +387 -248
  67. package/dist/components/stats.js +5 -5
  68. package/dist/components/stats.source.json +1 -1
  69. package/dist/components/turn-line.js +384 -112
  70. package/dist/components/turn-line.source.json +1 -1
  71. package/dist/components/turn-order.js +4 -4
  72. package/dist/components/turn-order.source.json +1 -1
  73. package/dist/factories/answerForm.d.ts +6 -0
  74. package/dist/factories/answerForm.js +104 -96
  75. package/dist/factories/turnOrder.d.ts +84 -107
  76. package/dist/factories/turnOrder.js +89 -131
  77. package/dist/genres/chat/create.js +2 -0
  78. package/dist/genres/chat/memory.js +64 -43
  79. package/dist/genres/chat/respond.d.ts +7 -6
  80. package/dist/genres/chat/respond.js +13 -4
  81. package/dist/genres/chat/turnOrder.d.ts +2 -2
  82. package/dist/genres/chat/turnOrder.js +28 -12
  83. package/dist/genres/defaults.d.ts +8 -2
  84. package/dist/genres/defaults.js +51 -27
  85. package/dist/genres/dungeon-crawler/journal.d.ts +1 -1
  86. package/dist/genres/dungeon-crawler/journal.js +1 -1
  87. package/dist/genres/dungeon-crawler/rest.js +5 -3
  88. package/dist/genres/dungeon-crawler/story.d.ts +2 -1
  89. package/dist/genres/dungeon-crawler/story.js +7 -4
  90. package/dist/genres/dungeon-crawler/storyScripts.js +85 -9
  91. package/dist/genres/dungeon-crawler/turnOrder.d.ts +8 -9
  92. package/dist/genres/dungeon-crawler/turnOrder.js +33 -23
  93. package/dist/genres/guide/create.js +2 -0
  94. package/dist/genres/guide/turnOrder.d.ts +3 -3
  95. package/dist/genres/guide/turnOrder.js +29 -13
  96. package/dist/genres/lair/answerForm.js +4 -1
  97. package/dist/genres/lair/buildRoom.js +4 -3
  98. package/dist/genres/lair/castellanAction.js +160 -154
  99. package/dist/genres/lair/fileCurrentRoom.js +13 -10
  100. package/dist/genres/lair/fileRoom.js +4 -3
  101. package/dist/genres/lair/keeper.js +2 -0
  102. package/dist/genres/lair/names.d.ts +2 -0
  103. package/dist/genres/lair/names.js +2 -0
  104. package/dist/genres/lair/reply.js +16 -6
  105. package/dist/genres/lair/roomAnswer.js +4 -3
  106. package/dist/genres/lair/scratchpad.js +9 -7
  107. package/dist/genres/lair/turnOrder.d.ts +3 -2
  108. package/dist/genres/lair/turnOrder.js +45 -16
  109. package/dist/genres/story/create.d.ts +1 -0
  110. package/dist/genres/story/create.js +1 -0
  111. package/dist/genres/story/reckon.js +43 -10
  112. package/dist/genres/story/turnOrder.d.ts +13 -3
  113. package/dist/genres/story/turnOrder.js +79 -22
  114. package/dist/index.js +8 -8
  115. package/dist/primers/ninth-mile.d.ts +3 -4
  116. package/dist/registry/entries.js +16 -5
  117. package/dist/registry/genres.d.ts +61 -54
  118. package/dist/registry/genres.js +123 -106
  119. package/dist/registry/widgets.js +12 -1
  120. package/dist/seed/presets.js +11 -7
  121. package/dist/seed/scripts.js +3 -0
  122. package/dist/shared/lore.d.ts +13 -0
  123. package/dist/shared/lore.js +37 -1
  124. package/dist/shared/reckoning.d.ts +7 -1
  125. package/dist/shared/reckoning.js +24 -17
  126. package/dist/shared/sceneBoundaries.js +7 -6
  127. package/dist/shared/speakMessage.d.ts +9 -2
  128. package/dist/shared/speakMessage.js +32 -9
  129. package/dist/shared/ui/chronicle/index.d.ts +7 -2
  130. package/dist/shared/ui/chronicle/index.js +21 -12
  131. package/dist/shared/ui/conversation/index.d.ts +1 -0
  132. package/dist/shared/ui/conversation/index.js +2 -0
  133. package/dist/shared/ui/conversation/messageVerbState.d.ts +5 -0
  134. package/dist/shared/ui/conversation/messageVerbState.js +3 -3
  135. package/dist/shared/ui/conversation/rewindStrip.d.ts +11 -4
  136. package/dist/shared/ui/conversation/rewindStrip.js +9 -7
  137. package/dist/shared/ui/conversation/runsInProgress.d.ts +30 -0
  138. package/dist/shared/ui/conversation/runsInProgress.js +47 -0
  139. package/dist/shared/ui/conversation/tableChannel.d.ts +8 -11
  140. package/dist/shared/ui/conversation/tableChannel.js +8 -9
  141. package/dist/shared/ui/routine-log/index.d.ts +3 -0
  142. package/dist/shared/ui/routine-log/index.js +22 -0
  143. package/dist/shared/ui/session-runs/index.d.ts +9 -1
  144. package/dist/shared/ui/session-runs/index.js +20 -14
  145. package/dist/shared/ui/turn-order/index.d.ts +0 -9
  146. package/dist/shared/ui/turn-order/index.js +1 -2
  147. package/package.json +8 -8
@@ -28,60 +28,32 @@ import { TABLE_CHANNEL_DECL } from "../shared/ui/conversation/tableChannel.js";
28
28
  */
29
29
  /**
30
30
  * Auto-advance (PLAN-turn-order §4.6, R16): whether the head turn fires by
31
- * itself after a send, and how far.
31
+ * itself after a send.
32
32
  *
33
- * ONE `FieldDecl`, declared here and placed in a genre's `fields` — not a
34
- * column, not a metadata key, not a bespoke control. It is read from the
35
- * settings document like any other field, rendered by the session settings
36
- * form like any other field, and stored in `sessions.genre_fields` like any
37
- * other field. Core's layer of the cascade (§4.13) is `next`; Story
38
- * overrides it to `round` (R16), and a genre that wants a silent `off`
39
- * pins `settings: { autoAdvance: 'off' }` and declares no control at all.
33
+ * ONE boolean `FieldDecl`, declared here and placed in a genre's `fields` —
34
+ * not a column, not a metadata key, not a bespoke control. Every core genre
35
+ * declares it, on by default. It is read from the settings document like any
36
+ * other field, rendered by the session settings form like any other field,
37
+ * and stored in `sessions.genre_fields` like any other field.
40
38
  *
41
- * ⚠ With `off`, a send produces no reply until Continue. That is the
39
+ * How far "on" runs is the genre's second key, `autoAdvanceRuns` (`next` ·
40
+ * `round`): Story declares it as its own field, and the other four core
41
+ * genres pin it to `next` with no control. A genre that declares the switch
42
+ * and states no extent fires nothing; a genre that does not declare the
43
+ * switch never auto-advances.
44
+ *
45
+ * ⚠ With the switch off, a send produces no reply until Continue. That is the
42
46
  * feature, not a defect — the docs say so.
43
47
  * @experimental
44
48
  */
45
49
  export const AUTO_ADVANCE_FIELD = {
46
- // ⚠ `enum` + `members`, not the `select` + `options` §4.6 spells: there is
47
- // no `select` field type and no `options` key in the vocabulary (PLAN §8
48
- // (18)). `members` is the existing way to say "the stored values are not
49
- // what a person should read", and `of` derives from its keys — so this is
50
- // the same control, in the words the form renderer already speaks.
51
- type: "enum",
50
+ type: "boolean",
52
51
  label: { en: "Auto-advance" },
53
52
  group: "Turns",
54
53
  reach: "owner",
55
- members: [
56
- { key: "off", label: { en: "Off" } },
57
- { key: "next", label: { en: "Next turn" } },
58
- { key: "round", label: { en: "Whole round" } }
59
- ],
60
- default: "next",
61
- description: {
62
- en: "Fire the next turn automatically after you send."
63
- }
64
- };
65
- /**
66
- * Which path a turn-order spec with a model path takes (PLAN-turn-order R41,
67
- * M4): `rules`, the strategy node, or `model`, the `advise` oracle asking a
68
- * model who speaks. A genre field like auto-advance — declared, cascading
69
- * (§4.13), read by the spec's `decide` junction off the settings document.
70
- * Only a genre whose turn-order spec has a model path declares it.
71
- * @experimental
72
- */
73
- export const TURN_MODE_FIELD = {
74
- type: "enum",
75
- label: { en: "Who speaks next is decided by" },
76
- group: "Turns",
77
- reach: "owner",
78
- members: [
79
- { key: "rules", label: { en: "The turn order rules" } },
80
- { key: "model", label: { en: "The model" } }
81
- ],
82
- default: "rules",
54
+ default: true,
83
55
  description: {
84
- en: "The rules are free and instant; the model reads the conversation and costs a model call per turn."
56
+ en: "After you send, the next reply starts by itself. Off: nothing starts until you press Continue."
85
57
  }
86
58
  };
87
59
  /**
@@ -101,6 +73,11 @@ export const TURN_MODE_FIELD = {
101
73
  * `{{characterNames}}` at all (the old *hidden*, applied to everyone).
102
74
  *
103
75
  * The speaker's own card is always complete, whatever the level.
76
+ *
77
+ * 🚧 `characterDetail` is the key core reads: the host's cast read and the
78
+ * session's settings document both carry it, and the settings document is
79
+ * resolved with no pipeline to wire a field from, so a genre declares it under
80
+ * that key.
104
81
  * @experimental
105
82
  */
106
83
  export const CHARACTER_DETAIL_FIELD = {
@@ -212,7 +189,7 @@ export const SIDE_CAST_FIELD = {
212
189
  label: { en: "Let others speak up" },
213
190
  group: "Turns",
214
191
  description: {
215
- en: "After everyone has had their turn, one more character may speak up on their own before it is yours again. Each is another model call."
192
+ en: "After everyone has had their turn, one more character may speak up on their own before it is yours again. Each is one more reply to wait for."
216
193
  },
217
194
  default: false,
218
195
  reach: "owner"
@@ -225,7 +202,9 @@ export const SIDE_CAST_FIELD = {
225
202
  * turn waits for a Continue, never a second reply. A genre setting read by the
226
203
  * turn-order spec, as `SIDE_CAST_FIELD` is. Off by default. A stored `true`
227
204
  * (before 2026-11-04) reads as every round, `false` as off — read by
228
- * `UNPROMPTED_MODES_SCRIPT`, no migration.
205
+ * `UNPROMPTED_MODES_SCRIPT`, no migration. The host also reads this key for
206
+ * one thing: the cause it stamps on the narrator's unprompted line
207
+ * (`metadata.turnCause`), which is the host's fact (★T-1).
229
208
  * @experimental
230
209
  */
231
210
  export const NARRATOR_INTERJECTIONS_FIELD = {
@@ -233,7 +212,7 @@ export const NARRATOR_INTERJECTIONS_FIELD = {
233
212
  label: { en: "Narrator's turn" },
234
213
  group: "Turns",
235
214
  description: {
236
- en: "How often the narrator takes a turn of its own, after everyone else's. Each is another model call."
215
+ en: "How often the narrator takes a turn of its own, after everyone else's. Each is one more reply to wait for."
237
216
  },
238
217
  of: ["off", "every-round", "every-2nd-round", "every-3rd-round"],
239
218
  members: [
@@ -255,17 +234,10 @@ export const NARRATOR_INTERJECTIONS_FIELD = {
255
234
  * it stays exported for that mapping and so packages compile, and removing it
256
235
  * is the owner's call.
257
236
  *
258
- * 🚧 **Honour mode** (owner ruling 2026-10-15) — a key core reads, the way it
259
- * reads `autoAdvance`, so any genre opts in by placing this object under
260
- * `honorMode` in its `fields` (PLAN-genres-seams S6, 2026-10-23; the Dungeon
261
- * Crawler's own until then). A genre that declares it keeps its story turns:
262
- * an older turn on a channel that offers the retake is never deleted (retake
263
- * from the latest instead), and the latest is deleted by the session owner
264
- * alone, only while this is on (`turnDeleteVerdict`, app `messages/verbs.ts`).
265
- * The retake is the owner's whatever it says. 🚧 And (2026-10-16) a player
266
- * edits their own sheet by hand only while this is on; the host always may,
267
- * and the pipeline is untouched (`assertSessionOwner`, app `state/write.ts`;
268
- * the key read by `app/server/sessions/settings.ts`).
237
+ * 🚧 **Honour mode** (owner ruling 2026-10-15): nothing in core reads the key
238
+ * `honorMode` but the stored-data mapper that rewrites it (app
239
+ * `sessions/honorModeRetired.ts`). A genre declares `KEEP_EVERY_TURN_FIELD`
240
+ * and names it in `provisos.turnKeeping`.
269
241
  * @experimental
270
242
  * @deprecated — declare KEEP_EVERY_TURN_FIELD under `keepEveryTurn`.
271
243
  */
@@ -297,10 +269,11 @@ const ITEM_MOVE_LABELS = {
297
269
  /**
298
270
  * 🚧 **Session owner sheet latitude** (owner ruling 2026-11-05, plan §25 ★1):
299
271
  * how much the session owner may change by hand on the sheets — the levels are
300
- * `SHEET_LATITUDES`. A key core reads, the way it reads `autoAdvance`: a genre
301
- * opts in by placing this object under `ownerSheetLatitude` in its
272
+ * `SHEET_LATITUDES`. A genre declares this object under any key in its
302
273
  * `shape.fields` with its own `default`, or pins the value silently in its
303
- * `settings` (the cascade, R32). The host's write gate judges each hand edit
274
+ * `settings` (the cascade, R32), and names that key in
275
+ * `shape.provisos.sheetLatitude.owner`. ⏳ An undeclared genre's field under
276
+ * the core spelling `ownerSheetLatitude` is still read. The host's write gate judges each hand edit
304
277
  * with the SDK's `sheetLatitudeAllows` (app `state/handEdits.ts`).
305
278
  *
306
279
  * ⚠ Not `changedBy` (an attribute's own word for who may change it — the judge
@@ -323,10 +296,11 @@ export const OWNER_SHEET_LATITUDE_FIELD = {
323
296
  /**
324
297
  * 🚧 **Player sheet latitude** (owner ruling 2026-11-05, plan §25 ★1): how much
325
298
  * players may change by hand on the sheets — the levels are `SHEET_LATITUDES`.
326
- * A key core reads, the way it reads `autoAdvance`: a genre opts in by placing
327
- * this object under `playerSheetLatitude` in its `shape.fields` with its own
328
- * `default`, or pins the value silently in its `settings` (the cascade, R32).
329
- * The host's write gate judges each hand edit with the SDK's
299
+ * A genre declares this object under any key in its `shape.fields` with its
300
+ * own `default`, or pins the value silently in its `settings` (the cascade,
301
+ * R32), and names that key in `shape.provisos.sheetLatitude.player`. ⏳ An
302
+ * undeclared genre's field under the core spelling `playerSheetLatitude` is
303
+ * still read. The host's write gate judges each hand edit with the SDK's
330
304
  * `sheetLatitudeAllows` (app `state/handEdits.ts`). Their own are the characters they
331
305
  * play; watchers never change a sheet.
332
306
  *
@@ -349,10 +323,11 @@ export const PLAYER_SHEET_LATITUDE_FIELD = {
349
323
  /**
350
324
  * 🚧 **Session owner item moves** (owner ruling 2026-11-05, plan §25 ★7): moves
351
325
  * are their own permission — whether the session owner gives, drops and picks
352
- * up items by hand, and whose; the levels are `ITEM_MOVE_LATITUDES`. A key core
353
- * reads: a genre opts in by placing this object under `ownerItemMoves` in its
354
- * `shape.fields` with its own `default`, or pins it silently in its `settings`
355
- * (the cascade, R32). The host's write gate judges each side of a move with the
326
+ * up items by hand, and whose; the levels are `ITEM_MOVE_LATITUDES`. A genre
327
+ * declares this object under any key in its `shape.fields` with its own
328
+ * `default`, or pins it silently in its `settings` (the cascade, R32), and
329
+ * names that key in `shape.provisos.itemMoveLatitude.owner`. ⏳ An undeclared
330
+ * genre's field under the core spelling `ownerItemMoves` is still read. The host's write gate judges each side of a move with the
356
331
  * SDK's `sheetLatitudeAllows` (app `state/handEdits.ts`); `follow-sheet` judges each
357
332
  * side as a `set` under `OWNER_SHEET_LATITUDE_FIELD`.
358
333
  *
@@ -375,10 +350,11 @@ export const OWNER_ITEM_MOVES_FIELD = {
375
350
  * 🚧 **Player item moves** (owner ruling 2026-11-05, plan §25 ★7): whether
376
351
  * players give, drop and pick up items by hand, and whose — a separate control
377
352
  * from sheet editing, so a strict table can let players hand items over while
378
- * their sheets stay locked; the levels are `ITEM_MOVE_LATITUDES`. A key core
379
- * reads: a genre opts in by placing this object under `playerItemMoves` in its
380
- * `shape.fields` with its own `default`, or pins it silently in its `settings`
381
- * (the cascade, R32). The host's write gate judges each side of a move with the
353
+ * their sheets stay locked; the levels are `ITEM_MOVE_LATITUDES`. A genre
354
+ * declares this object under any key in its `shape.fields` with its own
355
+ * `default`, or pins it silently in its `settings` (the cascade, R32), and
356
+ * names that key in `shape.provisos.itemMoveLatitude.player`. ⏳ An undeclared
357
+ * genre's field under the core spelling `playerItemMoves` is still read. The host's write gate judges each side of a move with the
382
358
  * SDK's `sheetLatitudeAllows` (app `state/handEdits.ts`); `follow-sheet` judges each
383
359
  * side as a `set` under `PLAYER_SHEET_LATITUDE_FIELD`.
384
360
  *
@@ -401,9 +377,10 @@ export const PLAYER_ITEM_MOVES_FIELD = {
401
377
  * 🚧 **Keep every turn** (owner rulings 2026-11-05, plan §25 ★6 and ★sl-4: the
402
378
  * key and the label both renamed from Honour mode): ON = nobody deletes the latest turn
403
379
  * (retake from the latest instead); Back/Forward and the retake are untouched.
404
- * A key core reads, the way it reads `autoAdvance`: a genre opts in by placing
405
- * this object under `keepEveryTurn` in its `shape.fields` with its own
406
- * `default`, or pins it silently in its `settings` (the cascade, R32). Read by
380
+ * A genre declares this object under any key in its `shape.fields` with its
381
+ * own `default`, or pins it silently in its `settings` (the cascade, R32), and
382
+ * names that key in `shape.provisos.turnKeeping`. ⏳ An undeclared genre's
383
+ * field under the core spelling `keepEveryTurn` is still read. Read by
407
384
  * the app's `turnDeleteVerdict`. Off: the host may delete the latest turn
408
385
  * where deleting is on. The Dungeon Crawler declares it, on by default.
409
386
  *
@@ -426,9 +403,11 @@ export const KEEP_EVERY_TURN_FIELD = {
426
403
  };
427
404
  /**
428
405
  * 🚧 **Show outcomes** — whether a session's prompts carry the numbers of
429
- * how its checks came out; a key core reads (app `messages/diceWords.ts`), so
430
- * any genre opts in by placing this object under `showDice` in its `fields`
431
- * (PLAN-genres-seams S6, 2026-10-23; the Lair's own until then). ⏳ The key
406
+ * how its checks came out. A genre opts in by declaring this object under a
407
+ * key of its own and wiring `session-history@1`'s `outcomeNumbers` from that
408
+ * field in each history read of its pipelines; ⏳ a read that wires nothing is
409
+ * read by the key `showDice` until 0.7. The Lair declares it under `showDice`
410
+ * (PLAN-genres-seams S6, 2026-10-23). ⏳ The key
432
411
  * `showDice` is kept — stored sessions hold it; no setting is named for dice
433
412
  * (2026-10-22), a ruleset may decide without them. How checks came out stays
434
413
  * in the story for everyone either way — dice, cards, a spend or a
@@ -501,8 +480,8 @@ export const storyGenre = genre(STORY_GENRE_ID, {
501
480
  en: [
502
481
  "Tell a story with the model: roleplay with your characters, run an adventure, or just write together.",
503
482
  "Who's in the room: your characters and personas, in any mix. None are required: the model can tell the story on its own.",
504
- "Who drives: you do. On Living the world keeps itself: after each round it notes what changed — health, time, conditions — and every few turns it files what happened in your lorebook.",
505
- "What it costs: one model call a turn on Minimal; two on Living and Rule Based (the reply, then a short look at what changed), plus a summary every few turns.",
483
+ "Who drives: you do. On Living the world keeps itself: after each round it notes what changed — health, conditions and, when the lorebook keeps it, story time — and every few turns it files what happened in your lorebook.",
484
+ "What it costs: time. On Minimal the reply is all there is; Living and Rule Based take a moment more after each round to note what changed, and every few turns to look back over the story.",
506
485
  "Required: nothing. Optional: a lorebook for the world, and rules that keep numbers if you want them.",
507
486
  "Pick Chat to talk to the model as itself, the Lair to run the game yourself, or the Dungeon Crawler to let the AI run it.",
508
487
  "Minimal: just the story, nothing tracked. Living: the world keeps itself, in words. Rule Based: Living, with the rules you pick deciding the numbers."
@@ -530,6 +509,8 @@ export const storyGenre = genre(STORY_GENRE_ID, {
530
509
  /** 🚧 Words by default; a table may turn rules or scripts on (Rule Based pins `scripts`). */
531
510
  rigour: { options: ["prose", "mechanics", "scripts"], default: "prose" },
532
511
  shape: {
512
+ /** The one rule core enforces here: the owner's sheet latitude, pinned in `settings`. */
513
+ provisos: { sheetLatitude: { owner: "ownerSheetLatitude" } },
533
514
  /**
534
515
  * Both participant systems optional and unbounded above — Chat's
535
516
  * shape, kept: a Minimal story may start with nobody in it (the
@@ -551,22 +532,32 @@ export const storyGenre = genre(STORY_GENRE_ID, {
551
532
  */
552
533
  /** Begins scenes by itself through the scenes routine (owner 2026-11-12); a session's own setting still wins. */
553
534
  scenes: { mode: "automatic", place: { stateKey: "location" }, first: true, castRefresh: true },
554
- /** Back takes one message per press in Story (owner 2026-11-04, playtest §0-A); the Lair and the Crawler keep the turn. */
555
- history: { settle: "on-commit", back: "message" },
556
535
  /** The session settings form's own sections (§4.11): declared, never automatic. */
557
536
  scenario: true,
558
537
  tags: true,
559
538
  /**
560
- * Chat's four (auto-advance on `round`, R16; the turn-order model
561
- * path; character detail; the author's note), Adventure's tone and
562
- * difficulty under Advanced, and the two voices (2026-10-20: the
563
- * voices group of the retired background tasks, genre settings now).
564
- * Adventure's *Trust the narrator* is gone: its meaning is a
565
- * routine's **Review** mode now.
539
+ * The auto-advance switch and how far it runs (R16); character
540
+ * detail; the author's note; Adventure's tone and difficulty under
541
+ * Advanced; and the two voices (2026-10-20: the voices group of the
542
+ * retired background tasks, genre settings now). Adventure's *Trust
543
+ * the narrator* is gone: its meaning is a routine's **Review** mode.
566
544
  */
567
545
  fields: {
568
- autoAdvance: { ...AUTO_ADVANCE_FIELD, default: "round" },
569
- turnMode: TURN_MODE_FIELD,
546
+ autoAdvance: AUTO_ADVANCE_FIELD,
547
+ autoAdvanceRuns: {
548
+ type: "enum",
549
+ label: { en: "Auto-advance runs" },
550
+ group: "Turns",
551
+ reach: "owner",
552
+ of: ["next", "round"],
553
+ members: [
554
+ { key: "next", label: { en: "Next turn" } },
555
+ { key: "round", label: { en: "Whole round" } }
556
+ ],
557
+ default: "round",
558
+ description: { en: "How far it goes before waiting for you." },
559
+ showIf: { field: "autoAdvance", equals: true }
560
+ },
570
561
  characterDetail: CHARACTER_DETAIL_FIELD,
571
562
  authorsNote: AUTHORS_NOTE_FIELD,
572
563
  [ROUND_WORTH_KEY]: ROUND_WORTH_FIELD,
@@ -610,6 +601,11 @@ export const storyGenre = genre(STORY_GENRE_ID, {
610
601
  // (an action registration carries none: Full), never the reckoning's.
611
602
  }
612
603
  },
604
+ /**
605
+ * Back takes one message per press in Story (owner 2026-11-04, playtest §0-A); the Lair and the Crawler keep the turn.
606
+ * A genre property, beside `shape`, never inside it: `genre()` reads `history` here and nowhere else.
607
+ */
608
+ history: { settle: "on-commit", back: "message" },
613
609
  // 🚧 No slots, no sheet (RF fix 8): the session's rules bring its attributes;
614
610
  // the host keeps where and when (the scene's place, the story clock).
615
611
  events: {
@@ -680,7 +676,9 @@ export const ASSISTANT_SYSTEM_PROMPT = [
680
676
  ].join("\n\n");
681
677
  /**
682
678
  * 🚧 Chat's tool kinds (§1-8), each off or on per session through the
683
- * `tools` field: the host maps each kind onto the tools that serve it
679
+ * `tools` field, which the genre names in `shape.provisos.toolKinds` (⏳ an
680
+ * undeclared genre's field under the core spelling `tools` is still read): the
681
+ * host maps each kind onto the tools that serve it
684
682
  * (`core:query/available-tools@1`'s `kinds`). R53 holds: no tool sees a
685
683
  * connection. Not offered: code execution, a shell, app administration.
686
684
  * @experimental
@@ -706,14 +704,17 @@ export const chatGenre = genre(CHAT_GENRE_ID, {
706
704
  en: [
707
705
  "Talk to the model as itself: a plain assistant, with no characters and no story.",
708
706
  "Who's in the room: you and the Assistant. Chat is just for you; it is never a group session.",
709
- "What it costs: one model call a turn on Basic. On Agentic the Assistant may use tools — search the web, read your lorebooks, make a picture — and each tool it uses costs another call, a few at most.",
707
+ "What it costs: waiting for one reply on Basic. On Agentic the Assistant may use tools — search the web, read your lorebooks, make a picture — and each tool it uses adds a moment to the answer, a few at most.",
710
708
  "Required: nothing. Optional: a lorebook it reads from.",
711
709
  "Pick Story to roleplay or tell a story, or the Guide for help with Serene Pub itself.",
712
710
  "Basic: the model, no tools. Agentic: the model with the tools you switch on."
713
711
  ].join("\n\n")
714
712
  },
715
713
  members: "solo",
714
+ settings: { autoAdvanceRuns: "next" },
716
715
  shape: {
716
+ /** The one rule core enforces here: the tool kinds, carried by the `tools` field. */
717
+ provisos: { toolKinds: "tools" },
717
718
  /** Nobody from the library sits here: the one speaker is the Assistant (§1-8). */
718
719
  characters: { min: 0, max: 0 },
719
720
  /** No persona either: the person speaks as themselves (a cardless seat). */
@@ -729,16 +730,17 @@ export const chatGenre = genre(CHAT_GENRE_ID, {
729
730
  writes: { lore: true, scenes: false },
730
731
  /** No greeting: a new Chat opens empty (★C). */
731
732
  greeting: { enabled: false },
732
- scenario: false,
733
+ scenario: true,
733
734
  tags: true,
734
735
  fields: {
736
+ autoAdvance: AUTO_ADVANCE_FIELD,
735
737
  tools: {
736
738
  type: "string[]",
737
739
  label: { en: "Tools" },
738
740
  group: "Tools",
739
741
  reach: "owner",
740
742
  description: {
741
- en: "What the Assistant may use while it answers. Each tool it uses is another model call; none means one call a turn."
743
+ en: "What the Assistant may use while it answers. Each tool it uses adds a moment to the answer."
742
744
  },
743
745
  of: [...CHAT_TOOL_KINDS],
744
746
  members: [
@@ -847,6 +849,7 @@ export const guideGenre = genre(GUIDE_GENRE_ID, {
847
849
  * the app; the field is gone since 2026-10-23, the rule stays.)
848
850
  */
849
851
  members: "solo",
852
+ settings: { autoAdvanceRuns: "next" },
850
853
  description: {
851
854
  en: "Talk to Serene, Serene Pub's guide, about the app itself — no characters, no story; just questions and answers grounded in the docs."
852
855
  },
@@ -855,12 +858,14 @@ export const guideGenre = genre(GUIDE_GENRE_ID, {
855
858
  en: [
856
859
  "Ask Serene, Serene Pub's guide, how to use the app: she answers from its documentation.",
857
860
  "Who's in the room: you and Serene. You may write as yourself or as one persona; there are no characters, and the Guide is just for you, never a group session.",
858
- "What it costs: one model call a turn. Serene can't browse: each question looks up the sections of the docs that match it, and she answers only from those, naming the page she used.",
861
+ "What it costs: waiting for one reply. Serene can't browse: each question looks up the sections of the docs that match it, and she answers only from those, naming the page she used.",
859
862
  "Required: nothing. Optional: a lorebook of your own notes, which she reads beside the docs and never writes to.",
860
863
  "Pick Chat to talk to the model about anything else, or Story to play with characters."
861
864
  ].join("\n\n")
862
865
  },
863
866
  shape: {
867
+ /** No rule core enforces here: no turn is kept, no sheet edited by hand, no tool kinds. */
868
+ provisos: {},
864
869
  /** The settings form's sections (PLAN-turn-order §4.11): declared, never automatic. */
865
870
  scenario: false,
866
871
  tags: true,
@@ -889,13 +894,13 @@ export const guideGenre = genre(GUIDE_GENRE_ID, {
889
894
  greeting: { enabled: false },
890
895
  // No turn-order swaps: one in-turn envoy and no characters, nothing to choose between.
891
896
  /**
892
- * 🚧 No fields (2026-10-23, PLAN-genres-seams S8, ★E): the `tools`
893
- * field (*Search the web*, 2026-10-19) is dropped — `guide-respond`
894
- * has no tool loop and Serene's instructions say she cannot browse,
895
- * so the setting did nothing. Web search stays Chat's (Agentic).
896
- * 🚧 Then the speech settings (2026-10-28, S7): the reply carries the speech tail.
897
+ * 🚧 The auto-advance switch and the speech settings (2026-10-28, S7: the
898
+ * reply carries the speech tail). No `tools` field (2026-10-23,
899
+ * PLAN-genres-seams S8, ★E): `guide-respond` has no tool loop and
900
+ * Serene's instructions say she cannot browse. Web search stays Chat's
901
+ * (Agentic).
897
902
  */
898
- fields: { ...SPEECH_FIELDS }
903
+ fields: { autoAdvance: AUTO_ADVANCE_FIELD, ...SPEECH_FIELDS }
899
904
  },
900
905
  envoys: [
901
906
  {
@@ -1090,13 +1095,14 @@ export const lairGenre = genre(LAIR_GENRE_ID, {
1090
1095
  name: { en: "Lair" },
1091
1096
  family: "adventure",
1092
1097
  keepsTime: "story",
1098
+ timeline: "required",
1093
1099
  members: "group",
1094
1100
  /**
1095
1101
  * 🚧 The session owner changes anything on anyone's sheet by hand, the
1096
1102
  * world and places too (owner ruling 2026-11-05, plan §25 ★2): pinned,
1097
1103
  * no control. Players keep core's _As the rules say_.
1098
1104
  */
1099
- settings: { ownerSheetLatitude: "all-any" },
1105
+ settings: { ownerSheetLatitude: "all-any", autoAdvanceRuns: "next" },
1100
1106
  /**
1101
1107
  * 🚧 What the Lair uses of a ruleset (D8, PROPOSAL §6): nothing it cannot
1102
1108
  * run without — its plan, voices and books work in words — and it plays
@@ -1118,7 +1124,7 @@ export const lairGenre = genre(LAIR_GENRE_ID, {
1118
1124
  "You are the dungeon and its game master: build the rooms, direct what happens, and watch an AI party delve into what you made.",
1119
1125
  "Who's in the room: the party — at least one character the AI plays, and any friends you invite, each playing a delver of their own. You never appear in the story: what you write is what the dungeon does.",
1120
1126
  "Who drives: you do, with two helpers. The Castellan plans each turn and talks the dungeon through with you in the Sanctum, which only you see; the Oracle asks you to call each check the rules want, and says how it came out.",
1121
- "What it costs: on Words only, one model call a turn and one for each delver who speaks; on Rules and The rules decide, one more after each round to keep the books.",
1127
+ "What it costs: on Words only, waiting for the dungeon's reply and for each delver who speaks; on Rules and The rules decide, a moment more after each round to keep the books.",
1122
1128
  "Required: at least one character for the party, and a lorebook — the dungeon itself, one entry per room. Optional: rules that decide checks, such as Vis Itineris or Wherewithal, and friends to fill the seats.",
1123
1129
  "Pick the Dungeon Crawler to let the AI run the dungeon while you play a character, or Story to tell a story without a game master's screen.",
1124
1130
  "Words only: the party and you, in words, with no checks and no rooms to build. Rules: rooms to build, and the books kept after each round. The rules decide: every risky moment is the rules' to decide, called by you or decided at once."
@@ -1134,6 +1140,8 @@ export const lairGenre = genre(LAIR_GENRE_ID, {
1134
1140
  /** 🚧 Rules by default (the preset *Rules*); *Words only* is `prose`, *The rules decide* `scripts` (was *Rules and dice*, 2026-10-22). */
1135
1141
  rigour: { options: ["prose", "mechanics", "scripts"], default: "mechanics" },
1136
1142
  shape: {
1143
+ /** The one rule core enforces here: the owner's sheet latitude, pinned in `settings`. */
1144
+ provisos: { sheetLatitude: { owner: "ownerSheetLatitude" } },
1137
1145
  /** The settings form's sections (PLAN-turn-order §4.11): declared, never automatic. */
1138
1146
  scenario: true,
1139
1147
  tags: true,
@@ -1217,6 +1225,7 @@ export const lairGenre = genre(LAIR_GENRE_ID, {
1217
1225
  scenes: { mode: "automatic", place: { stateKey: "location" } },
1218
1226
  // No turn-order swaps: the plan decides who speaks.
1219
1227
  fields: {
1228
+ autoAdvance: AUTO_ADVANCE_FIELD,
1220
1229
  tone: {
1221
1230
  type: "enum",
1222
1231
  label: { en: "Tone" },
@@ -1455,6 +1464,7 @@ export const dungeonCrawlerGenre = genre(DUNGEON_CRAWLER_GENRE_ID, {
1455
1464
  name: { en: "Dungeon Crawler" },
1456
1465
  family: "adventure",
1457
1466
  keepsTime: "story",
1467
+ timeline: "required",
1458
1468
  members: "group",
1459
1469
  /**
1460
1470
  * 🚧 The session owner changes sheets as the rules say (owner ruling
@@ -1462,7 +1472,7 @@ export const dungeonCrawlerGenre = genre(DUNGEON_CRAWLER_GENRE_ID, {
1462
1472
  * (`shape.fields`).
1463
1473
  */
1464
1474
  // Owner 2026-11-05 (★ed-2): the host can always fix a mistake by hand; players stay locked.
1465
- settings: { ownerSheetLatitude: "all-any" },
1475
+ settings: { ownerSheetLatitude: "all-any", autoAdvanceRuns: "next" },
1466
1476
  /**
1467
1477
  * 🚧 What the Dungeon Crawler uses of a ruleset (PLAN-genre-restructure
1468
1478
  * §11), confirmed against its delta grammar (`story.ts`,
@@ -1505,7 +1515,7 @@ export const dungeonCrawlerGenre = genre(DUNGEON_CRAWLER_GENRE_ID, {
1505
1515
  "The AI is the whole Dungeon Master: make a character, walk into a world it generates, and play only your own part.",
1506
1516
  "Who's in the room: you and your character, and any friends you invite, each with a character of their own; companions you add travel with the party. The Planner talks with each player in their own channel, out of character; the Narrator tells the story.",
1507
1517
  "Who drives: the table. Before play the Planner asks you what kind of adventure, how hard, whether the goal is shared or secret, and who your character is. Then each round everyone says what their character does, and the Narrator tells what happens.",
1508
- "What it costs: several model calls a round — the Planner keeps the books, then the Narrator tells the story — and one each time you talk to the Planner.",
1518
+ "What it costs: several replies to wait for each round — the Planner keeps the books, then the Narrator tells the story — and one each time you talk to the Planner.",
1509
1519
  "Required: nothing. Optional: a persona to start your character from, and companions. The world is made as you play and kept in the session; nothing is added to your lorebooks or your library.",
1510
1520
  "Pick the Lair to run the dungeon yourself, or Story to tell a story without a Dungeon Master."
1511
1521
  ].join("\n\n")
@@ -1514,6 +1524,12 @@ export const dungeonCrawlerGenre = genre(DUNGEON_CRAWLER_GENRE_ID, {
1514
1524
  rulesets: { recommended: [visItinerisRuleset.id], default: visItinerisRuleset.id },
1515
1525
  rigour: { options: ["prose", "mechanics", "scripts"], default: "scripts" },
1516
1526
  shape: {
1527
+ /** The rules core enforces here: each is a field below or a pin in `settings`. */
1528
+ provisos: {
1529
+ turnKeeping: "keepEveryTurn",
1530
+ sheetLatitude: { owner: "ownerSheetLatitude", player: "playerSheetLatitude" },
1531
+ itemMoveLatitude: { player: "playerItemMoves" }
1532
+ },
1517
1533
  scenario: false,
1518
1534
  tags: true,
1519
1535
  /**
@@ -1616,6 +1632,7 @@ export const dungeonCrawlerGenre = genre(DUNGEON_CRAWLER_GENRE_ID, {
1616
1632
  * gone: a stored one is mapped once by the app (★6).
1617
1633
  */
1618
1634
  fields: {
1635
+ autoAdvance: AUTO_ADVANCE_FIELD,
1619
1636
  playerSheetLatitude: { ...PLAYER_SHEET_LATITUDE_FIELD, default: "no-edits" },
1620
1637
  playerItemMoves: { ...PLAYER_ITEM_MOVES_FIELD, default: "own-items" },
1621
1638
  keepEveryTurn: KEEP_EVERY_TURN_FIELD
@@ -411,6 +411,17 @@ export const CORE_WIDGETS = [
411
411
  label: 'Show the Actions label',
412
412
  default: true,
413
413
  },
414
+ /**
415
+ * 🚧 **Show the Send button** (owner 2026-11-15): off hides Send and Stop where Enter
416
+ * sends; the turn line then carries the reply's Stop. At the compact width the
417
+ * button always shows.
418
+ */
419
+ showSend: {
420
+ type: 'boolean',
421
+ label: 'Show the Send button',
422
+ description: 'On a phone the button always shows.',
423
+ default: true,
424
+ },
414
425
  },
415
426
  },
416
427
  /**
@@ -1386,7 +1397,7 @@ export const CORE_WIDGETS = [
1386
1397
  layout: { span: { ideal: 2 }, minInline: 260, minBlock: 120 },
1387
1398
  /** The grant `session-places` reads with, and the state who stands where is read from. */
1388
1399
  scopes: ['lore', 'session:state'],
1389
- reads: ['settings'],
1400
+ reads: ['settings', 'viewer'],
1390
1401
  presets: [DEFAULT_PRESET],
1391
1402
  settings: {
1392
1403
  view: {
@@ -30,9 +30,12 @@ import { DUNGEON_CRAWLER_NARRATOR_KEY, DUNGEON_CRAWLER_PLANNER_KEY } from "../ge
30
30
  /**
31
31
  * 🚧 **Minimal** — the roleplay Chat's preset until 2026-10-19 (the app's
32
32
  * migration re-keys `core-chat-default` to it, so a migrated Chat session is
33
- * born of it): one call a turn; the clock moves on a few minutes each
34
- * round (the round tick, the session's round worth) and nothing else changes
35
- * unless the person changes it, and a story may start with nobody in it.
33
+ * born of it): one call a turn; on a lorebook with a timeline, the clock
34
+ * moves on a few minutes each round (the round tick, the session's round
35
+ * worth) and nothing else changes unless the person changes it, and a story
36
+ * may start with nobody in it. 🚧 It starts a session on its own notes
37
+ * undated (`defaults.timeline: false`): since 2026-11-16 that is every
38
+ * preset's default unless its genre requires a timeline, and stays explicit here.
36
39
  * Story's defaults with the five routines dropped (the reckoning, the sweep, the pictures, the scenes routine and the scene summaries routine), the reply not reading the scene (it adds to the
37
40
  * prompt; *Read the lorebook* stays on — it costs no call, and a migrated
38
41
  * session read its lorebook into every reply), and — with no reckoning to
@@ -44,7 +47,8 @@ const storyMinimalPreset = () => {
44
47
  slug: "story-minimal",
45
48
  genre: storyGenre,
46
49
  label: "Minimal",
47
- description: "Just the story: one model call a turn. The clock moves on a few minutes each round; nothing else changes unless you change it.",
50
+ description: "Just the story, nothing kept in the background. On a lorebook with a timeline, the clock moves on a few minutes each round; nothing else changes unless you change it.",
51
+ defaults: { timeline: false },
48
52
  drop: [r.reckoning, r.sweep, r.illustrate, r.scenes, r.sceneSummaries],
49
53
  change: [{ of: r.reply, values: { reading: { params: { scene: false } } } }],
50
54
  callsPerTurn: 1,
@@ -94,7 +98,7 @@ const chatBasicPreset = () => ({
94
98
  slug: "chat-basic",
95
99
  genre: chatGenre,
96
100
  label: "Basic",
97
- description: "The model as itself: no tools, one call a turn.",
101
+ description: "The model as itself: no tools, one reply to wait for a turn.",
98
102
  default: true,
99
103
  callsPerTurn: 1,
100
104
  enabled: true
@@ -109,7 +113,7 @@ const chatAgenticPreset = () => ({
109
113
  slug: "chat-agentic",
110
114
  genre: chatGenre,
111
115
  label: "Agentic",
112
- description: "The model with tools: it can search the web, read your lorebooks, make pictures and do sums. Each tool it uses is another call.",
116
+ description: "The model with tools: it can search the web, read your lorebooks, make pictures and do sums. Each tool it uses adds a moment to the answer.",
113
117
  callsPerTurn: 1,
114
118
  settings: { tools: CHAT_TOOL_KINDS.filter((k) => k !== "lorebook-write") },
115
119
  enabled: true
@@ -146,7 +150,7 @@ const lairWordsOnlyPreset = () => {
146
150
  slug: "lair-words-only",
147
151
  genre: lairGenre,
148
152
  label: "Words only",
149
- description: "The party and you, in words: no checks, no rooms to build. One model call a turn, and one for each delver who speaks.",
153
+ description: "The party and you, in words: no checks, no rooms to build. One reply to wait for a turn, and one for each delver who speaks.",
150
154
  drop: [...r.roll, ...r.buildRoom, ...r.fileRoom, ...r.roomAnswer, r.fileCurrentRoom],
151
155
  change: [{ of: r.keeper, mode: "off" }],
152
156
  defaults: { genreFields: { tone: "grounded" } },
@@ -26,6 +26,7 @@ import { STORY_SCRIPTS } from '../genres/story/reckon.js';
26
26
  import { UNPROMPTED_MODES_SCRIPT } from '../factories/turnOrder.js';
27
27
  import { LAIR_SCRIPTS } from '../genres/lair/scripts.js';
28
28
  import { WEATHER_PICK_SCRIPT } from '../shared/weather.js';
29
+ import { ENTRIES_NAMED_BRIEF_SCRIPT } from '../shared/lore.js';
29
30
  /** Every script core ships, in seed order. @experimental */
30
31
  export const CORE_SCRIPTS = Object.freeze([
31
32
  READ_PATH_SCRIPT,
@@ -59,5 +60,7 @@ export const CORE_SCRIPTS = Object.freeze([
59
60
  ...LAIR_SCRIPTS,
60
61
  // 🚧 The weather's daily pick (shared/weather.ts, M0 T5): core:spec/weather.
61
62
  WEATHER_PICK_SCRIPT,
63
+ // 🚧 What a lore-writing step shows the model of what the session already keeps (shared/lore.ts).
64
+ ENTRIES_NAMED_BRIEF_SCRIPT,
62
65
  ]);
63
66
  //# sourceMappingURL=scripts.js.map
@@ -42,6 +42,8 @@ export declare function fileLore<B extends Chain>(c: B, w: Wiring, opts: {
42
42
  sources?: ReadOn<B>;
43
43
  /** 🚧 Find-or-update by the item's own name within `entryType`. Default off. */
44
44
  matchByName?: boolean;
45
+ /** 🚧 The ids of the entries the model was shown (`entries-named@1`'s `ids`), read with `matchByName`. */
46
+ shown?: ReadOn<B>;
45
47
  }): any;
46
48
  /** 🚧 One lore entry from a name and content already on the chain (the summarisers' save, the sweep's summary). @experimental */
47
49
  export declare function rememberNote<B extends Chain>(c: B, w: Wiring, opts: {
@@ -59,4 +61,15 @@ export declare function rememberNote<B extends Chain>(c: B, w: Wiring, opts: {
59
61
  label: string;
60
62
  };
61
63
  }): B;
64
+ /**
65
+ * 🚧 `core:script/entries-named-brief`: show the model what is already kept.
66
+ * Handed `{ brief, entries, modes?, duties?, lists? }` — `brief` the step's question as text, `entries` the
67
+ * `core:query/entries-named@1`'s `main`, `modes` the duties' modes and `duties` the duty keys this brief serves
68
+ * (a duty is on when its mode is `full` or `review`, as the Story scripts' `modeOf` reads it), `lists` the duty each
69
+ * entry type is written by (bare type id → duty key): an entry whose duty is off is left out, and each line names its list. Returns `{ brief }`:
70
+ * unchanged, byte for byte, when `entries` is empty or when `duties` is given and none of them is on; else the brief, then the entries' names and whole texts with
71
+ * the rule for returning one (an entry a person wrote is marked).
72
+ * @experimental
73
+ */
74
+ export declare const ENTRIES_NAMED_BRIEF_SCRIPT: import("./scriptSeed.js").CoreScriptSeed;
62
75
  //# sourceMappingURL=lore.d.ts.map