@voltro/plugin-rooms 0.87.0 → 0.88.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 +169 -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
@@ -4,7 +4,7 @@ import { makeWorldGhostNeighborhood as n } from "./worldGhostNeighborhood.js";
4
4
  import { captureWorldCatalog as r, worldCellAt as i } from "./world.js";
5
5
  import { dataStoreWorldCells as a } from "./worldCells.js";
6
6
  import { Effect as o } from "effect";
7
- //#region src/worldGhostNeighbors.ts
7
+ // src/worldGhostNeighbors.ts
8
8
  var s = (s, c) => {
9
9
  let l = () => {
10
10
  throw new e({ detail: "Ghost neighbor observation lost declared source ownership" });
@@ -82,5 +82,4 @@ var s = (s, c) => {
82
82
  });
83
83
  }).pipe(o.catchCause(() => o.fail(new e({ detail: "Ghost neighbor observation remains incomplete" })))) });
84
84
  };
85
- //#endregion
86
85
  export { s as dataStoreWorldGhostNeighbors };
@@ -3,7 +3,7 @@ import { simulationOwnData as t } from "./simulationAuthoring.js";
3
3
  import { captureWorldData as n } from "./worldData.js";
4
4
  import { captureRoomTransportClock as r, captureRoomTransportDataMethod as i } from "./transportAuthoring.js";
5
5
  import { RoomTransportCleanupFailure as a } from "./transportCleanup.js";
6
- //#region src/worldGhostOutbound.ts
6
+ // src/worldGhostOutbound.ts
7
7
  var o = (e) => {
8
8
  let a = [
9
9
  "carrier",
@@ -106,5 +106,4 @@ var o = (e) => {
106
106
  status: () => u
107
107
  });
108
108
  };
109
- //#endregion
110
109
  export { o as captureRoomWorldGhostOutboundOptions, s as ownWorldGhostOutbound };
@@ -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 { captureWorldData as n } from "./worldData.js";
4
- //#region src/worldGhostPublisher.ts
4
+ // src/worldGhostPublisher.ts
5
5
  var r = () => new e({ detail: "Bounded World ghost publication remains incomplete" }), i = (e) => {
6
6
  let i = [
7
7
  "now",
@@ -212,5 +212,4 @@ var r = () => new e({ detail: "Bounded World ghost publication remains incomplet
212
212
  })
213
213
  });
214
214
  };
215
- //#endregion
216
215
  export { i as makeWorldGhostPublisher };
@@ -4,7 +4,7 @@ import { worldActorCanonicalJson as n } from "./worldActorReceipts.js";
4
4
  import { captureWorldActorTransferSnapshot as r } from "./worldActorTransferSnapshot.js";
5
5
  import { Effect as i } from "effect";
6
6
  import { createHash as a } from "node:crypto";
7
- //#region src/worldGhostReceiver.ts
7
+ // src/worldGhostReceiver.ts
8
8
  var o = () => new e({ detail: "Ghost receiver operation remains incomplete" }), s = (e, t) => {
9
9
  if (!e || Object.getPrototypeOf(e) !== Object.prototype || Reflect.ownKeys(e).length !== t.length || t.some((t) => {
10
10
  let n = Object.getOwnPropertyDescriptor(e, t);
@@ -209,5 +209,4 @@ var o = () => new e({ detail: "Ghost receiver operation remains incomplete" }),
209
209
  })
210
210
  });
211
211
  };
212
- //#endregion
213
212
  export { u as captureWorldGhostWithdrawal, d as makeWorldGhostReceiver };
@@ -5,7 +5,7 @@ import { worldActorCanonicalJson as r } from "./worldActorReceipts.js";
5
5
  import { captureWorldGhostWithdrawal as i } from "./worldGhostReceiver.js";
6
6
  import { makeWorldGhostWireCodec as a } from "./worldGhostWire.js";
7
7
  import { createHash as o } from "node:crypto";
8
- //#region src/worldGhostSender.ts
8
+ // src/worldGhostSender.ts
9
9
  var s = () => new e({ detail: "World ghost publication is unconfirmed; retry the exact retained frame" }), c = (e, c) => {
10
10
  let l = [
11
11
  "state",
@@ -142,5 +142,4 @@ var s = () => new e({ detail: "World ghost publication is unconfirmed; retry the
142
142
  })
143
143
  });
144
144
  };
145
- //#endregion
146
145
  export { c as bindWorldGhostSender };
@@ -4,7 +4,7 @@ import { captureRoomTransportDataMethod as n } from "./transportAuthoring.js";
4
4
  import { RoomTransportCleanupFailure as r } from "./transportCleanup.js";
