@serene-pub/sdk 0.6.0-pr-7 β†’ 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 (106) hide show
  1. package/dist/annexFields.d.ts +14 -0
  2. package/dist/annexFields.js +7 -0
  3. package/dist/announce.d.ts +62 -16
  4. package/dist/announce.js +90 -4
  5. package/dist/appletCard.d.ts +17 -0
  6. package/dist/appletCard.js +60 -0
  7. package/dist/attributes.d.ts +3 -3
  8. package/dist/attributes.js +1 -1
  9. package/dist/builder.d.ts +28 -13
  10. package/dist/builder.js +57 -5
  11. package/dist/cadences.d.ts +8 -1
  12. package/dist/cadences.js +27 -2
  13. package/dist/characterProfile.d.ts +137 -0
  14. package/dist/characterProfile.js +24 -0
  15. package/dist/component.d.ts +1 -1
  16. package/dist/componentImports.d.ts +1 -1
  17. package/dist/componentImports.js +2 -0
  18. package/dist/componentWire.js +28 -0
  19. package/dist/conditions.d.ts +5 -1
  20. package/dist/conditions.js +7 -0
  21. package/dist/declarations.d.ts +63 -1
  22. package/dist/declarations.js +176 -7
  23. package/dist/descriptors.d.ts +145 -6
  24. package/dist/descriptors.js +106 -5
  25. package/dist/document.d.ts +9 -1
  26. package/dist/document.js +44 -1
  27. package/dist/events.d.ts +82 -8
  28. package/dist/events.js +42 -5
  29. package/dist/executor.d.ts +27 -0
  30. package/dist/executor.js +32 -8
  31. package/dist/exposure.d.ts +35 -1
  32. package/dist/exposure.js +64 -2
  33. package/dist/extension.d.ts +30 -2
  34. package/dist/extension.js +3 -1
  35. package/dist/fit.d.ts +4 -1
  36. package/dist/fit.js +43 -1
  37. package/dist/functions.d.ts +7 -1
  38. package/dist/functions.js +3 -1
  39. package/dist/genres.d.ts +67 -2
  40. package/dist/genres.js +160 -8
  41. package/dist/hookGrants.js +10 -0
  42. package/dist/hostElements.d.ts +3 -3
  43. package/dist/hostElements.js +12 -4
  44. package/dist/index.d.ts +5 -0
  45. package/dist/index.js +10 -0
  46. package/dist/layout.d.ts +18 -0
  47. package/dist/libraryDraft.d.ts +2 -0
  48. package/dist/libraryDraft.js +5 -1
  49. package/dist/lorebookFile.d.ts +8 -0
  50. package/dist/lorebookFile.js +21 -0
  51. package/dist/participants.d.ts +83 -8
  52. package/dist/participants.js +9 -5
  53. package/dist/pluginPermissions.js +1 -1
  54. package/dist/promptBlocks.d.ts +5 -1
  55. package/dist/promptBlocks.js +23 -8
  56. package/dist/provisos.d.ts +92 -0
  57. package/dist/provisos.js +273 -0
  58. package/dist/receiverRules.js +1 -1
  59. package/dist/registrations.d.ts +154 -14
  60. package/dist/registrations.js +293 -23
  61. package/dist/registry.js +6 -3
  62. package/dist/repertoires.d.ts +13 -1
  63. package/dist/repertoires.js +5 -1
  64. package/dist/rulesetDocument.d.ts +11 -0
  65. package/dist/rulesetDocument.js +17 -0
  66. package/dist/rulesetSections.d.ts +12 -0
  67. package/dist/rulesetSections.js +8 -0
  68. package/dist/rulesets.js +6 -0
  69. package/dist/sceneSettings.d.ts +7 -1
  70. package/dist/sceneSettings.js +10 -5
  71. package/dist/sessionDossier.d.ts +159 -2
  72. package/dist/sessionLayout.d.ts +296 -85
  73. package/dist/sessionLayout.js +397 -133
  74. package/dist/sessionSettings.d.ts +18 -0
  75. package/dist/settings.d.ts +28 -1
  76. package/dist/settings.js +50 -2
  77. package/dist/shapes.d.ts +15 -1
  78. package/dist/shapes.js +15 -1
  79. package/dist/sheetLatitude.d.ts +148 -0
  80. package/dist/sheetLatitude.js +161 -0
  81. package/dist/speech.d.ts +14 -3
  82. package/dist/storyTime.d.ts +77 -1
  83. package/dist/storyTime.js +117 -8
  84. package/dist/surfaces.d.ts +49 -2
  85. package/dist/surfaces.js +3 -0
  86. package/dist/template.d.ts +38 -1
  87. package/dist/templateCheck.d.ts +24 -0
  88. package/dist/templateCheck.js +465 -10
  89. package/dist/templateFit.js +8 -1
  90. package/dist/templateIds.d.ts +6 -0
  91. package/dist/templateIds.js +9 -0
  92. package/dist/turnLock.d.ts +10 -1
  93. package/dist/turnLock.js +6 -1
  94. package/dist/turnOrder.d.ts +37 -4
  95. package/dist/turnOrder.js +49 -11
  96. package/dist/validate.d.ts +4 -2
  97. package/dist/validate.js +84 -11
  98. package/dist/variableLayouts.d.ts +160 -0
  99. package/dist/variableLayouts.js +202 -0
  100. package/dist/variables.d.ts +237 -20
  101. package/dist/variables.js +292 -33
  102. package/dist/widgetDecls.js +12 -0
  103. package/dist/widgets.d.ts +449 -47
  104. package/dist/widgets.js +31 -0
  105. package/host-elements.d.ts +4 -2
  106. package/package.json +1 -1
