@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.
- package/CHANGELOG.md +169 -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/worldCommands.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProtocolError as e, RoomAuthoringError as t } from "./errors.js";
|
|
2
2
|
import { Context as n, Effect as r, Schema as i } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/worldCommands.ts
|
|
4
4
|
var a = i.String.pipe(i.check(i.isPattern(/^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/))), o = i.Number.pipe(i.check(i.isFinite())), s = i.Tuple([o, o]), c = i.Number.pipe(i.check(i.isInt()), i.check(i.isBetween({
|
|
5
5
|
minimum: 1,
|
|
6
6
|
maximum: 2 ** 53 - 1
|
|
@@ -74,13 +74,13 @@ var _ = (e, t = 0, n = { remaining: 256 }) => {
|
|
|
74
74
|
(e.length > 64 || Reflect.ownKeys(e).length !== e.length + 1) && g();
|
|
75
75
|
for (let r = 0; r < e.length; r++) {
|
|
76
76
|
let i = Object.getOwnPropertyDescriptor(e, String(r));
|
|
77
|
-
|
|
77
|
+
i?.enumerable && "value" in i || g(), _(i.value, t + 1, n);
|
|
78
78
|
}
|
|
79
79
|
} else {
|
|
80
80
|
(Object.getPrototypeOf(e) !== Object.prototype || Reflect.ownKeys(e).length > 32) && g();
|
|
81
81
|
for (let r of Reflect.ownKeys(e)) {
|
|
82
82
|
let i = Object.getOwnPropertyDescriptor(e, r);
|
|
83
|
-
|
|
83
|
+
typeof r == "string" && i?.enumerable && "value" in i || g(), _(i.value, t + 1, n);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}, v = i.decodeUnknownSync(d, { onExcessProperty: "error" }), y = i.decodeUnknownSync(f, { onExcessProperty: "error" }), b = (e) => {
|
|
@@ -110,9 +110,9 @@ var _ = (e, t = 0, n = { remaining: 256 }) => {
|
|
|
110
110
|
} catch {
|
|
111
111
|
return g();
|
|
112
112
|
}
|
|
113
|
-
}, C = (e, t, n) => e.run(S(t).transition, b(n)), w = (e, t, n) => e.run(S(t).transitionGroup, x(n)), T = (e, t) => (
|
|
113
|
+
}, C = (e, t, n) => e.run(S(t).transition, b(n)), w = (e, t, n) => e.run(S(t).transitionGroup, x(n)), T = (e, t) => (t && typeof t.transition == "function" && typeof t.transitionGroup == "function" && typeof t.recover == "function" && typeof t.status == "function" || g(), E(e, t)), E = (t, n) => {
|
|
114
114
|
let o = S(t);
|
|
115
|
-
|
|
115
|
+
n && typeof n.transition == "function" && typeof n.transitionGroup == "function" || g();
|
|
116
116
|
let s = n.transition.bind(n), c = n.transitionGroup.bind(n), l = (e) => {
|
|
117
117
|
_(e);
|
|
118
118
|
try {
|
|
@@ -136,5 +136,4 @@ var _ = (e, t = 0, n = { remaining: 256 }) => {
|
|
|
136
136
|
publish: Object.freeze({})
|
|
137
137
|
});
|
|
138
138
|
};
|
|
139
|
-
//#endregion
|
|
140
139
|
export { f as WorldGroupTransitionRequestSchema, m as WorldTransitionPhaseSchema, h as WorldTransitionPort, d as WorldTransitionRequestSchema, l as WorldTransitionTargetSchema, E as bindWorldTransitionCommandHandlers, w as stageWorldGroupTransition, C as stageWorldTransition, x as worldGroupTransitionRequest, T as worldTransitionCommandBindings, p as worldTransitionPhases, b as worldTransitionRequest };
|
package/dist/worldData.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
2
|
-
|
|
2
|
+
// src/worldData.ts
|
|
3
3
|
function n(e) {
|
|
4
4
|
throw new t({ detail: e });
|
|
5
5
|
}
|
|
@@ -18,7 +18,7 @@ var r = (t, r) => {
|
|
|
18
18
|
let e = [];
|
|
19
19
|
for (let i = 0; i < t.length; i++) {
|
|
20
20
|
let a = Object.getOwnPropertyDescriptor(t, String(i));
|
|
21
|
-
|
|
21
|
+
a?.enumerable && "value" in a || n("World entity arrays require own elements"), e.push(o(a.value, r + 1));
|
|
22
22
|
}
|
|
23
23
|
s = Object.freeze(e);
|
|
24
24
|
} else {
|
|
@@ -26,7 +26,7 @@ var r = (t, r) => {
|
|
|
26
26
|
let e = [];
|
|
27
27
|
for (let i of Reflect.ownKeys(t)) {
|
|
28
28
|
let a = Object.getOwnPropertyDescriptor(t, i);
|
|
29
|
-
|
|
29
|
+
typeof i == "string" && a?.enumerable && "value" in a || n("Invalid World entity JSON field"), e.push([i, o(a.value, r + 1)]);
|
|
30
30
|
}
|
|
31
31
|
s = Object.freeze(Object.fromEntries(e));
|
|
32
32
|
}
|
|
@@ -38,5 +38,4 @@ var r = (t, r) => {
|
|
|
38
38
|
});
|
|
39
39
|
return s;
|
|
40
40
|
};
|
|
41
|
-
//#endregion
|
|
42
41
|
export { r as captureWorldData };
|
|
@@ -18,7 +18,7 @@ import { defaultWorldGroupContinuation as C } from "./worldDefaultGroupContinuat
|
|
|
18
18
|
import { and as w, eq as T } from "@voltro/database";
|
|
19
19
|
import { Subject as E } from "@voltro/protocol";
|
|
20
20
|
import { Effect as D, Schema as O } from "effect";
|
|
21
|
-
|
|
21
|
+
// src/worldDefaultBinding.ts
|
|
22
22
|
var k = "rooms-world", A = 16384, j = 1024, M = (t) => new e({ detail: t }), N = (e) => {
|
|
23
23
|
let t = /* @__PURE__ */ new Map();
|
|
24
24
|
return (n) => {
|
|
@@ -373,5 +373,4 @@ var k = "rooms-world", A = 16384, j = 1024, M = (t) => new e({ detail: t }), N =
|
|
|
373
373
|
...e.kind === "guest" ? { kind: "guest" } : {}
|
|
374
374
|
};
|
|
375
375
|
};
|
|
376
|
-
//#endregion
|
|
377
376
|
export { z as DEFAULT_WORLD_COMMAND_NAMES, A as WORLD_DEFAULT_MAX_BYTES, k as WORLD_LEASE_NAMESPACE, B as buildDefaultApiWorldState, V as defaultApiWorldState, U as defaultHostWorld, F as defaultWorldEntities };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { captureRoomSessionAdmissionEvidence as t } from "./sessionAdmission.js";
|
|
3
3
|
import { Effect as n } from "effect";
|
|
4
|
-
|
|
4
|
+
// src/worldDefaultGroupAdmission.ts
|
|
5
5
|
var r = () => new e({ detail: "Current World group target admission is unavailable" }), i = (e, t) => {
|
|
6
6
|
if (!e || typeof e != "object" || Object.getPrototypeOf(e) !== Object.prototype) throw r();
|
|
7
7
|
let n = Object.getOwnPropertyDescriptor(e, t);
|
|
@@ -78,5 +78,4 @@ var r = () => new e({ detail: "Current World group target admission is unavailab
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
//#endregion
|
|
82
81
|
export { u as makeWorldGroupAdmissionScopes };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { Effect as t, Result as n } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/worldDefaultGroupAppServices.ts
|
|
4
4
|
var r = () => new e({ detail: "World group application services are unavailable" }), i = (e, i) => {
|
|
5
5
|
let a = Object.getOwnPropertyDescriptor(i, "read");
|
|
6
6
|
if (typeof e != "function" || !a || !("value" in a) || typeof a.value != "function") throw r();
|
|
@@ -27,5 +27,4 @@ var r = () => new e({ detail: "World group application services are unavailable"
|
|
|
27
27
|
catch: r
|
|
28
28
|
}).pipe(t.flatMap((e) => n.isSuccess(e) ? t.succeed(e.success) : t.fail(e.failure)));
|
|
29
29
|
};
|
|
30
|
-
//#endregion
|
|
31
30
|
export { i as worldGroupAppServices };
|
|
@@ -3,7 +3,7 @@ import { captureWorldData as t } from "./worldData.js";
|
|
|
3
3
|
import { captureWorldTransitionGroup as n, worldTransitionGroupFromRecords as r } from "./worldTransitionGroup.js";
|
|
4
4
|
import { assertWorldTransitionExecution as i, worldTransitionExecutionGroup as a } from "./worldTransitionExecutor.js";
|
|
5
5
|
import { Effect as o } from "effect";
|
|
6
|
-
|
|
6
|
+
// src/worldDefaultGroupCompensation.ts
|
|
7
7
|
var s = () => new e({ detail: "Complete current World group compensation is unavailable" }), c = (e) => [
|
|
8
8
|
e.worldId,
|
|
9
9
|
e.zoneId,
|
|
@@ -105,5 +105,4 @@ var s = () => new e({ detail: "Complete current World group compensation is unav
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
//#endregion
|
|
109
108
|
export { u as makeWorldGroupCompensationScopes };
|
|
@@ -6,7 +6,7 @@ import { worldTransitionGroupFromRecords as a } from "./worldTransitionGroup.js"
|
|
|
6
6
|
import { makeWorldGroupSupervisor as o } from "./worldGroupSupervisor.js";
|
|
7
7
|
import { and as s, eq as c, gt as l, neq as u, or as d } from "@voltro/database";
|
|
8
8
|
import { Effect as f, Result as p } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/worldDefaultGroupContinuation.ts
|
|
10
10
|
var m = () => new e({ detail: "Default World group continuation retains incomplete work" }), h = (e) => {
|
|
11
11
|
let h = null, g = !1;
|
|
12
12
|
return { runDue: () => f.suspend(() => g ? f.fail(m()) : (g = !0, f.gen(function* () {
|
|
@@ -92,5 +92,4 @@ var m = () => new e({ detail: "Default World group continuation retains incomple
|
|
|
92
92
|
g = !1;
|
|
93
93
|
}))))) };
|
|
94
94
|
};
|
|
95
|
-
//#endregion
|
|
96
95
|
export { h as defaultWorldGroupContinuation };
|
|
@@ -8,7 +8,7 @@ import { makeWorldGroupDeadline as s } from "./worldGroupDeadline.js";
|
|
|
8
8
|
import { makeWorldGroupPreparation as c } from "./worldGroupPreparation.js";
|
|
9
9
|
import { makeWorldGroupReadyControl as l } from "./worldGroupReadyControl.js";
|
|
10
10
|
import { Effect as u } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/worldDefaultGroupControl.ts
|
|
12
12
|
var d = () => new e({ detail: "Original World group control is unavailable" }), f = (e, t) => e.tenantId === t.tenantId && e.roomId === t.roomId && e.requestId === t.requestId, p = (e) => {
|
|
13
13
|
let { tenantId: p, groups: m, executor: h, resolve: g } = e, _ = m.entities.transitions, v = a(e.runWithAppServices, e.parties), y = (e) => c({
|
|
14
14
|
tenantId: p,
|
|
@@ -68,5 +68,4 @@ var d = () => new e({ detail: "Original World group control is unavailable" }),
|
|
|
68
68
|
deadline: w
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
//#endregion
|
|
72
71
|
export { p as defaultWorldGroupControl };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { captureWorldGroupCommand as t } from "./worldGroupCommand.js";
|
|
3
3
|
import { Effect as n } from "effect";
|
|
4
|
-
|
|
4
|
+
// src/worldDefaultGroupMembers.ts
|
|
5
5
|
var r = () => new e({ detail: "World party membership is unavailable or differs from its current ownership" });
|
|
6
6
|
function i() {
|
|
7
7
|
throw r();
|
|
@@ -81,5 +81,4 @@ var a = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9_.:-]{0,190}$/.tes
|
|
|
81
81
|
}))));
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { l as defaultWorldGroupMembers };
|
|
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
|
|
|
2
2
|
import { makeWorldGroupAdmissionScopes as t } from "./worldDefaultGroupAdmission.js";
|
|
3
3
|
import { makeWorldGroupCompensationScopes as n } from "./worldDefaultGroupCompensation.js";
|
|
4
4
|
import { Effect as r } from "effect";
|
|
5
|
-
|
|
5
|
+
// src/worldDefaultGroups.ts
|
|
6
6
|
var i = (i) => {
|
|
7
7
|
let a, o = () => new e({ detail: "Default World group state is unavailable" }), s = t(), c = n({ observe: (e) => r.suspend(() => a?.transitions?.observe(e) ?? r.fail(o())) }), l = i({
|
|
8
8
|
maxRows: 64,
|
|
@@ -17,5 +17,4 @@ var i = (i) => {
|
|
|
17
17
|
compensation: c
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { i as makeDefaultWorldGroups };
|
|
@@ -6,7 +6,7 @@ import { WORLD_ENTITIES_TABLE as i } from "./worldEntities.js";
|
|
|
6
6
|
import { and as a, eq as o } from "@voltro/database";
|
|
7
7
|
import { Subject as s } from "@voltro/protocol";
|
|
8
8
|
import { Effect as c, Schema as l } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/worldDefaultPending.ts
|
|
10
10
|
var u = () => new e({ detail: "Current player World transition is unavailable" }), d = (e) => {
|
|
11
11
|
let d = new Set(e.worlds.map((e) => e.name)), f = e.observe;
|
|
12
12
|
return (p, m) => {
|
|
@@ -75,5 +75,4 @@ var u = () => new e({ detail: "Current player World transition is unavailable" }
|
|
|
75
75
|
}))), c.catchCause(() => c.fail(u())));
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
//#endregion
|
|
79
78
|
export { d as defaultWorldPending };
|
|
@@ -7,7 +7,7 @@ import { worldTransitionPhysicalSteps as a, worldTransitionSeatWithdrawal as o }
|
|
|
7
7
|
import { makeWorldTransitionResolver as s } from "./worldTransitionResolver.js";
|
|
8
8
|
import { dataStoreWorldTransitionSeats as c } from "./worldTransitionSeats.js";
|
|
9
9
|
import { Effect as l } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/worldDefaultService.ts
|
|
11
11
|
var u = (t, n = 1) => {
|
|
12
12
|
let { store: a, tenantId: u, worlds: d, catalog: f, entities: p, rooms: m, epochNow: h, maxBytes: g } = t, _ = p.transitions;
|
|
13
13
|
if (!_) throw new e({ detail: "Default World transitions need entity transition state" });
|
|
@@ -241,5 +241,4 @@ var u = (t, n = 1) => {
|
|
|
241
241
|
status: n
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
//#endregion
|
|
245
244
|
export { u as defaultWorldComponents, y as defaultWorldGroupService, d as defaultWorldService, x as forwardedWorldTransitionExecutor, b as runWorldTransitionForward };
|