5
5
  import { openRoomSocketTransport as i } from "./socketTransport.js";
6
6
  import { bindWorldGhostSender as a } from "./worldGhostSender.js";
7
- //#region src/worldGhostSocket.ts
7
+ // src/worldGhostSocket.ts
8
8
  var o = () => new e({ detail: "Direct World ghost socket handshake remains incomplete" }), s = async (e, s, c) => {
9
9
  let l = [
10
10
  "carrier",
@@ -74,5 +74,4 @@ var o = () => new e({ detail: "Direct World ghost socket handshake remains incom
74
74
  throw e;
75
75
  }
76
76
  };
77
- //#endregion
78
77
  export { s as openWorldGhostSocket };
@@ -3,7 +3,7 @@ import { captureWorldData as t } from "./worldData.js";
3
3
  import { worldActorCanonicalJson as n } from "./worldActorReceipts.js";
4
4
  import { roomWorldEntityCodec as r } from "./worldEntityCodec.js";
5
5
  import { Result as i, Schema as a } from "effect";
6
- //#region src/worldGhostWire.ts
6
+ // src/worldGhostWire.ts
7
7
  var o = "voltro-world-ghost/1", s = a.Struct({
8
8
  tenantId: a.String,
9
9
  worldId: a.String,
@@ -111,7 +111,7 @@ var u = (e, t) => {
111
111
  "entity"
112
112
  ]), (r.schemaHash !== h.schemaHash || !Array.isArray(r.bytes) || !r.bytes.length || r.bytes.length > f || !r.bytes.every((e) => Number.isInteger(e) && e >= 0 && e <= 255)) && l();
113
113
  let i = g(h.decodeFull(Uint8Array.from(r.bytes)));
114
- (!i || i.id !== n.capture.entityId) && l();
114
+ i && i.id === n.capture.entityId || l();
115
115
  let s = g(h.full(a.decodeUnknownSync(h.schema)(r.entity)));
116
116
  return (s.length !== r.bytes.length || s.some((e, t) => e !== r.bytes[t])) && l(), {
117
117
  frame: n,
@@ -149,7 +149,7 @@ var u = (e, t) => {
149
149
  let { bytes: r, length: i, metadata: a } = y(e), o = a.baseSequence === 0 ? void 0 : n === void 0 ? l() : v(n);
150
150
  o && o.frame.sequence !== a.baseSequence && l();
151
151
  let s = r.subarray(8 + i), c = g(o ? h.decodeDelta(s, o.entity) : h.decodeFull(s));
152
- (!c || c.id !== a.entityId) && l();
152
+ c && c.id === a.entityId || l();
153
153
  let u = g(h.full(c)), f = t({
154
154
  sequence: a.sequence,
155
155
  capture: {
@@ -168,5 +168,4 @@ var u = (e, t) => {
168
168
  }
169
169
  });
170
170
  };
171
- //#endregion
172
171
  export { f as makeWorldGhostWireCodec, o as worldGhostWireLayout };
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
2
2
  import { captureWorldData as t } from "./worldData.js";
3
3
  import { worldGroupTransitionRequest as n } from "./worldCommands.js";
4
4
  import { createHash as r } from "node:crypto";
5
- //#region src/worldGroupCommand.ts
5
+ // src/worldGroupCommand.ts
6
6
  function i() {
7
7
  throw new e({ detail: "World group command receipt is invalid" });
8
8
  }
@@ -45,5 +45,4 @@ var a = (e, t) => {
45
45
  waitUntil: o
46
46
  });
47
47
  };
48
- //#endregion
49
48
  export { s as captureWorldGroupCommand, u as captureWorldGroupCommandReceipt, c as worldGroupCommandKey, l as worldGroupCommandRequestId };
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
2
2
  import { captureWorldGroupCommand as t, captureWorldGroupCommandReceipt as n } from "./worldGroupCommand.js";
3
3
  import { worldTransitionGroupFromRecords as r } from "./worldTransitionGroup.js";
4
4
  import { Effect as i, Result as a } from "effect";
5
- //#region src/worldGroupDeadline.ts
5
+ // src/worldGroupDeadline.ts
6
6
  function o() {
7
7
  throw new e({ detail: "World group deadline authority is incomplete or changed" });
8
8
  }
@@ -111,5 +111,4 @@ var s = (e, t) => {
111
111
  }));
112
112
  } });
113
113
  };
114
- //#endregion
115
114
  export { l as makeWorldGroupDeadline };
@@ -3,7 +3,7 @@ import { captureWorldData as t } from "./worldData.js";
3
3
  import { captureWorldGroupCommand as n, worldGroupCommandRequestId as r } from "./worldGroupCommand.js";