package/dist/rulesets.js CHANGED
@@ -43,6 +43,7 @@ import { _clearRulesetStats, _defineRulesetAttributeSlot, _registerRulesetStats,
43
43
  import { getVocabulary, isVocabulary, VOCABULARY_OWNERS } from './vocabularies.js';
44
44
  import { _clearRepertoires, _registerRulesetRepertoires, _withdrawRulesetRepertoires, checkPiece, finding, repertoireFindings, RULESET_ID_PATTERN, RulesetError, } from './repertoires.js';
45
45
  import { conversionFindings } from './conversions.js';
46
+ import { rulesetOptionWarnings } from './exposure.js';
46
47
  import { _describeRulesetEntryType, _withdrawEntryType } from './descriptors.js';
47
48
  import { checkMethodFindings, checkMethodKind, difficultyBandListFindings, isPackageCheckMethodKind, LEGACY_DIE_METHOD, NONE_CHECK_METHOD, } from './checkMethods.js';
48
49
  import { functionProvides, functionRefDecides, functionWayKeys } from './functions.js';
@@ -284,6 +285,8 @@ export function rulesetEntryTypeDecls(ruleset, universal) {
284
285
  id: rulesetEntryTypeId(ruleset.id, e.id),
285
286
  i18n: { name: e.name, ...(e.description !== undefined ? { description: e.description } : {}) },
286
287
  fields: { ...own, ...universal.fields },
288
+ ...(e.defaultBeginning !== undefined ? { defaultBeginning: e.defaultBeginning } : {}),
289
+ ...(e.defaultDecayRate !== undefined ? { defaultDecayRate: e.defaultDecayRate } : {}),
287
290
  });
288
291
  }
289
292
  if (found.length)
@@ -304,6 +307,8 @@ export function rulesetEntryTypeDecls(ruleset, universal) {
304
307
  id: rulesetEntryTypeId(ruleset.id, repId),
305
308
  i18n: { name: rep.label, ...(rep.description !== undefined ? { description: rep.description } : {}) },
306
309
  fields: { ...pieceFields, ...universal.fields },
310
+ ...(rep.defaultBeginning !== undefined ? { defaultBeginning: rep.defaultBeginning } : {}),
311
+ ...(rep.defaultDecayRate !== undefined ? { defaultDecayRate: rep.defaultDecayRate } : {}),
307
312
  });
308
313
  }
309
314
  if (found.length)
@@ -910,6 +915,7 @@ export function rulesetWarnings(decl) {
910
915
  const deg = c?.degrees;
911
916
  if ((deg?.natural !== undefined || deg?.naturalShift !== undefined) && !Object.values(n.conventions.methods).some((m) => m?.kind === 'die-target'))
912
917
  out.push(finding('natural-without-die', `${id}.conventions.degrees reads natural die faces, and no die-target method throws a die. They would never apply.`));
918
+ out.push(...rulesetOptionWarnings(decl?.options?.fields, `${id}.options.fields`));
913
919
  return out;
914
920
  }
