@voltro/plugin-rooms 0.87.0 → 0.89.0

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 (451) hide show
  1. package/CHANGELOG.md +272 -6
  2. package/THIRD-PARTY-NOTICES.md +1542 -368
  3. package/dist/actor.js +1 -2
  4. package/dist/apiBinding.js +1 -2
  5. package/dist/apiRegistryBinding.js +1 -2
  6. package/dist/apiReservations.js +3 -4
  7. package/dist/baselines.js +1 -2
  8. package/dist/bots.js +2 -3
  9. package/dist/catalog.js +1 -2
  10. package/dist/checkpointJson.js +1 -2
  11. package/dist/checkpointStore.js +13 -14
  12. package/dist/client.js +1 -2
  13. package/dist/clockSync.js +1 -2
  14. package/dist/collision.js +3 -4
  15. package/dist/commandDelivery.js +1 -2
  16. package/dist/commandRecord.js +1 -2
  17. package/dist/commandWithdrawal.js +1 -2
  18. package/dist/connection.js +1 -2
  19. package/dist/controlCarrier.js +1 -2
  20. package/dist/controlRegistry.js +1 -2
  21. package/dist/controlTarget.js +1 -2
  22. package/dist/controlTransport.js +1 -2
  23. package/dist/developmentBinding.js +1 -2
  24. package/dist/directory.js +3 -4
  25. package/dist/directoryProjection.js +1 -2
  26. package/dist/errors.js +1 -2
  27. package/dist/fixed32.js +1 -2
  28. package/dist/fixedCollision.js +1 -2
  29. package/dist/fixedCollision32.js +1 -2
  30. package/dist/fixedMath.js +1 -2
  31. package/dist/fixedRaw.js +1 -2
  32. package/dist/fixedSlabs.js +1 -2
  33. package/dist/fixedTrig.js +1 -2
  34. package/dist/fixedTrig32.js +1 -2
  35. package/dist/fixedVectors.js +1 -2
  36. package/dist/fixedVectors32.js +1 -2
  37. package/dist/fixedWide.js +1 -2
  38. package/dist/fixedWords.js +1 -2
  39. package/dist/gateway.js +1 -2
  40. package/dist/geometryActivation.js +1 -2
  41. package/dist/geometryActorInventory.js +1 -2
  42. package/dist/geometryAdminClient.js +1 -2
  43. package/dist/geometryAdminData.js +1 -2
  44. package/dist/geometryAdminFixtures.js +1 -2
  45. package/dist/geometryAdminPorts.js +1 -2
  46. package/dist/geometryAdminRpc.js +1 -2
  47. package/dist/geometryAdminRpcRoutes.js +1 -2
  48. package/dist/geometryAdminSchemas.js +1 -2
  49. package/dist/geometryAdministration.js +1 -2
  50. package/dist/geometryAdministrationPorts.js +1 -2
  51. package/dist/geometryApiBinding.js +1 -2
  52. package/dist/geometryAppStorage.js +1 -2
  53. package/dist/geometryArtifacts.js +1 -2
  54. package/dist/geometryAssetBundle.js +1 -2
  55. package/dist/geometryAssetClient.js +1 -2
  56. package/dist/geometryAssetData.js +1 -2
  57. package/dist/geometryAssetHttp.js +1 -2
  58. package/dist/geometryAssetPorts.js +1 -2
  59. package/dist/geometryAssetRpc.js +1 -2
  60. package/dist/geometryAssetRpcRoutes.js +1 -2
  61. package/dist/geometryAssetStorageGrant.js +1 -2
  62. package/dist/geometryBoxOverlap.js +1 -2
  63. package/dist/geometryCatalogueDigest.js +1 -2
  64. package/dist/geometryCellCoverage.js +1 -2
  65. package/dist/geometryCellLoader.js +1 -2
  66. package/dist/geometryChannel.js +1 -2
  67. package/dist/geometryChunkHttp.js +1 -2
  68. package/dist/geometryChunkLeases.js +1 -2
  69. package/dist/geometryClient.js +1 -2
  70. package/dist/geometryClientChunks.js +1 -2
  71. package/dist/geometryClientDelta.js +1 -2
  72. package/dist/geometryClientHttp.js +1 -2
  73. package/dist/geometryClientInterest.js +1 -2
  74. package/dist/geometryClientStatic.js +1 -2
  75. package/dist/geometryCms.js +1 -2
  76. package/dist/geometryCommitCoordinator.js +1 -2
  77. package/dist/geometryCompactionFixture.js +1 -2
  78. package/dist/geometryCompactionStrategies.js +1 -2
  79. package/dist/geometryConnectionClient.js +1 -2
  80. package/dist/geometryDerivationFixtures.js +1 -2
  81. package/dist/geometryDerivationStrategies.js +1 -2
  82. package/dist/geometryDigest.js +1 -2
  83. package/dist/geometryEditChannel.js +1 -2
  84. package/dist/geometryEditIngress.js +1 -2
  85. package/dist/geometryEdits.js +1 -2
  86. package/dist/geometryEnvelope.js +1 -2
  87. package/dist/geometryGridRaycast.js +1 -2
  88. package/dist/geometryGridSweep.js +1 -2
  89. package/dist/geometryHeightfield.js +1 -2
  90. package/dist/geometryHeightfieldRaycast.js +1 -2
  91. package/dist/geometryHeightfieldSweep.js +1 -2
  92. package/dist/geometryHeightfieldVolume.js +1 -2
  93. package/dist/geometryHost.js +2 -3
  94. package/dist/geometryHostDirectory.js +1 -2
  95. package/dist/geometryHostMutations.js +1 -2
  96. package/dist/geometryHostStreams.js +1 -2
  97. package/dist/geometryHttpBody.js +1 -2
  98. package/dist/geometryHttpRoutes.js +1 -2
  99. package/dist/geometryImportGltf.js +1 -2
  100. package/dist/geometryImportLdtk.js +1 -2
  101. package/dist/geometryImportPng.js +1 -2
  102. package/dist/geometryImportPublication.js +1 -2
  103. package/dist/geometryImportTiled.js +1 -2
  104. package/dist/geometryImportTiles.js +1 -2
  105. package/dist/geometryImportVox.js +1 -2
  106. package/dist/geometryImportedSource.js +1 -2
  107. package/dist/geometryInspectEndpoint.js +1 -2
  108. package/dist/geometryInspection.js +1 -2
  109. package/dist/geometryInstall.js +1 -2
  110. package/dist/geometryJournalArchiveData.js +1 -2
  111. package/dist/geometryJournalArchiveIndex.js +2 -3
  112. package/dist/geometryJournalArchiveTable.js +1 -2
  113. package/dist/geometryJournalCompaction.js +1 -2
  114. package/dist/geometryJournalPatch.js +1 -2
  115. package/dist/geometryJournalRetention.js +1 -2
  116. package/dist/geometryJournalRetentionSchemas.js +1 -2
  117. package/dist/geometryJournalRetentionSweep.js +1 -2
  118. package/dist/geometryJournalRetentionWorkflow.js +1 -2
  119. package/dist/geometryJournalRetentionWorkflowData.js +1 -2
  120. package/dist/geometryJournalStorage.js +1 -2
  121. package/dist/geometryLoader.js +1 -2
  122. package/dist/geometryManifest.js +1 -2
  123. package/dist/geometryManifestChannel.js +1 -2
  124. package/dist/geometryManifestClient.js +1 -2
  125. package/dist/geometryManifestData.js +1 -2
  126. package/dist/geometryManifestPorts.js +1 -2
  127. package/dist/geometryManifestPublication.js +1 -2
  128. package/dist/geometryManifestSource.js +1 -2
  129. package/dist/geometryMigrationJournal.js +1 -2
  130. package/dist/geometryMigrationStrategies.js +1 -2
  131. package/dist/geometryMigrations.js +1 -2
  132. package/dist/geometryNativeMetadata.js +1 -2
  133. package/dist/geometryPatch.js +1 -2
  134. package/dist/geometryPersistence.js +1 -2
  135. package/dist/geometryPersistenceCapture.js +1 -2
  136. package/dist/geometryPersistenceData.js +1 -2
  137. package/dist/geometryPersistencePorts.js +1 -2
  138. package/dist/geometryPlayerAdmission.js +1 -2
  139. package/dist/geometryPlayerEditOwner.js +1 -2
  140. package/dist/geometryPlayerEdits.js +1 -2
  141. package/dist/geometryPrepared.js +1 -2
  142. package/dist/geometryPrivacyFence.js +1 -2
  143. package/dist/geometryProceduralPublication.js +1 -2
  144. package/dist/geometryProceduralWorker.js +1 -2
  145. package/dist/geometryPublication.js +1 -2
  146. package/dist/geometryRayAlgebra.js +1 -2
  147. package/dist/geometryReadClient.js +1 -2
  148. package/dist/geometryReadPorts.js +1 -2
  149. package/dist/geometryReadRpc.js +1 -2
  150. package/dist/geometryReadRpcRoutes.js +1 -2
  151. package/dist/geometryReliablePublication.js +1 -2
  152. package/dist/geometryReloadPorts.js +1 -2
  153. package/dist/geometryReloadSource.js +1 -2
  154. package/dist/geometryRenderCache.js +1 -2
  155. package/dist/geometryRenderLod.js +1 -2
  156. package/dist/geometryRollback.js +1 -2
  157. package/dist/geometryRollbackCoordinator.js +2 -3
  158. package/dist/geometryRollbackPorts.js +1 -2
  159. package/dist/geometryRollbackSource.js +1 -2
  160. package/dist/geometryRollbackStore.js +1 -2
  161. package/dist/geometrySchemas.js +1 -2
  162. package/dist/geometryShapeRaycast.js +1 -2
  163. package/dist/geometryShapeSegments.js +1 -2
  164. package/dist/geometryShapes.js +1 -2
  165. package/dist/geometrySnapshot.js +1 -2
  166. package/dist/geometrySnapshotChannel.js +1 -2
  167. package/dist/geometrySnapshotClient.js +1 -2
  168. package/dist/geometrySnapshotPreparation.js +1 -2
  169. package/dist/geometrySnapshotServer.js +1 -2
  170. package/dist/geometrySqlOwner.js +1 -2
  171. package/dist/geometryStorage.js +1 -2
  172. package/dist/geometryStorageGrant.js +1 -2
  173. package/dist/geometryStorageIdentity.js +1 -2
  174. package/dist/geometryTileArtifact.js +1 -2
  175. package/dist/geometryTileCodec.js +1 -2
  176. package/dist/geometryTileCollision.js +1 -2
  177. package/dist/geometryTileNavigation.js +1 -2
  178. package/dist/geometryTileView.js +1 -2
  179. package/dist/geometryVersionActivation.js +1 -2
  180. package/dist/geometryVersionClient.js +1 -2
  181. package/dist/geometryVersionCompare.js +1 -2
  182. package/dist/geometryVersionMigration.js +1 -2
  183. package/dist/geometryVoxel.js +1 -2
  184. package/dist/geometryWorldEntitySubject.js +1 -2
  185. package/dist/geometryWorldExtent.js +1 -2
  186. package/dist/geometryWorldMetadata.js +1 -2
  187. package/dist/geometryWorldStrategyFixtures.js +1 -2
  188. package/dist/geometryWorldView.js +1 -2
  189. package/dist/host.js +1 -2
  190. package/dist/hostBinding.js +1 -2
  191. package/dist/hostCellObservation.js +1 -2
  192. package/dist/hostClientCapacity.js +1 -2
  193. package/dist/hostCommandScope.js +1 -2
  194. package/dist/hostController.js +2 -3
  195. package/dist/hostDeployment.js +1 -2
  196. package/dist/hostDrain.js +1 -2
  197. package/dist/hostDrainPorts.js +1 -2
  198. package/dist/hostDriver.js +1 -2
  199. package/dist/hostLane.js +1 -2
  200. package/dist/hostListener.js +1 -2
  201. package/dist/hostListenerBinding.js +1 -2
  202. package/dist/hostLoopObservation.js +1 -2
  203. package/dist/hostMetrics.js +1 -2
  204. package/dist/hostRegistryBinding.js +1 -2
  205. package/dist/hostSelection.js +1 -2
  206. package/dist/hostShutdown.js +1 -2
  207. package/dist/hostTurnObservation.js +1 -2
  208. package/dist/identities.js +1 -2
  209. package/dist/index.js +1 -2
  210. package/dist/inputReceipts.js +1 -2
  211. package/dist/inputRedundancy.js +1 -2
  212. package/dist/inspect.js +1 -2
  213. package/dist/lockstep.js +1 -2
  214. package/dist/lockstepAdmission.js +1 -2
  215. package/dist/lockstepAdmissionCodec.js +1 -2
  216. package/dist/lockstepAdmissionPorts.js +1 -2
  217. package/dist/lockstepClientSession.js +1 -2
  218. package/dist/lockstepDefinition.js +1 -2
  219. package/dist/lockstepHostLoop.js +1 -2
  220. package/dist/lockstepInitialAdmission.js +1 -2
  221. package/dist/lockstepInitialStrategyFixtures.js +1 -2
  222. package/dist/lockstepJournal.js +1 -2
  223. package/dist/lockstepJournalCodec.js +1 -2
  224. package/dist/lockstepJournalPorts.js +1 -2
  225. package/dist/lockstepJournalRebuild.js +1 -2
  226. package/dist/lockstepJournalRows.js +1 -2
  227. package/dist/lockstepMembers.js +1 -2
  228. package/dist/lockstepMessages.js +1 -2
  229. package/dist/lockstepOwnedRoom.js +1 -2
  230. package/dist/lockstepPolicies.js +1 -2
  231. package/dist/lockstepReact.js +1 -2
  232. package/dist/lockstepRecoveryTruth.js +1 -2
  233. package/dist/lockstepRosterConfig.js +1 -2
  234. package/dist/lockstepSeed.js +1 -2
  235. package/dist/lockstepSeedFixture.js +1 -2
  236. package/dist/lockstepServer.js +1 -2
  237. package/dist/lockstepServerConfig.js +1 -2
  238. package/dist/lockstepServerRoles.js +1 -2
  239. package/dist/lockstepServerStrategyFixtures.js +1 -2
  240. package/dist/lockstepStrategies.js +1 -2
  241. package/dist/lockstepStrategyFixtures.js +1 -2
  242. package/dist/lockstepTerminal.js +1 -2
  243. package/dist/lockstepTerminalPorts.js +1 -2
  244. package/dist/lockstepTransport.js +1 -2
  245. package/dist/lockstepTransportConfig.js +1 -2
  246. package/dist/lockstepWireRoster.js +1 -2
  247. package/dist/matchRoomProvider.js +1 -2
  248. package/dist/matchRooms.js +1 -2
  249. package/dist/membershipObserver.js +1 -2
  250. package/dist/moderation.js +1 -2
  251. package/dist/movementSpecials.js +1 -2
  252. package/dist/ownership.js +1 -2
  253. package/dist/ownershipWithdrawal.js +1 -2
  254. package/dist/pcg32.js +1 -2
  255. package/dist/ports.js +1 -2
  256. package/dist/quaternion.js +2 -3
  257. package/dist/react.js +1 -2
  258. package/dist/reaper.js +1 -2
  259. package/dist/reaperSchemas.js +1 -2
  260. package/dist/reaperWorkflow.js +1 -2
  261. package/dist/recovery.js +1 -2
  262. package/dist/recoverySeats.js +1 -2
  263. package/dist/replay.js +8 -9
  264. package/dist/replayPorts.js +1 -2
  265. package/dist/replayRecording.js +2 -3
  266. package/dist/replaySchema.js +1 -2
  267. package/dist/replayStorage.js +1 -2
  268. package/dist/reservationBatch.js +1 -2
  269. package/dist/reservationSchemas.js +1 -2
  270. package/dist/reservations.js +1 -2
  271. package/dist/reservePort.js +1 -2
  272. package/dist/resolvedOptions.js +1 -2
  273. package/dist/room.js +1 -2
  274. package/dist/roomAccessSweep.js +1 -2
  275. package/dist/roomAppCommandControl.js +1 -2
  276. package/dist/roomAuthoringStrategy.js +1 -2
  277. package/dist/roomErasure.js +1 -2
  278. package/dist/roomPoolRuntimeDefaults.js +1 -2
  279. package/dist/roomPoolSelection.js +1 -2
  280. package/dist/roomPoolTopology.js +1 -2
  281. package/dist/rpc.js +1 -2
  282. package/dist/rpcClient.js +1 -2
  283. package/dist/rpcRoutes.js +1 -2
  284. package/dist/runtime.js +2 -3
  285. package/dist/schemaHistory.js +1 -2
  286. package/dist/seatStore.js +1 -2
  287. package/dist/seatStrategyFixtures.js +1 -2
  288. package/dist/seatSubject.js +1 -2
  289. package/dist/seats.js +1 -2
  290. package/dist/serverSession.js +1 -2
  291. package/dist/serverSessionConfig.js +1 -2
  292. package/dist/sessionAdmission.js +1 -2
  293. package/dist/sidecarAdmission.js +1 -2
  294. package/dist/sidecarConfig.js +2 -3
  295. package/dist/sidecarConfigPublication.js +1 -2
  296. package/dist/sidecarHostListener.js +1 -2
  297. package/dist/sidecarIpc.js +1 -2
  298. package/dist/sidecarPeer.js +1 -2
  299. package/dist/sidecarProcessPort.js +1 -2
  300. package/dist/sidecarRuntime.js +1 -2
  301. package/dist/sidecarSelection.js +1 -2
  302. package/dist/sidecarWire.js +4 -5
  303. package/dist/sidecarWrites.js +1 -2
  304. package/dist/simulation.js +1 -2
  305. package/dist/simulationAuthoring.js +1 -2
  306. package/dist/simulationBytes.js +1 -2
  307. package/dist/simulationConformance.js +1 -2
  308. package/dist/simulationInputHistoryCapture.js +1 -2
  309. package/dist/simulationInputHistoryWire.js +1 -2
  310. package/dist/simulationOptionsWire.js +1 -2
  311. package/dist/simulationRecoveryWire.js +1 -2
  312. package/dist/simulationReplay.js +1 -2
  313. package/dist/simulationSnapshotWire.js +1 -2
  314. package/dist/simulationState.js +1 -2
  315. package/dist/snapshotBlob.js +2 -3
  316. package/dist/snapshotBlobCleanup.js +1 -2
  317. package/dist/snapshotBlobIndex.js +1 -2
  318. package/dist/snapshotBudget.js +1 -2
  319. package/dist/snapshotChain.js +1 -2
  320. package/dist/snapshotErasure.js +1 -2
  321. package/dist/snapshotInspection.js +1 -2
  322. package/dist/snapshotSegmentBlobs.js +1 -2
  323. package/dist/snapshotUploads.js +1 -2
  324. package/dist/socketTransport.js +1 -2
  325. package/dist/spatial.js +2 -3
  326. package/dist/spectatorPolicy.js +3 -4
  327. package/dist/spectatorProducer.js +2 -3
  328. package/dist/startFailureCause.js +1 -2
  329. package/dist/stateCodec.js +2 -3
  330. package/dist/strategyFixtures.js +1 -2
  331. package/dist/streamFraming.js +1 -2
  332. package/dist/streamTransport.js +1 -2
  333. package/dist/subjectAdmission.js +1 -2
  334. package/dist/subjectPrivacy.js +1 -2
  335. package/dist/subjectPrivacyBinding.js +1 -2
  336. package/dist/systemManifest.js +1 -2
  337. package/dist/tables.js +1 -2
  338. package/dist/testHarness.js +1 -2
  339. package/dist/testing.js +1 -2
  340. package/dist/testingPorts.js +1 -2
  341. package/dist/transform.js +4 -5
  342. package/dist/transform3d.js +1 -2
  343. package/dist/transformCollection.js +1 -2
  344. package/dist/transformCollection3d.js +1 -2
  345. package/dist/transformCollectionCore.js +2 -3
  346. package/dist/transformFrames.js +1 -2
  347. package/dist/transformPrediction3d.js +2 -3
  348. package/dist/transformRules.js +1 -2
  349. package/dist/transformSchemas.js +1 -2
  350. package/dist/transport.js +1 -2
  351. package/dist/transportAuthoring.js +1 -2
  352. package/dist/transportCleanup.js +1 -2
  353. package/dist/transportConformance.js +1 -2
  354. package/dist/transportConnector.js +1 -2
  355. package/dist/transportEndpoints.js +1 -2
  356. package/dist/viewProjection.js +1 -2
  357. package/dist/web.js +1 -2
  358. package/dist/webTransportClient.js +1 -2
  359. package/dist/wire.js +4 -5
  360. package/dist/withdrawalPort.js +1 -2
  361. package/dist/world.js +8 -9
  362. package/dist/worldActorReceipts.js +1 -2
  363. package/dist/worldActorTransferSnapshot.js +1 -2
  364. package/dist/worldAdmissionPending.js +1 -2
  365. package/dist/worldBoundaryCoordinator.js +1 -2
  366. package/dist/worldCatalog.js +3 -4
  367. package/dist/worldCellAllocation.js +2 -3
  368. package/dist/worldCellDestination.js +1 -2
  369. package/dist/worldCells.js +5 -6
  370. package/dist/worldChange.js +4 -5
  371. package/dist/worldClient.js +1 -2
  372. package/dist/worldClientControl.js +6 -7
  373. package/dist/worldClientPendingInput.js +1 -2
  374. package/dist/worldClientRpc.js +1 -2
  375. package/dist/worldClientRpcRoutes.js +1 -2
  376. package/dist/worldClientSchemas.js +1 -2
  377. package/dist/worldCommands.js +5 -6
  378. package/dist/worldData.js +3 -4
  379. package/dist/worldDefaultBinding.js +1 -2
  380. package/dist/worldDefaultGroupAdmission.js +1 -2
  381. package/dist/worldDefaultGroupAppServices.js +1 -2
  382. package/dist/worldDefaultGroupCompensation.js +1 -2
  383. package/dist/worldDefaultGroupContinuation.js +1 -2
  384. package/dist/worldDefaultGroupControl.js +1 -2
  385. package/dist/worldDefaultGroupMembers.js +1 -2
  386. package/dist/worldDefaultGroups.js +1 -2
  387. package/dist/worldDefaultPending.js +1 -2
  388. package/dist/worldDefaultService.js +1 -2
  389. package/dist/worldEntities.js +49 -50
  390. package/dist/worldEntityCodec.js +1 -2
  391. package/dist/worldEntityHandoffView.js +1 -2
  392. package/dist/worldGeometry.js +1 -2
  393. package/dist/worldGhostAdmission.js +1 -2
  394. package/dist/worldGhostDestination.js +3 -4
  395. package/dist/worldGhostGateway.js +1 -2
  396. package/dist/worldGhostHandshake.js +1 -2
  397. package/dist/worldGhostHost.js +1 -2
  398. package/dist/worldGhostIngress.js +1 -2
  399. package/dist/worldGhostNeighborhood.js +1 -2
  400. package/dist/worldGhostNeighbors.js +1 -2
  401. package/dist/worldGhostOutbound.js +1 -2
  402. package/dist/worldGhostPublisher.js +1 -2
  403. package/dist/worldGhostReceiver.js +1 -2
  404. package/dist/worldGhostSender.js +1 -2
  405. package/dist/worldGhostSocket.js +1 -2
  406. package/dist/worldGhostWire.js +3 -4
  407. package/dist/worldGroupCommand.js +1 -2
  408. package/dist/worldGroupDeadline.js +1 -2
  409. package/dist/worldGroupPreparation.js +1 -2
  410. package/dist/worldGroupReadyControl.js +8 -9
  411. package/dist/worldGroupSupervisor.js +3 -4
  412. package/dist/worldHandoffMetrics.js +1 -2
  413. package/dist/worldHandoffView.js +1 -2
  414. package/dist/worldHostSource.js +5 -6
  415. package/dist/worldInspectEndpoint.js +1 -2
  416. package/dist/worldInspection.js +1 -2
  417. package/dist/worldInstanceAdmission.js +1 -2
  418. package/dist/worldInstanceAllocation.js +1 -2
  419. package/dist/worldInstanceDestination.js +1 -2
  420. package/dist/worldInstanceExpiry.js +1 -2
  421. package/dist/worldInstanceExpirySupervisor.js +1 -2
  422. package/dist/worldInstanceLifecycle.js +1 -2
  423. package/dist/worldInstanceState.js +1 -2
  424. package/dist/worldInstances.js +1 -2
  425. package/dist/worldJoin.js +1 -2
  426. package/dist/worldLayers.js +6 -7
  427. package/dist/worldLeases.js +5 -6
  428. package/dist/worldManifest.js +1 -2
  429. package/dist/worldMovement.js +1 -2
  430. package/dist/worldPersistence.js +4 -5
  431. package/dist/worldProjection.js +6 -7
  432. package/dist/worldReact.js +1 -2
  433. package/dist/worldRecoveryActor.js +1 -2
  434. package/dist/worldReturnAnchor.js +1 -2
  435. package/dist/worldRoomHooks.js +5 -6
  436. package/dist/worldRoomPool.js +2 -3
  437. package/dist/worldRoomSteps.js +1 -2
  438. package/dist/worldSeatBinding.js +1 -2
  439. package/dist/worldSourceSeatPending.js +1 -2
  440. package/dist/worldStrategyFixtures.js +1 -2
  441. package/dist/worldTesting.js +1 -2
  442. package/dist/worldTransitionDefaults.js +1 -2
  443. package/dist/worldTransitionExecutor.js +9 -10
  444. package/dist/worldTransitionGroup.js +1 -2
  445. package/dist/worldTransitionPhysicalSteps.js +1 -2
  446. package/dist/worldTransitionResolver.js +8 -9
  447. package/dist/worldTransitionSeatGroup.js +1 -2
  448. package/dist/worldTransitionSeats.js +2 -3
  449. package/dist/worldTransitionState.js +1 -2
  450. package/dist/worldTransitions.js +8 -9
  451. package/package.json +10 -10