4
4
  import { worldTransitionGroupFromRecords as i } from "./worldTransitionGroup.js";
5
5
  import { Effect as a } from "effect";
6
- //#region src/worldGroupPreparation.ts
6
+ // src/worldGroupPreparation.ts
7
7
  function o() {
8
8
  throw new e({ detail: "World group preparation authority is incomplete or changed" });
9
9
  }
@@ -111,5 +111,4 @@ var s = (e, t) => {
111
111
  status: (e, t) => w(e, t, (e) => u(() => y("status", e)).pipe(a.flatMap(() => C(e))))
112
112
  });
113
113
  };
114
- //#endregion
115
114
  export { f as makeWorldGroupPreparation };
@@ -3,15 +3,15 @@ import { captureRoomSessionAdmissionEvidence as t } from "./sessionAdmission.js"
3
3
  import { worldTransitionGroupFromRecords as n } from "./worldTransitionGroup.js";
4
4
  import { Subject as r } from "@voltro/protocol";
5
5
  import { Effect as i, Schema as a } from "effect";
6
- //#region src/worldGroupReadyControl.ts
6
+ // src/worldGroupReadyControl.ts
7
7
  function o() {
8
8
  throw new e({ detail: "World group ready control refused admission" });
9
9
  }
10
10
  var s = (e, t) => {
11
- (!e || typeof e != "object" || Object.getPrototypeOf(e) !== Object.prototype) && o();
11
+ e && typeof e == "object" && Object.getPrototypeOf(e) === Object.prototype || o();
12
12
  for (let n of Reflect.ownKeys(e)) {
13
13
  let r = Object.getOwnPropertyDescriptor(e, n);
14
- (typeof n != "string" || !t.includes(n) || !r?.enumerable || !("value" in r)) && o();
14
+ typeof n == "string" && t.includes(n) && r?.enumerable && "value" in r || o();
15
15
  }
16
16
  }, c = (e, t = 191) => typeof e == "string" && e.length <= t && /^[A-Za-z0-9][A-Za-z0-9_.:-]*$/.test(e) ? e : o(), l = (e, t) => {
17
17
  s(e, [
@@ -27,7 +27,7 @@ var s = (e, t) => {
27
27
  return n.tenantId === t ? n : o();
28
28
  }, u = (e, t) => {
29
29
  let n = e && typeof e == "object" ? Object.getOwnPropertyDescriptor(e, t) : void 0;
30
- return (!n || !("value" in n) || typeof n.value != "function") && o(), n.value.bind(e);
30
+ return n && "value" in n && typeof n.value == "function" || o(), n.value.bind(e);
31
31
  }, d = (t) => i.suspend(() => {
32
32
  let n = t();
33
33
  return i.isEffect(n) ? n : i.fail(new e({ detail: "World group ready control requires actual Effects" }));
@@ -48,7 +48,7 @@ var s = (e, t) => {
48
48
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = [];
49
49
  for (let i = 0; i < e.length; i++) {
50
50
  let a = Object.getOwnPropertyDescriptor(e, i);
51
- (!a || !("value" in a)) && o();
51
+ a && "value" in a || o();
52
52
  let u = a.value;
53
53
  s(u, ["origin", "expectedSubject"]), s(u.expectedSubject, ["id", "kind"]);
54
54
  let d = l(u.origin, m), f = u.expectedSubject;
@@ -77,11 +77,11 @@ var s = (e, t) => {
77
77
  return d(() => i.gen(function* () {
78
78
  yield* d(() => x(h, p));
79
79
  let e = yield* T(p);
80
- (!e.group?.requiresReadiness || e.subject?.id !== g.id || e.subject.kind !== g.kind || ![
80
+ e.group?.requiresReadiness && e.subject?.id === g.id && e.subject.kind === g.kind && [
81
81
  "switching",
82
82
  "committed",
83
83
  "settled"
84
- ].includes(e.phase)) && o();
84
+ ].includes(e.phase) || o();
85
85
  let r = w(yield* d(() => S(e, h)));
86
86
  r.filter((e) => f(e.origin, p) && e.expectedSubject?.id === g.id && e.expectedSubject.kind === g.kind).length !== 1 && o();
87
87
  let a = () => d(() => i.gen(function* () {
@@ -98,7 +98,7 @@ var s = (e, t) => {
98
98
  }, c = (t) => {
99
99
  if (!t.every((e) => (e.phase === "committed" || e.phase === "settled") && e.result !== null)) return null;
100
100
  let n = t.find((e) => f(e.origin, p));
101
- return (!n || n.id !== e.id || n.subject?.id !== g.id || n.subject.kind !== g.kind || n.group?.key !== e.group.key || n.group?.digest !== e.group.digest) && o(), n;
101
+ return n && n.id === e.id && n.subject?.id === g.id && n.subject.kind === g.kind && n.group?.key === e.group.key && n.group?.digest === e.group.digest || o(), n;
102
102
  }, l = (e) => e.pipe(i.catchCause((e) => a().pipe(i.flatMap((t) => {
103
103
  let n = c(t);
104
104
  return n ? i.succeed(n) : i.failCause(e);
@@ -124,5 +124,4 @@ var s = (e, t) => {
124
124
  }));
125
125
  } });
126
126
  };
127
- //#endregion
128
127
  export { p as makeWorldGroupReadyControl };
@@ -3,15 +3,15 @@ import { captureWorldData as t } from "./worldData.js";
3
3
  import { captureWorldGroupCommandReceipt as n } from "./worldGroupCommand.js";
4
4
  import { worldTransitionGroupFromRecords as r } from "./worldTransitionGroup.js";
5
5
  import { Effect as i, Result as a } from "effect";
6
- //#region src/worldGroupSupervisor.ts
6
+ // src/worldGroupSupervisor.ts
7
7
  function o() {
8
8
  throw new e({ detail: "World group supervisor requires complete bounded actual providers" });
9
9
  }
10
10
  var s = (e, t) => {
11
- (!e || typeof e != "object" || Object.getPrototypeOf(e) !== Object.prototype || Reflect.ownKeys(e).length !== t.length) && o();
11
+ e && typeof e == "object" && Object.getPrototypeOf(e) === Object.prototype && Reflect.ownKeys(e).length === t.length || o();
12
12
  for (let n of Reflect.ownKeys(e)) {
13
13
  let r = Object.getOwnPropertyDescriptor(e, n);
14
- (typeof n != "string" || !t.includes(n) || !r?.enumerable || !("value" in r)) && o();
14
+ typeof n == "string" && t.includes(n) && r?.enumerable && "value" in r || o();
15
15
  }
16
16
  }, c = (e, t) => {
17
17
  let n = Object.getOwnPropertyDescriptor(e, t);
@@ -116,5 +116,4 @@ var s = (e, t) => {
116
116
  S = !1;
117
117
  }))))) });
118
118
  };
119
- //#endregion
120
119
  export { u as makeWorldGroupSupervisor };
@@ -1,5 +1,5 @@
1
1
  import { captureWorldData as e } from "./worldData.js";
2
- //#region src/worldHandoffMetrics.ts
2
+ // src/worldHandoffMetrics.ts
3
3
  var t = Object.freeze([
4
4
  10,
5
5
  50,
@@ -55,5 +55,4 @@ var t = Object.freeze([
55
55
  return null;
56
56
  }
57
57
  };
58
- //#endregion
59
58
  export { r as captureWorldHandoffMetrics, n as makeWorldHandoffMetrics, t as worldHandoffDurationBuckets };
@@ -3,7 +3,7 @@ import { simulationOwnData as t } from "./simulationAuthoring.js";
3
3
  import { captureWorldData as n } from "./worldData.js";
4
4
  import { WorldClientRequestIdSchema as r } from "./worldClientSchemas.js";
5
5
  import { Result as i, Schema as a } from "effect";
6
- //#region src/worldHandoffView.ts
6
+ // src/worldHandoffView.ts
7
7
  var o = () => new e({ detail: "World handoff presentation requires bounded actual delivered snapshots" }), s = (e) => {
8
8
  let s = [
9
9
  "maxBytes",
@@ -96,5 +96,4 @@ var o = () => new e({ detail: "World handoff presentation requires bounded actua
96
96
  }
97
97
  });
98
98
  };
99
- //#endregion
100
99
  export { s as makeWorldHandoffView };
@@ -1,14 +1,14 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
- //#region src/worldHostSource.ts
2
+ // src/worldHostSource.ts
3
3
  var t = (t) => {
4
4
  let n = () => {
5
5
  throw new e({ detail: "World Host source requires own recovery and optional transition observation capabilities" });
6
6
  };
7
- (!t || typeof t != "object") && n();
7
+ t && typeof t == "object" || n();
8
8
  let r = Object.getOwnPropertyDescriptor(t, "handoffMetrics");
9
9
  (r && (!("value" in r) || typeof r.value != "function") || !r && "handoffMetrics" in t) && n();
10
10
  let i = Object.getOwnPropertyDescriptor(t, "recoverRoom");
11
- (!i || !("value" in i) || typeof i.value != "function") && n();
11
+ i && "value" in i && typeof i.value == "function" || n();
12
12
  let a = Object.getOwnPropertyDescriptor(t, "admitActorNeighbor");
13
13
  (a && (!("value" in a) || typeof a.value != "function") || !a && "admitActorNeighbor" in t) && n();
14
14
  let o = Object.getOwnPropertyDescriptor(t, "admitActorProjection");
@@ -20,9 +20,9 @@ var t = (t) => {
20
20
  let l;
21
21
  if (c?.value !== void 0) {
22
22
  let e = c.value;
23
- (!e || typeof e != "object") && n();
23
+ e && typeof e == "object" || n();
24
24
  let t = Object.getOwnPropertyDescriptor(e, "observe");
25
- (!t || !("value" in t) || typeof t.value != "function") && n();
25
+ t && "value" in t && typeof t.value == "function" || n();
26
26
  let r = Object.getOwnPropertyDescriptor(e, "scanSourceTransitions");
27
27
  (r && (!("value" in r) || typeof r.value != "function") || !r && "scanSourceTransitions" in e) && n();
28
28
  let i = Object.getOwnPropertyDescriptor(e, "retainActorSnapshot");
@@ -65,5 +65,4 @@ var t = (t) => {
65
65
  ...l ? { transitions: l } : {}
66
66
  });
67
67
  };
68
- //#endregion
69
68
  export { t as captureRoomWorldEntitySource };
@@ -8,7 +8,7 @@ import { WORLD_CELLS_TABLE as c } from "./worldCells.js";
8
8
  import { and as l, eq as u, gt as d, or as f } from "@voltro/database";
9
9
  import { Effect as p, Result as m } from "effect";
10
10
  import { parseReplicaSelection as h } from "@voltro/protocol/inspect";
11
- //#region src/worldInspectEndpoint.ts
11
+ // src/worldInspectEndpoint.ts
12
12
  var g = (e) => {
13
13
  if (typeof e != "string" || e.length === 0 || e.length > 191 || e.trim() !== e) throw Error("Invalid World inspection identity");
14
14
  return e;
@@ -246,5 +246,4 @@ var g = (e) => {
246
246
  })
247
247
  };
248
248
  };
249
- //#endregion
250
249
  export { y as roomsWorldInspectEndpoint };
@@ -1,6 +1,6 @@
1
1
  import { WorldTransitionPhaseSchema as e } from "./worldCommands.js";
2
2
  import { Schema as t } from "effect";
3
- //#region src/worldInspection.ts
3
+ // src/worldInspection.ts
4
4
  var n = t.String.pipe(t.check(t.isMinLength(1)), t.check(t.isMaxLength(191)), t.check(t.makeFilter((e) => e.trim() === e))), r = t.Number.pipe(t.check(t.isInt()), t.check(t.isGreaterThanOrEqualTo(0)), t.check(t.makeFilter(Number.isSafeInteger))), i = r.pipe(t.check(t.isGreaterThan(0))), a = t.Number.pipe(t.check(t.isFinite())), o = t.Tuple([a, a]), s = t.Tuple([o, o]).pipe(t.check(t.makeFilter((e) => e[1][0] > e[0][0] && e[1][1] > e[0][1] && Number.isFinite(e[1][0] - e[0][0]) && Number.isFinite(e[1][1] - e[0][1])))), c = t.String.pipe(t.check(t.makeFilter((e) => Number.isFinite(Date.parse(e))))), l = t.Struct({
5
5
  id: n,
6
6
  bounds: s,
@@ -105,5 +105,4 @@ var n = t.String.pipe(t.check(t.isMinLength(1)), t.check(t.isMaxLength(191)), t.
105
105
  }
106
106
  return n.nextAfter === null || n.entries.length === 50 && n.nextAfter === n.entries.at(-1)?.id;
107
107
  }))), h = (e) => t.decodeUnknownSync(m)(e);
108
- //#endregion
109
108
  export { m as WorldInspectionSchema, h as decodeWorldInspection };
@@ -2,7 +2,7 @@ import { WORLD_INSTANCES_TABLE as e } from "./worldInstanceState.js";
2
2
  import { ProtocolError as t } from "./errors.js";
3
3
  import { assertWorldRoomPool as n } from "./worldRoomPool.js";
4
4
  import { and as r, eq as i } from "@voltro/database";
5
- //#region src/worldInstanceAdmission.ts
5
+ // src/worldInstanceAdmission.ts
6
6
  var a = async (a, o, s, c) => {
7
7
  let l = s.flatMap((e) => e.instances.filter((e) => e.room === o.name).map((t) => ({
8
8
  world: e,
@@ -27,5 +27,4 @@ var a = async (a, o, s, c) => {
27
27
  let m = (e) => e instanceof Date ? e.getTime() : typeof e == "string" ? Date.parse(e) : NaN, h = m(f.createdAt), g = m(f.expiresAt), _ = c();
28
28
  if (!Number.isSafeInteger(h) || h < 0 || !Number.isSafeInteger(g) || g - h !== p.instance.ttlMs || !Number.isSafeInteger(_) || _ < h || _ >= g) return u();
29
29
  };
30
- //#endregion
31
30
  export { a as assertWorldInstanceSeatAdmission };
@@ -5,7 +5,7 @@ import { captureWorldCatalog as r } from "./world.js";
5
5
  import { assertWorldInstanceRecreation as i, dataStoreWorldInstances as a, worldInstanceCreationKey as o } from "./worldInstances.js";
6
6
  import { and as s, eq as c } from "@voltro/database";
7
7
  import { Effect as l } from "effect";
8
- //#region src/worldInstanceAllocation.ts
8
+ // src/worldInstanceAllocation.ts
9
9
  function u() {
10
10
  throw new e({ detail: "Instance allocation requires exact live Host publication" });
11
11
  }
@@ -112,5 +112,4 @@ var d = (t) => l.suspend(() => {
112
112
  }));
113
113
  } });
114
114
  };
115
- //#endregion
116
115
  export { p as dataStoreWorldInstanceAllocation };
@@ -4,7 +4,7 @@ import { worldTransitionRequest as n } from "./worldCommands.js";
4
4
  import { captureWorldCatalog as r, worldCellAt as i } from "./world.js";
5
5
  import { dataStoreWorldInstances as a } from "./worldInstances.js";
6
6
  import { Effect as o } from "effect";
7
- //#region src/worldInstanceDestination.ts
7
+ // src/worldInstanceDestination.ts
8
8
  var s = (s, c) => {
9
9
  let l = [
10
10
  "tenantId",
@@ -60,5 +60,4 @@ var s = (s, c) => {
60
60
  });
61
61
  }).pipe(o.catchCause(() => o.fail(new e({ detail: "SQL instance destination remains unavailable" }))));
62
62
  };
63
- //#endregion
64
63
  export { s as dataStoreWorldInstanceDestination };
@@ -11,7 +11,7 @@ import { WORLD_ENTITIES_TABLE as l } from "./worldEntities.js";
11
11
  import { worldInstanceGroupKey as u } from "./worldInstances.js";
12
12
  import { and as d, eq as f, gt as p, lte as m, neq as h } from "@voltro/database";
13
13
  import { Effect as g } from "effect";
14
- //#region src/worldInstanceExpiry.ts
14
+ // src/worldInstanceExpiry.ts
15
15
  function _() {
16
16
  throw new t({ detail: "Instance expiry inventory requires current bounded SQL authority" });
17
17
  }
@@ -278,5 +278,4 @@ var v = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/.tes
278
278
  }
279
279
  });
