briyah 2.0.3 → 2.0.5

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 (391) hide show
  1. package/README.md +55 -8
  2. package/data/common/config/LICENSE-model-prices.md +65 -0
  3. package/data/common/config/markup +1 -1
  4. package/data/common/config/model_prices.json +47443 -46295
  5. package/data/common/config/story_models.json +3 -3
  6. package/data/common/prompts/illustrator/describe_scene.prompt +4 -4
  7. package/data/common/prompts/narrator/create_story.prompt +2 -0
  8. package/data/common/prompts/perceive.prompt +1 -1
  9. package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +1 -1
  10. package/data/packs/dnd5e/prompts/campaign_designer/perceive.prompt +1 -1
  11. package/data/packs/dnd5e/prompts/character_creator/perceive.prompt +795 -787
  12. package/data/packs/dnd5e/prompts/dungeon_master/defaults_config.json +2 -1
  13. package/data/packs/dnd5e/prompts/dungeon_master/perceive.prompt +1 -1
  14. package/data/packs/dnd5e/rooms/campaign.json +18 -15
  15. package/data/packs/dnd5e/rooms/table.json +17 -16
  16. package/dist-sdk/server/src/ai/LLM/anthropic.service.d.ts +103 -0
  17. package/dist-sdk/server/src/ai/LLM/anthropic.service.js +174 -3
  18. package/dist-sdk/server/src/ai/LLM/base-ai.service.d.ts +194 -3
  19. package/dist-sdk/server/src/ai/LLM/base-ai.service.js +299 -19
  20. package/dist-sdk/server/src/ai/LLM/blank-image.d.ts +36 -0
  21. package/dist-sdk/server/src/ai/LLM/blank-image.js +80 -0
  22. package/dist-sdk/server/src/ai/LLM/comfyui-client.d.ts +26 -0
  23. package/dist-sdk/server/src/ai/LLM/comfyui-client.js +25 -0
  24. package/dist-sdk/server/src/ai/LLM/comfyui-workflow.d.ts +54 -0
  25. package/dist-sdk/server/src/ai/LLM/comfyui-workflow.js +59 -1
  26. package/dist-sdk/server/src/ai/LLM/comfyui.service.d.ts +21 -1
  27. package/dist-sdk/server/src/ai/LLM/comfyui.service.js +25 -1
  28. package/dist-sdk/server/src/ai/LLM/deepseek.service.d.ts +52 -0
  29. package/dist-sdk/server/src/ai/LLM/deepseek.service.js +103 -4
  30. package/dist-sdk/server/src/ai/LLM/fal.service.d.ts +25 -0
  31. package/dist-sdk/server/src/ai/LLM/fal.service.js +56 -2
  32. package/dist-sdk/server/src/ai/LLM/googleai.service.d.ts +19 -0
  33. package/dist-sdk/server/src/ai/LLM/googleai.service.js +43 -2
  34. package/dist-sdk/server/src/ai/LLM/grok.service.d.ts +22 -0
  35. package/dist-sdk/server/src/ai/LLM/grok.service.js +55 -3
  36. package/dist-sdk/server/src/ai/LLM/mock.service.js +31 -4
  37. package/dist-sdk/server/src/ai/LLM/openai.service.d.ts +30 -0
  38. package/dist-sdk/server/src/ai/LLM/openai.service.js +81 -3
  39. package/dist-sdk/server/src/ai/LLM/self-hosted.service.d.ts +21 -0
  40. package/dist-sdk/server/src/ai/LLM/self-hosted.service.js +45 -3
  41. package/dist-sdk/server/src/ai/LLM/together.service.d.ts +30 -0
  42. package/dist-sdk/server/src/ai/LLM/together.service.js +61 -3
  43. package/dist-sdk/server/src/ai/agent-config.d.ts +15 -1
  44. package/dist-sdk/server/src/ai/agent-factory.d.ts +16 -0
  45. package/dist-sdk/server/src/ai/agent-factory.js +20 -0
  46. package/dist-sdk/server/src/ai/agent-message.service.d.ts +30 -0
  47. package/dist-sdk/server/src/ai/agent-message.service.js +30 -0
  48. package/dist-sdk/server/src/ai/agent-store.service.d.ts +80 -0
  49. package/dist-sdk/server/src/ai/agent-store.service.js +166 -7
  50. package/dist-sdk/server/src/ai/agent.d.ts +197 -2
  51. package/dist-sdk/server/src/ai/agent.js +225 -14
  52. package/dist-sdk/server/src/ai/ai-debug-logger.d.ts +18 -0
  53. package/dist-sdk/server/src/ai/ai-debug-logger.js +19 -0
  54. package/dist-sdk/server/src/ai/ai-factory.service.d.ts +9 -0
  55. package/dist-sdk/server/src/ai/ai-factory.service.js +9 -0
  56. package/dist-sdk/server/src/ai/artifact.service.d.ts +131 -0
  57. package/dist-sdk/server/src/ai/artifact.service.js +148 -3
  58. package/dist-sdk/server/src/ai/attached-file.service.d.ts +87 -0
  59. package/dist-sdk/server/src/ai/attached-file.service.js +105 -0
  60. package/dist-sdk/server/src/ai/model_prices.d.ts +30 -0
  61. package/dist-sdk/server/src/ai/model_prices.js +91 -5
  62. package/dist-sdk/server/src/ai/pack-artifacts.d.ts +84 -0
  63. package/dist-sdk/server/src/ai/pack-artifacts.js +168 -0
  64. package/dist-sdk/server/src/ai/published-agents.service.d.ts +25 -0
  65. package/dist-sdk/server/src/ai/published-agents.service.js +30 -3
  66. package/dist-sdk/server/src/app/balance-message.service.d.ts +24 -0
  67. package/dist-sdk/server/src/app/balance-message.service.js +24 -0
  68. package/dist-sdk/server/src/app/balance.module.d.ts +4 -0
  69. package/dist-sdk/server/src/app/balance.module.js +4 -0
  70. package/dist-sdk/server/src/app/balance.service.d.ts +37 -0
  71. package/dist-sdk/server/src/app/balance.service.js +54 -0
  72. package/dist-sdk/server/src/app/stripe.controller.d.ts +21 -0
  73. package/dist-sdk/server/src/app/stripe.controller.js +35 -0
  74. package/dist-sdk/server/src/app/stripe.service.d.ts +43 -0
  75. package/dist-sdk/server/src/app/stripe.service.js +62 -0
  76. package/dist-sdk/server/src/app/transaction.service.d.ts +27 -0
  77. package/dist-sdk/server/src/app/transaction.service.js +36 -0
  78. package/dist-sdk/server/src/app/user-service-factory.d.ts +8 -0
  79. package/dist-sdk/server/src/app/user-service-factory.js +46 -3
  80. package/dist-sdk/server/src/app/user-service-manager.d.ts +27 -0
  81. package/dist-sdk/server/src/app/user-service-manager.js +43 -0
  82. package/dist-sdk/server/src/app.controller.d.ts +120 -0
  83. package/dist-sdk/server/src/app.controller.js +365 -14
  84. package/dist-sdk/server/src/app.module.js +28 -6
  85. package/dist-sdk/server/src/app.service.d.ts +1710 -4
  86. package/dist-sdk/server/src/app.service.js +1938 -20
  87. package/dist-sdk/server/src/auth/agent-access.decorator.d.ts +17 -0
  88. package/dist-sdk/server/src/auth/agent-access.decorator.js +17 -0
  89. package/dist-sdk/server/src/auth/auth.controller.js +46 -0
  90. package/dist-sdk/server/src/auth/auth.module.js +3 -2
  91. package/dist-sdk/server/src/auth/auth.service.d.ts +33 -0
  92. package/dist-sdk/server/src/auth/auth.service.js +39 -3
  93. package/dist-sdk/server/src/auth/jwt-auth.guard.js +44 -0
  94. package/dist-sdk/server/src/auth/jwt.strategy.js +2 -2
  95. package/dist-sdk/server/src/auth/owner-only.decorator.d.ts +9 -0
  96. package/dist-sdk/server/src/auth/owner-only.decorator.js +9 -0
  97. package/dist-sdk/server/src/auth/phone-validation.service.d.ts +25 -0
  98. package/dist-sdk/server/src/auth/phone-validation.service.js +30 -0
  99. package/dist-sdk/server/src/auth/rate-limit.service.d.ts +19 -0
  100. package/dist-sdk/server/src/auth/rate-limit.service.js +24 -0
  101. package/dist-sdk/server/src/auth/room-access.decorator.d.ts +8 -0
  102. package/dist-sdk/server/src/auth/room-access.decorator.js +8 -0
  103. package/dist-sdk/server/src/auth/scopes.decorator.d.ts +7 -0
  104. package/dist-sdk/server/src/auth/scopes.decorator.js +7 -0
  105. package/dist-sdk/server/src/auth/scopes.guard.d.ts +16 -0
  106. package/dist-sdk/server/src/auth/scopes.guard.js +30 -0
  107. package/dist-sdk/server/src/auth/session.guard.d.ts +4 -0
  108. package/dist-sdk/server/src/auth/session.guard.js +8 -0
  109. package/dist-sdk/server/src/auth/twilio.service.d.ts +27 -0
  110. package/dist-sdk/server/src/auth/twilio.service.js +30 -4
  111. package/dist-sdk/server/src/auth/users.service.d.ts +30 -0
  112. package/dist-sdk/server/src/auth/users.service.js +42 -0
  113. package/dist-sdk/server/src/common/errors.d.ts +20 -0
  114. package/dist-sdk/server/src/common/errors.js +21 -0
  115. package/dist-sdk/server/src/config/env-config.d.ts +7 -0
  116. package/dist-sdk/server/src/config/prompt-resolver.d.ts +180 -0
  117. package/dist-sdk/server/src/config/prompt-resolver.js +182 -0
  118. package/dist-sdk/server/src/config/user-config.service.d.ts +59 -0
  119. package/dist-sdk/server/src/config/user-config.service.js +57 -0
  120. package/dist-sdk/server/src/config/user-paths.service.d.ts +61 -0
  121. package/dist-sdk/server/src/config/user-paths.service.js +67 -0
  122. package/dist-sdk/server/src/documents/pdf-conversion.d.ts +121 -1
  123. package/dist-sdk/server/src/documents/pdf-conversion.js +94 -0
  124. package/dist-sdk/server/src/packs/pack-instantiation.service.d.ts +98 -0
  125. package/dist-sdk/server/src/packs/pack-instantiation.service.js +104 -0
  126. package/dist-sdk/server/src/packs/pack-manifest.d.ts +114 -0
  127. package/dist-sdk/server/src/packs/pack-manifest.js +69 -0
  128. package/dist-sdk/server/src/packs/pack.service.d.ts +99 -1
  129. package/dist-sdk/server/src/packs/pack.service.js +98 -1
  130. package/dist-sdk/server/src/room/artifact-store.service.d.ts +27 -0
  131. package/dist-sdk/server/src/room/artifact-store.service.js +49 -3
  132. package/dist-sdk/server/src/room/artifact.d.ts +18 -0
  133. package/dist-sdk/server/src/room/illustration/illustration.service.d.ts +211 -0
  134. package/dist-sdk/server/src/room/illustration/illustration.service.js +771 -0
  135. package/dist-sdk/server/src/room/illustration/illustration.types.d.ts +101 -0
  136. package/dist-sdk/server/src/room/illustration/illustration.types.js +2 -0
  137. package/dist-sdk/server/src/room/message.d.ts +64 -0
  138. package/dist-sdk/server/src/room/message.js +77 -2
  139. package/dist-sdk/server/src/room/nickname.d.ts +26 -0
  140. package/dist-sdk/server/src/room/nickname.js +26 -0
  141. package/dist-sdk/server/src/room/published-rooms.service.js +2 -0
  142. package/dist-sdk/server/src/room/room-config.d.ts +84 -1
  143. package/dist-sdk/server/src/room/room-config.js +19 -0
  144. package/dist-sdk/server/src/room/room-factory.d.ts +20 -0
  145. package/dist-sdk/server/src/room/room-factory.js +25 -0
  146. package/dist-sdk/server/src/room/room-message.service.d.ts +28 -0
  147. package/dist-sdk/server/src/room/room-message.service.js +28 -0
  148. package/dist-sdk/server/src/room/room-store.service.d.ts +184 -0
  149. package/dist-sdk/server/src/room/room-store.service.js +280 -6
  150. package/dist-sdk/server/src/room/room.d.ts +981 -1
  151. package/dist-sdk/server/src/room/room.js +1531 -27
  152. package/dist-sdk/server/src/rpg/rpg-models.d.ts +50 -0
  153. package/dist-sdk/server/src/rpg/rpg-models.js +53 -0
  154. package/dist-sdk/server/src/rpg/rpg-roster.d.ts +37 -0
  155. package/dist-sdk/server/src/rpg/rpg-roster.js +37 -0
  156. package/dist-sdk/server/src/rpg/rpg.service.d.ts +87 -0
  157. package/dist-sdk/server/src/rpg/rpg.service.js +108 -1
  158. package/dist-sdk/server/src/sdk/briyah-config.d.ts +57 -0
  159. package/dist-sdk/server/src/sdk/briyah-config.js +17 -0
  160. package/dist-sdk/server/src/sdk/briyah.d.ts +228 -0
  161. package/dist-sdk/server/src/sdk/briyah.js +285 -7
  162. package/dist-sdk/server/src/sdk/index.js +23 -0
  163. package/dist-sdk/server/src/shared/shared.module.d.ts +8 -0
  164. package/dist-sdk/server/src/shared/shared.module.js +13 -5
  165. package/dist-sdk/server/src/story/story-message.service.d.ts +43 -0
  166. package/dist-sdk/server/src/story/story-message.service.js +43 -0
  167. package/dist-sdk/server/src/story/story-progress.service.d.ts +23 -0
  168. package/dist-sdk/server/src/story/story-progress.service.js +23 -0
  169. package/dist-sdk/server/src/story/story-store.service.d.ts +92 -0
  170. package/dist-sdk/server/src/story/story-store.service.js +136 -1
  171. package/dist-sdk/server/src/story/story.service.d.ts +366 -9
  172. package/dist-sdk/server/src/story/story.service.js +825 -374
  173. package/dist-sdk/server/src/tools/core/illustrate.tool.d.ts +14 -0
  174. package/dist-sdk/server/src/tools/core/illustrate.tool.js +80 -0
  175. package/dist-sdk/server/src/tools/core/index.d.ts +22 -0
  176. package/dist-sdk/server/src/tools/core/index.js +24 -1
  177. package/dist-sdk/server/src/tools/core/rename.tool.d.ts +8 -0
  178. package/dist-sdk/server/src/tools/core/rename.tool.js +11 -0
  179. package/dist-sdk/server/src/tools/native-tool-registry.service.d.ts +22 -0
  180. package/dist-sdk/server/src/tools/native-tool-registry.service.js +22 -0
  181. package/dist-sdk/server/src/tools/native-tool.types.d.ts +266 -0
  182. package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.d.ts +29 -0
  183. package/dist-sdk/server/src/tools/packs/dnd5e/data/backgrounds.js +29 -0
  184. package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.d.ts +46 -0
  185. package/dist-sdk/server/src/tools/packs/dnd5e/data/cantrips.js +40 -0
  186. package/dist-sdk/server/src/tools/packs/dnd5e/data/feats.d.ts +33 -0
  187. package/dist-sdk/server/src/tools/packs/dnd5e/data/feats.js +19 -0
  188. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.d.ts +37 -0
  189. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.generated.d.ts +17 -0
  190. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.generated.js +17 -0
  191. package/dist-sdk/server/src/tools/packs/dnd5e/data/gear.js +27 -0
  192. package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.d.ts +36 -0
  193. package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.js +32 -0
  194. package/dist-sdk/server/src/tools/packs/dnd5e/data/magic-items.d.ts +32 -0
  195. package/dist-sdk/server/src/tools/packs/dnd5e/data/magic-items.generated.d.ts +13 -0
  196. package/dist-sdk/server/src/tools/packs/dnd5e/data/magic-items.generated.js +13 -0
  197. package/dist-sdk/server/src/tools/packs/dnd5e/data/magic-items.js +18 -0
  198. package/dist-sdk/server/src/tools/packs/dnd5e/data/monsters.d.ts +54 -0
  199. package/dist-sdk/server/src/tools/packs/dnd5e/data/monsters.generated.d.ts +13 -0
  200. package/dist-sdk/server/src/tools/packs/dnd5e/data/monsters.generated.js +13 -0
  201. package/dist-sdk/server/src/tools/packs/dnd5e/data/monsters.js +20 -0
  202. package/dist-sdk/server/src/tools/packs/dnd5e/data/races.d.ts +36 -0
  203. package/dist-sdk/server/src/tools/packs/dnd5e/data/races.js +18 -0
  204. package/dist-sdk/server/src/tools/packs/dnd5e/data/spells.d.ts +29 -0
  205. package/dist-sdk/server/src/tools/packs/dnd5e/data/spells.generated.d.ts +13 -0
  206. package/dist-sdk/server/src/tools/packs/dnd5e/data/spells.generated.js +13 -0
  207. package/dist-sdk/server/src/tools/packs/dnd5e/data/spells.js +21 -0
  208. package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.d.ts +95 -0
  209. package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.js +66 -2
  210. package/dist-sdk/server/src/tools/packs/dnd5e/data/weapons.d.ts +50 -0
  211. package/dist-sdk/server/src/tools/packs/dnd5e/data/weapons.js +28 -0
  212. package/dist-sdk/server/src/tools/packs/dnd5e/engine/bestiary.d.ts +92 -0
  213. package/dist-sdk/server/src/tools/packs/dnd5e/engine/bestiary.js +152 -0
  214. package/dist-sdk/server/src/tools/packs/dnd5e/engine/campaign-items.d.ts +28 -0
  215. package/dist-sdk/server/src/tools/packs/dnd5e/engine/campaign-items.js +29 -0
  216. package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.d.ts +31 -0
  217. package/dist-sdk/server/src/tools/packs/dnd5e/engine/cantrips.js +36 -2
  218. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +261 -0
  219. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +401 -0
  220. package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.d.ts +11 -0
  221. package/dist-sdk/server/src/tools/packs/dnd5e/engine/coerce.js +11 -0
  222. package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.d.ts +65 -0
  223. package/dist-sdk/server/src/tools/packs/dnd5e/engine/dice.js +67 -0
  224. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +73 -0
  225. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +63 -0
  226. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encumbrance.d.ts +66 -0
  227. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encumbrance.js +59 -0
  228. package/dist-sdk/server/src/tools/packs/dnd5e/engine/feats.d.ts +54 -0
  229. package/dist-sdk/server/src/tools/packs/dnd5e/engine/feats.js +49 -0
  230. package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.d.ts +42 -0
  231. package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +59 -0
  232. package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.d.ts +72 -0
  233. package/dist-sdk/server/src/tools/packs/dnd5e/engine/guides.js +63 -0
  234. package/dist-sdk/server/src/tools/packs/dnd5e/engine/items.d.ts +57 -0
  235. package/dist-sdk/server/src/tools/packs/dnd5e/engine/items.js +54 -0
  236. package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.d.ts +81 -0
  237. package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.js +85 -0
  238. package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.d.ts +60 -0
  239. package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +64 -0
  240. package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.d.ts +169 -0
  241. package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.js +203 -0
  242. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +201 -0
  243. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +149 -0
  244. package/dist-sdk/server/src/tools/packs/dnd5e/engine/spells.d.ts +56 -0
  245. package/dist-sdk/server/src/tools/packs/dnd5e/engine/spells.js +54 -0
  246. package/dist-sdk/server/src/tools/packs/dnd5e/engine/weapons.d.ts +65 -0
  247. package/dist-sdk/server/src/tools/packs/dnd5e/engine/weapons.js +73 -0
  248. package/dist-sdk/server/src/tools/packs/dnd5e/index.d.ts +18 -0
  249. package/dist-sdk/server/src/tools/packs/dnd5e/index.js +18 -0
  250. package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.d.ts +4 -0
  251. package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +116 -1
  252. package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.d.ts +14 -0
  253. package/dist-sdk/server/src/tools/packs/dnd5e/tools/class.tool.js +17 -0
  254. package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.d.ts +1 -0
  255. package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +35 -1
  256. package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.d.ts +6 -0
  257. package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +25 -0
  258. package/dist-sdk/server/src/tools/packs/dnd5e/tools/item.tool.d.ts +7 -0
  259. package/dist-sdk/server/src/tools/packs/dnd5e/tools/item.tool.js +13 -0
  260. package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.d.ts +8 -0
  261. package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +55 -0
  262. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +194 -0
  263. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +263 -1
  264. package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.d.ts +1 -0
  265. package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +127 -2
  266. package/dist-sdk/server/src/tools/packs/dnd5e/tools/spell.tool.d.ts +13 -0
  267. package/dist-sdk/server/src/tools/packs/dnd5e/tools/spell.tool.js +18 -0
  268. package/dist-sdk/server/src/tools/packs/dnd5e/tools/state.tools.d.ts +1 -0
  269. package/dist-sdk/server/src/tools/packs/dnd5e/tools/state.tools.js +23 -0
  270. package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.d.ts +1 -0
  271. package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +35 -0
  272. package/dist-sdk/server/src/tools/packs/index.d.ts +49 -0
  273. package/dist-sdk/server/src/tools/packs/index.js +66 -0
  274. package/dist-sdk/server/src/tools/shared/coerce.d.ts +95 -0
  275. package/dist-sdk/server/src/tools/shared/coerce.js +98 -0
  276. package/dist-sdk/server/src/tools/tool-execution.service.d.ts +107 -3
  277. package/dist-sdk/server/src/tools/tool-execution.service.js +163 -19
  278. package/dist-sdk/server/src/tools/tool-store.service.d.ts +11 -0
  279. package/dist-sdk/server/src/tools/tool-store.service.js +13 -1
  280. package/dist-sdk/shared/types/app.types.d.ts +328 -13
  281. package/dist-sdk/shared/types/app.types.js +18 -1
  282. package/package.json +167 -168
  283. package/data/common/config/random_words.txt +0 -2241
  284. package/data/common/story_ideas/biblical.json +0 -122
  285. package/data/common/story_ideas/fantasy.json +0 -82
  286. package/data/common/story_ideas/historical_fiction.json +0 -82
  287. package/data/common/story_ideas/science_fiction.json +0 -82
  288. package/docs/.nojekyll +0 -1
  289. package/docs/assets/hierarchy.js +0 -1
  290. package/docs/assets/highlight.css +0 -113
  291. package/docs/assets/icons.js +0 -18
  292. package/docs/assets/icons.svg +0 -1
  293. package/docs/assets/main.js +0 -60
  294. package/docs/assets/navigation.js +0 -1
  295. package/docs/assets/search.js +0 -1
  296. package/docs/assets/style.css +0 -1648
  297. package/docs/classes/Agent.html +0 -801
  298. package/docs/classes/Briyah.html +0 -296
  299. package/docs/classes/BriyahConfigService.html +0 -119
  300. package/docs/classes/NativeToolRegistry.html +0 -166
  301. package/docs/classes/PackInstantiationService.html +0 -157
  302. package/docs/classes/PackService.html +0 -247
  303. package/docs/classes/Room.html +0 -1434
  304. package/docs/classes/RoomMessage.html +0 -290
  305. package/docs/enums/MessageAction.html +0 -136
  306. package/docs/functions/availableToolPacks.html +0 -41
  307. package/docs/functions/buildMarkdown.html +0 -54
  308. package/docs/functions/dnd5eTools.html +0 -44
  309. package/docs/functions/installToolPacks.html +0 -51
  310. package/docs/functions/pageMarker.html +0 -45
  311. package/docs/functions/registerToolPacks.html +0 -54
  312. package/docs/functions/splitMarkdownIntoPages.html +0 -51
  313. package/docs/functions/stripWrappingFence.html +0 -52
  314. package/docs/hierarchy.html +0 -46
  315. package/docs/index.html +0 -595
  316. package/docs/interfaces/AgentCreationOptions.html +0 -125
  317. package/docs/interfaces/AgentInfo.html +0 -218
  318. package/docs/interfaces/AgentMessagesResponse.html +0 -74
  319. package/docs/interfaces/AppService.html +0 -3340
  320. package/docs/interfaces/Artifact.html +0 -95
  321. package/docs/interfaces/ArtifactMetadata.html +0 -112
  322. package/docs/interfaces/ArtifactWriteOptions.html +0 -90
  323. package/docs/interfaces/AttachDocumentResponse.html +0 -62
  324. package/docs/interfaces/BriyahConfigOptions.html +0 -124
  325. package/docs/interfaces/ChapterInfo.html +0 -62
  326. package/docs/interfaces/Character.html +0 -86
  327. package/docs/interfaces/ConversionAgent.html +0 -78
  328. package/docs/interfaces/CreateAgentResponse.html +0 -56
  329. package/docs/interfaces/CreateRoomResponse.html +0 -62
  330. package/docs/interfaces/CreateStoryResponse.html +0 -56
  331. package/docs/interfaces/FileList.html +0 -56
  332. package/docs/interfaces/FileMetadata.html +0 -89
  333. package/docs/interfaces/IConfigService.html +0 -79
  334. package/docs/interfaces/InstantiateModels.html +0 -64
  335. package/docs/interfaces/InstantiateRoomResult.html +0 -70
  336. package/docs/interfaces/LoadedPack.html +0 -131
  337. package/docs/interfaces/LoggingOptions.html +0 -92
  338. package/docs/interfaces/Message.html +0 -84
  339. package/docs/interfaces/ModelChoice.html +0 -73
  340. package/docs/interfaces/ModelInfo.html +0 -74
  341. package/docs/interfaces/NativeToolDefinition.html +0 -107
  342. package/docs/interfaces/PackAgentTemplate.html +0 -101
  343. package/docs/interfaces/PackRoomTemplate.html +0 -108
  344. package/docs/interfaces/PackView.html +0 -172
  345. package/docs/interfaces/PdfConversionOptions.html +0 -102
  346. package/docs/interfaces/PdfConversionResult.html +0 -97
  347. package/docs/interfaces/PdfMarkdownOptions.html +0 -198
  348. package/docs/interfaces/PdfMarkdownResult.html +0 -106
  349. package/docs/interfaces/PdfPageMarkdown.html +0 -94
  350. package/docs/interfaces/PreparedPromptResponse.html +0 -62
  351. package/docs/interfaces/ProcessTextResponse.html +0 -86
  352. package/docs/interfaces/PromptFile.html +0 -70
  353. package/docs/interfaces/PromptFileContent.html +0 -76
  354. package/docs/interfaces/PromptFilesResponse.html +0 -56
  355. package/docs/interfaces/PromptFolder.html +0 -80
  356. package/docs/interfaces/PromptFolderDefaults.html +0 -155
  357. package/docs/interfaces/PromptFolderDefaultsResponse.html +0 -79
  358. package/docs/interfaces/PromptFoldersResponse.html +0 -56
  359. package/docs/interfaces/RoomDetails.html +0 -151
  360. package/docs/interfaces/RoomErrorUpdate.html +0 -82
  361. package/docs/interfaces/RoomInfo.html +0 -88
  362. package/docs/interfaces/RoomMessageUpdate.html +0 -113
  363. package/docs/interfaces/RoomMessagesResponse.html +0 -62
  364. package/docs/interfaces/SendMessageResult.html +0 -62
  365. package/docs/interfaces/StoryErrorEvent.html +0 -84
  366. package/docs/interfaces/StoryIdea.html +0 -74
  367. package/docs/interfaces/StoryInfo.html +0 -198
  368. package/docs/interfaces/StoryIntroduceCharacterEvent.html +0 -79
  369. package/docs/interfaces/StoryProgressChapterEvent.html +0 -72
  370. package/docs/interfaces/StoryState.html +0 -108
  371. package/docs/interfaces/StoryStateEvent.html +0 -76
  372. package/docs/interfaces/ToolArtifact.html +0 -85
  373. package/docs/interfaces/ToolCaller.html +0 -77
  374. package/docs/interfaces/ToolDefinition.html +0 -80
  375. package/docs/interfaces/ToolHelpers.html +0 -105
  376. package/docs/interfaces/ToolPackDocuments.html +0 -100
  377. package/docs/interfaces/ToolParameter.html +0 -74
  378. package/docs/interfaces/ToolRoomAccess.html +0 -260
  379. package/docs/interfaces/ToolSummary.html +0 -74
  380. package/docs/interfaces/ToolsResponse.html +0 -68
  381. package/docs/interfaces/Transaction.html +0 -104
  382. package/docs/interfaces/TransactionHistoryResponse.html +0 -62
  383. package/docs/modules.html +0 -53
  384. package/docs/types/PackOrigin.html +0 -34
  385. package/docs/types/PromptScope.html +0 -34
  386. package/docs/types/RoomTurnMode.html +0 -42
  387. package/docs/types/RoomUpdate.html +0 -36
  388. package/docs/types/RosterOverrides.html +0 -42
  389. package/docs/types/ToolContext.html +0 -40
  390. package/docs/types/ToolRunResult.html +0 -34
  391. package/src/tools/packs/dnd5e/README.md +0 -867