915
921
  function compendiumFindings(id, props) {
@@ -20,7 +20,9 @@
20
20
  * lines or tokens, and a real-world `pause` of some hours between lines.
21
21
  * Β· `summary` β€” when a scene's summary runs: `onClose` (in the background
22
22
  * the moment it closes), `onRequest` (the person presses *Summarize*; the
23
- * default β€” the person decides when to pay), `never`.
23
+ * default β€” the person decides when to pay), `never`. A session running
24
+ * the *Summarize finished scenes* routine (`core:spec/scene-summaries`)
25
+ * reads `onRequest` whatever is declared or stored.
24
26
  *
25
27
  * Nothing here moves the story clock and nothing asks a model: a trigger is
26
28
  * read off stamps and rows a person or a fixed tick already wrote.
@@ -124,6 +126,10 @@ export interface SceneSettingsDecl {
124
126
  summary?: SceneSummaryMode;
125
127
  /** 🚧 The genre's alone (`ScenePlaceDecl`): refused on a session's override. */
126
128
  place?: ScenePlaceDecl;
129
+ /** 🚧 The genre's alone (owner 2026-11-04, playtest item 2): a first scene opens at a new session's first story line β€” a cue under Suggested, a placement under Automatic, nothing under Manual. Absent = off (P1). */
130
+ first?: boolean;
131
+ /** 🚧 The genre's alone (owner 2026-11-04, playtest item 21): the open scene's cast follows its lines while it is open; the line names its cause; Scenes β€Ί Manual stops it. Absent = off (P1). */
132
+ castRefresh?: boolean;
127
133
  }
128
134
  /** Scene settings resolved: every key stated. `length` and `pause` are null when off. @experimental */
129
135
  export interface SceneSettings {
@@ -20,7 +20,9 @@
20
20
  * lines or tokens, and a real-world `pause` of some hours between lines.
21
21
  * Β· `summary` β€” when a scene's summary runs: `onClose` (in the background
22
22
  * the moment it closes), `onRequest` (the person presses *Summarize*; the
23
- * default β€” the person decides when to pay), `never`.
23
+ * default β€” the person decides when to pay), `never`. A session running
24
+ * the *Summarize finished scenes* routine (`core:spec/scene-summaries`)
25
+ * reads `onRequest` whatever is declared or stored.
24
26
  *
25
27
  * Nothing here moves the story clock and nothing asks a model: a trigger is
26
28
  * read off stamps and rows a person or a fixed tick already wrote.
@@ -108,10 +110,13 @@ export function sceneSettingsFindings(raw, at = 'scenes', options = {}) {
108
110
  ];
109
111
  const out = [];
110
112
  for (const key of Object.keys(raw))
111
- if (key === 'place' && layer === 'session')
112
- out.push(`${at}.place: the place is the genre's to name (its shape.scenes.place) β€” a session cannot set it`);
113
- else if (key !== 'mode' && key !== 'triggers' && key !== 'summary' && key !== 'place')
114
- out.push(`${at}.${key}: not a scene setting β€” the keys are mode, triggers, summary${layer === 'genre' ? ' and place' : ''}`);
113
+ if ((key === 'place' || key === 'first' || key === 'castRefresh') && layer === 'session')
114
+ out.push(`${at}.${key}: the ${key === 'place' ? 'place' : key} is the genre's to name (its shape.scenes.${key}) β€” a session cannot set it`);
115
+ else if (key !== 'mode' && key !== 'triggers' && key !== 'summary' && key !== 'place' && key !== 'first' && key !== 'castRefresh')
116
+ out.push(`${at}.${key}: not a scene setting β€” the keys are mode, triggers, summary${layer === 'genre' ? ', place, first and castRefresh' : ''}`);
117
+ for (const key of ['first', 'castRefresh'])
118
+ if (raw[key] !== undefined && typeof raw[key] !== 'boolean')
119
+ out.push(`${at}.${key}: true or false β€” not ${JSON.stringify(raw[key])}`);
115
120
  if (raw.mode !== undefined && !SCENE_MODES.includes(raw.mode))
116
121
  out.push(`${at}.mode: one of ${SCENE_MODES.join(', ')} β€” not ${JSON.stringify(raw.mode)}`);
117
122
  if (raw.summary !== undefined && !SCENE_SUMMARY_MODES.includes(raw.summary))
@@ -31,6 +31,7 @@
31
31
  */
32
32
  import type { StoryCalendar, StoryTime } from './storyTime.js';
33
33
  import type { SceneSummaryMode } from './sceneSettings.js';