280
280
  };
281
- //#endregion
282
281
  export { x as dataStoreWorldInstanceExpiry };
@@ -1,7 +1,7 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { captureWorldData as t } from "./worldData.js";
3
3
  import { Effect as n } from "effect";
4
- //#region src/worldInstanceExpirySupervisor.ts
4
+ // src/worldInstanceExpirySupervisor.ts
5
5
  function r() {
6
6
  throw new e({ detail: "Instance expiry supervisor requires bounded actual capabilities" });
7
7
  }
@@ -84,5 +84,4 @@ var i = (e, t) => {
84
84
  catch: () => new e({ detail: "Instance expiry supervision remains incomplete" })
85
85
  })) });
86
86
  };
87
- //#endregion
88
87
  export { o as makeWorldInstanceExpirySupervisor };
@@ -4,7 +4,7 @@ import { lockRoomReservationOwners as r } from "./hostClientCapacity.js";
4
4
  import { assertWorldRoomPool as i } from "./worldRoomPool.js";
5
5
  import "./worldEntities.js";
6
6
  import { and as a, eq as o } from "@voltro/database";
7
- //#region src/worldInstanceLifecycle.ts
7
+ // src/worldInstanceLifecycle.ts
8
8
  var s = async (t, s, c, l, u) => {
9
9
  let d = () => {
10
10
  throw new n({ detail: "World instance lifecycle lost retained Room authority" });
@@ -99,5 +99,4 @@ var s = async (t, s, c, l, u) => {
99
99
  u();
100
100
  });
101
101
  };
