briyah 1.5.0 → 2.0.1

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 (231) hide show
  1. package/README.md +1272 -994
  2. package/data/common/config/markup +1 -1
  3. package/data/common/prompts/character/progress_character.json +5 -5
  4. package/data/common/prompts/illustrator/describe_scene.json +11 -3
  5. package/data/common/prompts/perceive.json +2 -2
  6. package/data/common/prompts/room_moderator/moderate.json +34 -34
  7. package/data/common/prompts/story_moderator/moderate.json +62 -62
  8. package/data/packs/dnd5e/agents/battle-master.json +6 -0
  9. package/data/packs/dnd5e/agents/campaign-designer.json +6 -0
  10. package/data/packs/dnd5e/agents/character-creator.json +6 -0
  11. package/data/packs/dnd5e/agents/dungeon-master.json +6 -0
  12. package/data/packs/dnd5e/agents/player.json +13 -0
  13. package/data/packs/dnd5e/agents/table-moderator.json +6 -0
  14. package/data/{common/artifacts/dnd5e/dungeon_master-procedure.md → packs/dnd5e/artifacts/battle_master-combat.md} +31 -131
  15. package/data/packs/dnd5e/artifacts/dungeon_master-procedure.md +192 -0
  16. package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/manifest.json +8 -2
  17. package/data/packs/dnd5e/pack.json +6 -0
  18. package/data/packs/dnd5e/prompts/battle_master/defaults_config.json +23 -0
  19. package/data/packs/dnd5e/prompts/battle_master/perceive.json +33 -0
  20. package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +378 -0
  21. package/data/{common → packs/dnd5e}/prompts/character_creator/defaults_config.json +1 -1
  22. package/data/{common → packs/dnd5e}/prompts/character_creator/perceive.prompt +29 -0
  23. package/data/{common → packs/dnd5e}/prompts/dnd_player/perceive.prompt +40 -22
  24. package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/moderate.json +34 -34
  25. package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/moderate.prompt +14 -3
  26. package/data/{common → packs/dnd5e}/prompts/dungeon_master/defaults_config.json +1 -0
  27. package/data/{common → packs/dnd5e}/prompts/dungeon_master/perceive.prompt +122 -115
  28. package/data/packs/dnd5e/prompts/dungeon_master/system_instruction.prompt +0 -0
  29. package/data/packs/dnd5e/rooms/table.json +16 -0
  30. package/dist-sdk/server/src/ai/LLM/base-ai.service.js +4 -13
  31. package/dist-sdk/server/src/ai/LLM/deepseek.service.d.ts +2 -1
  32. package/dist-sdk/server/src/ai/LLM/deepseek.service.js +65 -77
  33. package/dist-sdk/server/src/ai/agent-config.d.ts +2 -0
  34. package/dist-sdk/server/src/ai/agent-store.service.js +8 -0
  35. package/dist-sdk/server/src/ai/agent.d.ts +6 -0
  36. package/dist-sdk/server/src/ai/agent.js +25 -2
  37. package/dist-sdk/server/src/ai/artifact.service.d.ts +3 -1
  38. package/dist-sdk/server/src/ai/artifact.service.js +12 -5
  39. package/dist-sdk/server/src/ai/pack-artifacts.d.ts +3 -3
  40. package/dist-sdk/server/src/ai/pack-artifacts.js +21 -15
  41. package/dist-sdk/server/src/app/user-service-factory.js +9 -1
  42. package/dist-sdk/server/src/app.controller.d.ts +11 -11
  43. package/dist-sdk/server/src/app.controller.js +179 -89
  44. package/dist-sdk/server/src/app.service.d.ts +30 -7
  45. package/dist-sdk/server/src/app.service.js +146 -95
  46. package/dist-sdk/server/src/common/errors.d.ts +0 -3
  47. package/dist-sdk/server/src/common/errors.js +1 -11
  48. package/dist-sdk/server/src/config/prompt-resolver.d.ts +41 -0
  49. package/dist-sdk/server/src/config/prompt-resolver.js +196 -0
  50. package/dist-sdk/server/src/config/user-config.service.d.ts +17 -0
  51. package/dist-sdk/server/src/config/user-config.service.js +103 -0
  52. package/dist-sdk/server/src/config/user-paths.service.d.ts +4 -4
  53. package/dist-sdk/server/src/config/user-paths.service.js +12 -16
  54. package/dist-sdk/server/src/packs/pack-instantiation.service.d.ts +36 -0
  55. package/dist-sdk/server/src/packs/pack-instantiation.service.js +165 -0
  56. package/dist-sdk/server/src/packs/pack-manifest.d.ts +52 -0
  57. package/dist-sdk/server/src/packs/pack-manifest.js +256 -0
  58. package/dist-sdk/server/src/packs/pack.service.d.ts +24 -0
  59. package/dist-sdk/server/src/packs/pack.service.js +151 -0
  60. package/dist-sdk/server/src/room/room-config.d.ts +5 -0
  61. package/dist-sdk/server/src/room/room-message.service.d.ts +2 -1
  62. package/dist-sdk/server/src/room/room-message.service.js +3 -2
  63. package/dist-sdk/server/src/room/room-store.service.d.ts +3 -0
  64. package/dist-sdk/server/src/room/room-store.service.js +41 -5
  65. package/dist-sdk/server/src/room/room.d.ts +7 -0
  66. package/dist-sdk/server/src/room/room.js +33 -3
  67. package/dist-sdk/server/src/sdk/briyah.d.ts +2 -0
  68. package/dist-sdk/server/src/sdk/briyah.js +45 -8
  69. package/dist-sdk/server/src/sdk/index.d.ts +7 -2
  70. package/dist-sdk/server/src/sdk/index.js +6 -2
  71. package/dist-sdk/server/src/shared/shared.module.js +0 -3
  72. package/dist-sdk/server/src/story/story.service.d.ts +2 -2
  73. package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.d.ts +17 -0
  74. package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.js +54 -0
  75. package/dist-sdk/server/src/tools/packs/dnd5e/data/races.d.ts +3 -0
  76. package/dist-sdk/server/src/tools/packs/dnd5e/data/races.js +6 -0
  77. package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.d.ts +2 -0
  78. package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.js +4 -0
  79. package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.d.ts +1 -1
  80. package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.js +6 -3
  81. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +3 -0
  82. package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +45 -5
  83. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +27 -0
  84. package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +103 -0
  85. package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.d.ts +7 -0
  86. package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +83 -0
  87. package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.d.ts +19 -0
  88. package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.js +130 -0
  89. package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.d.ts +2 -1
  90. package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +13 -2
  91. package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.d.ts +6 -0
  92. package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.js +16 -0
  93. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +10 -0
  94. package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +82 -1
  95. package/dist-sdk/server/src/tools/packs/dnd5e/index.js +2 -0
  96. package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +51 -6
  97. package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +19 -9
  98. package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.d.ts +2 -0
  99. package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +134 -0
  100. package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +31 -13
  101. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +2 -0
  102. package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +25 -8
  103. package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +70 -4
  104. package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +27 -0
  105. package/dist-sdk/server/src/tools/packs/index.d.ts +1 -2
  106. package/dist-sdk/server/src/tools/packs/index.js +5 -11
  107. package/dist-sdk/shared/types/app.types.d.ts +81 -13
  108. package/docs/assets/hierarchy.js +1 -1
  109. package/docs/assets/highlight.css +15 -1
  110. package/docs/assets/icons.js +1 -1
  111. package/docs/assets/icons.svg +1 -1
  112. package/docs/assets/main.js +4 -4
  113. package/docs/assets/navigation.js +1 -1
  114. package/docs/assets/search.js +1 -1
  115. package/docs/assets/style.css +18 -3
  116. package/docs/classes/Agent.html +702 -37
  117. package/docs/classes/Briyah.html +250 -33
  118. package/docs/classes/BriyahConfigService.html +117 -10
  119. package/docs/classes/NativeToolRegistry.html +156 -11
  120. package/docs/classes/PackInstantiationService.html +157 -0
  121. package/docs/classes/PackService.html +247 -0
  122. package/docs/classes/Room.html +1190 -77
  123. package/docs/classes/RoomMessage.html +260 -29
  124. package/docs/enums/MessageAction.html +123 -3
  125. package/docs/functions/availableToolPacks.html +41 -2
  126. package/docs/functions/dnd5eTools.html +42 -3
  127. package/docs/functions/installToolPacks.html +48 -0
  128. package/docs/functions/registerToolPacks.html +54 -6
  129. package/docs/hierarchy.html +42 -1
  130. package/docs/index.html +301 -54
  131. package/docs/interfaces/AgentCreationOptions.html +110 -11
  132. package/docs/interfaces/AgentInfo.html +188 -3
  133. package/docs/interfaces/AgentMessagesResponse.html +71 -2
  134. package/docs/interfaces/AppService.html +2806 -474
  135. package/docs/interfaces/Artifact.html +81 -4
  136. package/docs/interfaces/ArtifactMetadata.html +104 -3
  137. package/docs/interfaces/ArtifactWriteOptions.html +75 -6
  138. package/docs/interfaces/AttachDocumentResponse.html +61 -2
  139. package/docs/interfaces/BriyahConfigOptions.html +107 -10
  140. package/docs/interfaces/ChapterInfo.html +61 -2
  141. package/docs/interfaces/Character.html +81 -2
  142. package/docs/interfaces/CreateAgentResponse.html +56 -2
  143. package/docs/interfaces/CreateRoomResponse.html +61 -2
  144. package/docs/interfaces/CreateStoryResponse.html +56 -2
  145. package/docs/interfaces/FileList.html +56 -2
  146. package/docs/interfaces/FileMetadata.html +84 -3
  147. package/docs/interfaces/IConfigService.html +76 -3
  148. package/docs/interfaces/InstantiateModels.html +64 -0
  149. package/docs/interfaces/InstantiateRoomResult.html +70 -0
  150. package/docs/interfaces/LoadedPack.html +131 -0
  151. package/docs/interfaces/LoggingOptions.html +86 -7
  152. package/docs/interfaces/Message.html +80 -2
  153. package/docs/interfaces/ModelChoice.html +73 -0
  154. package/docs/interfaces/ModelInfo.html +71 -2
  155. package/docs/interfaces/NativeToolDefinition.html +96 -9
  156. package/docs/interfaces/PackAgentTemplate.html +101 -0
  157. package/docs/interfaces/PackRoomTemplate.html +108 -0
  158. package/docs/interfaces/PackView.html +172 -0
  159. package/docs/interfaces/PreparedPromptResponse.html +61 -2
  160. package/docs/interfaces/ProcessTextResponse.html +81 -2
  161. package/docs/interfaces/PromptFile.html +69 -2
  162. package/docs/interfaces/PromptFileContent.html +75 -2
  163. package/docs/interfaces/PromptFilesResponse.html +56 -2
  164. package/docs/interfaces/PromptFolder.html +79 -2
  165. package/docs/interfaces/PromptFolderDefaults.html +136 -5
  166. package/docs/interfaces/PromptFolderDefaultsResponse.html +78 -4
  167. package/docs/interfaces/PromptFoldersResponse.html +56 -2
  168. package/docs/interfaces/RoomDetails.html +133 -4
  169. package/docs/interfaces/RoomErrorUpdate.html +82 -0
  170. package/docs/interfaces/RoomInfo.html +84 -2
  171. package/docs/interfaces/RoomMessageUpdate.html +106 -2
  172. package/docs/interfaces/RoomMessagesResponse.html +61 -2
  173. package/docs/interfaces/SendMessageResult.html +61 -2
  174. package/docs/interfaces/StoryErrorEvent.html +76 -4
  175. package/docs/interfaces/StoryIdea.html +71 -2
  176. package/docs/interfaces/StoryInfo.html +173 -3
  177. package/docs/interfaces/StoryIntroduceCharacterEvent.html +71 -4
  178. package/docs/interfaces/StoryProgressChapterEvent.html +64 -3
  179. package/docs/interfaces/StoryState.html +99 -6
  180. package/docs/interfaces/StoryStateEvent.html +69 -3
  181. package/docs/interfaces/ToolArtifact.html +81 -4
  182. package/docs/interfaces/ToolCaller.html +75 -6
  183. package/docs/interfaces/ToolDefinition.html +76 -2
  184. package/docs/interfaces/ToolHelpers.html +91 -6
  185. package/docs/interfaces/ToolParameter.html +71 -2
  186. package/docs/interfaces/ToolRoomAccess.html +200 -24
  187. package/docs/interfaces/ToolSummary.html +71 -2
  188. package/docs/interfaces/ToolsResponse.html +66 -2
  189. package/docs/interfaces/Transaction.html +96 -2
  190. package/docs/interfaces/TransactionHistoryResponse.html +61 -2
  191. package/docs/modules.html +53 -1
  192. package/docs/types/PackOrigin.html +34 -0
  193. package/docs/types/PromptScope.html +34 -1
  194. package/docs/types/RoomTurnMode.html +36 -2
  195. package/docs/types/RoomUpdate.html +36 -0
  196. package/docs/types/RosterOverrides.html +42 -0
  197. package/docs/types/ToolContext.html +36 -2
  198. package/docs/types/ToolRunResult.html +34 -1
  199. package/package.json +139 -139
  200. package/src/tools/packs/dnd5e/README.md +186 -27
  201. package/dist-sdk/server/src/library/library.service.d.ts +0 -14
  202. package/dist-sdk/server/src/library/library.service.js +0 -165
  203. package/docs/functions/enabledToolPacks.html +0 -2
  204. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/campaign_designer-setting.md +0 -0
  205. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/character_creator-basics.md +0 -0
  206. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-barbarian.md +0 -0
  207. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-bard.md +0 -0
  208. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-cleric.md +0 -0
  209. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-druid.md +0 -0
  210. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-fighter.md +0 -0
  211. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-monk.md +0 -0
  212. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-paladin.md +0 -0
  213. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-ranger.md +0 -0
  214. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-rogue.md +0 -0
  215. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-sorcerer.md +0 -0
  216. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-warlock.md +0 -0
  217. /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-wizard.md +0 -0
  218. /package/data/{common/prompts/campaign_designer → packs/dnd5e/prompts/battle_master}/system_instruction.prompt +0 -0
  219. /package/data/{common → packs/dnd5e}/prompts/campaign_designer/defaults_config.json +0 -0
  220. /package/data/{common → packs/dnd5e}/prompts/campaign_designer/perceive.json +0 -0
  221. /package/data/{common → packs/dnd5e}/prompts/campaign_designer/perceive.prompt +0 -0
  222. /package/data/{common/prompts/character_creator → packs/dnd5e/prompts/campaign_designer}/system_instruction.prompt +0 -0
  223. /package/data/{common → packs/dnd5e}/prompts/character_creator/perceive.json +0 -0
  224. /package/data/{common/prompts/dnd_player → packs/dnd5e/prompts/character_creator}/system_instruction.prompt +0 -0
  225. /package/data/{common → packs/dnd5e}/prompts/dnd_player/defaults_config.json +0 -0
  226. /package/data/{common → packs/dnd5e}/prompts/dnd_player/perceive.json +0 -0
  227. /package/data/{common/prompts/dnd_room_moderator → packs/dnd5e/prompts/dnd_player}/system_instruction.prompt +0 -0
  228. /package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/defaults_config.json +0 -0
  229. /package/data/{common/prompts/dungeon_master → packs/dnd5e/prompts/dnd_room_moderator}/system_instruction.prompt +0 -0
  230. /package/data/{common → packs/dnd5e}/prompts/dungeon_master/compact_agent.prompt +0 -0
  231. /package/data/{common → packs/dnd5e}/prompts/dungeon_master/perceive.json +0 -0