@@ -1,1434 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Room | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
2
- <div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
3
- <div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
4
- <ul role="listbox" id="tsd-search-results"></ul>
5
- <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
6
- <div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
7
- <div class="container container-main">
8
- <div class="col-content">
9
- <div class="tsd-page-title">
10
- <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
11
- <li><a href="" aria-current="page">Room</a></li></ul>
12
- <h1>Class Room</h1></div><aside class="tsd-sources">
13
- <ul>
14
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L76">server/src/room/room.ts:76</a></li></ul></aside>
15
- <section class="tsd-panel-group tsd-index-group">
16
- <section class="tsd-panel tsd-index-panel">
17
- <details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
18
- <h5 class="tsd-index-heading uppercase">Index</h5></summary>
19
- <div class="tsd-accordion-details">
20
- <section class="tsd-index-section">
21
- <h3 class="tsd-index-heading tsd-anchor-link" id="constructors">Constructors<a href="#constructors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
22
- <div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
23
- </div></section>
24
- <section class="tsd-index-section">
25
- <h3 class="tsd-index-heading tsd-anchor-link" id="methods">Methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
26
- <div class="tsd-index-list"><a href="#addpendingmessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pending<wbr/>Message</span></a>
27
- <a href="#addroommessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Message</span></a>
28
- <a href="#addroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Messages</span></a>
29
- <a href="#arrive" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>arrive</span></a>
30
- <a href="#checkagentnicknamematch" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span></a>
31
- <a href="#clearonerror" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>On<wbr/>Error</span></a>
32
- <a href="#clearroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Room<wbr/>Messages</span></a>
33
- <a href="#conflictingnickname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>conflicting<wbr/>Nickname</span></a>
34
- <a href="#deleteartifact" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Artifact</span></a>
35
- <a href="#deleteroom" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Room</span></a>
36
- <a href="#describeagentsinroom" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span></a>
37
- <a href="#findartifact" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Artifact</span></a>
38
- <a href="#getagentcount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agent<wbr/>Count</span></a>
39
- <a href="#getagents" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agents</span></a>
40
- <a href="#getartifacts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Artifacts</span></a>
41
- <a href="#getbaseroomdir" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span></a>
42
- <a href="#getcreatedat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Created<wbr/>At</span></a>
43
- <a href="#getcurrentspeaker" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Speaker</span></a>
44
- <a href="#getdefaulthumanagent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span></a>
45
- <a href="#getgoal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Goal</span></a>
46
- <a href="#gethumanagentbyname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span></a>
47
- <a href="#gethumanagentname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span></a>
48
- <a href="#gethumanagents" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agents</span></a>
49
- <a href="#getid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Id</span></a>
50
- <a href="#getispublished" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Is<wbr/>Published</span></a>
51
- <a href="#getlatestroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span></a>
52
- <a href="#getmoderator" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator</span></a>
53
- <a href="#getmoderatoragent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator<wbr/>Agent</span></a>
54
- <a href="#getname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a>
55
- <a href="#getpack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack</span></a>
56
- <a href="#getpackroomkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span></a>
57
- <a href="#getpaused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Paused</span></a>
58
- <a href="#getroomleader" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Leader</span></a>
59
- <a href="#getroommessagestats" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span></a>
60
- <a href="#getroomstoreservice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span></a>
61
- <a href="#getsituation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation</span></a>
62
- <a href="#getsituationtime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation<wbr/>Time</span></a>
63
- <a href="#getstoragedir" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Storage<wbr/>Dir</span></a>
64
- <a href="#gettemplateroomid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span></a>
65
- <a href="#gettransientartifacts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transient<wbr/>Artifacts</span></a>
66
- <a href="#getturnmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Turn<wbr/>Mode</span></a>
67
- <a href="#getvisibleartifacts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Visible<wbr/>Artifacts</span></a>
68
- <a href="#handleadjournmessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Adjourn<wbr/>Messages</span></a>
69
- <a href="#handlepublishmessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Publish<wbr/>Messages</span></a>
70
- <a href="#interrupt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>interrupt</span></a>
71
- <a href="#isagentsturn" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Agents<wbr/>Turn</span></a>
72
- <a href="#ishumannickname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Human<wbr/>Nickname</span></a>
73
- <a href="#isplayeraside" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player<wbr/>Aside</span></a>
74
- <a href="#isprocessinginprogress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span></a>
75
- <a href="#isroomadjourned" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Room<wbr/>Adjourned</span></a>
76
- <a href="#iswaitingforhuman" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span></a>
77
- <a href="#moderate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moderate</span></a>
78
- <a href="#notifystatechange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>notify<wbr/>State<wbr/>Change</span></a>
79
- <a href="#pause" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a>
80
- <a href="#perceive" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>perceive</span></a>
81
- <a href="#publishartifact" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>publish<wbr/>Artifact</span></a>
82
- <a href="#ready" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a>
83
- <a href="#removeonstatechange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>On<wbr/>State<wbr/>Change</span></a>
84
- <a href="#renameagent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rename<wbr/>Agent</span></a>
85
- <a href="#repointnickname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>repoint<wbr/>Nickname</span></a>
86
- <a href="#resume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resume</span></a>
87
- <a href="#savemessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Messages</span></a>
88
- <a href="#savemetadata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Metadata</span></a>
89
- <a href="#setagents" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Agents</span></a>
90
- <a href="#setartifacts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Artifacts</span></a>
91
- <a href="#setbaseroomdir" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span></a>
92
- <a href="#setcreatedat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Created<wbr/>At</span></a>
93
- <a href="#setcurrentspeaker" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Current<wbr/>Speaker</span></a>
94
- <a href="#setgoal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Goal</span></a>
95
- <a href="#setid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Id</span></a>
96
- <a href="#setloading" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Loading</span></a>
97
- <a href="#setmoderator" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Moderator</span></a>
98
- <a href="#setname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Name</span></a>
99
- <a href="#setonerror" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Error</span></a>
100
- <a href="#setonmoderatorresponse" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span></a>
101
- <a href="#setonsituationupdate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span></a>
102
- <a href="#setonstatechange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>State<wbr/>Change</span></a>
103
- <a href="#setpack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack</span></a>
104
- <a href="#setpackroomkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span></a>
105
- <a href="#setpublished" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Published</span></a>
106
- <a href="#setroomleader" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Leader</span></a>
107
- <a href="#setroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Messages</span></a>
108
- <a href="#setroomstoreservice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span></a>
109
- <a href="#setsituation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation</span></a>
110
- <a href="#setsituationtime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation<wbr/>Time</span></a>
111
- <a href="#setstoragedir" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Storage<wbr/>Dir</span></a>
112
- <a href="#settemplateroomid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span></a>
113
- <a href="#setturnmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Turn<wbr/>Mode</span></a>
114
- <a href="#extractpreamble" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>extract<wbr/>Preamble</span></a>
115
- </div></section></div></details></section></section>
116
- <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
117
- <h2 class="tsd-anchor-link" id="constructors-1">Constructors<a href="#constructors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
118
- <section>
119
- <section class="tsd-panel tsd-member">
120
- <h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
121
- <ul class="tsd-signatures">
122
- <li class="">
123
- <div class="tsd-signature tsd-anchor-link" id="constructorroom"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Room</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">baseRoomDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">storageDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">roomStoreService</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Room</a><a href="#constructorroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
124
- <div class="tsd-description">
125
- <div class="tsd-parameters">
126
- <h4 class="tsd-parameters-title">Parameters</h4>
127
- <ul class="tsd-parameter-list">
128
- <li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li>
129
- <li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li>
130
- <li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li>
131
- <li><span><span class="tsd-kind-parameter">baseRoomDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;&#39;</span></span></li>
132
- <li><span><span class="tsd-kind-parameter">storageDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;&#39;</span></span></li>
133
- <li><span><span class="tsd-kind-parameter">roomStoreService</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></span></li></ul></div>
134
- <h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Room</a></h4><aside class="tsd-sources">
135
- <ul>
136
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L257">server/src/room/room.ts:257</a></li></ul></aside></div></li></ul></section></section></details>
137
- <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
138
- <h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
139
- <section>
140
- <section class="tsd-panel tsd-member">
141
- <h3 class="tsd-anchor-link" id="addpendingmessage"><span>add<wbr/>Pending<wbr/>Message</span><a href="#addpendingmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
142
- <ul class="tsd-signatures">
143
- <li class="">
144
- <div class="tsd-signature tsd-anchor-link" id="addpendingmessage-1"><span class="tsd-kind-call-signature">addPendingMessage</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">clearQueue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a><a href="#addpendingmessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
145
- <div class="tsd-description">
146
- <div class="tsd-parameters">
147
- <h4 class="tsd-parameters-title">Parameters</h4>
148
- <ul class="tsd-parameter-list">
149
- <li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
150
- <li><span><span class="tsd-kind-parameter">clearQueue</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li>
151
- <li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
152
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a></h4><aside class="tsd-sources">
153
- <ul>
154
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2633">server/src/room/room.ts:2633</a></li></ul></aside></div></li></ul></section>
155
- <section class="tsd-panel tsd-member">
156
- <h3 class="tsd-anchor-link" id="addroommessage"><span>add<wbr/>Room<wbr/>Message</span><a href="#addroommessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
157
- <ul class="tsd-signatures">
158
- <li class="">
159
- <div class="tsd-signature tsd-anchor-link" id="addroommessage-1"><span class="tsd-kind-call-signature">addRoomMessage</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
160
- <div class="tsd-description">
161
- <div class="tsd-parameters">
162
- <h4 class="tsd-parameters-title">Parameters</h4>
163
- <ul class="tsd-parameter-list">
164
- <li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
165
- <li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div>
166
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
167
- <ul>
168
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L769">server/src/room/room.ts:769</a></li></ul></aside></div></li></ul></section>
169
- <section class="tsd-panel tsd-member">
170
- <h3 class="tsd-anchor-link" id="addroommessages"><span>add<wbr/>Room<wbr/>Messages</span><a href="#addroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
171
- <ul class="tsd-signatures">
172
- <li class="">
173
- <div class="tsd-signature tsd-anchor-link" id="addroommessages-1"><span class="tsd-kind-call-signature">addRoomMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
174
- <div class="tsd-description">
175
- <div class="tsd-parameters">
176
- <h4 class="tsd-parameters-title">Parameters</h4>
177
- <ul class="tsd-parameter-list">
178
- <li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
179
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
180
- <ul>
181
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L783">server/src/room/room.ts:783</a></li></ul></aside></div></li></ul></section>
182
- <section class="tsd-panel tsd-member">
183
- <h3 class="tsd-anchor-link" id="arrive"><span>arrive</span><a href="#arrive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
184
- <ul class="tsd-signatures">
185
- <li class="">
186
- <div class="tsd-signature tsd-anchor-link" id="arrive-1"><span class="tsd-kind-call-signature">arrive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#arrive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
187
- <div class="tsd-description">
188
- <div class="tsd-comment tsd-typography"><p>Adds an agent to the room</p>
189
- </div>
190
- <div class="tsd-parameters">
191
- <h4 class="tsd-parameters-title">Parameters</h4>
192
- <ul class="tsd-parameter-list">
193
- <li><span><span class="tsd-kind-parameter">agent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
194
- <div class="tsd-comment tsd-typography"><p>The agent to add</p>
195
- </div></li></ul></div>
196
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the agent was added, false if it was already in the room</p>
197
- <aside class="tsd-sources">
198
- <ul>
199
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L360">server/src/room/room.ts:360</a></li></ul></aside></div></li></ul></section>
200
- <section class="tsd-panel tsd-member">
201
- <h3 class="tsd-anchor-link" id="checkagentnicknamematch"><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span><a href="#checkagentnicknamematch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
202
- <ul class="tsd-signatures">
203
- <li class="">
204
- <div class="tsd-signature tsd-anchor-link" id="checkagentnicknamematch-1"><span class="tsd-kind-call-signature">checkAgentNicknameMatch</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">existingNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">targetNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#checkagentnicknamematch-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
205
- <div class="tsd-description">
206
- <div class="tsd-parameters">
207
- <h4 class="tsd-parameters-title">Parameters</h4>
208
- <ul class="tsd-parameter-list">
209
- <li><span><span class="tsd-kind-parameter">existingNickname</span>: <span class="tsd-signature-type">string</span></span></li>
210
- <li><span><span class="tsd-kind-parameter">targetNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
211
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
212
- <ul>
213
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2807">server/src/room/room.ts:2807</a></li></ul></aside></div></li></ul></section>
214
- <section class="tsd-panel tsd-member">
215
- <h3 class="tsd-anchor-link" id="clearonerror"><span>clear<wbr/>On<wbr/>Error</span><a href="#clearonerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
216
- <ul class="tsd-signatures">
217
- <li class="">
218
- <div class="tsd-signature tsd-anchor-link" id="clearonerror-1"><span class="tsd-kind-call-signature">clearOnError</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearonerror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
219
- <div class="tsd-description">
220
- <div class="tsd-comment tsd-typography"><p>Stops delivering errors to a subscriber.</p>
221
- </div>
222
- <div class="tsd-parameters">
223
- <h4 class="tsd-parameters-title">Parameters</h4>
224
- <ul class="tsd-parameter-list">
225
- <li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
226
- <div class="tsd-comment tsd-typography"><p>The key it registered with</p>
227
- </div></li></ul></div>
228
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
229
- <ul>
230
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2365">server/src/room/room.ts:2365</a></li></ul></aside></div></li></ul></section>
231
- <section class="tsd-panel tsd-member">
232
- <h3 class="tsd-anchor-link" id="clearroommessages"><span>clear<wbr/>Room<wbr/>Messages</span><a href="#clearroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
233
- <ul class="tsd-signatures">
234
- <li class="">
235
- <div class="tsd-signature tsd-anchor-link" id="clearroommessages-1"><span class="tsd-kind-call-signature">clearRoomMessages</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
236
- <div class="tsd-description">
237
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
238
- <ul>
239
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L351">server/src/room/room.ts:351</a></li></ul></aside></div></li></ul></section>
240
- <section class="tsd-panel tsd-member">
241
- <h3 class="tsd-anchor-link" id="conflictingnickname"><span>conflicting<wbr/>Nickname</span><a href="#conflictingnickname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
242
- <ul class="tsd-signatures">
243
- <li class="">
244
- <div class="tsd-signature tsd-anchor-link" id="conflictingnickname-1"><span class="tsd-kind-call-signature">conflictingNickname</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">nickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#conflictingnickname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
245
- <div class="tsd-description">
246
- <div class="tsd-comment tsd-typography"><p>The agent this room would refuse to rename to <code>nickname</code>, if any.</p>
247
- <p>Separate from <a href="#renameagent" class="tsd-kind-method">renameAgent</a> so a caller renaming an agent that sits in
248
- more than one room can check them all before changing anything — a rename
249
- applied to two rooms and refused by a third would leave the agent named one
250
- thing and half the rooms pointing at another.</p>
251
- </div>
252
- <div class="tsd-parameters">
253
- <h4 class="tsd-parameters-title">Parameters</h4>
254
- <ul class="tsd-parameter-list">
255
- <li><span><span class="tsd-kind-parameter">agent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
256
- <div class="tsd-comment tsd-typography"><p>The agent being renamed, excluded from its own check</p>
257
- </div></li>
258
- <li><span><span class="tsd-kind-parameter">nickname</span>: <span class="tsd-signature-type">string</span></span>
259
- <div class="tsd-comment tsd-typography"><p>The nickname it would take</p>
260
- </div></li></ul></div>
261
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The conflicting agent's nickname, or undefined</p>
262
- <aside class="tsd-sources">
263
- <ul>
264
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L901">server/src/room/room.ts:901</a></li></ul></aside></div></li></ul></section>
265
- <section class="tsd-panel tsd-member">
266
- <h3 class="tsd-anchor-link" id="deleteartifact"><span>delete<wbr/>Artifact</span><a href="#deleteartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
267
- <ul class="tsd-signatures">
268
- <li class="">
269
- <div class="tsd-signature tsd-anchor-link" id="deleteartifact-1"><span class="tsd-kind-call-signature">deleteArtifact</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#deleteartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
270
- <div class="tsd-description">
271
- <div class="tsd-comment tsd-typography"><p>Deletes an artifact from the room</p>
272
- </div>
273
- <div class="tsd-parameters">
274
- <h4 class="tsd-parameters-title">Parameters</h4>
275
- <ul class="tsd-parameter-list">
276
- <li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
277
- <div class="tsd-comment tsd-typography"><p>The name of the artifact to delete</p>
278
- </div></li></ul></div>
279
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the artifact was found and deleted, false otherwise</p>
280
- <aside class="tsd-sources">
281
- <ul>
282
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2196">server/src/room/room.ts:2196</a></li></ul></aside></div></li></ul></section>
283
- <section class="tsd-panel tsd-member">
284
- <h3 class="tsd-anchor-link" id="deleteroom"><span>delete<wbr/>Room</span><a href="#deleteroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
285
- <ul class="tsd-signatures">
286
- <li class="">
287
- <div class="tsd-signature tsd-anchor-link" id="deleteroom-1"><span class="tsd-kind-call-signature">deleteRoom</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#deleteroom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
288
- <div class="tsd-description">
289
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
290
- <ul>
291
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L276">server/src/room/room.ts:276</a></li></ul></aside></div></li></ul></section>
292
- <section class="tsd-panel tsd-member">
293
- <h3 class="tsd-anchor-link" id="describeagentsinroom"><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span><a href="#describeagentsinroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
294
- <ul class="tsd-signatures">
295
- <li class="">
296
- <div class="tsd-signature tsd-anchor-link" id="describeagentsinroom-1"><span class="tsd-kind-call-signature">describeAgentsInRoom</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#describeagentsinroom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
297
- <div class="tsd-description">
298
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
299
- <ul>
300
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L385">server/src/room/room.ts:385</a></li></ul></aside></div></li></ul></section>
301
- <section class="tsd-panel tsd-member">
302
- <h3 class="tsd-anchor-link" id="findartifact"><span>find<wbr/>Artifact</span><a href="#findartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
303
- <ul class="tsd-signatures">
304
- <li class="">
305
- <div class="tsd-signature tsd-anchor-link" id="findartifact-1"><span class="tsd-kind-call-signature">findArtifact</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><a href="#findartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
306
- <div class="tsd-description">
307
- <div class="tsd-comment tsd-typography"><p>Gets an artifact by name</p>
308
- </div>
309
- <div class="tsd-parameters">
310
- <h4 class="tsd-parameters-title">Parameters</h4>
311
- <ul class="tsd-parameter-list">
312
- <li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
313
- <div class="tsd-comment tsd-typography"><p>The name of the artifact</p>
314
- </div></li></ul></div>
315
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a></h4><p>The artifact or undefined if not found</p>
316
- <aside class="tsd-sources">
317
- <ul>
318
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2125">server/src/room/room.ts:2125</a></li></ul></aside></div></li></ul></section>
319
- <section class="tsd-panel tsd-member">
320
- <h3 class="tsd-anchor-link" id="getagentcount"><span>get<wbr/>Agent<wbr/>Count</span><a href="#getagentcount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
321
- <ul class="tsd-signatures">
322
- <li class="">
323
- <div class="tsd-signature tsd-anchor-link" id="getagentcount-1"><span class="tsd-kind-call-signature">getAgentCount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getagentcount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
324
- <div class="tsd-description">
325
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
326
- <ul>
327
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L429">server/src/room/room.ts:429</a></li></ul></aside></div></li></ul></section>
328
- <section class="tsd-panel tsd-member">
329
- <h3 class="tsd-anchor-link" id="getagents"><span>get<wbr/>Agents</span><a href="#getagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
330
- <ul class="tsd-signatures">
331
- <li class="">
332
- <div class="tsd-signature tsd-anchor-link" id="getagents-1"><span class="tsd-kind-call-signature">getAgents</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><a href="#getagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
333
- <div class="tsd-description">
334
- <h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
335
- <ul>
336
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L370">server/src/room/room.ts:370</a></li></ul></aside></div></li></ul></section>
337
- <section class="tsd-panel tsd-member">
338
- <h3 class="tsd-anchor-link" id="getartifacts"><span>get<wbr/>Artifacts</span><a href="#getartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
339
- <ul class="tsd-signatures">
340
- <li class="">
341
- <div class="tsd-signature tsd-anchor-link" id="getartifacts-1"><span class="tsd-kind-call-signature">getArtifacts</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#getartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
342
- <div class="tsd-description">
343
- <div class="tsd-comment tsd-typography"><p>Gets all artifacts in the room</p>
344
- </div>
345
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of artifacts</p>
346
- <aside class="tsd-sources">
347
- <ul>
348
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L811">server/src/room/room.ts:811</a></li></ul></aside></div></li></ul></section>
349
- <section class="tsd-panel tsd-member">
350
- <h3 class="tsd-anchor-link" id="getbaseroomdir"><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span><a href="#getbaseroomdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
351
- <ul class="tsd-signatures">
352
- <li class="">
353
- <div class="tsd-signature tsd-anchor-link" id="getbaseroomdir-1"><span class="tsd-kind-call-signature">getBaseRoomDir</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getbaseroomdir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
354
- <div class="tsd-description">
355
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
356
- <ul>
357
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L300">server/src/room/room.ts:300</a></li></ul></aside></div></li></ul></section>
358
- <section class="tsd-panel tsd-member">
359
- <h3 class="tsd-anchor-link" id="getcreatedat"><span>get<wbr/>Created<wbr/>At</span><a href="#getcreatedat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
360
- <ul class="tsd-signatures">
361
- <li class="">
362
- <div class="tsd-signature tsd-anchor-link" id="getcreatedat-1"><span class="tsd-kind-call-signature">getCreatedAt</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><a href="#getcreatedat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
363
- <div class="tsd-description">
364
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
365
- <ul>
366
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L799">server/src/room/room.ts:799</a></li></ul></aside></div></li></ul></section>
367
- <section class="tsd-panel tsd-member">
368
- <h3 class="tsd-anchor-link" id="getcurrentspeaker"><span>get<wbr/>Current<wbr/>Speaker</span><a href="#getcurrentspeaker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
369
- <ul class="tsd-signatures">
370
- <li class="">
371
- <div class="tsd-signature tsd-anchor-link" id="getcurrentspeaker-1"><span class="tsd-kind-call-signature">getCurrentSpeaker</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getcurrentspeaker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
372
- <div class="tsd-description">
373
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
374
- <ul>
375
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L446">server/src/room/room.ts:446</a></li></ul></aside></div></li></ul></section>
376
- <section class="tsd-panel tsd-member">
377
- <h3 class="tsd-anchor-link" id="getdefaulthumanagent"><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span><a href="#getdefaulthumanagent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
378
- <ul class="tsd-signatures">
379
- <li class="">
380
- <div class="tsd-signature tsd-anchor-link" id="getdefaulthumanagent-1"><span class="tsd-kind-call-signature">getDefaultHumanAgent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#getdefaulthumanagent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
381
- <div class="tsd-description">
382
- <div class="tsd-comment tsd-typography"><p>The human the room falls back to when it has to pick one, which is whoever
383
- arrived first. Used to open the conversation and to attribute a message that
384
- arrives with no sender. Which one it is carries no meaning.</p>
385
- </div>
386
- <h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><aside class="tsd-sources">
387
- <ul>
388
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2409">server/src/room/room.ts:2409</a></li></ul></aside></div></li></ul></section>
389
- <section class="tsd-panel tsd-member">
390
- <h3 class="tsd-anchor-link" id="getgoal"><span>get<wbr/>Goal</span><a href="#getgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
391
- <ul class="tsd-signatures">
392
- <li class="">
393
- <div class="tsd-signature tsd-anchor-link" id="getgoal-1"><span class="tsd-kind-call-signature">getGoal</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
394
- <div class="tsd-description">
395
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
396
- <ul>
397
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L292">server/src/room/room.ts:292</a></li></ul></aside></div></li></ul></section>
398
- <section class="tsd-panel tsd-member">
399
- <h3 class="tsd-anchor-link" id="gethumanagentbyname"><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span><a href="#gethumanagentbyname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
400
- <ul class="tsd-signatures">
401
- <li class="">
402
- <div class="tsd-signature tsd-anchor-link" id="gethumanagentbyname-1"><span class="tsd-kind-call-signature">getHumanAgentByName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#gethumanagentbyname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
403
- <div class="tsd-description">
404
- <div class="tsd-comment tsd-typography"><p>The human-controlled agent a sender name refers to, matched the same way
405
- message targets are, or undefined when no human answers to that name.</p>
406
- </div>
407
- <div class="tsd-parameters">
408
- <h4 class="tsd-parameters-title">Parameters</h4>
409
- <ul class="tsd-parameter-list">
410
- <li><span><span class="tsd-kind-parameter">sender</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
411
- <h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><aside class="tsd-sources">
412
- <ul>
413
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2417">server/src/room/room.ts:2417</a></li></ul></aside></div></li></ul></section>
414
- <section class="tsd-panel tsd-member">
415
- <h3 class="tsd-anchor-link" id="gethumanagentname"><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span><a href="#gethumanagentname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
416
- <ul class="tsd-signatures">
417
- <li class="">
418
- <div class="tsd-signature tsd-anchor-link" id="gethumanagentname-1"><span class="tsd-kind-call-signature">getHumanAgentName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#gethumanagentname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
419
- <div class="tsd-description">
420
- <div class="tsd-comment tsd-typography"><p>Gets the name of the default human-controlled agent</p>
421
- </div>
422
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The human agent's name or empty string if not found</p>
423
- <aside class="tsd-sources">
424
- <ul>
425
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2451">server/src/room/room.ts:2451</a></li></ul></aside></div></li></ul></section>
426
- <section class="tsd-panel tsd-member">
427
- <h3 class="tsd-anchor-link" id="gethumanagents"><span>get<wbr/>Human<wbr/>Agents</span><a href="#gethumanagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
428
- <ul class="tsd-signatures">
429
- <li class="">
430
- <div class="tsd-signature tsd-anchor-link" id="gethumanagents-1"><span class="tsd-kind-call-signature">getHumanAgents</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><a href="#gethumanagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
431
- <div class="tsd-description">
432
- <div class="tsd-comment tsd-typography"><p>Every human-controlled agent in the room, in arrival order.</p>
433
- <p>A room may have more than one: several people can share a browser, and one
434
- person can play several characters. Code that genuinely needs a single human
435
- uses <a href="#getdefaulthumanagent" class="tsd-kind-method">getDefaultHumanAgent</a> — but anything reacting to a <em>message</em> must
436
- resolve the human from its sender, because the sender is rarely the default.</p>
437
- </div>
438
- <h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
439
- <ul>
440
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2383">server/src/room/room.ts:2383</a></li></ul></aside></div></li></ul></section>
441
- <section class="tsd-panel tsd-member">
442
- <h3 class="tsd-anchor-link" id="getid"><span>get<wbr/>Id</span><a href="#getid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
443
- <ul class="tsd-signatures">
444
- <li class="">
445
- <div class="tsd-signature tsd-anchor-link" id="getid-1"><span class="tsd-kind-call-signature">getId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
446
- <div class="tsd-description">
447
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
448
- <ul>
449
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2250">server/src/room/room.ts:2250</a></li></ul></aside></div></li></ul></section>
450
- <section class="tsd-panel tsd-member">
451
- <h3 class="tsd-anchor-link" id="getispublished"><span>get<wbr/>Is<wbr/>Published</span><a href="#getispublished" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
452
- <ul class="tsd-signatures">
453
- <li class="">
454
- <div class="tsd-signature tsd-anchor-link" id="getispublished-1"><span class="tsd-kind-call-signature">getIsPublished</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#getispublished-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
455
- <div class="tsd-description">
456
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
457
- <ul>
458
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L308">server/src/room/room.ts:308</a></li></ul></aside></div></li></ul></section>
459
- <section class="tsd-panel tsd-member">
460
- <h3 class="tsd-anchor-link" id="getlatestroommessages"><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span><a href="#getlatestroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
461
- <ul class="tsd-signatures">
462
- <li class="">
463
- <div class="tsd-signature tsd-anchor-link" id="getlatestroommessages-1"><span class="tsd-kind-call-signature">getLatestRoomMessages</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">fromIndex</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">includeThoughts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><a href="#getlatestroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
464
- <div class="tsd-description">
465
- <div class="tsd-parameters">
466
- <h4 class="tsd-parameters-title">Parameters</h4>
467
- <ul class="tsd-parameter-list">
468
- <li><span><span class="tsd-kind-parameter">fromIndex</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li>
469
- <li><span><span class="tsd-kind-parameter">includeThoughts</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div>
470
- <h4 class="tsd-returns-title">Returns <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
471
- <ul>
472
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L744">server/src/room/room.ts:744</a></li></ul></aside></div></li></ul></section>
473
- <section class="tsd-panel tsd-member">
474
- <h3 class="tsd-anchor-link" id="getmoderator"><span>get<wbr/>Moderator</span><a href="#getmoderator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
475
- <ul class="tsd-signatures">
476
- <li class="">
477
- <div class="tsd-signature tsd-anchor-link" id="getmoderator-1"><span class="tsd-kind-call-signature">getModerator</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getmoderator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
478
- <div class="tsd-description">
479
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The configured moderator nickname, or '' when none is set</p>
480
- <aside class="tsd-sources">
481
- <ul>
482
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L417">server/src/room/room.ts:417</a></li></ul></aside></div></li></ul></section>
483
- <section class="tsd-panel tsd-member">
484
- <h3 class="tsd-anchor-link" id="getmoderatoragent"><span>get<wbr/>Moderator<wbr/>Agent</span><a href="#getmoderatoragent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
485
- <ul class="tsd-signatures">
486
- <li class="">
487
- <div class="tsd-signature tsd-anchor-link" id="getmoderatoragent-1"><span class="tsd-kind-call-signature">getModeratorAgent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#getmoderatoragent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
488
- <div class="tsd-description">
489
- <div class="tsd-comment tsd-typography"><p>Gets the agent that places messages the room cannot route mechanically.</p>
490
- <p>Prefers the configured <a href="#setmoderator" class="tsd-kind-method">setModerator</a> nickname. The fallback to the
491
- first agent is how story rooms have always chosen theirs — the narrator is
492
- added first — and is kept so they keep working, but it is a guess: in any
493
- other room the first agent is whoever happened to be added first and has no
494
- <code>moderate.prompt</code> at all. Name one explicitly.</p>
495
- <p>The fallback prefers an agent that actually has a <code>moderate.prompt</code>, because
496
- one that does not fails in the worst way available: the prompt lookup throws,
497
- the throw is swallowed, and the message disappears. Arrival order is only
498
- consulted when nobody in the room can moderate, which keeps a room that was
499
- working before this preference existed working now.</p>
500
- </div>
501
- <h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><p>The moderator agent or undefined if the room is empty</p>
502
- <aside class="tsd-sources">
503
- <ul>
504
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2471">server/src/room/room.ts:2471</a></li></ul></aside></div></li></ul></section>
505
- <section class="tsd-panel tsd-member">
506
- <h3 class="tsd-anchor-link" id="getname"><span>get<wbr/>Name</span><a href="#getname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
507
- <ul class="tsd-signatures">
508
- <li class="">
509
- <div class="tsd-signature tsd-anchor-link" id="getname-1"><span class="tsd-kind-call-signature">getName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
510
- <div class="tsd-description">
511
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
512
- <ul>
513
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L284">server/src/room/room.ts:284</a></li></ul></aside></div></li></ul></section>
514
- <section class="tsd-panel tsd-member">
515
- <h3 class="tsd-anchor-link" id="getpack"><span>get<wbr/>Pack</span><a href="#getpack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
516
- <ul class="tsd-signatures">
517
- <li class="">
518
- <div class="tsd-signature tsd-anchor-link" id="getpack-1"><span class="tsd-kind-call-signature">getPack</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getpack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
519
- <div class="tsd-description">
520
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The pack this room is filed under, or undefined when it is not filed</p>
521
- <aside class="tsd-sources">
522
- <ul>
523
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L330">server/src/room/room.ts:330</a></li></ul></aside></div></li></ul></section>
524
- <section class="tsd-panel tsd-member">
525
- <h3 class="tsd-anchor-link" id="getpackroomkey"><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span><a href="#getpackroomkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
526
- <ul class="tsd-signatures">
527
- <li class="">
528
- <div class="tsd-signature tsd-anchor-link" id="getpackroomkey-1"><span class="tsd-kind-call-signature">getPackRoomKey</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getpackroomkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
529
- <div class="tsd-description">
530
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The pack template's key, when this room came from one</p>
531
- <aside class="tsd-sources">
532
- <ul>
533
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L343">server/src/room/room.ts:343</a></li></ul></aside></div></li></ul></section>
534
- <section class="tsd-panel tsd-member">
535
- <h3 class="tsd-anchor-link" id="getpaused"><span>get<wbr/>Paused</span><a href="#getpaused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
536
- <ul class="tsd-signatures">
537
- <li class="">
538
- <div class="tsd-signature tsd-anchor-link" id="getpaused-1"><span class="tsd-kind-call-signature">getPaused</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#getpaused-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
539
- <div class="tsd-description">
540
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
541
- <ul>
542
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L317">server/src/room/room.ts:317</a></li></ul></aside></div></li></ul></section>
543
- <section class="tsd-panel tsd-member">
544
- <h3 class="tsd-anchor-link" id="getroomleader"><span>get<wbr/>Room<wbr/>Leader</span><a href="#getroomleader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
545
- <ul class="tsd-signatures">
546
- <li class="">
547
- <div class="tsd-signature tsd-anchor-link" id="getroomleader-1"><span class="tsd-kind-call-signature">getRoomLeader</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getroomleader-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
548
- <div class="tsd-description">
549
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
550
- <ul>
551
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L393">server/src/room/room.ts:393</a></li></ul></aside></div></li></ul></section>
552
- <section class="tsd-panel tsd-member">
553
- <h3 class="tsd-anchor-link" id="getroommessagestats"><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span><a href="#getroommessagestats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
554
- <ul class="tsd-signatures">
555
- <li class="">
556
- <div class="tsd-signature tsd-anchor-link" id="getroommessagestats-1"><span class="tsd-kind-call-signature">getRoomMessageStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">numChars</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">numMessages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><a href="#getroommessagestats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
557
- <div class="tsd-description">
558
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">numChars</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">numMessages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
559
- <ul>
560
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L738">server/src/room/room.ts:738</a></li></ul></aside></div></li></ul></section>
561
- <section class="tsd-panel tsd-member">
562
- <h3 class="tsd-anchor-link" id="getroomstoreservice"><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span><a href="#getroomstoreservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
563
- <ul class="tsd-signatures">
564
- <li class="">
565
- <div class="tsd-signature tsd-anchor-link" id="getroomstoreservice-1"><span class="tsd-kind-call-signature">getRoomStoreService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#getroomstoreservice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
566
- <div class="tsd-description">
567
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
568
- <ul>
569
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2266">server/src/room/room.ts:2266</a></li></ul></aside></div></li></ul></section>
570
- <section class="tsd-panel tsd-member">
571
- <h3 class="tsd-anchor-link" id="getsituation"><span>get<wbr/>Situation</span><a href="#getsituation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
572
- <ul class="tsd-signatures">
573
- <li class="">
574
- <div class="tsd-signature tsd-anchor-link" id="getsituation-1"><span class="tsd-kind-call-signature">getSituation</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsituation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
575
- <div class="tsd-description">
576
- <div class="tsd-comment tsd-typography"><p>Gets the current story situation</p>
577
- </div>
578
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The current situation string</p>
579
- <aside class="tsd-sources">
580
- <ul>
581
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2493">server/src/room/room.ts:2493</a></li></ul></aside></div></li></ul></section>
582
- <section class="tsd-panel tsd-member">
583
- <h3 class="tsd-anchor-link" id="getsituationtime"><span>get<wbr/>Situation<wbr/>Time</span><a href="#getsituationtime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
584
- <ul class="tsd-signatures">
585
- <li class="">
586
- <div class="tsd-signature tsd-anchor-link" id="getsituationtime-1"><span class="tsd-kind-call-signature">getSituationTime</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsituationtime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
587
- <div class="tsd-description">
588
- <div class="tsd-comment tsd-typography"><p>Gets the current in-story time (24-hour &quot;HH:MM&quot;), stored separately from the
589
- situation text.</p>
590
- </div>
591
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The current time string, or '' if none is set</p>
592
- <aside class="tsd-sources">
593
- <ul>
594
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2502">server/src/room/room.ts:2502</a></li></ul></aside></div></li></ul></section>
595
- <section class="tsd-panel tsd-member">
596
- <h3 class="tsd-anchor-link" id="getstoragedir"><span>get<wbr/>Storage<wbr/>Dir</span><a href="#getstoragedir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
597
- <ul class="tsd-signatures">
598
- <li class="">
599
- <div class="tsd-signature tsd-anchor-link" id="getstoragedir-1"><span class="tsd-kind-call-signature">getStorageDir</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getstoragedir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
600
- <div class="tsd-description">
601
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
602
- <ul>
603
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2258">server/src/room/room.ts:2258</a></li></ul></aside></div></li></ul></section>
604
- <section class="tsd-panel tsd-member">
605
- <h3 class="tsd-anchor-link" id="gettemplateroomid"><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span><a href="#gettemplateroomid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
606
- <ul class="tsd-signatures">
607
- <li class="">
608
- <div class="tsd-signature tsd-anchor-link" id="gettemplateroomid-1"><span class="tsd-kind-call-signature">getTemplateRoomId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#gettemplateroomid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
609
- <div class="tsd-description">
610
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
611
- <ul>
612
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L321">server/src/room/room.ts:321</a></li></ul></aside></div></li></ul></section>
613
- <section class="tsd-panel tsd-member">
614
- <h3 class="tsd-anchor-link" id="gettransientartifacts"><span>get<wbr/>Transient<wbr/>Artifacts</span><a href="#gettransientartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
615
- <ul class="tsd-signatures">
616
- <li class="">
617
- <div class="tsd-signature tsd-anchor-link" id="gettransientartifacts-1"><span class="tsd-kind-call-signature">getTransientArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#gettransientartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
618
- <div class="tsd-description">
619
- <div class="tsd-comment tsd-typography"><p>Gets the artifacts delivered to an agent in the uncached per-turn prompt.</p>
620
- </div>
621
- <div class="tsd-parameters">
622
- <h4 class="tsd-parameters-title">Parameters</h4>
623
- <ul class="tsd-parameter-list">
624
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
625
- <div class="tsd-comment tsd-typography"><p>The name of the agent</p>
626
- </div></li></ul></div>
627
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of transient artifacts readable by the agent</p>
628
- <aside class="tsd-sources">
629
- <ul>
630
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2246">server/src/room/room.ts:2246</a></li></ul></aside></div></li></ul></section>
631
- <section class="tsd-panel tsd-member">
632
- <h3 class="tsd-anchor-link" id="getturnmode"><span>get<wbr/>Turn<wbr/>Mode</span><a href="#getturnmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
633
- <ul class="tsd-signatures">
634
- <li class="">
635
- <div class="tsd-signature tsd-anchor-link" id="getturnmode-1"><span class="tsd-kind-call-signature">getTurnMode</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a><a href="#getturnmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
636
- <div class="tsd-description">
637
- <h4 class="tsd-returns-title">Returns <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a></h4><aside class="tsd-sources">
638
- <ul>
639
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L404">server/src/room/room.ts:404</a></li></ul></aside></div></li></ul></section>
640
- <section class="tsd-panel tsd-member">
641
- <h3 class="tsd-anchor-link" id="getvisibleartifacts"><span>get<wbr/>Visible<wbr/>Artifacts</span><a href="#getvisibleartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
642
- <ul class="tsd-signatures">
643
- <li class="">
644
- <div class="tsd-signature tsd-anchor-link" id="getvisibleartifacts-1"><span class="tsd-kind-call-signature">getVisibleArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#getvisibleartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
645
- <div class="tsd-description">
646
- <div class="tsd-comment tsd-typography"><p>Gets the artifacts rendered into an agent's <strong>cached</strong> prompt block.</p>
647
- <p>Transient artifacts are deliberately excluded: they go in the per-turn
648
- prompt instead (see <code>buildTransientPrompt</code>), which is the whole point of
649
- marking one transient. They are still readable — <code>getTransientArtifacts</code>
650
- returns them, and a tool reads any artifact regardless.</p>
651
- </div>
652
- <div class="tsd-parameters">
653
- <h4 class="tsd-parameters-title">Parameters</h4>
654
- <ul class="tsd-parameter-list">
655
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
656
- <div class="tsd-comment tsd-typography"><p>The name of the agent</p>
657
- </div></li></ul></div>
658
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of artifacts visible to the agent</p>
659
- <aside class="tsd-sources">
660
- <ul>
661
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2237">server/src/room/room.ts:2237</a></li></ul></aside></div></li></ul></section>
662
- <section class="tsd-panel tsd-member">
663
- <h3 class="tsd-anchor-link" id="handleadjournmessages"><span>handle<wbr/>Adjourn<wbr/>Messages</span><a href="#handleadjournmessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
664
- <ul class="tsd-signatures">
665
- <li class="">
666
- <div class="tsd-signature tsd-anchor-link" id="handleadjournmessages-1"><span class="tsd-kind-call-signature">handleAdjournMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handleadjournmessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
667
- <div class="tsd-description">
668
- <div class="tsd-parameters">
669
- <h4 class="tsd-parameters-title">Parameters</h4>
670
- <ul class="tsd-parameter-list">
671
- <li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
672
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
673
- <ul>
674
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2587">server/src/room/room.ts:2587</a></li></ul></aside></div></li></ul></section>
675
- <section class="tsd-panel tsd-member">
676
- <h3 class="tsd-anchor-link" id="handlepublishmessages"><span>handle<wbr/>Publish<wbr/>Messages</span><a href="#handlepublishmessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
677
- <ul class="tsd-signatures">
678
- <li class="">
679
- <div class="tsd-signature tsd-anchor-link" id="handlepublishmessages-1"><span class="tsd-kind-call-signature">handlePublishMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handlepublishmessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
680
- <div class="tsd-description">
681
- <div class="tsd-parameters">
682
- <h4 class="tsd-parameters-title">Parameters</h4>
683
- <ul class="tsd-parameter-list">
684
- <li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
685
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
686
- <ul>
687
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2574">server/src/room/room.ts:2574</a></li></ul></aside></div></li></ul></section>
688
- <section class="tsd-panel tsd-member">
689
- <h3 class="tsd-anchor-link" id="interrupt"><span>interrupt</span><a href="#interrupt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
690
- <ul class="tsd-signatures">
691
- <li class="">
692
- <div class="tsd-signature tsd-anchor-link" id="interrupt-1"><span class="tsd-kind-call-signature">interrupt</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#interrupt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
693
- <div class="tsd-description">
694
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
695
- <ul>
696
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2802">server/src/room/room.ts:2802</a></li></ul></aside></div></li></ul></section>
697
- <section class="tsd-panel tsd-member">
698
- <h3 class="tsd-anchor-link" id="isagentsturn"><span>is<wbr/>Agents<wbr/>Turn</span><a href="#isagentsturn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
699
- <ul class="tsd-signatures">
700
- <li class="">
701
- <div class="tsd-signature tsd-anchor-link" id="isagentsturn-1"><span class="tsd-kind-call-signature">isAgentsTurn</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isagentsturn-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
702
- <div class="tsd-description">
703
- <div class="tsd-parameters">
704
- <h4 class="tsd-parameters-title">Parameters</h4>
705
- <ul class="tsd-parameter-list">
706
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
707
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
708
- <ul>
709
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L457">server/src/room/room.ts:457</a></li></ul></aside></div></li></ul></section>
710
- <section class="tsd-panel tsd-member">
711
- <h3 class="tsd-anchor-link" id="ishumannickname"><span>is<wbr/>Human<wbr/>Nickname</span><a href="#ishumannickname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
712
- <ul class="tsd-signatures">
713
- <li class="">
714
- <div class="tsd-signature tsd-anchor-link" id="ishumannickname-1"><span class="tsd-kind-call-signature">isHumanNickname</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#ishumannickname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
715
- <div class="tsd-description">
716
- <div class="tsd-comment tsd-typography"><p>True when <code>nickname</code> names a human-controlled agent in this room.</p>
717
- </div>
718
- <div class="tsd-parameters">
719
- <h4 class="tsd-parameters-title">Parameters</h4>
720
- <ul class="tsd-parameter-list">
721
- <li><span><span class="tsd-kind-parameter">nickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
722
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
723
- <ul>
724
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2425">server/src/room/room.ts:2425</a></li></ul></aside></div></li></ul></section>
725
- <section class="tsd-panel tsd-member">
726
- <h3 class="tsd-anchor-link" id="isplayeraside"><span>is<wbr/>Player<wbr/>Aside</span><a href="#isplayeraside" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
727
- <ul class="tsd-signatures">
728
- <li class="">
729
- <div class="tsd-signature tsd-anchor-link" id="isplayeraside-1"><span class="tsd-kind-call-signature">isPlayerAside</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isplayeraside-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
730
- <div class="tsd-description">
731
- <div class="tsd-comment tsd-typography"><p>True when a message is the players talking among themselves: a whisper whose
732
- every target is a human-controlled agent.</p>
733
- <p>Such a message cannot reach the game. <code>canHear</code> restricts a whisper to its
734
- targets, so no AI agent hears it; every target is human, so no agent is
735
- prompted and nothing is spent. That is what lets the room take one <strong>out of
736
- turn</strong> and leave the floor untouched — the players get to chat across the
737
- table while an agent is mid-turn, and it still shows up in the transcript for
738
- everyone at the table to read.</p>
739
- </div>
740
- <div class="tsd-parameters">
741
- <h4 class="tsd-parameters-title">Parameters</h4>
742
- <ul class="tsd-parameter-list">
743
- <li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li></ul></div>
744
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
745
- <ul>
746
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2440">server/src/room/room.ts:2440</a></li></ul></aside></div></li></ul></section>
747
- <section class="tsd-panel tsd-member">
748
- <h3 class="tsd-anchor-link" id="isprocessinginprogress"><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span><a href="#isprocessinginprogress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
749
- <ul class="tsd-signatures">
750
- <li class="">
751
- <div class="tsd-signature tsd-anchor-link" id="isprocessinginprogress-1"><span class="tsd-kind-call-signature">isProcessingInProgress</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isprocessinginprogress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
752
- <div class="tsd-description">
753
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
754
- <ul>
755
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2749">server/src/room/room.ts:2749</a></li></ul></aside></div></li></ul></section>
756
- <section class="tsd-panel tsd-member">
757
- <h3 class="tsd-anchor-link" id="isroomadjourned"><span>is<wbr/>Room<wbr/>Adjourned</span><a href="#isroomadjourned" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
758
- <ul class="tsd-signatures">
759
- <li class="">
760
- <div class="tsd-signature tsd-anchor-link" id="isroomadjourned-1"><span class="tsd-kind-call-signature">isRoomAdjourned</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isroomadjourned-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
761
- <div class="tsd-description">
762
- <div class="tsd-comment tsd-typography"><p>Checks if the room is currently adjourned</p>
763
- </div>
764
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the room is adjourned, false otherwise</p>
765
- <aside class="tsd-sources">
766
- <ul>
767
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L991">server/src/room/room.ts:991</a></li></ul></aside></div></li></ul></section>
768
- <section class="tsd-panel tsd-member">
769
- <h3 class="tsd-anchor-link" id="iswaitingforhuman"><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span><a href="#iswaitingforhuman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
770
- <ul class="tsd-signatures">
771
- <li class="">
772
- <div class="tsd-signature tsd-anchor-link" id="iswaitingforhuman-1"><span class="tsd-kind-call-signature">isWaitingForHuman</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#iswaitingforhuman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
773
- <div class="tsd-description">
774
- <div class="tsd-comment tsd-typography"><p>True when the room is idle pending input from the human-controlled agent.</p>
775
- <p>This is distinct from <code>isProcessingInProgress()</code>: after an agent addresses
776
- the human, the room intentionally leaves processing &quot;in progress&quot; while it
777
- waits for the human's reply (the human's perceive never fires a response
778
- callback). Hosts should use this flag — not <code>processingInProgress</code> — to
779
- decide whether to show a typing indicator.</p>
780
- </div>
781
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
782
- <ul>
783
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2762">server/src/room/room.ts:2762</a></li></ul></aside></div></li></ul></section>
784
- <section class="tsd-panel tsd-member">
785
- <h3 class="tsd-anchor-link" id="moderate"><span>moderate</span><a href="#moderate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
786
- <ul class="tsd-signatures">
787
- <li class="">
788
- <div class="tsd-signature tsd-anchor-link" id="moderate-1"><span class="tsd-kind-call-signature">moderate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">moderatorAgent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">onResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">note</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#moderate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
789
- <div class="tsd-description">
790
- <div class="tsd-comment tsd-typography"><p>Moderator agent evaluates and routes a message (moved from Agent)</p>
791
- </div>
792
- <div class="tsd-parameters">
793
- <h4 class="tsd-parameters-title">Parameters</h4>
794
- <ul class="tsd-parameter-list">
795
- <li><span><span class="tsd-kind-parameter">moderatorAgent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
796
- <div class="tsd-comment tsd-typography"><p>The moderator agent</p>
797
- </div></li>
798
- <li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span>
799
- <div class="tsd-comment tsd-typography"><p>RoomMessage to moderate</p>
800
- </div></li>
801
- <li><span><span class="tsd-kind-parameter">onResponse</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span>
802
- <div class="tsd-comment tsd-typography"><p>Callback with routing decision</p>
803
- </div></li>
804
- <li><span><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">note</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span>
805
- <ul class="tsd-parameters">
806
- <li class="tsd-parameter">
807
- <h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">note</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
808
- <div class="tsd-comment tsd-typography"><p>Extra instruction for this one routing decision, put in the
809
- transient prompt so it never enters the moderator's cached prefix</p>
810
- </div></li></ul></li></ul></div>
811
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
812
- <ul>
813
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L1991">server/src/room/room.ts:1991</a></li></ul></aside></div></li></ul></section>
814
- <section class="tsd-panel tsd-member">
815
- <h3 class="tsd-anchor-link" id="notifystatechange"><span>notify<wbr/>State<wbr/>Change</span><a href="#notifystatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
816
- <ul class="tsd-signatures">
817
- <li class="">
818
- <div class="tsd-signature tsd-anchor-link" id="notifystatechange-1"><span class="tsd-kind-call-signature">notifyStateChange</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#notifystatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
819
- <div class="tsd-description">
820
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
821
- <ul>
822
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2339">server/src/room/room.ts:2339</a></li></ul></aside></div></li></ul></section>
823
- <section class="tsd-panel tsd-member">
824
- <h3 class="tsd-anchor-link" id="pause"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
825
- <ul class="tsd-signatures">
826
- <li class="">
827
- <div class="tsd-signature tsd-anchor-link" id="pause-1"><span class="tsd-kind-call-signature">pause</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#pause-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
828
- <div class="tsd-description">
829
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
830
- <ul>
831
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2779">server/src/room/room.ts:2779</a></li></ul></aside></div></li></ul></section>
832
- <section class="tsd-panel tsd-member">
833
- <h3 class="tsd-anchor-link" id="perceive"><span>perceive</span><a href="#perceive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
834
- <ul class="tsd-signatures">
835
- <li class="">
836
- <div class="tsd-signature tsd-anchor-link" id="perceive-1"><span class="tsd-kind-call-signature">perceive</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">onResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">continuing</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#perceive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
837
- <div class="tsd-description">
838
- <div class="tsd-comment tsd-typography"><p>Allows an agent to perceive messages and generate a response (moved from Agent)</p>
839
- </div>
840
- <div class="tsd-parameters">
841
- <h4 class="tsd-parameters-title">Parameters</h4>
842
- <ul class="tsd-parameter-list">
843
- <li><span><span class="tsd-kind-parameter">agent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
844
- <div class="tsd-comment tsd-typography"><p>The agent that is perceiving</p>
845
- </div></li>
846
- <li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
847
- <li><span><span class="tsd-kind-parameter">onResponse</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span>
848
- <div class="tsd-comment tsd-typography"><p>Callback with agent's response or null</p>
849
- </div></li>
850
- <li><span><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">continuing</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div>
851
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
852
- <ul>
853
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L1943">server/src/room/room.ts:1943</a></li></ul></aside></div></li></ul></section>
854
- <section class="tsd-panel tsd-member">
855
- <h3 class="tsd-anchor-link" id="publishartifact"><span>publish<wbr/>Artifact</span><a href="#publishartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
856
- <ul class="tsd-signatures">
857
- <li class="">
858
- <div class="tsd-signature tsd-anchor-link" id="publishartifact-1"><span class="tsd-kind-call-signature">publishArtifact</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">creator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">body</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">viewers</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">transient</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><a href="#publishartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
859
- <div class="tsd-description">
860
- <div class="tsd-comment tsd-typography"><p>Creates or updates an artifact with PUBLISH action
861
- If body is empty, deletes the artifact instead</p>
862
- </div>
863
- <div class="tsd-parameters">
864
- <h4 class="tsd-parameters-title">Parameters</h4>
865
- <ul class="tsd-parameter-list">
866
- <li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
867
- <div class="tsd-comment tsd-typography"><p>The name of the artifact</p>
868
- </div></li>
869
- <li><span><span class="tsd-kind-parameter">creator</span>: <span class="tsd-signature-type">string</span></span>
870
- <div class="tsd-comment tsd-typography"><p>The name of the agent who created it</p>
871
- </div></li>
872
- <li><span><span class="tsd-kind-parameter">body</span>: <span class="tsd-signature-type">string</span></span>
873
- <div class="tsd-comment tsd-typography"><p>The content of the artifact (empty body will delete the artifact)</p>
874
- </div></li>
875
- <li><span><span class="tsd-kind-parameter">viewers</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></span>
876
- <div class="tsd-comment tsd-typography"><p>Array of agent names who can view the artifact</p>
877
- </div></li>
878
- <li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">transient</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
879
- <h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a></h4><p>The created or updated artifact, or null if deleted</p>
880
- <aside class="tsd-sources">
881
- <ul>
882
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2138">server/src/room/room.ts:2138</a></li></ul></aside></div></li></ul></section>
883
- <section class="tsd-panel tsd-member">
884
- <h3 class="tsd-anchor-link" id="ready"><span>ready</span><a href="#ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
885
- <ul class="tsd-signatures">
886
- <li class="">
887
- <div class="tsd-signature tsd-anchor-link" id="ready-1"><span class="tsd-kind-call-signature">ready</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#ready-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
888
- <div class="tsd-description">
889
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
890
- <ul>
891
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L434">server/src/room/room.ts:434</a></li></ul></aside></div></li></ul></section>
892
- <section class="tsd-panel tsd-member">
893
- <h3 class="tsd-anchor-link" id="removeonstatechange"><span>remove<wbr/>On<wbr/>State<wbr/>Change</span><a href="#removeonstatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
894
- <ul class="tsd-signatures">
895
- <li class="">
896
- <div class="tsd-signature tsd-anchor-link" id="removeonstatechange-1"><span class="tsd-kind-call-signature">removeOnStateChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removeonstatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
897
- <div class="tsd-description">
898
- <div class="tsd-comment tsd-typography"><p>Removes a previously-registered state-change listener.</p>
899
- </div>
900
- <div class="tsd-parameters">
901
- <h4 class="tsd-parameters-title">Parameters</h4>
902
- <ul class="tsd-parameter-list">
903
- <li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
904
- <div class="tsd-comment tsd-typography"><p>The key passed to <a href="#setonstatechange" class="tsd-kind-method">setOnStateChange</a></p>
905
- </div></li></ul></div>
906
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
907
- <ul>
908
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2335">server/src/room/room.ts:2335</a></li></ul></aside></div></li></ul></section>
909
- <section class="tsd-panel tsd-member">
910
- <h3 class="tsd-anchor-link" id="renameagent"><span>rename<wbr/>Agent</span><a href="#renameagent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
911
- <ul class="tsd-signatures">
912
- <li class="">
913
- <div class="tsd-signature tsd-anchor-link" id="renameagent-1"><span class="tsd-kind-call-signature">renameAgent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">from</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RenameResult</span><a href="#renameagent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
914
- <div class="tsd-description">
915
- <div class="tsd-comment tsd-typography"><p>Renames an agent, and everything in this room that named it.</p>
916
- <p>A room routes by nickname and nothing else, so an agent whose character is
917
- called something different gives every other agent two names for one person.
918
- The Dungeon Master addresses the character, the room has never heard of them,
919
- and the message falls through to the moderator — see
920
- namesNobodyInADirectedRoom, which exists to catch exactly that and
921
- once absorbed about a quarter of a campaign's calls. This is the fix that
922
- makes the workaround unnecessary: give the agent the character's name.</p>
923
- <p>Expensive in the same way <a href="../interfaces/ToolRoomAccess.html#setdescription" class="tsd-kind-method">ToolRoomAccess.setDescription</a> is, and for
924
- the same reason: the roster sits in every agent's <em>cached</em> prompt prefix, so
925
- a rename throws away the whole room's cache. Character creation is the moment
926
- for it, because play has not started; mid-scene it is a real cost.</p>
927
- <p><strong>History is deliberately not rewritten.</strong> Past messages are a record of what
928
- was said, and rewriting them would mean parsing and re-serializing every
929
- entry, with compaction summaries reachable only by regex. Instead every agent
930
- is told, once, that the name changed — which is what lets them reconcile a
931
- roster that says <code>Leah</code> with a history that says <code>StudentOne</code>.</p>
932
- </div>
933
- <div class="tsd-parameters">
934
- <h4 class="tsd-parameters-title">Parameters</h4>
935
- <ul class="tsd-parameter-list">
936
- <li><span><span class="tsd-kind-parameter">from</span>: <span class="tsd-signature-type">string</span></span>
937
- <div class="tsd-comment tsd-typography"><p>The agent to rename, matched the way messages are routed</p>
938
- </div></li>
939
- <li><span><span class="tsd-kind-parameter">to</span>: <span class="tsd-signature-type">string</span></span>
940
- <div class="tsd-comment tsd-typography"><p>The new name — a character name, which may be longer than a nickname</p>
941
- </div></li></ul></div>
942
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">RenameResult</span></h4><p>What happened, including the reason when nothing did</p>
943
- <aside class="tsd-sources">
944
- <ul>
945
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L841">server/src/room/room.ts:841</a></li></ul></aside></div></li></ul></section>
946
- <section class="tsd-panel tsd-member">
947
- <h3 class="tsd-anchor-link" id="repointnickname"><span>repoint<wbr/>Nickname</span><a href="#repointnickname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
948
- <ul class="tsd-signatures">
949
- <li class="">
950
- <div class="tsd-signature tsd-anchor-link" id="repointnickname-1"><span class="tsd-kind-call-signature">repointNickname</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">previous</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">nickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#repointnickname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
951
- <div class="tsd-description">
952
- <div class="tsd-comment tsd-typography"><p>Repoints everything in <em>this room</em> that named an agent, and tells the room.</p>
953
- <p>The room-side half of a rename, split out because an agent may sit in more
954
- than one room while its own record is only mutated once. <a href="#renameagent" class="tsd-kind-method">renameAgent</a>
955
- is this plus the agent itself.</p>
956
- </div>
957
- <div class="tsd-parameters">
958
- <h4 class="tsd-parameters-title">Parameters</h4>
959
- <ul class="tsd-parameter-list">
960
- <li><span><span class="tsd-kind-parameter">previous</span>: <span class="tsd-signature-type">string</span></span>
961
- <div class="tsd-comment tsd-typography"><p>The nickname being replaced</p>
962
- </div></li>
963
- <li><span><span class="tsd-kind-parameter">nickname</span>: <span class="tsd-signature-type">string</span></span>
964
- <div class="tsd-comment tsd-typography"><p>The nickname replacing it</p>
965
- </div></li></ul></div>
966
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>How many artifacts changed</p>
967
- <aside class="tsd-sources">
968
- <ul>
969
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L919">server/src/room/room.ts:919</a></li></ul></aside></div></li></ul></section>
970
- <section class="tsd-panel tsd-member">
971
- <h3 class="tsd-anchor-link" id="resume"><span>resume</span><a href="#resume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
972
- <ul class="tsd-signatures">
973
- <li class="">
974
- <div class="tsd-signature tsd-anchor-link" id="resume-1"><span class="tsd-kind-call-signature">resume</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#resume-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
975
- <div class="tsd-description">
976
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
977
- <ul>
978
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2792">server/src/room/room.ts:2792</a></li></ul></aside></div></li></ul></section>
979
- <section class="tsd-panel tsd-member">
980
- <h3 class="tsd-anchor-link" id="savemessages"><span>save<wbr/>Messages</span><a href="#savemessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
981
- <ul class="tsd-signatures">
982
- <li class="">
983
- <div class="tsd-signature tsd-anchor-link" id="savemessages-1"><span class="tsd-kind-call-signature">saveMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#savemessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
984
- <div class="tsd-description">
985
- <div class="tsd-comment tsd-typography"><p>Saves messages incrementally to disk</p>
986
- </div>
987
- <div class="tsd-parameters">
988
- <h4 class="tsd-parameters-title">Parameters</h4>
989
- <ul class="tsd-parameter-list">
990
- <li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span>
991
- <div class="tsd-comment tsd-typography"><p>The new messages to append</p>
992
- </div></li></ul></div>
993
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
994
- <ul>
995
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2290">server/src/room/room.ts:2290</a></li></ul></aside></div></li></ul></section>
996
- <section class="tsd-panel tsd-member">
997
- <h3 class="tsd-anchor-link" id="savemetadata"><span>save<wbr/>Metadata</span><a href="#savemetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
998
- <ul class="tsd-signatures">
999
- <li class="">
1000
- <div class="tsd-signature tsd-anchor-link" id="savemetadata-1"><span class="tsd-kind-call-signature">saveMetadata</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#savemetadata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1001
- <div class="tsd-description">
1002
- <div class="tsd-comment tsd-typography"><p>Saves the room metadata to disk</p>
1003
- </div>
1004
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
1005
- <ul>
1006
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2304">server/src/room/room.ts:2304</a></li></ul></aside></div></li></ul></section>
1007
- <section class="tsd-panel tsd-member">
1008
- <h3 class="tsd-anchor-link" id="setagents"><span>set<wbr/>Agents</span><a href="#setagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1009
- <ul class="tsd-signatures">
1010
- <li class="">
1011
- <div class="tsd-signature tsd-anchor-link" id="setagents-1"><span class="tsd-kind-call-signature">setAgents</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">newAgents</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1012
- <div class="tsd-description">
1013
- <div class="tsd-comment tsd-typography"><p>Replaces all agents in the room with new agents</p>
1014
- </div>
1015
- <div class="tsd-parameters">
1016
- <h4 class="tsd-parameters-title">Parameters</h4>
1017
- <ul class="tsd-parameter-list">
1018
- <li><span><span class="tsd-kind-parameter">newAgents</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></span>
1019
- <div class="tsd-comment tsd-typography"><p>Array of agents to set</p>
1020
- </div></li></ul></div>
1021
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1022
- <ul>
1023
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L378">server/src/room/room.ts:378</a></li></ul></aside></div></li></ul></section>
1024
- <section class="tsd-panel tsd-member">
1025
- <h3 class="tsd-anchor-link" id="setartifacts"><span>set<wbr/>Artifacts</span><a href="#setartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1026
- <ul class="tsd-signatures">
1027
- <li class="">
1028
- <div class="tsd-signature tsd-anchor-link" id="setartifacts-1"><span class="tsd-kind-call-signature">setArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">artifacts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1029
- <div class="tsd-description">
1030
- <div class="tsd-comment tsd-typography"><p>Sets the room's artifacts (used when loading from storage)</p>
1031
- </div>
1032
- <div class="tsd-parameters">
1033
- <h4 class="tsd-parameters-title">Parameters</h4>
1034
- <ul class="tsd-parameter-list">
1035
- <li><span><span class="tsd-kind-parameter">artifacts</span>: <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></span>
1036
- <div class="tsd-comment tsd-typography"><p>Array of artifacts to set</p>
1037
- </div></li></ul></div>
1038
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1039
- <ul>
1040
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L999">server/src/room/room.ts:999</a></li></ul></aside></div></li></ul></section>
1041
- <section class="tsd-panel tsd-member">
1042
- <h3 class="tsd-anchor-link" id="setbaseroomdir"><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span><a href="#setbaseroomdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1043
- <ul class="tsd-signatures">
1044
- <li class="">
1045
- <div class="tsd-signature tsd-anchor-link" id="setbaseroomdir-1"><span class="tsd-kind-call-signature">setBaseRoomDir</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setbaseroomdir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1046
- <div class="tsd-description">
1047
- <div class="tsd-parameters">
1048
- <h4 class="tsd-parameters-title">Parameters</h4>
1049
- <ul class="tsd-parameter-list">
1050
- <li><span><span class="tsd-kind-parameter">dir</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1051
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1052
- <ul>
1053
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L304">server/src/room/room.ts:304</a></li></ul></aside></div></li></ul></section>
1054
- <section class="tsd-panel tsd-member">
1055
- <h3 class="tsd-anchor-link" id="setcreatedat"><span>set<wbr/>Created<wbr/>At</span><a href="#setcreatedat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1056
- <ul class="tsd-signatures">
1057
- <li class="">
1058
- <div class="tsd-signature tsd-anchor-link" id="setcreatedat-1"><span class="tsd-kind-call-signature">setCreatedAt</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">date</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcreatedat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1059
- <div class="tsd-description">
1060
- <div class="tsd-parameters">
1061
- <h4 class="tsd-parameters-title">Parameters</h4>
1062
- <ul class="tsd-parameter-list">
1063
- <li><span><span class="tsd-kind-parameter">date</span>: <span class="tsd-signature-type">Date</span></span></li></ul></div>
1064
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1065
- <ul>
1066
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L803">server/src/room/room.ts:803</a></li></ul></aside></div></li></ul></section>
1067
- <section class="tsd-panel tsd-member">
1068
- <h3 class="tsd-anchor-link" id="setcurrentspeaker"><span>set<wbr/>Current<wbr/>Speaker</span><a href="#setcurrentspeaker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1069
- <ul class="tsd-signatures">
1070
- <li class="">
1071
- <div class="tsd-signature tsd-anchor-link" id="setcurrentspeaker-1"><span class="tsd-kind-call-signature">setCurrentSpeaker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcurrentspeaker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1072
- <div class="tsd-description">
1073
- <div class="tsd-parameters">
1074
- <h4 class="tsd-parameters-title">Parameters</h4>
1075
- <ul class="tsd-parameter-list">
1076
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1077
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1078
- <ul>
1079
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L451">server/src/room/room.ts:451</a></li></ul></aside></div></li></ul></section>
1080
- <section class="tsd-panel tsd-member">
1081
- <h3 class="tsd-anchor-link" id="setgoal"><span>set<wbr/>Goal</span><a href="#setgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1082
- <ul class="tsd-signatures">
1083
- <li class="">
1084
- <div class="tsd-signature tsd-anchor-link" id="setgoal-1"><span class="tsd-kind-call-signature">setGoal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1085
- <div class="tsd-description">
1086
- <div class="tsd-parameters">
1087
- <h4 class="tsd-parameters-title">Parameters</h4>
1088
- <ul class="tsd-parameter-list">
1089
- <li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1090
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1091
- <ul>
1092
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L296">server/src/room/room.ts:296</a></li></ul></aside></div></li></ul></section>
1093
- <section class="tsd-panel tsd-member">
1094
- <h3 class="tsd-anchor-link" id="setid"><span>set<wbr/>Id</span><a href="#setid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1095
- <ul class="tsd-signatures">
1096
- <li class="">
1097
- <div class="tsd-signature tsd-anchor-link" id="setid-1"><span class="tsd-kind-call-signature">setId</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1098
- <div class="tsd-description">
1099
- <div class="tsd-parameters">
1100
- <h4 class="tsd-parameters-title">Parameters</h4>
1101
- <ul class="tsd-parameter-list">
1102
- <li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1103
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1104
- <ul>
1105
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2254">server/src/room/room.ts:2254</a></li></ul></aside></div></li></ul></section>
1106
- <section class="tsd-panel tsd-member">
1107
- <h3 class="tsd-anchor-link" id="setloading"><span>set<wbr/>Loading</span><a href="#setloading" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1108
- <ul class="tsd-signatures">
1109
- <li class="">
1110
- <div class="tsd-signature tsd-anchor-link" id="setloading-1"><span class="tsd-kind-call-signature">setLoading</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isLoading</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setloading-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1111
- <div class="tsd-description">
1112
- <div class="tsd-parameters">
1113
- <h4 class="tsd-parameters-title">Parameters</h4>
1114
- <ul class="tsd-parameter-list">
1115
- <li><span><span class="tsd-kind-parameter">isLoading</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
1116
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1117
- <ul>
1118
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L280">server/src/room/room.ts:280</a></li></ul></aside></div></li></ul></section>
1119
- <section class="tsd-panel tsd-member">
1120
- <h3 class="tsd-anchor-link" id="setmoderator"><span>set<wbr/>Moderator</span><a href="#setmoderator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1121
- <ul class="tsd-signatures">
1122
- <li class="">
1123
- <div class="tsd-signature tsd-anchor-link" id="setmoderator-1"><span class="tsd-kind-call-signature">setModerator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setmoderator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1124
- <div class="tsd-description">
1125
- <div class="tsd-comment tsd-typography"><p>Names the agent that places messages the room cannot route mechanically.</p>
1126
- </div>
1127
- <div class="tsd-parameters">
1128
- <h4 class="tsd-parameters-title">Parameters</h4>
1129
- <ul class="tsd-parameter-list">
1130
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
1131
- <div class="tsd-comment tsd-typography"><p>The moderator's nickname; empty clears it</p>
1132
- </div></li></ul></div>
1133
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1134
- <ul>
1135
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L425">server/src/room/room.ts:425</a></li></ul></aside></div></li></ul></section>
1136
- <section class="tsd-panel tsd-member">
1137
- <h3 class="tsd-anchor-link" id="setname"><span>set<wbr/>Name</span><a href="#setname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1138
- <ul class="tsd-signatures">
1139
- <li class="">
1140
- <div class="tsd-signature tsd-anchor-link" id="setname-1"><span class="tsd-kind-call-signature">setName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1141
- <div class="tsd-description">
1142
- <div class="tsd-parameters">
1143
- <h4 class="tsd-parameters-title">Parameters</h4>
1144
- <ul class="tsd-parameter-list">
1145
- <li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1146
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1147
- <ul>
1148
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L288">server/src/room/room.ts:288</a></li></ul></aside></div></li></ul></section>
1149
- <section class="tsd-panel tsd-member">
1150
- <h3 class="tsd-anchor-link" id="setonerror"><span>set<wbr/>On<wbr/>Error</span><a href="#setonerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1151
- <ul class="tsd-signatures">
1152
- <li class="">
1153
- <div class="tsd-signature tsd-anchor-link" id="setonerror-1"><span class="tsd-kind-call-signature">setOnError</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonerror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1154
- <div class="tsd-description">
1155
- <div class="tsd-comment tsd-typography"><p>Subscribes to errors raised while running a turn.</p>
1156
- <p>Keyed like <a href="#setonstatechange" class="tsd-kind-method">setOnStateChange</a>, and for the same reason: more than one
1157
- thing wants to hear about a failed turn. A single-callback setter meant the
1158
- last caller silently replaced the first — the SDK's bridge onto the room's
1159
- update stream and a story's own handler could not both exist, and whichever
1160
- registered second won without any sign that it had taken the other's place.</p>
1161
- </div>
1162
- <div class="tsd-parameters">
1163
- <h4 class="tsd-parameters-title">Parameters</h4>
1164
- <ul class="tsd-parameter-list">
1165
- <li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
1166
- <div class="tsd-comment tsd-typography"><p>Identifies the subscriber; registering the same key twice replaces it</p>
1167
- </div></li>
1168
- <li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span>
1169
- <div class="tsd-comment tsd-typography"><p>Function to call on errors</p>
1170
- </div></li></ul></div>
1171
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1172
- <ul>
1173
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2357">server/src/room/room.ts:2357</a></li></ul></aside></div></li></ul></section>
1174
- <section class="tsd-panel tsd-member">
1175
- <h3 class="tsd-anchor-link" id="setonmoderatorresponse"><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span><a href="#setonmoderatorresponse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1176
- <ul class="tsd-signatures">
1177
- <li class="">
1178
- <div class="tsd-signature tsd-anchor-link" id="setonmoderatorresponse-1"><span class="tsd-kind-call-signature">setOnModeratorResponse</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonmoderatorresponse-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1179
- <div class="tsd-description">
1180
- <div class="tsd-parameters">
1181
- <h4 class="tsd-parameters-title">Parameters</h4>
1182
- <ul class="tsd-parameter-list">
1183
- <li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li></ul></div>
1184
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1185
- <ul>
1186
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2551">server/src/room/room.ts:2551</a></li></ul></aside></div></li></ul></section>
1187
- <section class="tsd-panel tsd-member">
1188
- <h3 class="tsd-anchor-link" id="setonsituationupdate"><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span><a href="#setonsituationupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1189
- <ul class="tsd-signatures">
1190
- <li class="">
1191
- <div class="tsd-signature tsd-anchor-link" id="setonsituationupdate-1"><span class="tsd-kind-call-signature">setOnSituationUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">messageBody</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonsituationupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1192
- <div class="tsd-description">
1193
- <div class="tsd-comment tsd-typography"><p>Sets a callback to be invoked whenever situation changes</p>
1194
- </div>
1195
- <div class="tsd-parameters">
1196
- <h4 class="tsd-parameters-title">Parameters</h4>
1197
- <ul class="tsd-parameter-list">
1198
- <li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">messageBody</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></span>
1199
- <div class="tsd-comment tsd-typography"><p>Function to call with new situation</p>
1200
- </div></li></ul></div>
1201
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1202
- <ul>
1203
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2545">server/src/room/room.ts:2545</a></li></ul></aside></div></li></ul></section>
1204
- <section class="tsd-panel tsd-member">
1205
- <h3 class="tsd-anchor-link" id="setonstatechange"><span>set<wbr/>On<wbr/>State<wbr/>Change</span><a href="#setonstatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1206
- <ul class="tsd-signatures">
1207
- <li class="">
1208
- <div class="tsd-signature tsd-anchor-link" id="setonstatechange-1"><span class="tsd-kind-call-signature">setOnStateChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonstatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1209
- <div class="tsd-description">
1210
- <div class="tsd-comment tsd-typography"><p>Registers a state-change listener under a stable key. Each key holds at most
1211
- one listener — re-registering with the same key replaces its callback.
1212
- Different keys can coexist so multiple subsystems (e.g. the rooms SSE endpoint
1213
- and the story service) both receive notifications without clobbering each other.</p>
1214
- </div>
1215
- <div class="tsd-parameters">
1216
- <h4 class="tsd-parameters-title">Parameters</h4>
1217
- <ul class="tsd-parameter-list">
1218
- <li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
1219
- <div class="tsd-comment tsd-typography"><p>Stable identifier for the subsystem (e.g. 'app-service', 'story')</p>
1220
- </div></li>
1221
- <li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span>
1222
- <div class="tsd-comment tsd-typography"><p>Function to call on state changes</p>
1223
- </div></li></ul></div>
1224
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1225
- <ul>
1226
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2327">server/src/room/room.ts:2327</a></li></ul></aside></div></li></ul></section>
1227
- <section class="tsd-panel tsd-member">
1228
- <h3 class="tsd-anchor-link" id="setpack"><span>set<wbr/>Pack</span><a href="#setpack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1229
- <ul class="tsd-signatures">
1230
- <li class="">
1231
- <div class="tsd-signature tsd-anchor-link" id="setpack-1"><span class="tsd-kind-call-signature">setPack</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pack</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1232
- <div class="tsd-description">
1233
- <div class="tsd-comment tsd-typography"><p>Files this room under a pack, or clears it.</p>
1234
- </div>
1235
- <div class="tsd-parameters">
1236
- <h4 class="tsd-parameters-title">Parameters</h4>
1237
- <ul class="tsd-parameter-list">
1238
- <li><span><span class="tsd-kind-parameter">pack</span>: <span class="tsd-signature-type">string</span></span>
1239
- <div class="tsd-comment tsd-typography"><p>The pack name; empty or undefined clears it</p>
1240
- </div></li></ul></div>
1241
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1242
- <ul>
1243
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L338">server/src/room/room.ts:338</a></li></ul></aside></div></li></ul></section>
1244
- <section class="tsd-panel tsd-member">
1245
- <h3 class="tsd-anchor-link" id="setpackroomkey"><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span><a href="#setpackroomkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1246
- <ul class="tsd-signatures">
1247
- <li class="">
1248
- <div class="tsd-signature tsd-anchor-link" id="setpackroomkey-1"><span class="tsd-kind-call-signature">setPackRoomKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpackroomkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1249
- <div class="tsd-description">
1250
- <div class="tsd-parameters">
1251
- <h4 class="tsd-parameters-title">Parameters</h4>
1252
- <ul class="tsd-parameter-list">
1253
- <li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1254
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1255
- <ul>
1256
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L347">server/src/room/room.ts:347</a></li></ul></aside></div></li></ul></section>
1257
- <section class="tsd-panel tsd-member">
1258
- <h3 class="tsd-anchor-link" id="setpublished"><span>set<wbr/>Published</span><a href="#setpublished" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1259
- <ul class="tsd-signatures">
1260
- <li class="">
1261
- <div class="tsd-signature tsd-anchor-link" id="setpublished-1"><span class="tsd-kind-call-signature">setPublished</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">published</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpublished-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1262
- <div class="tsd-description">
1263
- <div class="tsd-parameters">
1264
- <h4 class="tsd-parameters-title">Parameters</h4>
1265
- <ul class="tsd-parameter-list">
1266
- <li><span><span class="tsd-kind-parameter">published</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
1267
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1268
- <ul>
1269
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L312">server/src/room/room.ts:312</a></li></ul></aside></div></li></ul></section>
1270
- <section class="tsd-panel tsd-member">
1271
- <h3 class="tsd-anchor-link" id="setroomleader"><span>set<wbr/>Room<wbr/>Leader</span><a href="#setroomleader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1272
- <ul class="tsd-signatures">
1273
- <li class="">
1274
- <div class="tsd-signature tsd-anchor-link" id="setroomleader-1"><span class="tsd-kind-call-signature">setRoomLeader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroomleader-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1275
- <div class="tsd-description">
1276
- <div class="tsd-parameters">
1277
- <h4 class="tsd-parameters-title">Parameters</h4>
1278
- <ul class="tsd-parameter-list">
1279
- <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1280
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1281
- <ul>
1282
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L389">server/src/room/room.ts:389</a></li></ul></aside></div></li></ul></section>
1283
- <section class="tsd-panel tsd-member">
1284
- <h3 class="tsd-anchor-link" id="setroommessages"><span>set<wbr/>Room<wbr/>Messages</span><a href="#setroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1285
- <ul class="tsd-signatures">
1286
- <li class="">
1287
- <div class="tsd-signature tsd-anchor-link" id="setroommessages-1"><span class="tsd-kind-call-signature">setRoomMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1288
- <div class="tsd-description">
1289
- <div class="tsd-parameters">
1290
- <h4 class="tsd-parameters-title">Parameters</h4>
1291
- <ul class="tsd-parameter-list">
1292
- <li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
1293
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1294
- <ul>
1295
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L758">server/src/room/room.ts:758</a></li></ul></aside></div></li></ul></section>
1296
- <section class="tsd-panel tsd-member">
1297
- <h3 class="tsd-anchor-link" id="setroomstoreservice"><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span><a href="#setroomstoreservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1298
- <ul class="tsd-signatures">
1299
- <li class="">
1300
- <div class="tsd-signature tsd-anchor-link" id="setroomstoreservice-1"><span class="tsd-kind-call-signature">setRoomStoreService</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroomstoreservice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1301
- <div class="tsd-description">
1302
- <div class="tsd-parameters">
1303
- <h4 class="tsd-parameters-title">Parameters</h4>
1304
- <ul class="tsd-parameter-list">
1305
- <li><span><span class="tsd-kind-parameter">service</span>: <span class="tsd-signature-type">any</span></span></li></ul></div>
1306
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1307
- <ul>
1308
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2270">server/src/room/room.ts:2270</a></li></ul></aside></div></li></ul></section>
1309
- <section class="tsd-panel tsd-member">
1310
- <h3 class="tsd-anchor-link" id="setsituation"><span>set<wbr/>Situation</span><a href="#setsituation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1311
- <ul class="tsd-signatures">
1312
- <li class="">
1313
- <div class="tsd-signature tsd-anchor-link" id="setsituation-1"><span class="tsd-kind-call-signature">setSituation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setsituation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1314
- <div class="tsd-description">
1315
- <div class="tsd-comment tsd-typography"><p>Sets the current story situation</p>
1316
- </div>
1317
- <div class="tsd-parameters">
1318
- <h4 class="tsd-parameters-title">Parameters</h4>
1319
- <ul class="tsd-parameter-list">
1320
- <li><span><span class="tsd-kind-parameter">situation</span>: <span class="tsd-signature-type">string</span></span>
1321
- <div class="tsd-comment tsd-typography"><p>The situation string to set</p>
1322
- </div></li></ul></div>
1323
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1324
- <ul>
1325
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2537">server/src/room/room.ts:2537</a></li></ul></aside></div></li></ul></section>
1326
- <section class="tsd-panel tsd-member">
1327
- <h3 class="tsd-anchor-link" id="setsituationtime"><span>set<wbr/>Situation<wbr/>Time</span><a href="#setsituationtime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1328
- <ul class="tsd-signatures">
1329
- <li class="">
1330
- <div class="tsd-signature tsd-anchor-link" id="setsituationtime-1"><span class="tsd-kind-call-signature">setSituationTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setsituationtime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1331
- <div class="tsd-description">
1332
- <div class="tsd-comment tsd-typography"><p>Sets the current in-story time (24-hour &quot;HH:MM&quot;).</p>
1333
- </div>
1334
- <div class="tsd-parameters">
1335
- <h4 class="tsd-parameters-title">Parameters</h4>
1336
- <ul class="tsd-parameter-list">
1337
- <li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span>
1338
- <div class="tsd-comment tsd-typography"><p>The time string to set</p>
1339
- </div></li></ul></div>
1340
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1341
- <ul>
1342
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2510">server/src/room/room.ts:2510</a></li></ul></aside></div></li></ul></section>
1343
- <section class="tsd-panel tsd-member">
1344
- <h3 class="tsd-anchor-link" id="setstoragedir"><span>set<wbr/>Storage<wbr/>Dir</span><a href="#setstoragedir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1345
- <ul class="tsd-signatures">
1346
- <li class="">
1347
- <div class="tsd-signature tsd-anchor-link" id="setstoragedir-1"><span class="tsd-kind-call-signature">setStorageDir</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setstoragedir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1348
- <div class="tsd-description">
1349
- <div class="tsd-parameters">
1350
- <h4 class="tsd-parameters-title">Parameters</h4>
1351
- <ul class="tsd-parameter-list">
1352
- <li><span><span class="tsd-kind-parameter">dir</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1353
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1354
- <ul>
1355
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L2262">server/src/room/room.ts:2262</a></li></ul></aside></div></li></ul></section>
1356
- <section class="tsd-panel tsd-member">
1357
- <h3 class="tsd-anchor-link" id="settemplateroomid"><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span><a href="#settemplateroomid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1358
- <ul class="tsd-signatures">
1359
- <li class="">
1360
- <div class="tsd-signature tsd-anchor-link" id="settemplateroomid-1"><span class="tsd-kind-call-signature">setTemplateRoomId</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">templateId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#settemplateroomid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1361
- <div class="tsd-description">
1362
- <div class="tsd-parameters">
1363
- <h4 class="tsd-parameters-title">Parameters</h4>
1364
- <ul class="tsd-parameter-list">
1365
- <li><span><span class="tsd-kind-parameter">templateId</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1366
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1367
- <ul>
1368
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L325">server/src/room/room.ts:325</a></li></ul></aside></div></li></ul></section>
1369
- <section class="tsd-panel tsd-member">
1370
- <h3 class="tsd-anchor-link" id="setturnmode"><span>set<wbr/>Turn<wbr/>Mode</span><a href="#setturnmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1371
- <ul class="tsd-signatures">
1372
- <li class="">
1373
- <div class="tsd-signature tsd-anchor-link" id="setturnmode-1"><span class="tsd-kind-call-signature">setTurnMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setturnmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1374
- <div class="tsd-description">
1375
- <div class="tsd-comment tsd-typography"><p>Sets how the room chooses who responds to a message. See <a href="../types/RoomTurnMode.html" class="tsd-kind-type-alias">RoomTurnMode</a>.</p>
1376
- </div>
1377
- <div class="tsd-parameters">
1378
- <h4 class="tsd-parameters-title">Parameters</h4>
1379
- <ul class="tsd-parameter-list">
1380
- <li><span><span class="tsd-kind-parameter">mode</span>: <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a></span>
1381
- <div class="tsd-comment tsd-typography"><p>The turn mode; anything unrecognized falls back to 'broadcast'</p>
1382
- </div></li></ul></div>
1383
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
1384
- <ul>
1385
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L412">server/src/room/room.ts:412</a></li></ul></aside></div></li></ul></section>
1386
- <section class="tsd-panel tsd-member">
1387
- <h3 class="tsd-anchor-link" id="extractpreamble"><code class="tsd-tag">Static</code><span>extract<wbr/>Preamble</span><a href="#extractpreamble" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
1388
- <ul class="tsd-signatures">
1389
- <li class="">
1390
- <div class="tsd-signature tsd-anchor-link" id="extractpreamble-1"><span class="tsd-kind-call-signature">extractPreamble</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">response</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">content</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">preamble</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><a href="#extractpreamble-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
1391
- <div class="tsd-description">
1392
- <div class="tsd-comment tsd-typography"><p>Extracts an opaque &quot;preamble&quot; block from the top of an agent response.</p>
1393
- <p>A preamble is one or more consecutive <code>&lt;tag&gt;value&lt;/tag&gt;</code> lines at the
1394
- very start of the response, terminated by a blank line or non-tag
1395
- content. The captured preamble is the verbatim text of those tag
1396
- lines, suitable for downstream parsing by whoever owns the semantic
1397
- interpretation (e.g. the story service for narrator responses).</p>
1398
- <p>The Room itself never parses the preamble's contents. It just hands
1399
- the text to the situation callback so callers (story, debate, etc.)
1400
- can interpret it however they want.</p>
1401
- </div>
1402
- <div class="tsd-parameters">
1403
- <h4 class="tsd-parameters-title">Parameters</h4>
1404
- <ul class="tsd-parameter-list">
1405
- <li><span><span class="tsd-kind-parameter">response</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
1406
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">content</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">preamble</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
1407
- <ul>
1408
- <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/room/room.ts#L1172">server/src/room/room.ts:1172</a></li></ul></aside></div></li></ul></section></section></details></div>
1409
- <div class="col-sidebar">
1410
- <div class="page-menu">
1411
- <div class="tsd-navigation settings">
1412
- <details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
1413
- <h3>Settings</h3></summary>
1414
- <div class="tsd-accordion-details">
1415
- <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
1416
- <ul id="tsd-filter-options">
1417
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
1418
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
1419
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
1420
- <div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
1421
- <details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
1422
- <h3>On This Page</h3></summary>
1423
- <div class="tsd-accordion-details">
1424
- <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary>
1425
- <div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details>
1426
- <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary>
1427
- <div><a href="#addpendingmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pending<wbr/>Message</span></a><a href="#addroommessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Message</span></a><a href="#addroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Messages</span></a><a href="#arrive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>arrive</span></a><a href="#checkagentnicknamematch"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span></a><a href="#clearonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>On<wbr/>Error</span></a><a href="#clearroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Room<wbr/>Messages</span></a><a href="#conflictingnickname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>conflicting<wbr/>Nickname</span></a><a href="#deleteartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Artifact</span></a><a href="#deleteroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Room</span></a><a href="#describeagentsinroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span></a><a href="#findartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Artifact</span></a><a href="#getagentcount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agent<wbr/>Count</span></a><a href="#getagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agents</span></a><a href="#getartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Artifacts</span></a><a href="#getbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#getcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Created<wbr/>At</span></a><a href="#getcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Speaker</span></a><a href="#getdefaulthumanagent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span></a><a href="#getgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Goal</span></a><a href="#gethumanagentbyname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span></a><a href="#gethumanagentname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span></a><a href="#gethumanagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agents</span></a><a href="#getid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Id</span></a><a href="#getispublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Is<wbr/>Published</span></a><a href="#getlatestroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span></a><a href="#getmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator</span></a><a href="#getmoderatoragent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator<wbr/>Agent</span></a><a href="#getname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a><a href="#getpack"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack</span></a><a href="#getpackroomkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span></a><a href="#getpaused"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Paused</span></a><a href="#getroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Leader</span></a><a href="#getroommessagestats"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span></a><a href="#getroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#getsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation</span></a><a href="#getsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation<wbr/>Time</span></a><a href="#getstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Storage<wbr/>Dir</span></a><a href="#gettemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#gettransientartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transient<wbr/>Artifacts</span></a><a href="#getturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Turn<wbr/>Mode</span></a><a href="#getvisibleartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Visible<wbr/>Artifacts</span></a><a href="#handleadjournmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Adjourn<wbr/>Messages</span></a><a href="#handlepublishmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Publish<wbr/>Messages</span></a><a href="#interrupt"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>interrupt</span></a><a href="#isagentsturn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Agents<wbr/>Turn</span></a><a href="#ishumannickname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Human<wbr/>Nickname</span></a><a href="#isplayeraside"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player<wbr/>Aside</span></a><a href="#isprocessinginprogress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span></a><a href="#isroomadjourned"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Room<wbr/>Adjourned</span></a><a href="#iswaitingforhuman"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span></a><a href="#moderate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moderate</span></a><a href="#notifystatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>notify<wbr/>State<wbr/>Change</span></a><a href="#pause"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#perceive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>perceive</span></a><a href="#publishartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>publish<wbr/>Artifact</span></a><a href="#ready"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#removeonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#renameagent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rename<wbr/>Agent</span></a><a href="#repointnickname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>repoint<wbr/>Nickname</span></a><a href="#resume"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resume</span></a><a href="#savemessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Messages</span></a><a href="#savemetadata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Metadata</span></a><a href="#setagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Agents</span></a><a href="#setartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Artifacts</span></a><a href="#setbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#setcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Created<wbr/>At</span></a><a href="#setcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Current<wbr/>Speaker</span></a><a href="#setgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Goal</span></a><a href="#setid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Id</span></a><a href="#setloading"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Loading</span></a><a href="#setmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Moderator</span></a><a href="#setname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Name</span></a><a href="#setonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Error</span></a><a href="#setonmoderatorresponse"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span></a><a href="#setonsituationupdate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span></a><a href="#setonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#setpack"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack</span></a><a href="#setpackroomkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span></a><a href="#setpublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Published</span></a><a href="#setroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Leader</span></a><a href="#setroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Messages</span></a><a href="#setroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#setsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation</span></a><a href="#setsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation<wbr/>Time</span></a><a href="#setstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Storage<wbr/>Dir</span></a><a href="#settemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#setturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Turn<wbr/>Mode</span></a><a href="#extractpreamble"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>extract<wbr/>Preamble</span></a></div></details></div></details></div>
1428
- <div class="site-menu">
1429
- <nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
1430
- <nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
1431
- <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
1432
- <li>Loading...</li></ul></nav></div></div></div><footer>
1433
- <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
1434
- <div class="overlay"></div></body></html>