102
- //#endregion
103
102
  export { c as retireFailedWorldInstanceRoom, s as synchronizeWorldInstanceRoom };
@@ -1,5 +1,5 @@
1
1
  import { id as e, integer as t, table as n, text as r, timestamp as i } from "@voltro/database";
2
- //#region src/worldInstanceState.ts
2
+ // src/worldInstanceState.ts
3
3
  var a = "_voltro_world_instances", o = "_voltro_world_instance_scopes", s = "_voltro_world_instance_history", c = n(o, {
4
4
  id: e({ prefix: "wiscope" }),
5
5
  tenantId: r().maxLength(191),
@@ -48,5 +48,4 @@ var a = "_voltro_world_instances", o = "_voltro_world_instance_scopes", s = "_vo
48
48
  u,
49
49
  d
50
50
  ]);
51
- //#endregion
52
51
  export { a as WORLD_INSTANCES_TABLE, s as WORLD_INSTANCE_HISTORY_TABLE, o as WORLD_INSTANCE_SCOPES_TABLE, d as worldInstanceHistoryTable, c as worldInstanceScopesTable, f as worldInstanceTables, u as worldInstancesTable };
@@ -8,7 +8,7 @@ import "./worldEntities.js";
8
8
  import { and as l, eq as u, generateId as d, neq as f } from "@voltro/database";