34
+ import type { ParticipantRef } from './participants.js';
34
35
  /** A participant as a line names them: display name, reference, face. @experimental */
35
36
  export interface ConversationSpeakerV1 {
36
37
  name: string;
@@ -146,6 +147,10 @@ export interface ConversationSceneV1 {
146
147
  * back to who spoke in its loaded lines (lane E).
147
148
  */
148
149
  cast?: ConversationSceneCastV1[];
150
+ /** 🚧 Why the scene began by itself, in its scene cue's words (`the day changed`); absent for a scene a person started. */
151
+ openedBecause?: string;
152
+ /** 🚧 While it is open and its genre keeps its cast up to date from its lines: what does it and how to stop it, as one sentence. Absent otherwise. */
153
+ castCause?: string;
149
154
  }
150
155
  /**
151
156
  * 🚧 One member of a scene's cast, as a scene divider draws it.
@@ -182,14 +187,24 @@ export interface ConversationSceneCueV1 {
182
187
  }
183
188
  /** The cast, as far as answering a form needs it (`canAnswerForm`). @experimental */
184
189
  export interface ConversationCastV1 {
190
+ /**
191
+ * Each row also carries 🚧 `ref` (the seat's participant reference, as the
192
+ * host fills it) and 🚧 `castMemberId` (the seat's cast member). Both
193
+ * host-filled, absent from a host that predates them.
194
+ */
185
195
  sessionPersonas: Array<{
186
196
  personaId: number | null;
187
197
  persona: {
188
198
  userId: number | null;
189
199
  } | null;
200
+ ref?: ParticipantRef;
201
+ castMemberId?: number | null;
190
202
  }>;
203
+ /** Each row also carries 🚧 `ref` and 🚧 `castMemberId`, as `sessionPersonas` rows do. */
191
204
  sessionCharacters: Array<{
192
205
  characterId: number | null;
206
+ ref?: ParticipantRef;
207
+ castMemberId?: number | null;
193
208
  }>;
194
209
  }
195
210
  /**
@@ -246,7 +261,9 @@ export interface SessionDossierV1 {
246
261
  /**
247
262
  * 🚧 When this session's scenes are summarized (its scene settings):
248
263
  * under `never` no *Summarize* is offered β€” a scene divider's included.
249
- * Absent reads as `onRequest`.
264
+ * Absent reads as `onRequest`. A session running the *Summarize finished
265
+ * scenes* routine (`core:spec/scene-summaries`) reads `onRequest` whatever
266
+ * is declared or stored.
250
267
  * @ruling PROPOSAL-live-scenes Β§5 (2026-10-13)
251
268
  */
252
269
  sceneSummaryMode?: SceneSummaryMode;
@@ -278,11 +295,15 @@ export interface SessionDossierV1 {
278
295
  * 🚧 Whether this pub can speak a line at all (a speaking voice pair is
279
296
  * set up), read on the server as a boolean only; `reason` is the sentence
280
297
  * the speak verbs carry when it cannot. Absent reads as can speak.
298
+ * 🚧 `readAloud`: the session's Read aloud as it applies β€” the session's own value, else its preset's,
299
+ * else its genre's; `off` where the genre or a preset leaves out the read-aloud registration.
300
+ * Absent: read the session's stored field.
281
301
  * @experimental
282
302
  */
283
303
  speech?: {
284
304
  canSpeak: boolean;
285
305
  reason?: string;
306
+ readAloud?: 'off' | 'make' | 'play';
286
307
  };
287
308
  /**
288
309
  * 🚧 The run ids in flight for this session, off the `sessions:runStatus`
@@ -292,6 +313,34 @@ export interface SessionDossierV1 {
292
313
  * @experimental
293
314
  */
294
315
  liveRunIds?: string[];
316
+ /**
317
+ * 🚧 The names of this session's routines running now, one per run, as Routines names them β€”
318
+ * a run shows only once it has lasted past the host's short delay, and never while it is
319
+ * parked at a review gate. The turn line's left half says them when nothing else holds it.
320
+ * Names only, never a run id. Absent reads as none.
321
+ * @experimental
322
+ */
323
+ runningRoutineNames?: string[];
324
+ /**
325
+ * 🚧 The session's **background** runs in progress, as the turn line lists them: an action, a
326
+ * routine, a scene or session summary. A reply's run and a run bound to one line are never in
327
+ * it. Absent reads as none (an older host: `runningRoutineNames` and the scenes' summary state
328
+ * are read instead).
329
+ * @experimental
330
+ */
331
+ runsInProgress?: RunInProgressV1[];
332
+ /**
333
+ * 🚧 The sentence swipe, regenerate, delete, Back and Regenerate the last turn grey with while a
334
+ * run holds them (*Wait for β€Ήnameβ€Ί to finish, or stop it first.*). Absent when none does.
335
+ * @experimental
336
+ */
337
+ rerunWaitsFor?: string;
338
+ /**
339
+ * 🚧 The pub's step time limits are off (Admin β€Ί Diagnostics): a step may wait until someone stops it.
340
+ * Told to administrators only; the turn line shows a short marker while it is set. Absent reads as on.
341
+ * @experimental
342
+ */
343
+ stepTimeLimitsOff?: true;
295
344
  /** Admins with context debugging on may open a line's prompt. */
296
345
  debugPrompts: boolean;
297
346
  /**
@@ -342,6 +391,15 @@ export interface SessionDossierV1 {
342
391
  * for Maren Holt". Absent when nobody is waited for. @experimental
343
392
  */
344
393
  waitingFor?: string[];
394
+ /**
395
+ * 🚧 Why nothing starts by itself, told to the session's owner alone
396
+ * (the page passes it only when the server stated it for this viewer):
397
+ * `no-turn-order` β€” the genre registers no turn order option;
398
+ * `no-auto-advance` β€” the genre declares no Auto-advance;
399
+ * `no-extent` β€” Auto-advance is on and nothing says how far it runs.
400
+ * Absent when nothing needs saying. @experimental
401
+ */
402
+ standstill?: 'no-turn-order' | 'no-auto-advance' | 'no-extent';
345
403
  };
346
404
  /**
347
405
  * 🚧 **Back Β· Forward** (RF fix 5, owner ruling 2026-10-23): how many of
@@ -360,9 +418,27 @@ export interface SessionDossierV1 {
360
418
  * The page's answer (the session payload's `settledLine`, which already counts every applied
361
419
  * scene summary). Null: nothing is settled yet. Absent: a host that predates it (the same).
362
420
  * The conversation draws one quiet mark after the newest settled line it shows.
421
+ * It is `main`'s line (and that of every channel `settledThroughBy` leaves out).
363
422
  * @ruling pr-6 R-a, R-b; pass 13
364
423
  */
365
424
  settledThrough?: number | null;
425
+ /**
426
+ * 🚧 β˜… Each further story channel's settle line, by channel slug (CP10, owner 2026-11-21: "a summary
427
+ * settles only its own channel's lines") β€” the session payload's `settledLineBy`. `settledThrough` is
428
+ * `main`'s, and the line of every channel this leaves out (a line on no story channel rides `main`).
429
+ * Absent: a genre with one story channel, or a host that predates it. The conversation draws each
430
+ * channel's mark from its own line.
431
+ * @ruling owner 2026-11-21 (CP10)
432
+ */
433
+ settledThroughBy?: Record<string, number | null>;
434
+ /**
435
+ * 🚧 The id of the newest loaded row the viewing user wrote; names only the viewer's own row.
436
+ * Null: the viewer has written none of the loaded rows. Absent: a host that predates it.
437
+ * A widget that holds its reader's place reads it to catch the reader up when they send
438
+ * (PLAN-visual-novel-layout Β§1.2). The Dialogue box jumps to it only when it is one of
439
+ * its own (main channel) rows.
440
+ */
441
+ ownNewestMessageId?: number | null;
366
442
  /**
367
443
  * The session's mode is not installed: the log is read-only.
368
444
  * @ruling 19 Β§6
@@ -380,17 +456,57 @@ export interface SessionDossierV1 {
380
456
  */
381
457
  appBackground: boolean;
382
458
  }
