@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.
- package/CHANGELOG.md +272 -6
- package/THIRD-PARTY-NOTICES.md +1542 -368
- package/dist/actor.js +1 -2
- package/dist/apiBinding.js +1 -2
- package/dist/apiRegistryBinding.js +1 -2
- package/dist/apiReservations.js +3 -4
- package/dist/baselines.js +1 -2
- package/dist/bots.js +2 -3
- package/dist/catalog.js +1 -2
- package/dist/checkpointJson.js +1 -2
- package/dist/checkpointStore.js +13 -14
- package/dist/client.js +1 -2
- package/dist/clockSync.js +1 -2
- package/dist/collision.js +3 -4
- package/dist/commandDelivery.js +1 -2
- package/dist/commandRecord.js +1 -2
- package/dist/commandWithdrawal.js +1 -2
- package/dist/connection.js +1 -2
- package/dist/controlCarrier.js +1 -2
- package/dist/controlRegistry.js +1 -2
- package/dist/controlTarget.js +1 -2
- package/dist/controlTransport.js +1 -2
- package/dist/developmentBinding.js +1 -2
- package/dist/directory.js +3 -4
- package/dist/directoryProjection.js +1 -2
- package/dist/errors.js +1 -2
- package/dist/fixed32.js +1 -2
- package/dist/fixedCollision.js +1 -2
- package/dist/fixedCollision32.js +1 -2
- package/dist/fixedMath.js +1 -2
- package/dist/fixedRaw.js +1 -2
- package/dist/fixedSlabs.js +1 -2
- package/dist/fixedTrig.js +1 -2
- package/dist/fixedTrig32.js +1 -2
- package/dist/fixedVectors.js +1 -2
- package/dist/fixedVectors32.js +1 -2
- package/dist/fixedWide.js +1 -2
- package/dist/fixedWords.js +1 -2
- package/dist/gateway.js +1 -2
- package/dist/geometryActivation.js +1 -2
- package/dist/geometryActorInventory.js +1 -2
- package/dist/geometryAdminClient.js +1 -2
- package/dist/geometryAdminData.js +1 -2
- package/dist/geometryAdminFixtures.js +1 -2
- package/dist/geometryAdminPorts.js +1 -2
- package/dist/geometryAdminRpc.js +1 -2
- package/dist/geometryAdminRpcRoutes.js +1 -2
- package/dist/geometryAdminSchemas.js +1 -2
- package/dist/geometryAdministration.js +1 -2
- package/dist/geometryAdministrationPorts.js +1 -2
- package/dist/geometryApiBinding.js +1 -2
- package/dist/geometryAppStorage.js +1 -2
- package/dist/geometryArtifacts.js +1 -2
- package/dist/geometryAssetBundle.js +1 -2
- package/dist/geometryAssetClient.js +1 -2
- package/dist/geometryAssetData.js +1 -2
- package/dist/geometryAssetHttp.js +1 -2
- package/dist/geometryAssetPorts.js +1 -2
- package/dist/geometryAssetRpc.js +1 -2
- package/dist/geometryAssetRpcRoutes.js +1 -2
- package/dist/geometryAssetStorageGrant.js +1 -2
- package/dist/geometryBoxOverlap.js +1 -2
- package/dist/geometryCatalogueDigest.js +1 -2
- package/dist/geometryCellCoverage.js +1 -2
- package/dist/geometryCellLoader.js +1 -2
- package/dist/geometryChannel.js +1 -2
- package/dist/geometryChunkHttp.js +1 -2
- package/dist/geometryChunkLeases.js +1 -2
- package/dist/geometryClient.js +1 -2
- package/dist/geometryClientChunks.js +1 -2
- package/dist/geometryClientDelta.js +1 -2
- package/dist/geometryClientHttp.js +1 -2
- package/dist/geometryClientInterest.js +1 -2
- package/dist/geometryClientStatic.js +1 -2
- package/dist/geometryCms.js +1 -2
- package/dist/geometryCommitCoordinator.js +1 -2
- package/dist/geometryCompactionFixture.js +1 -2
- package/dist/geometryCompactionStrategies.js +1 -2
- package/dist/geometryConnectionClient.js +1 -2
- package/dist/geometryDerivationFixtures.js +1 -2
- package/dist/geometryDerivationStrategies.js +1 -2
- package/dist/geometryDigest.js +1 -2
- package/dist/geometryEditChannel.js +1 -2
- package/dist/geometryEditIngress.js +1 -2
- package/dist/geometryEdits.js +1 -2
- package/dist/geometryEnvelope.js +1 -2
- package/dist/geometryGridRaycast.js +1 -2
- package/dist/geometryGridSweep.js +1 -2
- package/dist/geometryHeightfield.js +1 -2
- package/dist/geometryHeightfieldRaycast.js +1 -2
- package/dist/geometryHeightfieldSweep.js +1 -2
- package/dist/geometryHeightfieldVolume.js +1 -2
- package/dist/geometryHost.js +2 -3
- package/dist/geometryHostDirectory.js +1 -2
- package/dist/geometryHostMutations.js +1 -2
- package/dist/geometryHostStreams.js +1 -2
- package/dist/geometryHttpBody.js +1 -2
- package/dist/geometryHttpRoutes.js +1 -2
- package/dist/geometryImportGltf.js +1 -2
- package/dist/geometryImportLdtk.js +1 -2
- package/dist/geometryImportPng.js +1 -2
- package/dist/geometryImportPublication.js +1 -2
- package/dist/geometryImportTiled.js +1 -2
- package/dist/geometryImportTiles.js +1 -2
- package/dist/geometryImportVox.js +1 -2
- package/dist/geometryImportedSource.js +1 -2
- package/dist/geometryInspectEndpoint.js +1 -2
- package/dist/geometryInspection.js +1 -2
- package/dist/geometryInstall.js +1 -2
- package/dist/geometryJournalArchiveData.js +1 -2
- package/dist/geometryJournalArchiveIndex.js +2 -3
- package/dist/geometryJournalArchiveTable.js +1 -2
- package/dist/geometryJournalCompaction.js +1 -2
- package/dist/geometryJournalPatch.js +1 -2
- package/dist/geometryJournalRetention.js +1 -2
- package/dist/geometryJournalRetentionSchemas.js +1 -2
- package/dist/geometryJournalRetentionSweep.js +1 -2
- package/dist/geometryJournalRetentionWorkflow.js +1 -2
- package/dist/geometryJournalRetentionWorkflowData.js +1 -2
- package/dist/geometryJournalStorage.js +1 -2
- package/dist/geometryLoader.js +1 -2
- package/dist/geometryManifest.js +1 -2
- package/dist/geometryManifestChannel.js +1 -2
- package/dist/geometryManifestClient.js +1 -2
- package/dist/geometryManifestData.js +1 -2
- package/dist/geometryManifestPorts.js +1 -2
- package/dist/geometryManifestPublication.js +1 -2
- package/dist/geometryManifestSource.js +1 -2
- package/dist/geometryMigrationJournal.js +1 -2
- package/dist/geometryMigrationStrategies.js +1 -2
- package/dist/geometryMigrations.js +1 -2
- package/dist/geometryNativeMetadata.js +1 -2
- package/dist/geometryPatch.js +1 -2
- package/dist/geometryPersistence.js +1 -2
- package/dist/geometryPersistenceCapture.js +1 -2
- package/dist/geometryPersistenceData.js +1 -2
- package/dist/geometryPersistencePorts.js +1 -2
- package/dist/geometryPlayerAdmission.js +1 -2
- package/dist/geometryPlayerEditOwner.js +1 -2
- package/dist/geometryPlayerEdits.js +1 -2
- package/dist/geometryPrepared.js +1 -2
- package/dist/geometryPrivacyFence.js +1 -2
- package/dist/geometryProceduralPublication.js +1 -2
- package/dist/geometryProceduralWorker.js +1 -2
- package/dist/geometryPublication.js +1 -2
- package/dist/geometryRayAlgebra.js +1 -2
- package/dist/geometryReadClient.js +1 -2
- package/dist/geometryReadPorts.js +1 -2
- package/dist/geometryReadRpc.js +1 -2
- package/dist/geometryReadRpcRoutes.js +1 -2
- package/dist/geometryReliablePublication.js +1 -2
- package/dist/geometryReloadPorts.js +1 -2
- package/dist/geometryReloadSource.js +1 -2
- package/dist/geometryRenderCache.js +1 -2
- package/dist/geometryRenderLod.js +1 -2
- package/dist/geometryRollback.js +1 -2
- package/dist/geometryRollbackCoordinator.js +2 -3
- package/dist/geometryRollbackPorts.js +1 -2
- package/dist/geometryRollbackSource.js +1 -2
- package/dist/geometryRollbackStore.js +1 -2
- package/dist/geometrySchemas.js +1 -2
- package/dist/geometryShapeRaycast.js +1 -2
- package/dist/geometryShapeSegments.js +1 -2
- package/dist/geometryShapes.js +1 -2
- package/dist/geometrySnapshot.js +1 -2
- package/dist/geometrySnapshotChannel.js +1 -2
- package/dist/geometrySnapshotClient.js +1 -2
- package/dist/geometrySnapshotPreparation.js +1 -2
- package/dist/geometrySnapshotServer.js +1 -2
- package/dist/geometrySqlOwner.js +1 -2
- package/dist/geometryStorage.js +1 -2
- package/dist/geometryStorageGrant.js +1 -2
- package/dist/geometryStorageIdentity.js +1 -2
- package/dist/geometryTileArtifact.js +1 -2
- package/dist/geometryTileCodec.js +1 -2
- package/dist/geometryTileCollision.js +1 -2
- package/dist/geometryTileNavigation.js +1 -2
- package/dist/geometryTileView.js +1 -2
- package/dist/geometryVersionActivation.js +1 -2
- package/dist/geometryVersionClient.js +1 -2
- package/dist/geometryVersionCompare.js +1 -2
- package/dist/geometryVersionMigration.js +1 -2
- package/dist/geometryVoxel.js +1 -2
- package/dist/geometryWorldEntitySubject.js +1 -2
- package/dist/geometryWorldExtent.js +1 -2
- package/dist/geometryWorldMetadata.js +1 -2
- package/dist/geometryWorldStrategyFixtures.js +1 -2
- package/dist/geometryWorldView.js +1 -2
- package/dist/host.js +1 -2
- package/dist/hostBinding.js +1 -2
- package/dist/hostCellObservation.js +1 -2
- package/dist/hostClientCapacity.js +1 -2
- package/dist/hostCommandScope.js +1 -2
- package/dist/hostController.js +2 -3
- package/dist/hostDeployment.js +1 -2
- package/dist/hostDrain.js +1 -2
- package/dist/hostDrainPorts.js +1 -2
- package/dist/hostDriver.js +1 -2
- package/dist/hostLane.js +1 -2
- package/dist/hostListener.js +1 -2
- package/dist/hostListenerBinding.js +1 -2
- package/dist/hostLoopObservation.js +1 -2
- package/dist/hostMetrics.js +1 -2
- package/dist/hostRegistryBinding.js +1 -2
- package/dist/hostSelection.js +1 -2
- package/dist/hostShutdown.js +1 -2
- package/dist/hostTurnObservation.js +1 -2
- package/dist/identities.js +1 -2
- package/dist/index.js +1 -2
- package/dist/inputReceipts.js +1 -2
- package/dist/inputRedundancy.js +1 -2
- package/dist/inspect.js +1 -2
- package/dist/lockstep.js +1 -2
- package/dist/lockstepAdmission.js +1 -2
- package/dist/lockstepAdmissionCodec.js +1 -2
- package/dist/lockstepAdmissionPorts.js +1 -2
- package/dist/lockstepClientSession.js +1 -2
- package/dist/lockstepDefinition.js +1 -2
- package/dist/lockstepHostLoop.js +1 -2
- package/dist/lockstepInitialAdmission.js +1 -2
- package/dist/lockstepInitialStrategyFixtures.js +1 -2
- package/dist/lockstepJournal.js +1 -2
- package/dist/lockstepJournalCodec.js +1 -2
- package/dist/lockstepJournalPorts.js +1 -2
- package/dist/lockstepJournalRebuild.js +1 -2
- package/dist/lockstepJournalRows.js +1 -2
- package/dist/lockstepMembers.js +1 -2
- package/dist/lockstepMessages.js +1 -2
- package/dist/lockstepOwnedRoom.js +1 -2
- package/dist/lockstepPolicies.js +1 -2
- package/dist/lockstepReact.js +1 -2
- package/dist/lockstepRecoveryTruth.js +1 -2
- package/dist/lockstepRosterConfig.js +1 -2
- package/dist/lockstepSeed.js +1 -2
- package/dist/lockstepSeedFixture.js +1 -2
- package/dist/lockstepServer.js +1 -2
- package/dist/lockstepServerConfig.js +1 -2
- package/dist/lockstepServerRoles.js +1 -2
- package/dist/lockstepServerStrategyFixtures.js +1 -2
- package/dist/lockstepStrategies.js +1 -2
- package/dist/lockstepStrategyFixtures.js +1 -2
- package/dist/lockstepTerminal.js +1 -2
- package/dist/lockstepTerminalPorts.js +1 -2
- package/dist/lockstepTransport.js +1 -2
- package/dist/lockstepTransportConfig.js +1 -2
- package/dist/lockstepWireRoster.js +1 -2
- package/dist/matchRoomProvider.js +1 -2
- package/dist/matchRooms.js +1 -2
- package/dist/membershipObserver.js +1 -2
- package/dist/moderation.js +1 -2
- package/dist/movementSpecials.js +1 -2
- package/dist/ownership.js +1 -2
- package/dist/ownershipWithdrawal.js +1 -2
- package/dist/pcg32.js +1 -2
- package/dist/ports.js +1 -2
- package/dist/quaternion.js +2 -3
- package/dist/react.js +1 -2
- package/dist/reaper.js +1 -2
- package/dist/reaperSchemas.js +1 -2
- package/dist/reaperWorkflow.js +1 -2
- package/dist/recovery.js +1 -2
- package/dist/recoverySeats.js +1 -2
- package/dist/replay.js +8 -9
- package/dist/replayPorts.js +1 -2
- package/dist/replayRecording.js +2 -3
- package/dist/replaySchema.js +1 -2
- package/dist/replayStorage.js +1 -2
- package/dist/reservationBatch.js +1 -2
- package/dist/reservationSchemas.js +1 -2
- package/dist/reservations.js +1 -2
- package/dist/reservePort.js +1 -2
- package/dist/resolvedOptions.js +1 -2
- package/dist/room.js +1 -2
- package/dist/roomAccessSweep.js +1 -2
- package/dist/roomAppCommandControl.js +1 -2
- package/dist/roomAuthoringStrategy.js +1 -2
- package/dist/roomErasure.js +1 -2
- package/dist/roomPoolRuntimeDefaults.js +1 -2
- package/dist/roomPoolSelection.js +1 -2
- package/dist/roomPoolTopology.js +1 -2
- package/dist/rpc.js +1 -2
- package/dist/rpcClient.js +1 -2
- package/dist/rpcRoutes.js +1 -2
- package/dist/runtime.js +2 -3
- package/dist/schemaHistory.js +1 -2
- package/dist/seatStore.js +1 -2
- package/dist/seatStrategyFixtures.js +1 -2
- package/dist/seatSubject.js +1 -2
- package/dist/seats.js +1 -2
- package/dist/serverSession.js +1 -2
- package/dist/serverSessionConfig.js +1 -2
- package/dist/sessionAdmission.js +1 -2
- package/dist/sidecarAdmission.js +1 -2
- package/dist/sidecarConfig.js +2 -3
- package/dist/sidecarConfigPublication.js +1 -2
- package/dist/sidecarHostListener.js +1 -2
- package/dist/sidecarIpc.js +1 -2
- package/dist/sidecarPeer.js +1 -2
- package/dist/sidecarProcessPort.js +1 -2
- package/dist/sidecarRuntime.js +1 -2
- package/dist/sidecarSelection.js +1 -2
- package/dist/sidecarWire.js +4 -5
- package/dist/sidecarWrites.js +1 -2
- package/dist/simulation.js +1 -2
- package/dist/simulationAuthoring.js +1 -2
- package/dist/simulationBytes.js +1 -2
- package/dist/simulationConformance.js +1 -2
- package/dist/simulationInputHistoryCapture.js +1 -2
- package/dist/simulationInputHistoryWire.js +1 -2
- package/dist/simulationOptionsWire.js +1 -2
- package/dist/simulationRecoveryWire.js +1 -2
- package/dist/simulationReplay.js +1 -2
- package/dist/simulationSnapshotWire.js +1 -2
- package/dist/simulationState.js +1 -2
- package/dist/snapshotBlob.js +2 -3
- package/dist/snapshotBlobCleanup.js +1 -2
- package/dist/snapshotBlobIndex.js +1 -2
- package/dist/snapshotBudget.js +1 -2
- package/dist/snapshotChain.js +1 -2
- package/dist/snapshotErasure.js +1 -2
- package/dist/snapshotInspection.js +1 -2
- package/dist/snapshotSegmentBlobs.js +1 -2
- package/dist/snapshotUploads.js +1 -2
- package/dist/socketTransport.js +1 -2
- package/dist/spatial.js +2 -3
- package/dist/spectatorPolicy.js +3 -4
- package/dist/spectatorProducer.js +2 -3
- package/dist/startFailureCause.js +1 -2
- package/dist/stateCodec.js +2 -3
- package/dist/strategyFixtures.js +1 -2
- package/dist/streamFraming.js +1 -2
- package/dist/streamTransport.js +1 -2
- package/dist/subjectAdmission.js +1 -2
- package/dist/subjectPrivacy.js +1 -2
- package/dist/subjectPrivacyBinding.js +1 -2
- package/dist/systemManifest.js +1 -2
- package/dist/tables.js +1 -2
- package/dist/testHarness.js +1 -2
- package/dist/testing.js +1 -2
- package/dist/testingPorts.js +1 -2
- package/dist/transform.js +4 -5
- package/dist/transform3d.js +1 -2
- package/dist/transformCollection.js +1 -2
- package/dist/transformCollection3d.js +1 -2
- package/dist/transformCollectionCore.js +2 -3
- package/dist/transformFrames.js +1 -2
- package/dist/transformPrediction3d.js +2 -3
- package/dist/transformRules.js +1 -2
- package/dist/transformSchemas.js +1 -2
- package/dist/transport.js +1 -2
- package/dist/transportAuthoring.js +1 -2
- package/dist/transportCleanup.js +1 -2
- package/dist/transportConformance.js +1 -2
- package/dist/transportConnector.js +1 -2
- package/dist/transportEndpoints.js +1 -2
- package/dist/viewProjection.js +1 -2
- package/dist/web.js +1 -2
- package/dist/webTransportClient.js +1 -2
- package/dist/wire.js +4 -5
- package/dist/withdrawalPort.js +1 -2
- package/dist/world.js +8 -9
- package/dist/worldActorReceipts.js +1 -2
- package/dist/worldActorTransferSnapshot.js +1 -2
- package/dist/worldAdmissionPending.js +1 -2
- package/dist/worldBoundaryCoordinator.js +1 -2
- package/dist/worldCatalog.js +3 -4
- package/dist/worldCellAllocation.js +2 -3
- package/dist/worldCellDestination.js +1 -2
- package/dist/worldCells.js +5 -6
- package/dist/worldChange.js +4 -5
- package/dist/worldClient.js +1 -2
- package/dist/worldClientControl.js +6 -7
- package/dist/worldClientPendingInput.js +1 -2
- package/dist/worldClientRpc.js +1 -2
- package/dist/worldClientRpcRoutes.js +1 -2
- package/dist/worldClientSchemas.js +1 -2
- package/dist/worldCommands.js +5 -6
- package/dist/worldData.js +3 -4
- package/dist/worldDefaultBinding.js +1 -2
- package/dist/worldDefaultGroupAdmission.js +1 -2
- package/dist/worldDefaultGroupAppServices.js +1 -2
- package/dist/worldDefaultGroupCompensation.js +1 -2
- package/dist/worldDefaultGroupContinuation.js +1 -2
- package/dist/worldDefaultGroupControl.js +1 -2
- package/dist/worldDefaultGroupMembers.js +1 -2
- package/dist/worldDefaultGroups.js +1 -2
- package/dist/worldDefaultPending.js +1 -2
- package/dist/worldDefaultService.js +1 -2
- package/dist/worldEntities.js +49 -50
- package/dist/worldEntityCodec.js +1 -2
- package/dist/worldEntityHandoffView.js +1 -2
- package/dist/worldGeometry.js +1 -2
- package/dist/worldGhostAdmission.js +1 -2
- package/dist/worldGhostDestination.js +3 -4
- package/dist/worldGhostGateway.js +1 -2
- package/dist/worldGhostHandshake.js +1 -2
- package/dist/worldGhostHost.js +1 -2
- package/dist/worldGhostIngress.js +1 -2
- package/dist/worldGhostNeighborhood.js +1 -2
- package/dist/worldGhostNeighbors.js +1 -2
- package/dist/worldGhostOutbound.js +1 -2
- package/dist/worldGhostPublisher.js +1 -2
- package/dist/worldGhostReceiver.js +1 -2
- package/dist/worldGhostSender.js +1 -2
- package/dist/worldGhostSocket.js +1 -2
- package/dist/worldGhostWire.js +3 -4
- package/dist/worldGroupCommand.js +1 -2
- package/dist/worldGroupDeadline.js +1 -2
- package/dist/worldGroupPreparation.js +1 -2
- package/dist/worldGroupReadyControl.js +8 -9
- package/dist/worldGroupSupervisor.js +3 -4
- package/dist/worldHandoffMetrics.js +1 -2
- package/dist/worldHandoffView.js +1 -2
- package/dist/worldHostSource.js +5 -6
- package/dist/worldInspectEndpoint.js +1 -2
- package/dist/worldInspection.js +1 -2
- package/dist/worldInstanceAdmission.js +1 -2
- package/dist/worldInstanceAllocation.js +1 -2
- package/dist/worldInstanceDestination.js +1 -2
- package/dist/worldInstanceExpiry.js +1 -2
- package/dist/worldInstanceExpirySupervisor.js +1 -2
- package/dist/worldInstanceLifecycle.js +1 -2
- package/dist/worldInstanceState.js +1 -2
- package/dist/worldInstances.js +1 -2
- package/dist/worldJoin.js +1 -2
- package/dist/worldLayers.js +6 -7
- package/dist/worldLeases.js +5 -6
- package/dist/worldManifest.js +1 -2
- package/dist/worldMovement.js +1 -2
- package/dist/worldPersistence.js +4 -5
- package/dist/worldProjection.js +6 -7
- package/dist/worldReact.js +1 -2
- package/dist/worldRecoveryActor.js +1 -2
- package/dist/worldReturnAnchor.js +1 -2
- package/dist/worldRoomHooks.js +5 -6
- package/dist/worldRoomPool.js +2 -3
- package/dist/worldRoomSteps.js +1 -2
- package/dist/worldSeatBinding.js +1 -2
- package/dist/worldSourceSeatPending.js +1 -2
- package/dist/worldStrategyFixtures.js +1 -2
- package/dist/worldTesting.js +1 -2
- package/dist/worldTransitionDefaults.js +1 -2
- package/dist/worldTransitionExecutor.js +9 -10
- package/dist/worldTransitionGroup.js +1 -2
- package/dist/worldTransitionPhysicalSteps.js +1 -2
- package/dist/worldTransitionResolver.js +8 -9
- package/dist/worldTransitionSeatGroup.js +1 -2
- package/dist/worldTransitionSeats.js +2 -3
- package/dist/worldTransitionState.js +1 -2
- package/dist/worldTransitions.js +8 -9
- package/package.json +10 -10
package/dist/geometryRollback.js
CHANGED
|
@@ -8,7 +8,7 @@ import { captureGeometryCodecProfiles as u, captureGeometryDense as d, captureGe
|
|
|
8
8
|
import { createGeometryTileView as m } from "./geometryTileView.js";
|
|
9
9
|
import { admitGeometryEditResult as h } from "./geometryEdits.js";
|
|
10
10
|
import { applyGeometryPatch as g, createGeometryPatch as _, decodeGeometryPatch as v } from "./geometryPatch.js";
|
|
11
|
-
|
|
11
|
+
// src/geometryRollback.ts
|
|
12
12
|
var y = Object.freeze({ rebaseHeight: (e) => e.target ? e.selected : e.selected + (e.after - e.before) });
|
|
13
13
|
function b() {
|
|
14
14
|
throw new t({ detail: "Geometry rollback requires the complete exact native journal baseline" });
|
|
@@ -121,5 +121,4 @@ var x = (e, t) => JSON.stringify(e) === JSON.stringify(t), S = (t, n, r) => {
|
|
|
121
121
|
restoredCells: G
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
//#endregion
|
|
125
124
|
export { y as defaultGeometryRollbackStrategies, w as prepareGeometryRollback };
|
|
@@ -8,7 +8,7 @@ import { makeGeometryCommitCoordinator as f } from "./geometryCommitCoordinator.
|
|
|
8
8
|
import { prepareGeometryActivation as p } from "./geometryActivation.js";
|
|
9
9
|
import { Effect as m, Option as h } from "effect";
|
|
10
10
|
import { HotError as g } from "@voltro/kv/hot/contract";
|
|
11
|
-
|
|
11
|
+
// src/geometryRollbackCoordinator.ts
|
|
12
12
|
var _ = () => new t({ detail: "Geometry rollback execution or owned cleanup remains unconfirmed" }), v = (t, v, y, b) => {
|
|
13
13
|
let x = n(b, [
|
|
14
14
|
"tenantId",
|
|
@@ -128,7 +128,7 @@ var _ = () => new t({ detail: "Geometry rollback execution or owned cleanup rema
|
|
|
128
128
|
} catch {
|
|
129
129
|
throw _();
|
|
130
130
|
}
|
|
131
|
-
throw
|
|
131
|
+
throw r.attempted || r.input || r.lease || I.delete(l), e;
|
|
132
132
|
} finally {
|
|
133
133
|
r.active = !1, r.finish?.(), r.finish = null, r.completion = null;
|
|
134
134
|
}
|
|
@@ -199,5 +199,4 @@ var _ = () => new t({ detail: "Geometry rollback execution or owned cleanup rema
|
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
};
|
|
202
|
-
//#endregion
|
|
203
202
|
export { v as makeGeometryRollbackCoordinator };
|
|
@@ -3,7 +3,7 @@ import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
|
3
3
|
import { captureRoomGeometryRollbackRequest as r } from "./geometryAdminData.js";
|
|
4
4
|
import { captureGeometryActivation as i } from "./geometryActorInventory.js";
|
|
5
5
|
import { Context as a, Effect as o, Layer as s } from "effect";
|
|
6
|
-
|
|
6
|
+
// src/geometryRollbackPorts.ts
|
|
7
7
|
var c = class extends a.Service()("@voltro/RoomGeometryRollbackPort") {}, l = (a) => {
|
|
8
8
|
let s = n(a, [
|
|
9
9
|
"authorize",
|
|
@@ -42,5 +42,4 @@ var c = class extends a.Service()("@voltro/RoomGeometryRollbackPort") {}, l = (a
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
}, u = (e) => s.succeed(c, l(e));
|
|
45
|
-
//#endregion
|
|
46
45
|
export { c as RoomGeometryRollbackPort, l as captureRoomGeometryRollbackPort, r as captureRoomGeometryRollbackRequest, u as roomGeometryRollbackLayer };
|
|
@@ -9,7 +9,7 @@ import { captureRoomGeometryResourceIdentity as u, captureRoomGeometryResourceSt
|
|
|
9
9
|
import { bindGeometryChunkLeases as f } from "./geometryChunkLeases.js";
|
|
10
10
|
import { makeGeometryRollbackCoordinator as p } from "./geometryRollbackCoordinator.js";
|
|
11
11
|
import { Effect as m, Option as h } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometryRollbackSource.ts
|
|
13
13
|
var g = () => new t({ detail: "Actual administrative geometry rollback source remains unconfirmed" }), _ = (t) => {
|
|
14
14
|
let f = n(t, [
|
|
15
15
|
"authorize",
|
|
@@ -205,5 +205,4 @@ var g = () => new t({ detail: "Actual administrative geometry rollback source re
|
|
|
205
205
|
})
|
|
206
206
|
});
|
|
207
207
|
};
|
|
208
|
-
//#endregion
|
|
209
208
|
export { v as bindRoomGeometryRollbackSource, _ as makeRoomGeometryRollbackSource };
|
|
@@ -12,7 +12,7 @@ import { GEO_JOURNAL_TABLE as y, GEO_VERSIONS_TABLE as b } from "./geometryPersi
|
|
|
12
12
|
import { prepareGeometryRollback as x } from "./geometryRollback.js";
|
|
13
13
|
import { and as S, eq as C } from "@voltro/database";
|
|
14
14
|
import { Context as w, Effect as T, Layer as E } from "effect";
|
|
15
|
-
|
|
15
|
+
// src/geometryRollbackStore.ts
|
|
16
16
|
var D = class extends w.Service()("@voltro/GeometryRollbackPreparationPort") {};
|
|
17
17
|
function O() {
|
|
18
18
|
throw new t({ detail: "Geometry SQL rollback journal remains unconfirmed" });
|
|
@@ -194,5 +194,4 @@ var k = (e, t) => JSON.stringify(e) === JSON.stringify(t), A = (e) => E.succeed(
|
|
|
194
194
|
})));
|
|
195
195
|
} });
|
|
196
196
|
};
|
|
197
|
-
//#endregion
|
|
198
197
|
export { D as GeometryRollbackPreparationPort, j as dataStoreGeometryRollbackPreparation, A as geometryRollbackPreparationLayer };
|
package/dist/geometrySchemas.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fieldId as e } from "./room.js";
|
|
2
2
|
import { Schema as t } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/geometrySchemas.ts
|
|
4
4
|
var n = t.Struct({
|
|
5
5
|
worldId: t.String.pipe(e(1)),
|
|
6
6
|
layerSetId: t.String.pipe(e(2)),
|
|
@@ -23,5 +23,4 @@ var n = t.Struct({
|
|
|
23
23
|
palette: t.Array(r).pipe(e(8)),
|
|
24
24
|
runs: t.Array(i).pipe(e(9))
|
|
25
25
|
});
|
|
26
|
-
//#endregion
|
|
27
26
|
export { n as GeometryChunkAddressSchema, a as GeometryTileChunkSchema, r as GeometryTileMaterialSchema, i as GeometryTileRunSchema };
|
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
3
|
import { captureGeometryPreparedInventory as r } from "./geometryPrepared.js";
|
|
4
4
|
import { clipGeometryRayInterval as i, compareGeometryRayTime as a, geometryRayRational as o, geometryRaySphereInterval as s, geometryRayTimeBounds as c } from "./geometryRayAlgebra.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryShapeRaycast.ts
|
|
6
6
|
function l() {
|
|
7
7
|
throw new t({ detail: "Shape ray requires signed raw endpoints and complete matching prepared collision coverage" });
|
|
8
8
|
}
|
|
@@ -107,5 +107,4 @@ var u = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= -21474836
|
|
|
107
107
|
testedShapes: D
|
|
108
108
|
}) : null;
|
|
109
109
|
};
|
|
110
|
-
//#endregion
|
|
111
110
|
export { f as raycastPreparedGeometryShapes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addUint64 as e, compareUint64 as t, multiplyWords as n } from "./fixedWords.js";
|
|
2
2
|
import { clipFixedBoxSlabs as r } from "./fixedSlabs.js";
|
|
3
3
|
import { compareWide as i, product as a, subtract as o } from "./fixedWide.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryShapeSegments.ts
|
|
5
5
|
var s = {
|
|
6
6
|
hi: 0,
|
|
7
7
|
lo: 0
|
|
@@ -30,5 +30,4 @@ var s = {
|
|
|
30
30
|
let y = o(v, _), b = c(p);
|
|
31
31
|
return t(y, b) >= 0 ? t(c(d.map((e, t) => e - f[t])), h) <= 0 : i(a(b, o(g, h)), a(y, y)) <= 0;
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
33
|
export { l as geometryShapeIntersectsSegment };
|
package/dist/geometryShapes.js
CHANGED
|
@@ -7,7 +7,7 @@ import { RoomInputCodec as s } from "./stateCodec.js";
|
|
|
7
7
|
import { geometryOwnData as c, geometryTileRefusal as l } from "./geometryTileCodec.js";
|
|
8
8
|
import { geometryShapeIntersectsSegment as u } from "./geometryShapeSegments.js";
|
|
9
9
|
import { Result as d, Schema as f } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryShapes.ts
|
|
11
11
|
var p = f.Struct({
|
|
12
12
|
worldId: f.String.pipe(o(1)),
|
|
13
13
|
layerSetId: f.String.pipe(o(2)),
|
|
@@ -219,5 +219,4 @@ var p = f.Struct({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
};
|
|
222
|
-
//#endregion
|
|
223
222
|
export { h as GeometryBoxSchema, p as GeometryChunkAddress3DSchema, _ as GeometryShapeSchema, v as GeometryShapesChunkSchema, g as GeometrySphereSchema, w as createGeometryShapesCodec, T as createGeometryShapesView, y as defaultGeometryShapesLimits };
|
package/dist/geometrySnapshot.js
CHANGED
|
@@ -5,7 +5,7 @@ import { geometrySha256 as r } from "./geometryDigest.js";
|
|
|
5
5
|
import { captureGeometryArtifact as i } from "./geometryArtifacts.js";
|
|
6
6
|
import { assertGeometryArtifactScope as a, captureGeometryPersistenceScope as o, geometryPersistenceId as s, geometryPersistenceInteger as c, geometryPersistenceSha as l } from "./geometryPersistenceData.js";
|
|
7
7
|
import { applyGeometryPatch as u, createGeometryPatch as d, decodeGeometryPatch as f } from "./geometryPatch.js";
|
|
8
|
-
|
|
8
|
+
// src/geometrySnapshot.ts
|
|
9
9
|
var p = () => new e({ detail: "Native geometry recovery snapshot does not match its exact static base and scoped revision" }), m = async (e, t, l, u = 262144, f = {}) => {
|
|
10
10
|
let p = i(t), m = n(l, [
|
|
11
11
|
"scope",
|
|
@@ -72,5 +72,4 @@ var p = () => new e({ detail: "Native geometry recovery snapshot does not match
|
|
|
72
72
|
artifact: d.artifact
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
|
-
//#endregion
|
|
76
75
|
export { g as applyGeometryChunkSnapshot, h as captureGeometryChunkSnapshot, m as createGeometryChunkSnapshot };
|
|
@@ -5,7 +5,7 @@ import { captureGeometryPreparedCoordinate as c } from "./geometryPrepared.js";
|
|
|
5
5
|
import { makeGeometryManifestReceiver as l } from "./geometryManifestChannel.js";
|
|
6
6
|
import { captureGeometryChunkSnapshot as u } from "./geometrySnapshot.js";
|
|
7
7
|
import { Schema as d } from "effect";
|
|
8
|
-
|
|
8
|
+
// src/geometrySnapshotChannel.ts
|
|
9
9
|
var f = d.Struct({
|
|
10
10
|
cx: d.Int,
|
|
11
11
|
cy: d.Int,
|
|
@@ -156,5 +156,4 @@ var f = d.Struct({
|
|
|
156
156
|
})
|
|
157
157
|
});
|
|
158
158
|
};
|
|
159
|
-
//#endregion
|
|
160
159
|
export { m as GeometryChunkRequestSchema, g as GeometryChunkSnapshotFragmentSchema, y as captureGeometryChunkRequest, b as captureGeometryChunkSnapshotFragment, x as createGeometryChunkSnapshotFragments, h as geometryChunkRequestChannel, _ as geometryChunkSnapshotChannel, S as makeGeometrySnapshotReceiver };
|
|
@@ -8,7 +8,7 @@ import { captureRoomClientReliableChannel as d, captureRoomClientReliableIntenti
|
|
|
8
8
|
import { captureGeometryStreamManifest as p } from "./geometryManifestData.js";
|
|
9
9
|
import { applyGeometryChunkSnapshot as m } from "./geometrySnapshot.js";
|
|
10
10
|
import { GeometryChunkRequestSchema as h, GeometryChunkSnapshotFragmentSchema as g, captureGeometryChunkSnapshotFragment as _, makeGeometrySnapshotReceiver as v } from "./geometrySnapshotChannel.js";
|
|
11
|
-
|
|
11
|
+
// src/geometrySnapshotClient.ts
|
|
12
12
|
var y = () => new t({ detail: "Native geometry snapshot read requires its current admission and complete authorized recovery" }), b = (t, b, x) => {
|
|
13
13
|
let S = u(b), C = r(x, [
|
|
14
14
|
"manifest",
|
|
@@ -155,5 +155,4 @@ var y = () => new t({ detail: "Native geometry snapshot read requires its curren
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
};
|
|
158
|
-
//#endregion
|
|
159
158
|
export { b as makeRoomGeometrySnapshotSource };
|
|
@@ -6,7 +6,7 @@ import { captureRoomSnapshotEffectRunner as u } from "./snapshotBlobIndex.js";
|
|
|
6
6
|
import { captureGeometryStreamManifest as d } from "./geometryManifestData.js";
|
|
7
7
|
import { createGeometryChunkSnapshot as f } from "./geometrySnapshot.js";
|
|
8
8
|
import { Effect as p } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometrySnapshotPreparation.ts
|
|
10
10
|
var m = (m, h, g) => {
|
|
11
11
|
try {
|
|
12
12
|
let _ = s(m), v = c(h), y = n(g, [
|
|
@@ -72,5 +72,4 @@ var m = (m, h, g) => {
|
|
|
72
72
|
return p.fail(new t({ detail: "Geometry snapshot source request could not be captured" }));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
//#endregion
|
|
76
75
|
export { m as prepareGeometryChunkSnapshot };
|
|
@@ -9,7 +9,7 @@ import { GeometryChunkSnapshotFragmentSchema as f, captureGeometryChunkRequest a
|
|
|
9
9
|
import { captureRoomGeometryResourceState as h } from "./geometryHost.js";
|
|
10
10
|
import { prepareGeometryChunkSnapshot as g } from "./geometrySnapshotPreparation.js";
|
|
11
11
|
import { Effect as _ } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometrySnapshotServer.ts
|
|
13
13
|
var v = (v, y, b) => {
|
|
14
14
|
let x = h(v), S = l(x.inventory).scope, C = r(b, [
|
|
15
15
|
"manifest",
|
|
@@ -187,5 +187,4 @@ var v = (v, y, b) => {
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
};
|
|
190
|
-
//#endregion
|
|
191
190
|
export { v as makeRoomGeometrySnapshotServer };
|
package/dist/geometrySqlOwner.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { ROOMS_TABLE as t } from "./identities.js";
|
|
3
3
|
import { and as n, eq as r } from "@voltro/database";
|
|
4
|
-
|
|
4
|
+
// src/geometrySqlOwner.ts
|
|
5
5
|
var i = async (i, a, o) => {
|
|
6
6
|
let s = await i.query({
|
|
7
7
|
table: t,
|
|
@@ -17,5 +17,4 @@ var i = async (i, a, o) => {
|
|
|
17
17
|
}), c = s[0];
|
|
18
18
|
if (s.length !== 1 || c?.tenantId !== a.tenantId || c.id !== o.roomId || c.hostId !== o.hostId || c.epoch !== o.epoch || c.state !== "live" || c.erasure != null || c.snapshotErasure != null) throw new e({ detail: "Geometry SQL owner remains unavailable" });
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { i as assertGeometrySqlOwner };
|
package/dist/geometryStorage.js
CHANGED
|
@@ -6,7 +6,7 @@ import { captureRoomSnapshotEffectRunner as d } from "./snapshotBlobIndex.js";
|
|
|
6
6
|
import { geometryPersistenceScopeKey as f } from "./geometryPersistenceCapture.js";
|
|
7
7
|
import { geometryStorageClaim as p, geometryStorageOperation as m } from "./geometryStorageIdentity.js";
|
|
8
8
|
import { Effect as h, Stream as g } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryStorage.ts
|
|
10
10
|
function _() {
|
|
11
11
|
throw new t({ detail: "Geometry immutable Storage custody or exact claim remains unconfirmed" });
|
|
12
12
|
}
|
|
@@ -123,5 +123,4 @@ var v = (e, t) => {
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
|
-
//#endregion
|
|
127
126
|
export { y as storageGeometry };
|
|
@@ -5,7 +5,7 @@ import { captureRoomSnapshotEffectRunner as a } from "./snapshotBlobIndex.js";
|
|
|
5
5
|
import { geometryStorageClaim as o, geometryStorageOperation as s } from "./geometryStorageIdentity.js";
|
|
6
6
|
import { Subject as c } from "@voltro/protocol";
|
|
7
7
|
import { Effect as l, Schema as u } from "effect";
|
|
8
|
-
|
|
8
|
+
// src/geometryStorageGrant.ts
|
|
9
9
|
var d = (d, f) => {
|
|
10
10
|
let p = t(f, [
|
|
11
11
|
"bucket",
|
|
@@ -65,5 +65,4 @@ var d = (d, f) => {
|
|
|
65
65
|
}
|
|
66
66
|
} });
|
|
67
67
|
};
|
|
68
|
-
//#endregion
|
|
69
68
|
export { d as storageGeometryReadGrants };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { geometryPersistenceDigest as e, geometryPersistenceScopeKey as t } from "./geometryPersistenceCapture.js";
|
|
2
|
-
|
|
2
|
+
// src/geometryStorageIdentity.ts
|
|
3
3
|
var n = (n) => "geometry:static:" + e(JSON.stringify([
|
|
4
4
|
t(n),
|
|
5
5
|
n.blobSha256,
|
|
6
6
|
n.contentSha256
|
|
7
7
|
])), r = (e) => "geometry:static:" + t(e);
|
|
8
|
-
//#endregion
|
|
9
8
|
export { r as geometryStorageClaim, n as geometryStorageOperation };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { createGeometryArtifact as e, verifyGeometryArtifact as t } from "./geometryArtifacts.js";
|
|
2
|
-
|
|
2
|
+
// src/geometryTileArtifact.ts
|
|
3
3
|
var n = (e) => Object.freeze({
|
|
4
4
|
chunk: e.chunk,
|
|
5
5
|
blobSha256: e.blobSha256,
|
|
6
6
|
tileDataSha256: e.contentSha256,
|
|
7
7
|
bytes: e.bytes
|
|
8
8
|
}), r = async (t, r = {}) => n(await e(t, r)), i = async (e, r, i = {}) => n(await t("2d-tiles", e, r, i));
|
|
9
|
-
//#endregion
|
|
10
9
|
export { r as createGeometryTileArtifact, i as verifyGeometryTileArtifact };
|
|
@@ -6,7 +6,7 @@ import { captureSimulationBytes as o } from "./simulationBytes.js";
|
|
|
6
6
|
import { RoomStateCodec as s } from "./stateCodec.js";
|
|
7
7
|
import { GeometryTileChunkSchema as c } from "./geometrySchemas.js";
|
|
8
8
|
import { Result as l } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryTileCodec.ts
|
|
10
10
|
var u = i(), d = 12, f = r["2d-tiles"], p = Object.freeze({
|
|
11
11
|
maxSide: 256,
|
|
12
12
|
maxCells: 65536,
|
|
@@ -190,5 +190,4 @@ var g = (e, t, n = t) => {
|
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
192
|
};
|
|
193
|
-
//#endregion
|
|
194
193
|
export { w as createGeometryTileCodec, p as defaultGeometryTileLimits, g as geometryOwnData, h as geometryTileRefusal };
|
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
3
|
import { captureGeometryPreparedInventory as r } from "./geometryPrepared.js";
|
|
4
4
|
import { collide as i } from "./collision.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryTileCollision.ts
|
|
6
6
|
function a() {
|
|
7
7
|
throw new t({ detail: "World collision requires finite world-unit 2D bodies and complete prepared tile collision coverage" });
|
|
8
8
|
}
|
|
@@ -92,5 +92,4 @@ var o = (e) => typeof e == "number" && Number.isFinite(e) ? e : a(), s = (e) =>
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
};
|
|
95
|
-
//#endregion
|
|
96
95
|
export { l as collidePreparedGeometryTiles };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { geometryOwnData as e, geometryTileRefusal as t } from "./geometryTileCodec.js";
|
|
2
2
|
import { captureGeometryTileQuery as n } from "./geometryTileView.js";
|
|
3
|
-
|
|
3
|
+
// src/geometryTileNavigation.ts
|
|
4
4
|
var r = Object.freeze({
|
|
5
5
|
maxDiscovered: 4096,
|
|
6
6
|
maxOpen: 4096,
|
|
@@ -124,5 +124,4 @@ var r = Object.freeze({
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
|
-
//#endregion
|
|
128
127
|
export { o as createGeometryTilePathSearch, r as defaultGeometryTileNavigationLimits };
|
package/dist/geometryTileView.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createFixed as e } from "./fixedMath.js";
|
|
2
2
|
import { createGeometryTileCodec as t, geometryTileRefusal as n } from "./geometryTileCodec.js";
|
|
3
|
-
|
|
3
|
+
// src/geometryTileView.ts
|
|
4
4
|
var r = e(), i = /* @__PURE__ */ new WeakMap(), a = (e) => i.get(e) ?? n(), o = (e, a = {}) => {
|
|
5
5
|
let o = t(a).capture(e), s = new Uint16Array(o.width * o.height), c = 0;
|
|
6
6
|
for (let e of o.runs) s.fill(e.paletteIndex, c, c + e.length), c += e.length;
|
|
@@ -31,5 +31,4 @@ var r = e(), i = /* @__PURE__ */ new WeakMap(), a = (e) => i.get(e) ?? n(), o =
|
|
|
31
31
|
solid: (e) => o.palette[s[e]].solid
|
|
32
32
|
})), d;
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { a as captureGeometryTileQuery, o as createGeometryTileView };
|
|
@@ -9,7 +9,7 @@ import { captureRoomSnapshotEffectRunner as h } from "./snapshotBlobIndex.js";
|
|
|
9
9
|
import { geometryPersistenceDigest as g } from "./geometryPersistenceCapture.js";
|
|
10
10
|
import { captureGeometryMigrationReceipt as _, captureGeometryMigrationRequest as v } from "./geometryMigrations.js";
|
|
11
11
|
import { Effect as y } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometryVersionActivation.ts
|
|
13
13
|
var b = (b, x, S, C) => {
|
|
14
14
|
try {
|
|
15
15
|
let w = f(b), T = m([x])[0], E = T.geometry, D = n(S, [
|
|
@@ -110,5 +110,4 @@ var b = (b, x, S, C) => {
|
|
|
110
110
|
return y.fail(n instanceof e ? n : new t({ detail: "Version activation request or native before-frame could not be captured" }));
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
//#endregion
|
|
114
113
|
export { b as prepareGeometryVersionActivation };
|
|
@@ -8,7 +8,7 @@ import { captureGeometryRenderLodCacheOptions as u, makeGeometryRenderLodCache a
|
|
|
8
8
|
import { captureWorldCatalog as f } from "./world.js";
|
|
9
9
|
import { makeRoomGeometrySnapshotSource as p } from "./geometrySnapshotClient.js";
|
|
10
10
|
import { makeRoomGeometryManifestClient as m } from "./geometryManifestClient.js";
|
|
11
|
-
|
|
11
|
+
// src/geometryVersionClient.ts
|
|
12
12
|
var h = () => new t({ detail: "Geometry version handoff requires its current native manifest, admission and fully verified downloads" }), g = (t, c, g, _) => {
|
|
13
13
|
let v = f([c])[0], y = n(g, [
|
|
14
14
|
"tenantId",
|
|
@@ -234,5 +234,4 @@ var h = () => new t({ detail: "Geometry version handoff requires its current nat
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
}, _ = (e, t, n, r) => g(c(e), t, n, r);
|
|
237
|
-
//#endregion
|
|
238
237
|
export { _ as makeRoomConnectionGeometryVersionClient, g as makeRoomGeometryVersionClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
|
-
|
|
2
|
+
// src/geometryVersionCompare.ts
|
|
3
3
|
function t() {
|
|
4
4
|
throw new e({ detail: "Geometry version comparison requires two manifests of the same tenant, World and kind with unique chunk addresses" });
|
|
5
5
|
}
|
|
@@ -36,5 +36,4 @@ var n = (e) => JSON.stringify([
|
|
|
36
36
|
unchanged: f
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { a as compareGeometryVersions };
|
|
@@ -7,7 +7,7 @@ import { captureGeometryCompactionStrategies as f, prepareGeometryCompaction as
|
|
|
7
7
|
import { geometryChunkHasWorldExtent as m } from "./geometryWorldExtent.js";
|
|
8
8
|
import { captureWorldCatalog as h } from "./world.js";
|
|
9
9
|
import { Effect as g } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryVersionMigration.ts
|
|
11
11
|
function _() {
|
|
12
12
|
throw new t({ detail: "Geometry version migration requires exact genuine same-chunk artifacts and a bounded pure rule" });
|
|
13
13
|
}
|
|
@@ -102,5 +102,4 @@ var v = (v, y, b = {}) => {
|
|
|
102
102
|
return g.fail(n instanceof e ? n : new t({ detail: "Geometry version migration input could not be captured" }));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
//#endregion
|
|
106
105
|
export { d as defaultGeometryMigrateDelta, v as prepareGeometryVersionMigration };
|
package/dist/geometryVoxel.js
CHANGED
|
@@ -8,7 +8,7 @@ import { GeometryTileMaterialSchema as o, GeometryTileRunSchema as s } from "./g
|
|
|
8
8
|
import { geometryOwnData as c, geometryTileRefusal as l } from "./geometryTileCodec.js";
|
|
9
9
|
import { GeometryChunkAddress3DSchema as u } from "./geometryShapes.js";
|
|
10
10
|
import { Result as d, Schema as f } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryVoxel.ts
|
|
12
12
|
var p = n(), m = f.Struct({
|
|
13
13
|
sx: f.Int.pipe(i(1)),
|
|
14
14
|
sy: f.Int.pipe(i(2)),
|
|
@@ -249,5 +249,4 @@ var p = n(), m = f.Struct({
|
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
};
|
|
252
|
-
//#endregion
|
|
253
252
|
export { h as GeometryVoxelChunkSchema, m as GeometryVoxelSectionSchema, T as createGeometryVoxelCodec, E as createGeometryVoxelView, g as defaultGeometryVoxelLimits };
|
|
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
|
|
|
2
2
|
import { WORLD_ENTITIES_TABLE as t } from "./worldEntities.js";
|
|
3
3
|
import { and as n, eq as r } from "@voltro/database";
|
|
4
4
|
import { Effect as i } from "effect";
|
|
5
|
-
|
|
5
|
+
// src/geometryWorldEntitySubject.ts
|
|
6
6
|
var a = (a) => (o) => i.tryPromise({
|
|
7
7
|
try: async () => {
|
|
8
8
|
let e = await a.query({
|
|
@@ -28,5 +28,4 @@ var a = (a) => (o) => i.tryPromise({
|
|
|
28
28
|
},
|
|
29
29
|
catch: () => new e({ detail: "Geometry recipient has no World entity in this Room" })
|
|
30
30
|
});
|
|
31
|
-
//#endregion
|
|
32
31
|
export { a as worldEntityGeometrySubject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/geometryWorldExtent.ts
|
|
2
2
|
var e = (e, t) => {
|
|
3
3
|
let n = e.chunk;
|
|
4
4
|
switch (n.kind) {
|
|
@@ -8,5 +8,4 @@ var e = (e, t) => {
|
|
|
8
8
|
case "3d-voxel": return n.side * n.voxelSizeRaw === t;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { e as geometryChunkHasWorldExtent };
|
|
@@ -3,7 +3,7 @@ import { defaultGeometryCollisionDerive as n, defaultGeometryNavDerive as r } fr
|
|
|
3
3
|
import { defaultGeometryMigrateDelta as i } from "./geometryMigrationStrategies.js";
|
|
4
4
|
import { defaultGeometryCompaction as a } from "./geometryCompactionStrategies.js";
|
|
5
5
|
import { captureWorldCatalog as o } from "./world.js";
|
|
6
|
-
|
|
6
|
+
// src/geometryWorldMetadata.ts
|
|
7
7
|
var s = (s) => {
|
|
8
8
|
let c = {
|
|
9
9
|
opValidator: t,
|
|
@@ -34,5 +34,4 @@ var s = (s) => {
|
|
|
34
34
|
})];
|
|
35
35
|
}));
|
|
36
36
|
};
|
|
37
|
-
//#endregion
|
|
38
37
|
export { s as geometryWorldMetadata };
|
|
@@ -4,7 +4,7 @@ import { applyGeometryEdit as n, defaultGeometryApplyOp as r, defaultGeometryOpV
|
|
|
4
4
|
import { cmsGeometry as a } from "./worldGeometry.js";
|
|
5
5
|
import { defineWorld as o, rect as s } from "./world.js";
|
|
6
6
|
import { Effect as c } from "effect";
|
|
7
|
-
|
|
7
|
+
// src/geometryWorldStrategyFixtures.ts
|
|
8
8
|
var l = (e = {}) => o({
|
|
9
9
|
name: "geometry-slot-fixture",
|
|
10
10
|
map: { bounds: s(0, 0, 2, 2) },
|
|
@@ -123,5 +123,4 @@ var l = (e = {}) => o({
|
|
|
123
123
|
expected: !1
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
-
//#endregion
|
|
127
126
|
export { p as geometryWorldApplyOpSlotFixture, f as geometryWorldOpValidatorSlotFixture };
|
|
@@ -12,7 +12,7 @@ import { overlapsPreparedGeometryBox as p } from "./geometryBoxOverlap.js";
|
|
|
12
12
|
import { overlapsGeometryHeightfieldBox as m } from "./geometryHeightfieldVolume.js";
|
|
13
13
|
import { sweepGeometryHeightfieldBox as h } from "./geometryHeightfieldSweep.js";
|
|
14
14
|
import { raycastGeometryHeightfield as g } from "./geometryHeightfieldRaycast.js";
|
|
15
|
-
|
|
15
|
+
// src/geometryWorldView.ts
|
|
16
16
|
var _ = /* @__PURE__ */ new WeakMap();
|
|
17
17
|
function v() {
|
|
18
18
|
throw new t({ detail: "Geometry world query requires its actual current native inventory, declared extent and complete loaded coordinate" });
|
|
@@ -303,5 +303,4 @@ var y = (e, t = -2147483648, n = 2147483647) => typeof e == "number" && Number.i
|
|
|
303
303
|
cancel: W
|
|
304
304
|
});
|
|
305
305
|
};
|
|
306
|
-
//#endregion
|
|
307
306
|
export { C as captureGeometryWorldView, T as createGeometryWorldTilePathSearch, w as fenceGeometryWorldView, S as makeGeometryWorldView };
|
package/dist/host.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RoomAuthoringError as e, RoomFull as t, RoomGone as n } from "./errors.js";
|
|
2
|
-
|
|
2
|
+
// src/host.ts
|
|
3
3
|
var r = class {
|
|
4
4
|
capacity;
|
|
5
5
|
rooms = /* @__PURE__ */ new Map();
|
|
@@ -124,5 +124,4 @@ var r = class {
|
|
|
124
124
|
if (this.rooms.clear(), this.pendingFaults.length = 0, this.retired.length = 0, e.length) throw AggregateError(e, "Room host disposal failed");
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
|
-
//#endregion
|
|
128
127
|
export { r as RoomHost };
|
package/dist/hostBinding.js
CHANGED
|
@@ -10,7 +10,7 @@ import { captureRoomHostShutdownPolicy as u, superviseRoomHostDrain as d } from
|
|
|
10
10
|
import { captureRoomHostDeployment as f } from "./hostDeployment.js";
|
|
11
11
|
import { validateWorldRooms as p } from "./worldCatalog.js";
|
|
12
12
|
import { performance as m } from "node:perf_hooks";
|
|
13
|
-
|
|
13
|
+
// src/hostBinding.ts
|
|
14
14
|
var h = (n) => {
|
|
15
15
|
let r = t(n, ["pool", "region"], []), i = {};
|
|
16
16
|
for (let t of ["pool", "region"]) {
|
|
@@ -273,5 +273,4 @@ var h = (n) => {
|
|
|
273
273
|
}), e;
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
|
-
//#endregion
|
|
277
276
|
export { g as RoomsHostBindFailure, y as RoomsHostOwner, _ as RoomsHostStartFailure, v as RoomsHostStopFailure };
|
|
@@ -3,7 +3,7 @@ import { captureWorldCatalog as t } from "./world.js";
|
|
|
3
3
|
import { WORLD_CELLS_TABLE as n } from "./worldCells.js";
|
|
4
4
|
import { and as r, eq as i } from "@voltro/database";
|
|
5
5
|
import { performance as a } from "node:perf_hooks";
|
|
6
|
-
|
|
6
|
+
// src/hostCellObservation.ts
|
|
7
7
|
var o = class {
|
|
8
8
|
hostId;
|
|
9
9
|
capacity;
|
|
@@ -110,5 +110,4 @@ var o = class {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
//#endregion
|
|
114
113
|
export { o as RoomHostCellObservation };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e, RoomFull as t, RoomGone as n } from "./errors.js";
|
|
2
2
|
import { ROOMS_TABLE as r, ROOM_HOSTS_TABLE as i } from "./identities.js";
|
|
3
3
|
import { and as a, eq as o, or as s } from "@voltro/database";
|
|
4
|
-
|
|
4
|
+
// src/hostClientCapacity.ts
|
|
5
5
|
function c() {
|
|
6
6
|
throw new e({ detail: "Host client capacity authority is inconsistent or exceeds its scan budget" });
|
|
7
7
|
}
|
|
@@ -86,5 +86,4 @@ var l = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : c
|
|
|
86
86
|
}
|
|
87
87
|
if (d > _) throw new t({ roomId: "host" });
|
|
88
88
|
};
|
|
89
|
-
//#endregion
|
|
90
89
|
export { d as assertHostClientCapacity, u as lockRoomReservationOwners };
|
package/dist/hostCommandScope.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { AsyncLocalStorage as t } from "node:async_hooks";
|
|
3
|
-
|
|
3
|
+
// src/hostCommandScope.ts
|
|
4
4
|
var n = new t(), r = (e) => {
|
|
5
5
|
for (let t = n.getStore(); t; t = t.parent) if (t.owner === e) return !0;
|
|
6
6
|
return !1;
|
|
@@ -60,5 +60,4 @@ var n = new t(), r = (e) => {
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
//#endregion
|
|
64
63
|
export { r as hasRoomHostCommandScope, i as insideRoomHostCommandScope, u as makeRoomHostCommandWindow, o as queueRoomHostCommandOperation, s as runRoomHostCommandOperation, l as withRoomHostCommandScope };
|
package/dist/hostController.js
CHANGED
|
@@ -59,7 +59,7 @@ import { and as H, eq as U, inSet as Xe } from "@voltro/database";
|
|
|
59
59
|
import { Subject as W, checkGuardsEffect as Ze } from "@voltro/protocol";
|
|
60
60
|
import { Effect as G, Result as K, Schema as q } from "effect";
|
|
61
61
|
import { createHash as J } from "node:crypto";
|
|
62
|
-
|
|
62
|
+
// src/hostController.ts
|
|
63
63
|
var Y = async (e, t) => {
|
|
64
64
|
let n = await G.runPromise(G.result(e), { signal: t });
|
|
65
65
|
if (K.isFailure(n)) throw n.failure;
|
|
@@ -2115,7 +2115,7 @@ var Y = async (e, t) => {
|
|
|
2115
2115
|
if (!n) try {
|
|
2116
2116
|
if (await t.current(), t.destination) {
|
|
2117
2117
|
let e = t.destination, r = await Y(this.directory.observeOwnership(e.cell.roomId, t.tenantId));
|
|
2118
|
-
|
|
2118
|
+
r && r.hostId === e.target.hostId && r.epoch === e.cell.epoch && r.state === "live" || (n = !0), await this.assertWorldGhostPeer(e.target);
|
|
2119
2119
|
}
|
|
2120
2120
|
} catch {
|
|
2121
2121
|
n = !0;
|
|
@@ -3090,5 +3090,4 @@ var Y = async (e, t) => {
|
|
|
3090
3090
|
};
|
|
3091
3091
|
}
|
|
3092
3092
|
};
|
|
3093
|
-
//#endregion
|
|
3094
3093
|
export { $ as RoomHostController, Z as RoomHostControllerStartFailure };
|
package/dist/hostDeployment.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { roomHostTransportEndpoints as t } from "./transportEndpoints.js";
|
|
3
3
|
import { roomHostMetricsRoute as n } from "./hostMetrics.js";
|
|
4
|
-
|
|
4
|
+
// src/hostDeployment.ts
|
|
5
5
|
var r = (r, i, a) => {
|
|
6
6
|
let o = r.VOLTRO_ROOMS_HOST_DEPLOYMENT;
|
|
7
7
|
if (o === void 0) return;
|
|
@@ -61,5 +61,4 @@ var r = (r, i, a) => {
|
|
|
61
61
|
...d === void 0 ? {} : { publicAddress: d }
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
|
-
//#endregion
|
|
65
64
|
export { r as captureRoomHostDeployment };
|