9
9
  import { Effect as p } from "effect";
10
10
  import { createHash as m } from "node:crypto";
11
- //#region src/worldInstances.ts
11
+ // src/worldInstances.ts
12
12
  function h() {
13
13
  throw new r({ detail: "World instance requires exact group and Room authority" });
14
14
  }
@@ -474,5 +474,4 @@ var g = (e, t = 191) => typeof e == "string" && e.length <= t && /^[A-Za-z0-9][A
474
474
  }
475
475
  });
476
476
  };
477
- //#endregion
478
477
  export { w as assertWorldInstanceRecreation, A as dataStoreWorldInstances, x as worldInstanceCreationKey, b as worldInstanceGroupKey };
package/dist/worldJoin.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { captureWorldCatalog as t, worldSpawn as n } from "./world.js";
3
3
  import { Effect as r } from "effect";
4
- //#region src/worldJoin.ts
4
+ // src/worldJoin.ts
5
5
  var i = (t) => new e({ detail: t }), a = (a) => {
6
6
  let { tenantId: o, entities: s, allocateCell: c, reserve: l } = a, u = t(a.worlds), d = (t, n) => t.pipe(r.mapError((t) => t instanceof e ? t : i(n)));
7
7
  return Object.freeze({ join: (e, t) => r.gen(function* () {
@@ -52,5 +52,4 @@ var i = (t) => new e({ detail: t }), a = (a) => {
52
52
  });
53
53
  }) });