@@ -1,5 +1,5 @@
1
1
  import { RoomAuthoringError as e } from "./errors.js";
2
- //#region src/roomAuthoringStrategy.ts
2
+ // src/roomAuthoringStrategy.ts
3
3
  var t = (t, n, r, i, a = (e) => structuredClone(e)) => {
4
4
  try {
5
5
  if (typeof r != "function") throw Error("Missing strategy");
@@ -13,5 +13,4 @@ var t = (t, n, r, i, a = (e) => structuredClone(e)) => {
13
13
  });
14
14
  }
15
15
  };
16
- //#endregion
17
16
  export { t as roomAuthoringStrategy };
@@ -6,7 +6,7 @@ import { captureRoomSnapshotBlobs as s, captureRoomSnapshotEffectRunner as c } f
6
6
  import { eraseRoomSnapshots as l, readRoomSnapshotErasureJournal as u } from "./snapshotErasure.js";
7
7
  import { and as d, eq as f } from "@voltro/database";
8
8
  import { Effect as p, Layer as m } from "effect";
9
- //#region src/roomErasure.ts
9
+ // src/roomErasure.ts
10
10
  var h = [
11
11
  "fenced",
12
12
  "owner-withdrawn",
@@ -194,5 +194,4 @@ var _ = (e) => typeof e == "string" && e.trim() && e.length <= 191 ? e : g("Inva
194
194
  })));