@@ -1,6 +1,36 @@
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>RoomMessage | Briyah SDK - v1.5.0</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"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v1.5.0</a><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"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><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><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">RoomMessage</a></li></ul><h1>Class RoomMessage</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Represents a message exchanged between conversations in a Room</p>
2
- </div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Message.html" class="tsd-signature-type tsd-kind-interface">Message</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L6">server/src/room/message.ts:6</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><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><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><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>
3
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#action" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action</span></a>
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>RoomMessage | Briyah SDK - v2.0.1</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.1</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">RoomMessage</a></li></ul>
12
+ <h1>Class RoomMessage</h1></div>
13
+ <section class="tsd-panel tsd-comment">
14
+ <div class="tsd-comment tsd-typography"><p>Represents a message exchanged between conversations in a Room</p>
15
+ </div></section>
16
+ <section class="tsd-panel">
17
+ <h4>Implements</h4>
18
+ <ul class="tsd-hierarchy">
19
+ <li><a href="../interfaces/Message.html" class="tsd-signature-type tsd-kind-interface">Message</a></li></ul></section><aside class="tsd-sources">
20
+ <ul>
21
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L6">server/src/room/message.ts:6</a></li></ul></aside>
22
+ <section class="tsd-panel-group tsd-index-group">
23
+ <section class="tsd-panel tsd-index-panel">
24
+ <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>
25
+ <h5 class="tsd-index-heading uppercase">Index</h5></summary>
26
+ <div class="tsd-accordion-details">
27
+ <section class="tsd-index-section">
28
+ <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>
29
+ <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>
30
+ </div></section>
31
+ <section class="tsd-index-section">
32
+ <h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" 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>
33
+ <div class="tsd-index-list"><a href="#action" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action</span></a>
4
34
  <a href="#changes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>changes?</span></a>