54
54
  };
55
- //#endregion
56
55
  export { a as makeWorldJoin };
@@ -1,5 +1,5 @@
1
1
  import { RoomAuthoringError as e } from "./errors.js";
2
- //#region src/worldLayers.ts
2
+ // src/worldLayers.ts
3
3
  function t(t) {
4
4
  throw new e({
5
5
  room: "world",
@@ -9,10 +9,10 @@ function t(t) {
9
9
  var n = (e, n = !1) => {
10
10
  (!Number.isSafeInteger(e) || e < +!n) && t("Invalid World layer count");
11
11
  }, r = (e, n) => {
12
- (typeof e != "object" || !e || Object.getPrototypeOf(e) !== Object.prototype) && t("World layers require plain own data");
12
+ typeof e == "object" && e && Object.getPrototypeOf(e) === Object.prototype || t("World layers require plain own data");
13
13
  for (let r of Reflect.ownKeys(e)) {
14
14
  let i = Object.getOwnPropertyDescriptor(e, r);
15
- (typeof r != "string" || !n.includes(r) || !i?.enumerable || !("value" in i)) && t("Invalid World layer field");
15
+ typeof r == "string" && n.includes(r) && i?.enumerable && "value" in i || t("Invalid World layer field");
16
16
  }
17
17
  }, i = (e) => {
18
18
  r(e, [
@@ -29,7 +29,7 @@ var n = (e, n = !1) => {
29
29
  let i = /* @__PURE__ */ new Set(), a = [];
30
30
  for (let o = 0; o < e.layers.length; o++) {
31
31
  let s = Object.getOwnPropertyDescriptor(e.layers, String(o));
32
- (!s?.enumerable || !("value" in s)) && t("World layer inventory must use own entries");
32
+ s?.enumerable && "value" in s || t("World layer inventory must use own entries");
33
33
  let c = s.value;
34
34
  r(c, [
35
35
  "layer",
@@ -103,11 +103,11 @@ var n = (e, n = !1) => {
103
103
  "layer",
104
104
  "wake",
105
105
  "reason"
106
- ]), u.kind === "blocked") return (![
106
+ ]), u.kind === "blocked") return [
107
107
  "affinity-unavailable",
108
108
  "capacity",
109
109
  "layer-budget"
110
- ].includes(u.reason) || Reflect.ownKeys(u).length !== 2) && t("Invalid World layer refusal"), Object.freeze({
110
+ ].includes(u.reason) && Reflect.ownKeys(u).length === 2 || t("Invalid World layer refusal"), Object.freeze({
111
111
  kind: "blocked",
112
112
  reason: u.reason
113
113
  });
@@ -147,5 +147,4 @@ var n = (e, n = !1) => {
147
147
  }
148
148
  return Object.freeze(c);
149
149
  };
150
- //#endregion
151
150
  export { c as defaultWorldLayerPolicy, l as resolveWorldLayerPolicy, u as worldLayerMaintenance };
@@ -2,20 +2,20 @@ import { ProtocolError as e } from "./errors.js";
2
2
  import { Effect as t, Option as n } from "effect";
3
3
  import { randomUUID as r } from "node:crypto";
4
4
  import { HotError as i } from "@voltro/kv/hot/contract";
5
- //#region src/worldLeases.ts
5
+ // src/worldLeases.ts
6
6
  var a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakSet(), s = (e) => a.get(e), c = (e) => typeof e == "object" && !!e && o.has(e);
7
7
  function l() {
8
8
  throw new e({ detail: "Invalid World transition lease admission" });
9
9
  }
10
10
  var u = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/.test(e) ? e : l(), d = (e) => {
11
- (!e || Object.getPrototypeOf(e) !== Object.prototype) && l();
11
+ e && Object.getPrototypeOf(e) === Object.prototype || l();
12
12
  for (let t of Reflect.ownKeys(e)) {
13
13
  let n = Object.getOwnPropertyDescriptor(e, t);
14
- (typeof t != "string" || ![
14
+ typeof t == "string" && [
15
15
  "namespace",
16
16
  "tenantId",
17
17
  "ttlMs"
18
- ].includes(t) || !n?.enumerable || !("value" in n)) && l();
18
+ ].includes(t) && n?.enumerable && "value" in n || l();
19
19
  }
20
20
  let t = e.namespace, n = u(e.tenantId), r = e.ttlMs;
21
21
  return (typeof t != "string" || !/^[A-Za-z0-9][A-Za-z0-9:_-]{0,95}$/.test(t) || !Number.isSafeInteger(r) || r <= 0) && l(), Object.freeze({
@@ -58,7 +58,7 @@ var u = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/.tes
58
58
  verify: (r, i) => t.suspend(() => {
59
59
  let a;
60
60
  try {
61
- a = y(r), (typeof i != "string" || !/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(i)) && l();
61
+ a = y(r), typeof i == "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(i) || l();
62
62
  } catch {
63
63
  return t.fail(new e({ detail: "Invalid World transition lease admission" }));
64
64
  }
@@ -74,5 +74,4 @@ var u = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/.tes
74
74
  if (!t.connectionRegistry || typeof t.hotStore != "function") throw new e({ detail: "World transition leases require the app-owned registry and tenant HotStore" });
75
75
  return f(await t.hotStore.bind(t)({ tenantId: r.tenantId }), r);
76
76
  };
77
- //#endregion
78
77
  export { p as bindWorldTransitionLeases, c as isVerifiedWorldTransitionLease, f as makeWorldTransitionLeases, s as worldTransitionLeaseToken };
@@ -1,4 +1,4 @@
1
- //#region src/worldManifest.ts
1
+ // src/worldManifest.ts
2
2
  var e = Object.freeze({
3
3
  slots: Object.freeze({
4
4
  onWorldChange: Object.freeze({
@@ -21,5 +21,4 @@ var e = Object.freeze({
21
21
  }) }),
22
22
  events: Object.freeze([])
23
23
  });
24
- //#endregion
25
24
  export { e as worldSystemContractManifest };
@@ -1,6 +1,6 @@
1
1
  import { ProtocolError as e } from "./errors.js";
2
2
  import { captureWorldData as t } from "./worldData.js";
3
- //#region src/worldMovement.ts
3
+ // src/worldMovement.ts
4
4
  function n() {
5
5
  throw new e({ detail: "World movement requires finite positions in its acquired source cell" });
6
6
  }
@@ -59,5 +59,4 @@ var r = (e) => {
59
59
  constrain: u
60
60
  });
61
61
  };
62
- //#endregion
63
62
  export { a as makeWorldCellMovement };