195
195
  } });
196
196
  }, C = (e, t) => m.succeed(i, S(e, t));
197
- //#endregion
198
197
  export { S as dataStoreRoomErasure, x as readRoomErasureJournal, C as roomErasureLayer };
@@ -1,4 +1,4 @@
1
- //#region src/roomPoolRuntimeDefaults.ts
1
+ // src/roomPoolRuntimeDefaults.ts
2
2
  var e = /* @__PURE__ */ new WeakMap(), t = (t, n) => (e.set(n, e.get(t) ?? Object.freeze({
3
3
  catchUp: t.maxCatchUpTicks !== void 0,
4
4
  snapshot: t.snapshot?.everyMs !== void 0 || t.strategies?.snapshotPolicy !== void 0,
@@ -20,5 +20,4 @@ var e = /* @__PURE__ */ new WeakMap(), t = (t, n) => (e.set(n, e.get(t) ?? Objec
20
20
  }, r = /* @__PURE__ */ new WeakMap(), i = (e, t) => {
21
21
  r.set(t, r.get(e) ?? e.maxCatchUpTicks !== void 0);
22
22
  }, a = (e, t) => t && r.get(e) === !1 ? t.maxCatchUpTicks : e.maxCatchUpTicks;
23
- //#endregion
24
23
  export { n as applyRoomPoolRuntimeDefaults, i as retainLockstepPoolOrigin, t as retainRoomPolicyOrigin, a as roomPoolLockstepCatchUp };
@@ -1,7 +1,7 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { resolveRoomPool as t } from "./roomPoolTopology.js";
3
3
  import { resolveRoomHostSelection as n } from "./hostSelection.js";
4
- //#region src/roomPoolSelection.ts
4
+ // src/roomPoolSelection.ts
5
5
  var r = (r, i, a, o, s, c, l) => {
6
6
  let u = t(r, a, o, s, c), d = /* @__PURE__ */ new Set();
7
7
  for (let t of i) {
@@ -15,5 +15,4 @@ var r = (r, i, a, o, s, c, l) => {
15
15
  }), m = n(f, s, l === void 0 ? void 0 : (e, t) => l(e, t, p));
16
16
  return m === null ? null : f.find((e) => e.id === m.id) ?? null;
17
17
  };
18
- //#endregion
19
18
  export { r as resolveRoomPoolHostSelection };
@@ -1,7 +1,7 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { simulationOwnData as t } from "./simulationAuthoring.js";
3
3
  import { roomHostTransportEndpoints as n } from "./transportEndpoints.js";
4
- //#region src/roomPoolTopology.ts
4
+ // src/roomPoolTopology.ts
5
5
  var r = /* @__PURE__ */ new WeakSet();
6
6
  function i() {
7
7
  throw new e({ detail: "Room pools require complete unambiguous catalog ownership, bounded own configuration and tenant-isolated QA routing" });
@@ -208,5 +208,4 @@ var a = (e) => typeof e == "string" && /^[a-zA-Z0-9][a-zA-Z0-9._:-]{0,95}$/.test
208
208
  hibernate: n.defaults?.hibernate ?? r.hibernate
209
209
  });
210
210
  };
211
- //#endregion
212
211
  export { p as assertRoomPoolRecoveryTarget, f as captureAdmittedRoomPoolTopology, m as captureRoomPoolCatalog, u as captureRoomPoolTopology, d as resolveRoomPool, h as roomPoolHostedNames, _ as roomPoolPublicAddress, y as roomPoolRuntimeDefaults };
package/dist/rpc.js CHANGED
@@ -11,7 +11,7 @@ import { geometryAssetUrlDescriptor as N } from "./geometryAssetRpc.js";
11
11
  import { GeometryJournalRetentionWorkflowPayload as P, GeometryJournalRetentionWorkflowResult as F } from "./geometryJournalRetentionSchemas.js";
12
12
  import { defineAction as I, defineQuery as L } from "@voltro/protocol";
13
13
  import { Schema as R } from "effect";
14
- //#region src/rpc.ts
14
+ // src/rpc.ts
15
15
  var z = "@voltro/plugin-rooms", B = R.Union([
16
16
  e,
17
17
  t,
@@ -108,5 +108,4 @@ var z = "@voltro/plugin-rooms", B = R.Union([
108
108
  }
109
109
  }
110
110
  ];
111
- //#endregion
112
111
  export { z as BASE_NAME, e as BudgetExceeded, P as GeometryJournalRetentionWorkflowPayload, F as GeometryJournalRetentionWorkflowResult, n as ProtocolError, V as ReserveRoomInput, x as RoomReaperWorkflowPayload, S as RoomReaperWorkflowResult, v as RoomReservationSchema, B as RoomRpcError, y as RoomTransportEndpointsSchema, _ as WorldClientPendingInputSchema, m as WorldClientReceiptSchema, h as WorldClientRequestIdSchema, g as WorldClientTicketSchema, C as WorldJoinResultSchema, N as geometryAssetUrlDescriptor, d as geometryChunksDescriptor, f as geometryReloadDescriptor, p as geometryRollbackDescriptor, M as geometryStaticUrlDescriptor, G as leaveDescriptor, K as listDescriptor, U as reserveDescriptor, W as resumeDescriptor, q as roomsRpcClientImports, w as worldCancelDescriptor, T as worldCommitDescriptor, E as worldFollowDescriptor, D as worldJoinDescriptor, O as worldObserveDescriptor, k as worldPendingDescriptor, A as worldPrepareDescriptor, j as worldReservationDescriptor };
package/dist/rpcClient.js CHANGED
@@ -8,7 +8,7 @@ import { BASE_NAME as o, ReserveRoomInput as s, leaveDescriptor as c, listDescri
8
8
  import { worldClientReceipt as u, worldClientTicket as d } from "./worldClient.js";
9
9
  import { pluginTag as f } from "@voltro/protocol";
10
10
  import { Schema as p } from "effect";
11
- //#region src/rpcClient.ts
11
+ // src/rpcClient.ts
12
12
  var m = (t) => {
13
13
  try {
14
14
  let n = t && typeof t == "object" ? Object.getOwnPropertyDescriptor(t, "endpoints") : void 0;
@@ -148,5 +148,4 @@ var m = (t) => {
148
148
  }
149
149
  });
150
150
  };
151
- //#endregion
152
151
  export { b as listRooms, h as roomRpcReservations, w as worldRpcControls, y as worldRpcFollowerReservations, g as worldRpcJoin, C as worldRpcPending, v as worldRpcReservations };
package/dist/rpcRoutes.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { leaveDescriptor as e, listDescriptor as t, reserveDescriptor as n, resumeDescriptor as r } from "./rpc.js";
2
- //#region src/rpcRoutes.ts
2
+ // src/rpcRoutes.ts
3
3
  var i = (i) => [
4
4
  {
5
5
  ...n,
@@ -24,5 +24,4 @@ var i = (i) => [
24
24
  }
25
25
  }
26
26
  ];
27
- //#endregion
28
27
  export { i as roomsRpcRoutes };
package/dist/runtime.js CHANGED
@@ -21,7 +21,7 @@ import { activateRoomGeometryChange as E, activateRoomGeometryVersion as D, bind
21
21
  import { isRoomLockstepOwnedRoom as R } from "./lockstepOwnedRoom.js";
22
22
  import { Effect as z, Result as B, Schema as V } from "effect";
23
23
  import { createHash as H } from "node:crypto";
24
- //#region src/runtime.ts
24
+ // src/runtime.ts
25
25
  var U = (e) => H("sha256").update(e.bytes).update(m({
26
26
  schemaHash: e.schemaHash,
27
27
  schedules: e.schedules,
@@ -992,7 +992,7 @@ var U = (e) => H("sha256").update(e.bytes).update(m({
992
992
  try {
993
993
  for (let e of this.withdrawn.keys()) await this.finishWithdrawal(e);
994
994
  await this.commitPending();
995
- for (let [e, t] of this.rooms) t.mode === "state-sync" && !this.heldPublication.has(e) && !this.terminal.has(e) && !this.withdrawn.has(e) && !this.drains.has(e) && !this.pending.get(e)?.retire && await t.pumpGeometry();
995
+ for (let [e, t] of this.rooms) t.mode !== "state-sync" || this.heldPublication.has(e) || this.terminal.has(e) || this.withdrawn.has(e) || this.drains.has(e) || this.pending.get(e)?.retire || await t.pumpGeometry();
996
996
  let e = this.loopObservation.measure(() => this.host.advance((e) => !this.heldPublication.has(e))), t = [];
997
997
  this.collectTerminal(), t.push(...await this.captureTerminal());
998
998
  let r = this.host.activeRooms(), i = r.findIndex((e) => e.id === this.lastPeriodicRoom), a = i < 0 ? r : [...r.slice(i + 1), ...r.slice(0, i + 1)];
@@ -1119,5 +1119,4 @@ var U = (e) => H("sha256").update(e.bytes).update(m({
1119
1119
  };
1120
1120
  }
1121
1121
  };
1122
- //#endregion
1123
1122
  export { G as RoomRuntime };
@@ -1,5 +1,5 @@
1
1
  import { RoomAuthoringError as e } from "./errors.js";
2
- //#region src/schemaHistory.ts
2
+ // src/schemaHistory.ts
3
3
  function t(t, n) {
4
4
  throw new e({
5
5
  room: t,
@@ -94,5 +94,4 @@ var n = (e) => JSON.stringify([e.scope, e.id]), r = (e, r = {}) => {
94
94
  })
95
95
  });
96
96
  };
97
- //#endregion
98
97
  export { i as advanceRoomSchemaHistory, r as validateRoomSchemaHistory };
package/dist/seatStore.js CHANGED
@@ -6,7 +6,7 @@ import { captureRoomSeatInputReceipt as a } from "./inputReceipts.js";
6
6
  import { WorldSourceSeatPending as o } from "./worldSourceSeatPending.js";
7
7
  import { and as s, eq as c, gt as l } from "@voltro/database";
8
8
  import { Effect as u } from "effect";
9
- //#region src/seatStore.ts
9
+ // src/seatStore.ts
10
10
  var d = (e) => s(c("roomId", e.roomId), c("sessionId", e.sessionId), c("tenantId", e.tenantId), c("subjectId", e.subjectId), c("epoch", e.epoch), c("nonce", e.nonce), c("role", e.role)), f = (t) => u.tryPromise({
11
11
  try: t,
12
12
  catch: (t) => t instanceof o ? t : new e({ detail: "Durable Rooms seat operation failed" })
@@ -147,5 +147,4 @@ var d = (e) => s(c("roomId", e.roomId), c("sessionId", e.sessionId), c("tenantId
147
147
  eraseSubject: (e, t) => f(() => i.deleteMany(n, { where: s(c("tenantId", e), c("subjectId", t)) }))
148
148
  });
149
149
  };
150
- //#endregion
151
150
  export { m as consumeRoomSeatInTransaction, g as dataStoreRoomSeats, h as revalidateRoomSeatInTransaction };
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
2
2
  import { resolveRoomSeatTokenStrategies as t, signRoomSeat as n, signRoomSeatWithStrategies as r, verifiedRoomSeatClaims as i } from "./seats.js";
3
3
  import { Effect as a } from "effect";
4
4
  import { randomBytes as o } from "node:crypto";
5
- //#region src/seatStrategyFixtures.ts
5
+ // src/seatStrategyFixtures.ts
6
6
  var s = () => ({
7
7
  roomId: "room",
8
8
  sessionId: "seat",
@@ -48,5 +48,4 @@ var s = () => ({
48
48
  expected: "framed"
49
49
  }
50
50
  };
51
- //#endregion
52
51
  export { d as roomSeatSignSlotFixture, f as roomSeatVerifySlotFixture };
@@ -1,7 +1,7 @@
1
1
  import { ProtocolError as e, RoomForbidden as t } from "./errors.js";
2
2
  import { resolveIdentityAuthority as n } from "@voltro/protocol";
3
3
  import { Effect as r } from "effect";
4
- //#region src/seatSubject.ts
4
+ // src/seatSubject.ts
5
5
  var i = (e) => {
6
6
  if (e.subjectId === null) return {
7
7
  type: "anonymous",
@@ -28,5 +28,4 @@ var i = (e) => {
28
28
  }, o.authority),
29
29
  catch: () => new e({ detail: "Room seat authority resolution failed" })
30
30
  }), (n) => n.kind === "resolved" ? r.succeed(n.subject) : n.kind === "vetoed" ? r.fail(new t({ roomId: a })) : r.fail(new e({ detail: "Room seat authority is unavailable" }))), o = (e = {}) => (t) => a(i(t), t.roomId, e), s = (e = {}) => (t) => a(t, "", e);
31
- //#endregion
32
31
  export { s as roomControlSubjectResolver, i as roomSeatSubjectIdentity, o as roomSeatSubjectResolver };
package/dist/seats.js CHANGED
@@ -3,7 +3,7 @@ import { captureRoomSeatAttributes as r } from "./room.js";
3
3
  import { Result as i, Schema as a } from "effect";
4
4
  import { createHash as o } from "node:crypto";
5
5
  import { MIN_SESSION_SECRET_LENGTH as s, signSession as c, verifySessionKeyed as l } from "@voltro/protocol/session";
6
- //#region src/seats.ts
6
+ // src/seats.ts
7
7
  var u = a.Struct({
8
8
  purpose: a.Literal("voltro.rooms.seat.v1"),
9
9
  roomId: a.NonEmptyString,
@@ -126,5 +126,4 @@ var u = a.Struct({
126
126
  if (Object.keys(d).some((e) => !f(e, c, o))) throw new e({ detail: "Room seat-token strategies changed the issued identity" });
127
127
  return Uint8Array.from(s);
128
128
  };
129
- //#endregion
130
129
  export { m as assertRoomSeatSecrets, y as resolveRoomSeatTokenStrategies, h as roomSeatTokenDigest, g as signRoomSeat, S as signRoomSeatWithStrategies, _ as verifiedRoomSeatClaims, v as verifyRoomSeat, x as verifyRoomSeatWithStrategy };
@@ -13,7 +13,7 @@ import { definedOnly as v } from "./resolvedOptions.js";
13
13
  import { SpectatorDelayBuffer as y } from "./replay.js";
14
14
  import { captureRoomSessionAdmissionEvidence as b } from "./sessionAdmission.js";
15
15
  import { Effect as x, Result as S } from "effect";
16
- //#region src/serverSession.ts
16
+ // src/serverSession.ts
17
17
  var C = 250, w = /* @__PURE__ */ new WeakSet(), T = class extends AggregateError {
18
18
  releaseListeners;
19
19
  constructor(e, t) {
@@ -807,5 +807,4 @@ var C = 250, w = /* @__PURE__ */ new WeakSet(), T = class extends AggregateError
807
807
  write: (e, t, r) => F.call(n, e, t, r)
808
808
  });
809
809
  };
810
- //#endregion
811
810
  export { E as RoomServerSession, T as RoomServerSessionAcquisitionFailure, P as captureRoomAdmittedSessionReader, N as captureRoomLockstepSessionPort, I as captureRoomReliableChannelWriter };
@@ -1,7 +1,7 @@
1
1
  import { RoomAuthoringError as e } from "./errors.js";
2
2
  import { simulationOwnData as t } from "./simulationAuthoring.js";
3
3
  import { RoomBaselineRing as n } from "./baselines.js";
4
- //#region src/serverSessionConfig.ts
4
+ // src/serverSessionConfig.ts
5
5
  function r(r, i) {
6
6
  let a = {
7
7
  maxPendingWrites: 16,
@@ -39,5 +39,4 @@ function r(r, i) {
39
39
  maxBaselineAgeMs: c.maxBaselineAgeMs
40
40
  });
41
41
  }
42
- //#endregion
43
42
  export { r as captureRoomServerSessionLimits };
@@ -1,6 +1,6 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { Effect as t } from "effect";
3
- //#region src/sessionAdmission.ts
3
+ // src/sessionAdmission.ts
4
4
  var n = (t) => {
5
5
  let n = () => {
6
6
  throw new e({ detail: "Room session admission evidence is invalid" });
@@ -49,5 +49,4 @@ var n = (t) => {
49
49
  });
50
50
  };
51
51
  };
52
- //#endregion
53
52
  export { n as captureRoomSessionAdmissionEvidence, r as confirmRoomSessionAdmission };
@@ -2,7 +2,7 @@ import { ProtocolError as e, RoomAuthoringError as t } from "./errors.js";
2
2
  import { captureRoomTransportClock as n, captureRoomTransportDataMethod as r } from "./transportAuthoring.js";
3
3
  import { decodeRoomFrame as i } from "./wire.js";
4
4
  import { Result as a } from "effect";
5
- //#region src/sidecarAdmission.ts
5
+ // src/sidecarAdmission.ts
6
6
  var o = (o, s) => {
7
7
  let c = [
8
8
  "verificationTimeoutMs",
@@ -99,5 +99,4 @@ var o = (o, s) => {
99
99
  }
100
100
  };
101
101
  };
102
- //#endregion
103
102
  export { o as roomSidecarAdmission };
@@ -2,7 +2,7 @@ import { RoomAuthoringError as e } from "./errors.js";
2
2
  import { RoomSidecarWire as t } from "./sidecarWire.js";
3
3
  import { isAbsolute as n, resolve as r } from "node:path";
4
4
  import { isIP as i } from "node:net";
5
- //#region src/sidecarConfig.ts
5
+ // src/sidecarConfig.ts
6
6
  function a() {
7
7
  throw new e({
8
8
  room: "sidecar-config",
@@ -84,7 +84,7 @@ var o = (e, t, n = []) => {
84
84
  "ackTimeoutMs",
85
85
  "clock",
86
86
  "bindConnection"
87
- ]), new t(n.wire), (!(n.bootId instanceof Uint8Array) || n.bootId.byteLength !== 16) && a();
87
+ ]), new t(n.wire), n.bootId instanceof Uint8Array && n.bootId.byteLength === 16 || a();
88
88
  let u = s(n.maxConnections, 65536), d = s(n.maxRetiredConnections, 1048576), f = s(n.maxPendingWrites, 4096);
89
89
  (d < u || n.wire.maxQueuedBytes < n.wire.maxFrameBytes + 4 || n.wire.maxDatagramBytes > n.wire.maxFrameBytes || i.maxTotalPendingBytes < Math.max(n.wire.maxFrameBytes + 27, n.wire.maxReasonBytes + 24, 30) + 4 || i.writeTimeoutMs > s(n.ackTimeoutMs, 3e5)) && a(), c(r), new TextEncoder().encode(r).byteLength > 100 && a();
90
90
  let p = {
@@ -112,5 +112,4 @@ var o = (e, t, n = []) => {
112
112
  }, m = new TextEncoder().encode(JSON.stringify(p) + "\n");
113
113
  return m.byteLength > 65536 && a(), m;
114
114
  };
115
- //#endregion
116
115
  export { l as captureRoomSidecarNativeConfig, u as encodeRoomSidecarNativeConfig };
@@ -3,7 +3,7 @@ import { encodeRoomSidecarNativeConfig as n } from "./sidecarConfig.js";
3
3
  import { dirname as r, join as i } from "node:path";
4
4
  import { constants as a } from "node:fs";
5
5
  import { lstat as o, open as s, realpath as c } from "node:fs/promises";
6
- //#region src/sidecarConfigPublication.ts
6
+ // src/sidecarConfigPublication.ts
7
7
  var l = class extends Error {
8
8
  cleanup;
9
9
  constructor(e) {
@@ -60,5 +60,4 @@ var l = class extends Error {
60
60
  throw new e({ detail: "Sidecar private configuration publication failed" });
61
61
  }
62
62
  };
63
- //#endregion
64
63
  export { l as RoomSidecarConfigPublicationFailure, u as publishRoomSidecarNativeConfig };
@@ -6,7 +6,7 @@ import { RoomHostListenerBindFailure as o } from "./hostLane.js";
6
6
  import { inheritRoomHostListener as s } from "./hostListenerBinding.js";
7
7
  import { roomSidecarAdmission as c } from "./sidecarAdmission.js";
8
8
  import { RoomSidecarRuntimeAcquisitionFailure as l, openRoomSidecarRuntime as u } from "./sidecarRuntime.js";
9
- //#region src/sidecarHostListener.ts
9
+ // src/sidecarHostListener.ts
10
10
  var d = (e, n) => {
11
11
  if (!e || Object.getPrototypeOf(e) !== Object.prototype || Reflect.ownKeys(e).length !== n.length || n.some((t) => {
12
12
  let n = Object.getOwnPropertyDescriptor(e, t);
@@ -204,5 +204,4 @@ var d = (e, n) => {
204
204
  } });
205
205
  return s(C, f.fallback), C;
206
206
  };
207
- //#endregion
208
207
  export { f as sidecarRoomHostListener };
@@ -5,7 +5,7 @@ import { captureRoomSidecarProcessExit as a } from "./sidecarProcessPort.js";
5
5
  import { isAbsolute as o, join as s, resolve as c } from "node:path";
6
6
  import { createServer as l } from "node:net";
7
7
  import { chmod as u, lstat as d, mkdir as f, mkdtemp as p, realpath as m, rm as h } from "node:fs/promises";
8
- //#region src/sidecarIpc.ts
8
+ // src/sidecarIpc.ts
9
9
  var g = class extends Error {
10
10
  cleanup;
11
11
  constructor(e) {
@@ -201,5 +201,4 @@ var g = class extends Error {
201
201
  throw new e({ detail: "Sidecar IPC acquisition failed" });
202
202
  }
203
203
  };
204
- //#endregion
205
204
  export { g as RoomSidecarIpcAcquisitionError, _ as openRoomSidecarIpc };
@@ -4,7 +4,7 @@ import { RoomLatestDatagram as i } from "./streamFraming.js";
4
4
  import { RoomSidecarWire as a } from "./sidecarWire.js";
5
5
  import { RoomSidecarWrites as o } from "./sidecarWrites.js";
6
6
  import { Result as s } from "effect";
7
- //#region src/sidecarPeer.ts
7
+ // src/sidecarPeer.ts
8
8
  var c = () => {
9
9
  let e, t, n = new Promise((n, r) => {
10
10
  e = n, t = r;
@@ -306,5 +306,4 @@ var c = () => {
306
306
  }), e;
307
307
  }
308
308
  };
309
- //#endregion
310
309
  export { l as RoomSidecarPeer };
@@ -1,5 +1,5 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
- //#region src/sidecarProcessPort.ts
2
+ // src/sidecarProcessPort.ts
3
3
  var t = (t) => {
4
4
  let n = () => {
5
5
  throw new e({ detail: "Sidecar native exit observation is missing or malformed" });
@@ -24,5 +24,4 @@ var t = (t) => {
24
24
  signal: s
25
25
  });
26
26
  };
27
- //#endregion
28
27
  export { t as captureRoomSidecarProcessExit };
@@ -5,7 +5,7 @@ import { RoomSidecarConfigPublicationFailure as a, publishRoomSidecarNativeConfi
5
5
  import { captureRoomSidecarProcessExit as s } from "./sidecarProcessPort.js";
6
6
  import { RoomSidecarIpcAcquisitionError as c, openRoomSidecarIpc as l } from "./sidecarIpc.js";
7
7
  import { join as u } from "node:path";
8
- //#region src/sidecarRuntime.ts
8
+ // src/sidecarRuntime.ts
9
9
  var d = class extends Error {
10
10
  cleanup;
11
11
  constructor(e) {
@@ -164,5 +164,4 @@ var d = class extends Error {
164
164
  throw R;
165
165
  }
166
166
  };
167
- //#endregion
168
167
  export { d as RoomSidecarRuntimeAcquisitionFailure, m as openRoomSidecarRuntime };
@@ -3,7 +3,7 @@ import { RoomStreamFrameDecoder as t } from "./streamFraming.js";
3
3
  import { RoomSidecarWire as n } from "./sidecarWire.js";
4
4
  import { captureRoomSidecarNativeConfig as r } from "./sidecarConfig.js";
5
5
  import { isAbsolute as i, join as a, resolve as o } from "node:path";
6
- //#region src/sidecarSelection.ts
6
+ // src/sidecarSelection.ts
7
7
  function s() {
8
8
  throw new e({
9
9
  room: "sidecar-selection",
@@ -138,5 +138,4 @@ var c = (e, t) => {
138
138
  maintenance: { cadenceMs: 25 }
139
139
  });
140
140
  };
141
- //#endregion
142
141
  export { d as captureRoomSidecarHostSelection, f as developmentRoomSidecarSelection };
@@ -1,6 +1,6 @@
1
1
  import { BudgetExceeded as e, ProtocolError as t, RoomAuthoringError as n } from "./errors.js";
2
2
  import { Result as r } from "effect";
3
- //#region src/sidecarWire.ts
3
+ // src/sidecarWire.ts
4
4
  function i() {
5
5
  throw new t({ detail: "Malformed Room sidecar envelope" });
6
6
  }
@@ -26,7 +26,7 @@ var a = (e) => !(e instanceof Uint8Array) || e.byteLength !== 16 ? i() : e, o =
26
26
  encode(n) {
27
27
  try {
28
28
  let t = Object.getOwnPropertyDescriptor(n, "kind");
29
- (!t || !("value" in t)) && i();
29
+ t && "value" in t || i();
30
30
  let c, l, u;
31
31
  switch (t.value) {
32
32
  case "Ready":
@@ -46,7 +46,7 @@ var a = (e) => !(e instanceof Uint8Array) || e.byteLength !== 16 ? i() : e, o =
46
46
  "lane",
47
47
  "writeId",
48
48
  "payload"
49
- ]), c = 3, (n.kind !== "Frame" || !(n.payload instanceof Uint8Array) || !n.payload.byteLength) && i(), n.payload.byteLength > this.limits.maxFrameBytes) throw new e({
49
+ ]), c = 3, n.kind === "Frame" && n.payload instanceof Uint8Array && n.payload.byteLength || i(), n.payload.byteLength > this.limits.maxFrameBytes) throw new e({
50
50
  budget: "sidecarFrameBytes",
51
51
  limit: this.limits.maxFrameBytes
52
52
  });
@@ -69,7 +69,7 @@ var a = (e) => !(e instanceof Uint8Array) || e.byteLength !== 16 ? i() : e, o =
69
69
  "connectionId",
70
70
  "code",
71
71
  "reason"
72
- ]), c = 5, (n.kind !== "Close" || typeof n.reason != "string" || !n.reason.isWellFormed()) && i(), u = new TextEncoder().encode(n.reason), u.byteLength > this.limits.maxReasonBytes) throw new e({
72
+ ]), c = 5, n.kind === "Close" && typeof n.reason == "string" && n.reason.isWellFormed() || i(), u = new TextEncoder().encode(n.reason), u.byteLength > this.limits.maxReasonBytes) throw new e({
73
73
  budget: "sidecarReasonBytes",
74
74
  limit: this.limits.maxReasonBytes
75
75
  });
@@ -174,5 +174,4 @@ var a = (e) => !(e instanceof Uint8Array) || e.byteLength !== 16 ? i() : e, o =
174
174
  }
175
175
  }
176
176
  };
177
- //#endregion
178
177
  export { c as RoomSidecarWire };
@@ -1,6 +1,6 @@
1
1
  import { BudgetExceeded as e, ProtocolError as t, RoomAuthoringError as n } from "./errors.js";
2
2
  import { captureRoomTransportClock as r } from "./transportAuthoring.js";
3
- //#region src/sidecarWrites.ts
3
+ // src/sidecarWrites.ts
4
4
  var i = class {
5
5
  id;
6
6
  options;
@@ -159,5 +159,4 @@ var i = class {
159
159
  }), e;
160
160
  }
161
161
  };
162
- //#endregion
163
162
  export { i as RoomSidecarWrites };
@@ -10,7 +10,7 @@ import { SimulationSnapshotCodec as x, createSimulationSnapshotCodec as S } from
10
10
  import { verifySimulationReplay as C } from "./simulationReplay.js";
11
11
  import { SimulationRecoveryCodec as w, createSimulationRecoveryCodec as T } from "./simulationRecoveryWire.js";
12
12
  import { nonAuthoritative as E } from "./room.js";
13
- //#region src/simulation.ts
13
+ // src/simulation.ts
14
14
  var D = /* @__PURE__ */ new WeakSet(), O = (e) => {
15
15
  if (!e || typeof e != "object" || !D.has(e)) throw new t({
16
16
  room: "simulation",
@@ -278,5 +278,4 @@ var A = (e) => {
278
278
  })), this.#o = o, this.#s = s, this.#a = n, this.#i = r, a;
279
279
  }
280
280
  }, L = (e, t, n, r = {}) => new I(e, t, n, r);
281
- //#endregion
282
281
  export { p as SimulationInputHistoryCodec, d as SimulationOptionsCodec, w as SimulationRecoveryCodec, I as SimulationRunner, x as SimulationSnapshotCodec, O as assertCapturedSimulation, P as captureSimulationInputs, N as captureSimulationSnapshot, h as compareSimulationConformanceTraces, g as createSimulationConformanceCase, m as createSimulationInputHistoryCodec, f as createSimulationOptionsCodec, T as createSimulationRecoveryCodec, L as createSimulationRunner, S as createSimulationSnapshotCodec, c as createSimulationState, _ as decodeSimulationConformanceCase, A as defineSimulation, v as encodeSimulationConformanceCase, E as nonAuthoritative, M as prepareSimulationSnapshot, y as runSimulationConformanceTrace, l as schemaSimulationHash, b as simulationConformance, C as verifySimulationReplay };
@@ -1,5 +1,5 @@
1
1
  import { RoomAuthoringError as e } from "./errors.js";
2
- //#region src/simulationAuthoring.ts
2
+ // src/simulationAuthoring.ts
3
3
  function t(t) {
4
4
  throw new e({
5
5
  room: "simulation",
@@ -25,5 +25,4 @@ var n = (e, n, r) => {
25
25
  }
26
26
  return e;
27
27
  }, i = (e) => e instanceof Promise ? (Promise.prototype.then.call(e, void 0, () => void 0), t("Simulation init/step/hash/prediction callbacks must be synchronous")) : e;
28
- //#endregion
29
28
  export { r as freezeSimulationValue, n as simulationOwnData, i as simulationSyncValue };
@@ -1,5 +1,5 @@
1
1
  import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
2
- //#region src/simulationBytes.ts
2
+ // src/simulationBytes.ts
3
3
  function n(e) {
4
4
  throw new t({ detail: e });
5
5
  }
@@ -23,5 +23,4 @@ var r = Object.getPrototypeOf(Uint8Array.prototype), i = Object.getOwnPropertyDe
23
23
  return n("Simulation byte storage changed during capture");
24
24
  }
25
25
  };
26
- //#endregion
27
26
  export { s as captureSimulationBytes };
@@ -9,7 +9,7 @@ import { createSimulationInputHistoryCodec as m } from "./simulationInputHistory
9
9
  import { assertCapturedSimulation as h, createSimulationRunner as g } from "./simulation.js";
10
10
  import { RoomInputCodec as _, RoomStateCodec as v } from "./stateCodec.js";
11
11
  import { Result as y } from "effect";
12
- //#region src/simulationConformance.ts
12
+ // src/simulationConformance.ts
13
13
  function b(e) {
14
14
  throw new n({
15
15
  room: "simulation-conformance",
@@ -301,5 +301,4 @@ var x = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]), S = (e
301
301
  comparisons: a.observations.length
302
302
  });
303
303
  };
304
- //#endregion
305
304
  export { L as compareSimulationConformanceTraces, w as createSimulationConformanceCase, k as decodeSimulationConformanceCase, O as encodeSimulationConformanceCase, P as runSimulationConformanceTrace, F as simulationConformance };
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
2
2
  import { unsignedWord as t } from "./fixedWords.js";
3
3
  import { simulationOwnData as n } from "./simulationAuthoring.js";
4
4
  import { captureSimulationInputs as r } from "./simulation.js";
5
- //#region src/simulationInputHistoryCapture.ts
5
+ // src/simulationInputHistoryCapture.ts
6
6
  function i(t) {
7
7
  throw new e({ detail: t });
8
8
  }
@@ -31,5 +31,4 @@ var a = (e, a, o, s, c, l = () => void 0, u = /* @__PURE__ */ new Map()) => {
31
31
  }
32
32
  return Object.freeze(f);
33
33
  };
34
- //#endregion
35
34
  export { a as captureSimulationInputHistory };
@@ -6,7 +6,7 @@ import { captureSimulationInputHistory as o } from "./simulationInputHistoryCapt
6
6
  import { assertCapturedSimulation as s } from "./simulation.js";
7
7
  import { RoomInputCodec as c } from "./stateCodec.js";
8
8
  import { Result as l } from "effect";
9
- //#region src/simulationInputHistoryWire.ts
9
+ // src/simulationInputHistoryWire.ts
10
10
  var u = Object.freeze([
11
11
  76,
12
12
  83,
@@ -189,5 +189,4 @@ var m = class {
189
189
  });
190
190
  }
191
191
  }, h = (e, t = {}) => new m(e, t);
192
- //#endregion
193
192
  export { m as SimulationInputHistoryCodec, h as createSimulationInputHistoryCodec };
@@ -4,7 +4,7 @@ import { captureSimulationBytes as r } from "./simulationBytes.js";
4
4
  import { assertCapturedSimulation as i } from "./simulation.js";
5
5
  import { RoomInputCodec as a } from "./stateCodec.js";
6
6
  import { Result as o } from "effect";
7
- //#region src/simulationOptionsWire.ts
7
+ // src/simulationOptionsWire.ts
8
8
  var s = 12, c = (e, t) => {
9
9
  if (Object.is(e, t)) return !0;
10
10
  if (!e || !t || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t)) return !1;
@@ -74,5 +74,4 @@ var s = 12, c = (e, t) => {
74
74
  });
75
75
  }
76
76
  }, u = (e) => new l(e);
77
- //#endregion
78
77
  export { l as SimulationOptionsCodec, u as createSimulationOptionsCodec };
@@ -6,7 +6,7 @@ import { createSimulationSnapshotCodec as o } from "./simulationSnapshotWire.js"
6
6
  import { assertCapturedSimulation as s, captureSimulationInputs as c } from "./simulation.js";
7
7
  import { RoomInputCodec as l } from "./stateCodec.js";
8
8
  import { Result as u } from "effect";
9
- //#region src/simulationRecoveryWire.ts
9
+ // src/simulationRecoveryWire.ts
10
10
  var d = 16, f = Object.freeze([
11
11
  76,
12
12
  83,
@@ -130,5 +130,4 @@ var m = (e, t, n, r, i) => !Number.isInteger(i) || i < 1 || i > 4096 ? p("Recove
130
130
  });
131
131
  }
132
132
  }, g = (e, t = {}) => new h(e, t);
133
- //#endregion
134
133
  export { h as SimulationRecoveryCodec, m as captureSimulationRecoveryContinuation, g as createSimulationRecoveryCodec };
@@ -4,7 +4,7 @@ import { freezeSimulationValue as i, simulationOwnData as a } from "./simulation
4
4
  import { assertCapturedSimulation as o, captureSimulationInputs as s, captureSimulationSnapshot as c, createSimulationRunner as l } from "./simulation.js";
5
5
  import { RoomInputCodec as u } from "./stateCodec.js";
6
6
  import { Result as d } from "effect";
7
- //#region src/simulationReplay.ts
7
+ // src/simulationReplay.ts
8
8
  function f(e) {
9
9
  throw new t({
10
10
  room: "simulation",
@@ -123,5 +123,4 @@ var p = (t, p, m = {}) => {
123
123
  hash: O.hash
124
124
  });
125
125
  };
126
- //#endregion
127
126
  export { p as verifySimulationReplay };
@@ -4,7 +4,7 @@ import { captureSimulationBytes as i } from "./simulationBytes.js";
4
4
  import { assertCapturedSimulation as a, captureSimulationSnapshot as o } from "./simulation.js";
5
5
  import { RoomInputCodec as s, RoomStateCodec as c } from "./stateCodec.js";
6
6
  import { Result as l } from "effect";
7
- //#region src/simulationSnapshotWire.ts
7
+ // src/simulationSnapshotWire.ts
8
8
  var u = 44, d = Object.freeze([
9
9
  76,
10
10
  83,
@@ -108,5 +108,4 @@ var p = class {
108
108
  });
109
109
  }
110
110
  }, m = (e, t = {}) => new p(e, t);
111
- //#endregion
112
111
  export { p as SimulationSnapshotCodec, m as createSimulationSnapshotCodec };