459
+ /**
460
+ * 🚧 One background run in progress, as the turn line lists it.
461
+ * @experimental
462
+ */
463
+ export interface RunInProgressV1 {
464
+ /** Names the run to `stop-run`; never shown. */
465
+ id: string;
466
+ kind: 'action' | 'routine' | 'summary';
467
+ /** What the person knows it by. */
468
+ name: string;
469
+ /** Status words in the viewer's language. */
470
+ status?: string;
471
+ /** Epoch ms the run began. */
472
+ since?: number;
473
+ /** The speaker whose reply caused the run. */
474
+ readsReplyOf?: string;
475
+ /** Parked at review: waiting, nothing to stop. */
476
+ parked?: true;
477
+ /** The viewer may stop it. */
478
+ mayStop: boolean;
479
+ }
383
480
  /**
384
481
  * 🚧 The Back Β· Forward strip's state (`SessionDossierV1.rewind`). @experimental
385
482
  * @ruling owner 2026-10-23
386
483
  */
387
484
  export interface ConversationRewindV1 {
388
- /** How many turns are rewound β€” "2 turns ahead". */
485
+ /** How many presses of Back are rewound β€” "2 turns ahead", "2 messages ahead". */
389
486
  ahead: number;
487
+ /**
488
+ * 🚧 What one press of Back takes in this session's genre (`GenreDecl.history.back`): the
489
+ * newest message, or the whole turn. The words follow it. Absent reads as `turn`.
490
+ * @experimental
491
+ */
492
+ step?: 'message' | 'turn';
390
493
  /** Why Back is refused now, or null when it may be pressed. */
391
494
  back: string | null;
392
495
  /** Why Forward is refused now, or null when it may be pressed. */
393
496
  forward: string | null;
497
+ /** 🚧 What Back would take now (playtest item 6): the rows besides the person's line, and the names on them, each once. Absent: the host did not say, or the count went stale. */
498
+ backTakes?: {
499
+ count: number;
500
+ names: string[];
501
+ /** 🚧 The person lines the turn holds; present only at a table (2 or more). */
502
+ personLines?: number;
503
+ /** 🚧 The one message Back takes, present only when the genre takes one message per press: its author, whether it is the owner's own line, and how many lines are filed on it. */
504
+ newestMessage?: {
505
+ author: string | null;
506
+ yours: boolean;
507
+ filed: number;
508
+ };
509
+ };
394
510
  }