5
35
  <a href="#content" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>content</span></a>
6
36
  <a href="#index" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index?</span></a>
@@ -10,27 +40,93 @@
10
40
  <a href="#situation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>situation?</span></a>
11
41
  <a href="#targets" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>targets</span></a>
12
42
  <a href="#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timestamp</span></a>
13
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#canhear" 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>can<wbr/>Hear</span></a>
43
+ </div></section>
44
+ <section class="tsd-index-section">
45
+ <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>
46
+ <div class="tsd-index-list"><a href="#canhear" 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>can<wbr/>Hear</span></a>
14
47
  <a href="#getaction" 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/>Action</span></a>
15
48
  <a href="#getcontent" 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/>Content</span></a>
16
49
  <a href="#getsender" 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/>Sender</span></a>
17
50
  <a href="#gettargets" 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/>Targets</span></a>
18
51
  <a href="#gettimestamp" 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/>Timestamp</span></a>
19
52
  <a href="#istarget" 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/>Target</span></a>
20
- </div></section></div></details></section></section><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><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorroommessage"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">RoomMessage</span><span class="tsd-signature-symbol">(</span><br/>    <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><br/>    <span class="tsd-kind-parameter">action</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">content</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">targets</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">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">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-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">RoomMessage</a><a href="#constructorroommessage" 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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Creates a new Message</p>
53
+ </div></section></div></details></section></section>
54
+ <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>
55
+ <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>
56
+ <section>
57
+ <section class="tsd-panel tsd-member">
58
+ <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>
59
+ <ul class="tsd-signatures">
60
+ <li class="">
61
+ <div class="tsd-signature tsd-anchor-link" id="constructorroommessage"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">RoomMessage</span><span class="tsd-signature-symbol">(</span><br/>    <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><br/>    <span class="tsd-kind-parameter">action</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">content</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">targets</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">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">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-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">RoomMessage</a><a href="#constructorroommessage" 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>
62
+ <div class="tsd-description">
63
+ <div class="tsd-comment tsd-typography"><p>Creates a new Message</p>
21
64
  <p><strong>Every name on a message is an <code>agentNickname</code></strong>, never an <code>agentName</code>. The
22
65
  nickname is what the room routes by, what an agent writes into <code>targets</code>, and
23
66
  what artifact viewers and the room leader are recorded as. <code>agentName</code> is a
24
67
  label — it names the role, carries the room's name as a prefix, and nothing
25
68
  resolves it. The parameters here said otherwise for a long time while every
26
69
  caller passed a nickname.</p>
27
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">sender</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The agentNickname of the agent sending the message</p>
28
- </div></li><li><span><span class="tsd-kind-parameter">action</span>: <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><span class="tsd-signature-symbol"> = MessageAction.SPEAK</span></span><div class="tsd-comment tsd-typography"><p>The action type of the message</p>
29
- </div></li><li><span><span class="tsd-kind-parameter">content</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The content of the message</p>
30
- </div></li><li><span><span class="tsd-kind-parameter">targets</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></span><div class="tsd-comment tsd-typography"><p>Array of agentNicknames that will receive the message</p>
31
- </div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Optional name for PUBLISH and EXECUTE actions</p>
32
- </div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">situation</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Optional situation update to set the current story situation</p>
33
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">RoomMessage</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L49">server/src/room/message.ts:49</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="action"><span>action</span><a href="#action" 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><div class="tsd-signature"><span class="tsd-kind-property">action</span><span class="tsd-signature-symbol">:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#action">action</a></p><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L8">server/src/room/message.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="changes"><code class="tsd-tag">Optional</code><span>changes</span><a href="#changes" 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><div class="tsd-signature"><span class="tsd-kind-property">changes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L14">server/src/room/message.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="content"><span>content</span><a href="#content" 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><div class="tsd-signature"><span class="tsd-kind-property">content</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#content">content</a></p><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L9">server/src/room/message.ts:9</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="index"><code class="tsd-tag">Optional</code><span>index</span><a href="#index" 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><div class="tsd-signature"><span class="tsd-kind-property">index</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#index">index</a></p><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L15">server/src/room/message.ts:15</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="name"><code class="tsd-tag">Optional</code><span>name</span><a href="#name" 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><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L12">server/src/room/message.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="relayas"><code class="tsd-tag">Optional</code><span>relay<wbr/>As</span><a href="#relayas" 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><div class="tsd-signature"><span class="tsd-kind-property">relayAs</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></div><div class="tsd-comment tsd-typography"><p>On a moderator's routing answer: the action the relayed message should carry
70
+ </div>
71
+ <div class="tsd-parameters">
72
+ <h4 class="tsd-parameters-title">Parameters</h4>
73
+ <ul class="tsd-parameter-list">
74
+ <li><span><span class="tsd-kind-parameter">sender</span>: <span class="tsd-signature-type">string</span></span>
75
+ <div class="tsd-comment tsd-typography"><p>The agentNickname of the agent sending the message</p>
76
+ </div></li>
77
+ <li><span><span class="tsd-kind-parameter">action</span>: <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><span class="tsd-signature-symbol"> = MessageAction.SPEAK</span></span>
78
+ <div class="tsd-comment tsd-typography"><p>The action type of the message</p>
79
+ </div></li>
80
+ <li><span><span class="tsd-kind-parameter">content</span>: <span class="tsd-signature-type">string</span></span>
81
+ <div class="tsd-comment tsd-typography"><p>The content of the message</p>
82
+ </div></li>
83
+ <li><span><span class="tsd-kind-parameter">targets</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></span>
84
+ <div class="tsd-comment tsd-typography"><p>Array of agentNicknames that will receive the message</p>
85
+ </div></li>
86
+ <li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
87
+ <div class="tsd-comment tsd-typography"><p>Optional name for PUBLISH and EXECUTE actions</p>
88
+ </div></li>
89
+ <li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">situation</span>: <span class="tsd-signature-type">string</span></span>
90
+ <div class="tsd-comment tsd-typography"><p>Optional situation update to set the current story situation</p>
91
+ </div></li></ul></div>
92
+ <h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">RoomMessage</a></h4><aside class="tsd-sources">
93
+ <ul>
94
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L49">server/src/room/message.ts:49</a></li></ul></aside></div></li></ul></section></section></details>
95
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
96
+ <h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-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>
97
+ <section>
98
+ <section class="tsd-panel tsd-member">
99
+ <h3 class="tsd-anchor-link" id="action"><span>action</span><a href="#action" 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>
100
+ <div class="tsd-signature"><span class="tsd-kind-property">action</span><span class="tsd-signature-symbol">:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></div><aside class="tsd-sources">
101
+ <p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#action">action</a></p>
102
+ <ul>
103
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L8">server/src/room/message.ts:8</a></li></ul></aside></section>
104
+ <section class="tsd-panel tsd-member">
105
+ <h3 class="tsd-anchor-link" id="changes"><code class="tsd-tag">Optional</code><span>changes</span><a href="#changes" 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>
106
+ <div class="tsd-signature"><span class="tsd-kind-property">changes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
107
+ <ul>
108
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L14">server/src/room/message.ts:14</a></li></ul></aside></section>
109
+ <section class="tsd-panel tsd-member">
110
+ <h3 class="tsd-anchor-link" id="content"><span>content</span><a href="#content" 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>
111
+ <div class="tsd-signature"><span class="tsd-kind-property">content</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
112
+ <p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#content">content</a></p>
113
+ <ul>
114
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L9">server/src/room/message.ts:9</a></li></ul></aside></section>
115
+ <section class="tsd-panel tsd-member">
116
+ <h3 class="tsd-anchor-link" id="index"><code class="tsd-tag">Optional</code><span>index</span><a href="#index" 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>
117
+ <div class="tsd-signature"><span class="tsd-kind-property">index</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
118
+ <p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#index">index</a></p>
119
+ <ul>
120
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L15">server/src/room/message.ts:15</a></li></ul></aside></section>
121
+ <section class="tsd-panel tsd-member">
122
+ <h3 class="tsd-anchor-link" id="name"><code class="tsd-tag">Optional</code><span>name</span><a href="#name" 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>
123
+ <div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
124
+ <ul>
125
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L12">server/src/room/message.ts:12</a></li></ul></aside></section>
126
+ <section class="tsd-panel tsd-member">
127
+ <h3 class="tsd-anchor-link" id="relayas"><code class="tsd-tag">Optional</code><span>relay<wbr/>As</span><a href="#relayas" 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>
128
+ <div class="tsd-signature"><span class="tsd-kind-property">relayAs</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></div>
129
+ <div class="tsd-comment tsd-typography"><p>On a moderator's routing answer: the action the relayed message should carry
34
130
  in the room, rather than staying a MODERATE.</p>
35
131
  <p>A moderated message with no <code>relayAs</code> is stored in every recipient's history
36
132
  as <code>From: &lt;sender&gt;\n&lt;content&gt;</code> (see Agent.addToConversationHistory), which is
@@ -40,20 +136,155 @@ Naming an action here makes the relayed message an ordinary room message: the
40
136
  right shape in history, and the right badge in the transcript.</p>
41
137
  <p>Only moderators whose <code>moderate.json</code> declares the field can produce it, so a
42
138
  moderator that says nothing keeps the original behaviour.</p>
43
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L30">server/src/room/message.ts:30</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sender"><span>sender</span><a href="#sender" 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><div class="tsd-signature"><span class="tsd-kind-property">sender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#sender">sender</a></p><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L7">server/src/room/message.ts:7</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="situation"><code class="tsd-tag">Optional</code><span>situation</span><a href="#situation" 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><div class="tsd-signature"><span class="tsd-kind-property">situation</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L13">server/src/room/message.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="targets"><span>targets</span><a href="#targets" 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><div class="tsd-signature"><span class="tsd-kind-property">targets</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#targets">targets</a></p><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L10">server/src/room/message.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="timestamp"><span>timestamp</span><a href="#timestamp" 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><div class="tsd-signature"><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L11">server/src/room/message.ts:11</a></li></ul></aside></section></section></details><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><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="canhear"><span>can<wbr/>Hear</span><a href="#canhear" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="canhear-1"><span class="tsd-kind-call-signature">canHear</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="#canhear-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if a conversation can hear this message</p>
44
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The agentNickname to check</p>
45
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the conversation can hear the message, false otherwise</p>
46
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L146">server/src/room/message.ts:146</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getaction"><span>get<wbr/>Action</span><a href="#getaction" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getaction-1"><span class="tsd-kind-call-signature">getAction</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><a href="#getaction-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the action type of the message</p>
47
- </div><h4 class="tsd-returns-title">Returns <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></h4><p>The message action</p>
48
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L78">server/src/room/message.ts:78</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getcontent"><span>get<wbr/>Content</span><a href="#getcontent" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getcontent-1"><span class="tsd-kind-call-signature">getContent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getcontent-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the content of the message</p>
49
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The message content</p>
50
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L86">server/src/room/message.ts:86</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getsender"><span>get<wbr/>Sender</span><a href="#getsender" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getsender-1"><span class="tsd-kind-call-signature">getSender</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsender-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the sender of the message</p>
51
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The agentNickname of the sender</p>
52
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L70">server/src/room/message.ts:70</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettargets"><span>get<wbr/>Targets</span><a href="#gettargets" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettargets-1"><span class="tsd-kind-call-signature">getTargets</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#gettargets-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the targets of the message</p>
53
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>Array of agentNicknames of target conversations</p>
54
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L94">server/src/room/message.ts:94</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="gettimestamp"><span>get<wbr/>Timestamp</span><a href="#gettimestamp" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="gettimestamp-1"><span class="tsd-kind-call-signature">getTimestamp</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><a href="#gettimestamp-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the timestamp when the message was created</p>
55
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4><p>The message timestamp</p>
56
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L102">server/src/room/message.ts:102</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="istarget"><span>is<wbr/>Target</span><a href="#istarget" 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><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="istarget-1"><span class="tsd-kind-call-signature">isTarget</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="#istarget-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><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if an agent is a target of this message (intended recipient)</p>
57
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The agentNickname to check</p>
58
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the conversation is a target, false otherwise</p>
59
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/message.ts#L111">server/src/room/message.ts:111</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><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><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><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><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><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><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><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><h3>On This Page</h3></summary><div class="tsd-accordion-details"><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><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><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#action"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action</span></a><a href="#changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>changes</span></a><a href="#content"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>content</span></a><a href="#index"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#relayas"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>relay<wbr/>As</span></a><a href="#sender"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender</span></a><a href="#situation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>situation</span></a><a href="#targets"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>targets</span></a><a href="#timestamp"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timestamp</span></a></div></details><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><div><a href="#canhear"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Hear</span></a><a href="#getaction"><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/>Action</span></a><a href="#getcontent"><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/>Content</span></a><a href="#getsender"><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/>Sender</span></a><a href="#gettargets"><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/>Targets</span></a><a href="#gettimestamp"><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/>Timestamp</span></a><a href="#istarget"><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/>Target</span></a></div></details></div></details></div><div class="site-menu"><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><nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v1.5.0</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
139
+ </div><aside class="tsd-sources">
140
+ <ul>
141
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L30">server/src/room/message.ts:30</a></li></ul></aside></section>
142
+ <section class="tsd-panel tsd-member">
143
+ <h3 class="tsd-anchor-link" id="sender"><span>sender</span><a href="#sender" 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>
144
+ <div class="tsd-signature"><span class="tsd-kind-property">sender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
145
+ <p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#sender">sender</a></p>
146
+ <ul>
147
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L7">server/src/room/message.ts:7</a></li></ul></aside></section>
148
+ <section class="tsd-panel tsd-member">
149
+ <h3 class="tsd-anchor-link" id="situation"><code class="tsd-tag">Optional</code><span>situation</span><a href="#situation" 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>
150
+ <div class="tsd-signature"><span class="tsd-kind-property">situation</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
151
+ <ul>
152
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L13">server/src/room/message.ts:13</a></li></ul></aside></section>
153
+ <section class="tsd-panel tsd-member">
154
+ <h3 class="tsd-anchor-link" id="targets"><span>targets</span><a href="#targets" 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>
155
+ <div class="tsd-signature"><span class="tsd-kind-property">targets</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
156
+ <p>Implementation of <a href="../interfaces/Message.html">Message</a>.<a href="../interfaces/Message.html#targets">targets</a></p>
157
+ <ul>
158
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L10">server/src/room/message.ts:10</a></li></ul></aside></section>
159
+ <section class="tsd-panel tsd-member">
160
+ <h3 class="tsd-anchor-link" id="timestamp"><span>timestamp</span><a href="#timestamp" 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>
161
+ <div class="tsd-signature"><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources">
162
+ <ul>
163
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L11">server/src/room/message.ts:11</a></li></ul></aside></section></section></details>
164
+ <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>
165
+ <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>
166
+ <section>
167
+ <section class="tsd-panel tsd-member">
168
+ <h3 class="tsd-anchor-link" id="canhear"><span>can<wbr/>Hear</span><a href="#canhear" 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>
169
+ <ul class="tsd-signatures">
170
+ <li class="">
171
+ <div class="tsd-signature tsd-anchor-link" id="canhear-1"><span class="tsd-kind-call-signature">canHear</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="#canhear-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>
172
+ <div class="tsd-description">
173
+ <div class="tsd-comment tsd-typography"><p>Checks if a conversation can hear this message</p>
174
+ </div>
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">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
179
+ <div class="tsd-comment tsd-typography"><p>The agentNickname to check</p>
180
+ </div></li></ul></div>
181
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the conversation can hear the message, false otherwise</p>
182
+ <aside class="tsd-sources">
183
+ <ul>
184
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L146">server/src/room/message.ts:146</a></li></ul></aside></div></li></ul></section>
185
+ <section class="tsd-panel tsd-member">
186
+ <h3 class="tsd-anchor-link" id="getaction"><span>get<wbr/>Action</span><a href="#getaction" 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>
187
+ <ul class="tsd-signatures">
188
+ <li class="">
189
+ <div class="tsd-signature tsd-anchor-link" id="getaction-1"><span class="tsd-kind-call-signature">getAction</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a><a href="#getaction-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>
190
+ <div class="tsd-description">
191
+ <div class="tsd-comment tsd-typography"><p>Gets the action type of the message</p>
192
+ </div>
193
+ <h4 class="tsd-returns-title">Returns <a href="../enums/MessageAction.html" class="tsd-signature-type tsd-kind-enum">MessageAction</a></h4><p>The message action</p>
194
+ <aside class="tsd-sources">
195
+ <ul>
196
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L78">server/src/room/message.ts:78</a></li></ul></aside></div></li></ul></section>
197
+ <section class="tsd-panel tsd-member">
198
+ <h3 class="tsd-anchor-link" id="getcontent"><span>get<wbr/>Content</span><a href="#getcontent" 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>
199
+ <ul class="tsd-signatures">
200
+ <li class="">
201
+ <div class="tsd-signature tsd-anchor-link" id="getcontent-1"><span class="tsd-kind-call-signature">getContent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getcontent-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>
202
+ <div class="tsd-description">
203
+ <div class="tsd-comment tsd-typography"><p>Gets the content of the message</p>
204
+ </div>
205
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The message content</p>
206
+ <aside class="tsd-sources">
207
+ <ul>
208
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L86">server/src/room/message.ts:86</a></li></ul></aside></div></li></ul></section>
209
+ <section class="tsd-panel tsd-member">
210
+ <h3 class="tsd-anchor-link" id="getsender"><span>get<wbr/>Sender</span><a href="#getsender" 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>
211
+ <ul class="tsd-signatures">
212
+ <li class="">
213
+ <div class="tsd-signature tsd-anchor-link" id="getsender-1"><span class="tsd-kind-call-signature">getSender</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsender-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>
214
+ <div class="tsd-description">
215
+ <div class="tsd-comment tsd-typography"><p>Gets the sender of the message</p>
216
+ </div>
217
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The agentNickname of the sender</p>
218
+ <aside class="tsd-sources">
219
+ <ul>
220
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L70">server/src/room/message.ts:70</a></li></ul></aside></div></li></ul></section>
221
+ <section class="tsd-panel tsd-member">
222
+ <h3 class="tsd-anchor-link" id="gettargets"><span>get<wbr/>Targets</span><a href="#gettargets" 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>
223
+ <ul class="tsd-signatures">
224
+ <li class="">
225
+ <div class="tsd-signature tsd-anchor-link" id="gettargets-1"><span class="tsd-kind-call-signature">getTargets</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><a href="#gettargets-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>
226
+ <div class="tsd-description">
227
+ <div class="tsd-comment tsd-typography"><p>Gets the targets of the message</p>
228
+ </div>
229
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>Array of agentNicknames of target conversations</p>
230
+ <aside class="tsd-sources">
231
+ <ul>
232
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L94">server/src/room/message.ts:94</a></li></ul></aside></div></li></ul></section>
233
+ <section class="tsd-panel tsd-member">
234
+ <h3 class="tsd-anchor-link" id="gettimestamp"><span>get<wbr/>Timestamp</span><a href="#gettimestamp" 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>
235
+ <ul class="tsd-signatures">
236
+ <li class="">
237
+ <div class="tsd-signature tsd-anchor-link" id="gettimestamp-1"><span class="tsd-kind-call-signature">getTimestamp</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><a href="#gettimestamp-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>
238
+ <div class="tsd-description">
239
+ <div class="tsd-comment tsd-typography"><p>Gets the timestamp when the message was created</p>
240
+ </div>
241
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4><p>The message timestamp</p>
242
+ <aside class="tsd-sources">
243
+ <ul>
244
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L102">server/src/room/message.ts:102</a></li></ul></aside></div></li></ul></section>
245
+ <section class="tsd-panel tsd-member">
246
+ <h3 class="tsd-anchor-link" id="istarget"><span>is<wbr/>Target</span><a href="#istarget" 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>
247
+ <ul class="tsd-signatures">
248
+ <li class="">
249
+ <div class="tsd-signature tsd-anchor-link" id="istarget-1"><span class="tsd-kind-call-signature">isTarget</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="#istarget-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>
250
+ <div class="tsd-description">
251
+ <div class="tsd-comment tsd-typography"><p>Checks if an agent is a target of this message (intended recipient)</p>
252
+ </div>
253
+ <div class="tsd-parameters">
254
+ <h4 class="tsd-parameters-title">Parameters</h4>
255
+ <ul class="tsd-parameter-list">
256
+ <li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
257
+ <div class="tsd-comment tsd-typography"><p>The agentNickname to check</p>
258
+ </div></li></ul></div>
259
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the conversation is a target, false otherwise</p>
260
+ <aside class="tsd-sources">
261
+ <ul>
262
+ <li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/message.ts#L111">server/src/room/message.ts:111</a></li></ul></aside></div></li></ul></section></section></details></div>
263
+ <div class="col-sidebar">
264
+ <div class="page-menu">
265
+ <div class="tsd-navigation settings">
266
+ <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>
267
+ <h3>Settings</h3></summary>
268
+ <div class="tsd-accordion-details">
269
+ <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
270
+ <ul id="tsd-filter-options">
271
+ <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>
272
+ <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>
273
+ <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>
274
+ <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>
275
+ <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>
276
+ <h3>On This Page</h3></summary>
277
+ <div class="tsd-accordion-details">
278
+ <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>
279
+ <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>
280
+ <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
281
+ <div><a href="#action"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action</span></a><a href="#changes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>changes</span></a><a href="#content"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>content</span></a><a href="#index"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#relayas"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>relay<wbr/>As</span></a><a href="#sender"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender</span></a><a href="#situation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>situation</span></a><a href="#targets"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>targets</span></a><a href="#timestamp"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timestamp</span></a></div></details>
282
+ <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>
283
+ <div><a href="#canhear"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Hear</span></a><a href="#getaction"><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/>Action</span></a><a href="#getcontent"><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/>Content</span></a><a href="#getsender"><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/>Sender</span></a><a href="#gettargets"><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/>Targets</span></a><a href="#gettimestamp"><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/>Timestamp</span></a><a href="#istarget"><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/>Target</span></a></div></details></div></details></div>
284
+ <div class="site-menu">
285
+ <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>
286
+ <nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.1</a>
287
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
288
+ <li>Loading...</li></ul></nav></div></div></div><footer>
289
+ <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
290
+ <div class="overlay"></div></body></html>