395
511
  /** One proposed change, described. @experimental */
396
512
  export interface ConversationProposalV1 {
@@ -479,6 +595,19 @@ export interface ConversationComposerV1 {
479
595
  name: string;
480
596
  }>;
481
597
  personaId: number | null;
598
+ /**
599
+ * 🚧 Every seat the viewer writes as here β€” each player seat of theirs in
600
+ * play, with a card or card-less β€” by its participant reference (`seatRef`,
601
+ * the seat's `SessionCastV1.sessionPersonas[].ref`, `player-seat:<id>`) and
602
+ * the name it is shown by. When present the composer lists these, not
603
+ * `personas`. @experimental
604
+ */
605
+ seats?: Array<{
606
+ seatRef: string;
607
+ name: string;
608
+ }>;
609
+ /** 🚧 The seat of `seats` the viewer writes as; null when none. @experimental */
610
+ seatRef?: string | null;
482
611
  /**
483
612
  * 🚧 Whom the viewer writes as with no persona, phrased as the composer
484
613
  * writes it after "Write as": the viewer's own card-less player seat by
@@ -490,6 +619,34 @@ export interface ConversationComposerV1 {
490
619
  playerLabel?: string;
491
620
  /** A guest with no persona: the composer offers to add one instead. */
492
621
  addPersona: boolean;
622
+ /**
623
+ * 🚧 The Messages copy this composer (or turn line) follows, resolved by the
624
+ * host (PLAN-session-layout-simplify D7): the nearest panel above in its
625
+ * zone whose open tab is a Messages copy, else the nearest in its zone, else
626
+ * the layout's first. Absent: the first writable channel. @experimental
627
+ */
628
+ target?: {
629
+ instance: string;
630
+ channel: string;
631
+ label: string;
632
+ lineWidth?: 'column' | 'full' | 'comfortable';
633
+ presentation?: 'rows' | 'folio';
634
+ };
635
+ /**
636
+ * 🚧 Set while the target's panel shows a non-Messages tab: the composer
637
+ * keeps writing to this channel and says *Writing to β€Ήlabelβ€Ί*. @experimental
638
+ */
639
+ writingTo?: {
640
+ channel: string;
641
+ label: string;
642
+ };
643
+ /**
644
+ * 🚧 Told only to a Turn line: whether a Composer following the same
645
+ * Messages copy has **Show the Send button** on (absent: shown). At the
646
+ * compact width Send shows whatever this says (`composerSendShown`).
647
+ * @experimental
648
+ */
649
+ sendShown?: boolean;
493
650
  /**
494
651
  * 🚧 A guest who plays, in a genre of player seats (one with a player
495
652
  * label: the Lair), with no seat yet: the story's composer offers a