@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
|
@@ -6,7 +6,7 @@ import { geometryPersistenceDigest as c, geometryPersistenceScopeKey as l } from
|
|
|
6
6
|
import { GEO_JOURNAL_TABLE as u } from "./geometryPersistence.js";
|
|
7
7
|
import { and as d, eq as f, gt as p, lt as m, neq as h } from "@voltro/database";
|
|
8
8
|
import { Context as g, Effect as _, Layer as v } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryJournalRetention.ts
|
|
10
10
|
var y = Object.freeze({ eligible: (e) => e.createdAtMs < e.cutoffMs }), b = class extends g.Service()("@voltro/GeometryJournalRetentionPort") {}, x = () => new t({ detail: "Geometry journal retention page remains unconfirmed" }), S = (e) => v.succeed(b, e), C = (t, g) => {
|
|
11
11
|
let v = n(g, [
|
|
12
12
|
"compaction",
|
|
@@ -108,5 +108,4 @@ var y = Object.freeze({ eligible: (e) => e.createdAtMs < e.cutoffMs }), b = clas
|
|
|
108
108
|
})));
|
|
109
109
|
} });
|
|
110
110
|
};
|
|
111
|
-
//#endregion
|
|
112
111
|
export { b as GeometryJournalRetentionPort, C as dataStoreGeometryJournalRetention, y as defaultGeometryJournalRetentionStrategies, S as geometryJournalRetentionLayer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema as e } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/geometryJournalRetentionSchemas.ts
|
|
3
3
|
var t = e.Struct({
|
|
4
4
|
runKey: e.NonEmptyString.pipe(e.check(e.isMaxLength(191))),
|
|
5
5
|
maxPages: e.Int.pipe(e.check(e.isBetween({
|
|
@@ -32,5 +32,4 @@ var t = e.Struct({
|
|
|
32
32
|
maximum: 1048576
|
|
33
33
|
})))
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
export { t as GeometryJournalRetentionWorkflowPayload, n as GeometryJournalRetentionWorkflowResult };
|
|
@@ -7,7 +7,7 @@ import { geometryPersistenceScopeKey as c } from "./geometryPersistenceCapture.j
|
|
|
7
7
|
import { GEO_CHUNK_DELTAS_TABLE as l } from "./geometryPersistence.js";
|
|
8
8
|
import { captureGeometryJournalRetentionPayload as u, captureGeometryJournalRetentionResult as d } from "./geometryJournalRetentionWorkflowData.js";
|
|
9
9
|
import { Context as f, Effect as p, Layer as m } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryJournalRetentionSweep.ts
|
|
11
11
|
var h = class extends f.Service()("@voltro/GeometryJournalRetentionSweepPort") {}, g = () => new t({ detail: "Geometry journal retention sweep remains unconfirmed" }), _ = (e) => m.succeed(h, e), v = (t, f) => {
|
|
12
12
|
let m = n(f, [
|
|
13
13
|
"worlds",
|
|
@@ -108,5 +108,4 @@ var h = class extends f.Service()("@voltro/GeometryJournalRetentionSweepPort") {
|
|
|
108
108
|
})));
|
|
109
109
|
} });
|
|
110
110
|
};
|
|
111
|
-
//#endregion
|
|
112
111
|
export { h as GeometryJournalRetentionSweepPort, v as dataStoreGeometryJournalRetentionSweep, _ as geometryJournalRetentionSweepLayer };
|
|
@@ -4,7 +4,7 @@ import { captureGeometryJournalRetentionPayload as r, captureGeometryJournalRete
|
|
|
4
4
|
import { GeometryJournalRetentionSweepPort as a } from "./geometryJournalRetentionSweep.js";
|
|
5
5
|
import { Effect as o, Schema as s } from "effect";
|
|
6
6
|
import { step as c } from "@voltro/workflow";
|
|
7
|
-
|
|
7
|
+
// src/geometryJournalRetentionWorkflow.ts
|
|
8
8
|
var l = (l) => o.gen(function* () {
|
|
9
9
|
let u = yield* o.try({
|
|
10
10
|
try: () => r(l),
|
|
@@ -24,5 +24,4 @@ var l = (l) => o.gen(function* () {
|
|
|
24
24
|
})))
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
|
-
//#endregion
|
|
28
27
|
export { l as geometryJournalRetentionWorkflowExecutor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { geometryPersistenceId as n, geometryPersistenceInteger as r } from "./geometryPersistenceData.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryJournalRetentionWorkflowData.ts
|
|
5
5
|
var i = (e) => {
|
|
6
6
|
let i = t(e, ["runKey", "maxPages"]);
|
|
7
7
|
return Object.freeze({
|
|
@@ -27,5 +27,4 @@ var i = (e) => {
|
|
|
27
27
|
skipped: u
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
|
-
//#endregion
|
|
31
30
|
export { i as captureGeometryJournalRetentionPayload, a as captureGeometryJournalRetentionResult };
|
|
@@ -8,7 +8,7 @@ import { assertGeometryJournalPatchReceipt as l, captureGeometryJournalArchiveRe
|
|
|
8
8
|
import { captureRoomSnapshotEffectRunner as d } from "./snapshotBlobIndex.js";
|
|
9
9
|
import { geometryPersistenceDigest as f, geometryPersistenceScopeKey as p } from "./geometryPersistenceCapture.js";
|
|
10
10
|
import { Context as m, Effect as h, Layer as g, Stream as _ } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryJournalStorage.ts
|
|
12
12
|
var v = class extends m.Service()("@voltro/GeometryJournalArchivePort") {}, y = (e) => g.succeed(v, e), b = () => new t({ detail: "Geometry journal Storage archive remains unconfirmed" }), x = (e, t) => {
|
|
13
13
|
if (!e || typeof e != "object") throw b();
|
|
14
14
|
let n = Object.getOwnPropertyDescriptor(e, t);
|
|
@@ -144,5 +144,4 @@ var v = class extends m.Service()("@voltro/GeometryJournalArchivePort") {}, y =
|
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
};
|
|
147
|
-
//#endregion
|
|
148
147
|
export { v as GeometryJournalArchivePort, y as geometryJournalArchiveLayer, S as storageGeometryJournal };
|
package/dist/geometryLoader.js
CHANGED
|
@@ -9,7 +9,7 @@ import { captureWorldCatalog as m } from "./world.js";
|
|
|
9
9
|
import { captureRoomSnapshotEffectRunner as h } from "./snapshotBlobIndex.js";
|
|
10
10
|
import { GeometryPersistencePort as g } from "./geometryPersistencePorts.js";
|
|
11
11
|
import { Effect as _ } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometryLoader.ts
|
|
13
13
|
var v = (v, y, b, x = {}) => {
|
|
14
14
|
try {
|
|
15
15
|
let S = m([v])[0], C = S.geometry, w = d(y);
|
|
@@ -114,5 +114,4 @@ var v = (v, y, b, x = {}) => {
|
|
|
114
114
|
return _.fail(new t({ detail: "World geometry load configuration could not be captured" }));
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
//#endregion
|
|
118
117
|
export { v as loadPreparedWorldGeometry };
|
package/dist/geometryManifest.js
CHANGED
|
@@ -8,7 +8,7 @@ import { GEO_CHUNK_DELTAS_TABLE as f, GEO_VERSIONS_TABLE as p } from "./geometry
|
|
|
8
8
|
import { captureGeometryStreamManifest as m } from "./geometryManifestData.js";
|
|
9
9
|
import { and as h, eq as g } from "@voltro/database";
|
|
10
10
|
import { Effect as _ } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryManifest.ts
|
|
12
12
|
var v = (v, y) => {
|
|
13
13
|
let b = n(y, [
|
|
14
14
|
"authorizeRoot",
|
|
@@ -109,5 +109,4 @@ var v = (v, y) => {
|
|
|
109
109
|
})));
|
|
110
110
|
} });
|
|
111
111
|
};
|
|
112
|
-
//#endregion
|
|
113
112
|
export { v as dataStoreGeometryManifest };
|
|
@@ -3,7 +3,7 @@ import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
|
3
3
|
import { captureGeometryDense as r, geometryPersistenceInteger as i, geometryPersistenceSha as a } from "./geometryPersistenceData.js";
|
|
4
4
|
import { captureGeometryPreparedScope as o } from "./geometryPrepared.js";
|
|
5
5
|
import { Schema as s } from "effect";
|
|
6
|
-
|
|
6
|
+
// src/geometryManifestChannel.ts
|
|
7
7
|
var c = s.Struct({
|
|
8
8
|
tenantId: s.String,
|
|
9
9
|
kind: s.Literals([
|
|
@@ -89,5 +89,4 @@ var c = s.Struct({
|
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
91
|
};
|
|
92
|
-
//#endregion
|
|
93
92
|
export { l as GeometryManifestFragmentSchema, p as captureGeometryManifestFragment, d as geometryManifestFragmentBytes, u as geometryManifestReliableChannel, m as makeGeometryManifestReceiver };
|
|
@@ -7,7 +7,7 @@ import { captureRoomConnectionGeometrySession as c } from "./connection.js";
|
|
|
7
7
|
import { GeometryManifestFragmentSchema as l, captureGeometryManifestFragment as u, makeGeometryManifestReceiver as d } from "./geometryManifestChannel.js";
|
|
8
8
|
import { captureRoomClientReliableChannel as f } from "./web.js";
|
|
9
9
|
import { captureGeometryStreamManifest as p } from "./geometryManifestData.js";
|
|
10
|
-
|
|
10
|
+
// src/geometryManifestClient.ts
|
|
11
11
|
var m = () => new t({ detail: "Room geometry manifest requires its exact native admission and complete verified publication" }), h = (t, c, h = {}) => {
|
|
12
12
|
let g = r(c, [
|
|
13
13
|
"tenantId",
|
|
@@ -118,5 +118,4 @@ var m = () => new t({ detail: "Room geometry manifest requires its exact native
|
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
}, g = (e, t, n = {}) => h(c(e), t, n);
|
|
121
|
-
//#endregion
|
|
122
121
|
export { g as makeRoomConnectionGeometryManifestClient, h as makeRoomGeometryManifestClient };
|
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e } from "./errors.js";
|
|
|
2
2
|
import { geometryOwnData as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { captureGeometryDense as n, captureGeometryPersistenceScope as r, captureGeometryStaticReference as i, geometryPersistenceInteger as a, geometryPersistenceRefusal as o, geometryPersistenceSha as s } from "./geometryPersistenceData.js";
|
|
4
4
|
import { captureGeometryPreparedScope as c } from "./geometryPrepared.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryManifestData.ts
|
|
6
6
|
var l = (e) => JSON.stringify([
|
|
7
7
|
e.cx,
|
|
8
8
|
e.cy,
|
|
@@ -45,5 +45,4 @@ var l = (e) => JSON.stringify([
|
|
|
45
45
|
});
|
|
46
46
|
return S;
|
|
47
47
|
};
|
|
48
|
-
//#endregion
|
|
49
48
|
export { d as captureGeometryStreamManifest };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Context as e, Layer as t } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/geometryManifestPorts.ts
|
|
3
3
|
var n = class extends e.Service()("@voltro/GeometryManifestPort") {}, r = (e) => t.succeed(n, e);
|
|
4
|
-
//#endregion
|
|
5
4
|
export { n as GeometryManifestPort, r as geometryManifestLayer };
|
|
@@ -9,7 +9,7 @@ import { captureRoomSnapshotEffectRunner as f } from "./snapshotBlobIndex.js";
|
|
|
9
9
|
import { captureRoomReliableChannelWriter as p } from "./serverSession.js";
|
|
10
10
|
import { captureGeometryStreamManifest as m } from "./geometryManifestData.js";
|
|
11
11
|
import { Effect as h } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometryManifestPublication.ts
|
|
13
13
|
var g = (g) => {
|
|
14
14
|
let _ = r(g, [
|
|
15
15
|
"scope",
|
|
@@ -105,5 +105,4 @@ var g = (g) => {
|
|
|
105
105
|
catch: (n) => n instanceof e ? n : new t({ detail: "Native geometry manifest publication remains unconfirmed" })
|
|
106
106
|
})));
|
|
107
107
|
};
|
|
108
|
-
//#endregion
|
|
109
108
|
export { g as makeGeometryManifestPublication };
|
|
@@ -4,7 +4,7 @@ import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
|
4
4
|
import { admitGeometryChunkForKind as r, captureGeometryArtifact as i, verifyGeometryArtifact as a } from "./geometryArtifacts.js";
|
|
5
5
|
import { assertGeometryArtifactScope as o, captureGeometryCodecProfiles as s, captureGeometryPersistenceScope as c, geometryPersistenceInteger as l } from "./geometryPersistenceData.js";
|
|
6
6
|
import { captureGeometryStreamManifest as u } from "./geometryManifestData.js";
|
|
7
|
-
|
|
7
|
+
// src/geometryManifestSource.ts
|
|
8
8
|
var d = () => new e({ detail: "Manifest-directed native geometry source requires its current full scope and actual recovery" }), f = (e) => {
|
|
9
9
|
let f = n(e, [
|
|
10
10
|
"manifest",
|
|
@@ -64,5 +64,4 @@ var d = () => new e({ detail: "Manifest-directed native geometry source requires
|
|
|
64
64
|
});
|
|
65
65
|
} });
|
|
66
66
|
};
|
|
67
|
-
//#endregion
|
|
68
67
|
export { f as makeManifestGeometryChunkSource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { id as e, json as t, table as n, text as r, timestamp as i } from "@voltro/database";
|
|
2
|
-
|
|
2
|
+
// src/geometryMigrationJournal.ts
|
|
3
3
|
var a = "_voltro_geo_migrations", o = n(a, {
|
|
4
4
|
id: e({ prefix: "gmigrate" }),
|
|
5
5
|
tenantId: r().maxLength(191),
|
|
@@ -10,5 +10,4 @@ var a = "_voltro_geo_migrations", o = n(a, {
|
|
|
10
10
|
receipt: t(),
|
|
11
11
|
createdAt: i()
|
|
12
12
|
}).unique("byGeometryMigrationRequest", ["tenantId", "requestKey"]).index(["tenantId", "fromScopeKey"]).index(["tenantId", "toScopeKey"]);
|
|
13
|
-
//#endregion
|
|
14
13
|
export { a as GEO_MIGRATIONS_TABLE, o as geometryMigrationsTable };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/geometryMigrationStrategies.ts
|
|
2
2
|
var e = (e, t) => e.static.contentSha256 === t.static.contentSha256 ? {
|
|
3
3
|
...e.current.chunk,
|
|
4
4
|
version: t.static.chunk.version
|
|
5
5
|
} : null;
|
|
6
|
-
//#endregion
|
|
7
6
|
export { e as defaultGeometryMigrateDelta };
|
|
@@ -14,7 +14,7 @@ import { assertGeometrySqlOwner as w } from "./geometrySqlOwner.js";
|
|
|
14
14
|
import { GEO_CHUNK_DELTAS_TABLE as T, GEO_VERSIONS_TABLE as E } from "./geometryPersistence.js";
|
|
15
15
|
import { and as D, eq as O, generateId as k } from "@voltro/database";
|
|
16
16
|
import { Context as A, Effect as j, Layer as M } from "effect";
|
|
17
|
-
|
|
17
|
+
// src/geometryMigrations.ts
|
|
18
18
|
var N = (e) => {
|
|
19
19
|
let n = r(e, [
|
|
20
20
|
"from",
|
|
@@ -319,5 +319,4 @@ var L = (e, t) => JSON.stringify(e) === JSON.stringify(t), R = (e) => {
|
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
321
|
};
|
|
322
|
-
//#endregion
|
|
323
322
|
export { P as GeometryVersionMigrationPort, R as captureGeometryMigrationReceipt, N as captureGeometryMigrationRequest, z as dataStoreGeometryMigrations, B as geometryMigrationContribution, F as geometryVersionMigrationLayer };
|
|
@@ -7,7 +7,7 @@ import { geometryChunkHttpHeaders as c } from "./geometryChunkHttp.js";
|
|
|
7
7
|
import { GeometryManifestFragmentSchema as l, geometryManifestFragmentBytes as u } from "./geometryManifestChannel.js";
|
|
8
8
|
import { GeometryDeltaFragmentSchema as d, geometryDeltaFragmentBytes as f } from "./geometryChannel.js";
|
|
9
9
|
import { GeometryEditMessageSchema as p } from "./geometryEditChannel.js";
|
|
10
|
-
|
|
10
|
+
// src/geometryNativeMetadata.ts
|
|
11
11
|
var m = () => {
|
|
12
12
|
let m = (e) => Object.freeze({
|
|
13
13
|
schemaHash: e.schemaHash,
|
|
@@ -48,5 +48,4 @@ var m = () => {
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { m as geometryNativeCodecMetadata };
|
package/dist/geometryPatch.js
CHANGED
|
@@ -6,7 +6,7 @@ import { RoomStateCodec as i } from "./stateCodec.js";
|
|
|
6
6
|
import { geometryOwnData as a, geometryTileRefusal as o } from "./geometryTileCodec.js";
|
|
7
7
|
import { admitGeometryChunkForKind as s, captureGeometryArtifact as c, createGeometryArtifact as l, geometryArtifactStateCodec as u } from "./geometryArtifacts.js";
|
|
8
8
|
import { Result as d, Schema as f } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryPatch.ts
|
|
10
10
|
var p = f.Struct({
|
|
11
11
|
kind: f.Literals([
|
|
12
12
|
"2d-tiles",
|
|
@@ -166,5 +166,4 @@ var p = f.Struct({
|
|
|
166
166
|
revision: f.revision
|
|
167
167
|
});
|
|
168
168
|
};
|
|
169
|
-
//#endregion
|
|
170
169
|
export { p as GeometryPatchMetadataSchema, O as applyGeometryPatch, g as captureGeometryPatch, x as captureGeometryPatchLimits, E as createGeometryPatch, D as decodeGeometryPatch, m as defaultGeometryPatchLimits, S as geometryPatchMetadataCodec };
|
|
@@ -18,7 +18,7 @@ import { captureGeometryPlayerAdmission as ue } from "./geometryPlayerAdmission.
|
|
|
18
18
|
import { GeometryPersistencePort as C, GeometryStaticSourcePort as de, geometryPersistenceLayer as w, geometryStaticSourceLayer as fe } from "./geometryPersistencePorts.js";
|
|
19
19
|
import { and as T, bytes as E, eq as D, generateId as pe, id as O, integer as k, json as A, table as j, text as M, timestamp as N } from "@voltro/database";
|
|
20
20
|
import { Effect as P } from "effect";
|
|
21
|
-
|
|
21
|
+
// src/geometryPersistence.ts
|
|
22
22
|
var F = "_voltro_geo_versions", I = "_voltro_geo_chunk_deltas", L = "_voltro_geo_journal", R = j(F, {
|
|
23
23
|
id: O({ prefix: "gver" }),
|
|
24
24
|
tenantId: M().maxLength(191),
|
|
@@ -445,5 +445,4 @@ var F = "_voltro_geo_versions", I = "_voltro_geo_chunk_deltas", L = "_voltro_geo
|
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
};
|
|
448
|
-
//#endregion
|
|
449
448
|
export { I as GEO_CHUNK_DELTAS_TABLE, L as GEO_JOURNAL_TABLE, F as GEO_VERSIONS_TABLE, C as GeometryPersistencePort, de as GeometryStaticSourcePort, _e as dataStoreGeometryPersistence, me as geometryChunkDeltasTable, z as geometryJournalTable, w as geometryPersistenceLayer, ve as geometryPersistencePrivacyHooks, B as geometryPersistenceTables, fe as geometryStaticSourceLayer, R as geometryVersionsTable };
|
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e } from "./errors.js";
|
|
|
2
2
|
import { geometryOwnData as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { assertGeometryArtifactScope as n, captureGeometryCodecProfiles as r, captureGeometryDense as i, captureGeometryKind as a, captureGeometryOwner as o, captureGeometryPersistenceScope as s, captureGeometryPrivacyTarget as c, captureGeometryReceipt as l, captureGeometryStaticReference as u, captureGeometrySubject as d, geometryPersistenceId as f, geometryPersistenceInteger as p, geometryPersistenceRefusal as m, geometryPersistenceSha as h } from "./geometryPersistenceData.js";
|
|
4
4
|
import { createHash as g } from "node:crypto";
|
|
5
|
-
|
|
5
|
+
// src/geometryPersistenceCapture.ts
|
|
6
6
|
var _ = (e) => g("sha256").update(e).digest("hex"), v = (e) => _(JSON.stringify([
|
|
7
7
|
e.tenantId,
|
|
8
8
|
e.kind,
|
|
@@ -65,5 +65,4 @@ var _ = (e) => g("sha256").update(e).digest("hex"), v = (e) => _(JSON.stringify(
|
|
|
65
65
|
}, r, i);
|
|
66
66
|
return e.tenantId !== n.tenantId || e.versionKey !== y(n) || y(o) !== y(n) || e.worldId !== o.worldId || e.kind !== o.kind || e.version !== o.version || e.manifestChunks !== o.chunks.length || h(e.manifestSha256) !== o.manifestSha256 || h(a.manifestSha256) !== o.manifestSha256 ? m() : o;
|
|
67
67
|
};
|
|
68
|
-
//#endregion
|
|
69
68
|
export { n as assertGeometryArtifactScope, r as captureGeometryCodecProfiles, i as captureGeometryDense, a as captureGeometryKind, o as captureGeometryOwner, s as captureGeometryPersistenceScope, c as captureGeometryPrivacyTarget, l as captureGeometryReceipt, u as captureGeometryStaticReference, x as captureGeometryStoredVersion, d as captureGeometrySubject, b as captureGeometryVersion, _ as geometryPersistenceDigest, f as geometryPersistenceId, p as geometryPersistenceInteger, m as geometryPersistenceRefusal, v as geometryPersistenceScopeKey, h as geometryPersistenceSha, y as geometryPersistenceVersionKey };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { geometryArtifactStateCodec as n } from "./geometryArtifacts.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryPersistenceData.ts
|
|
5
5
|
function r() {
|
|
6
6
|
throw new e({ detail: "Geometry persistence could not admit the exact durable scope" });
|
|
7
7
|
}
|
|
@@ -136,5 +136,4 @@ var i = (e, t = 0, n = 2147483647) => typeof e == "number" && Number.isSafeInteg
|
|
|
136
136
|
}
|
|
137
137
|
return a;
|
|
138
138
|
};
|
|
139
|
-
//#endregion
|
|
140
139
|
export { h as assertGeometryArtifactScope, _ as captureGeometryCodecProfiles, d as captureGeometryDense, s as captureGeometryKind, f as captureGeometryOwner, l as captureGeometryPersistenceScope, m as captureGeometryPrivacyTarget, g as captureGeometryReceipt, u as captureGeometryStaticReference, p as captureGeometrySubject, a as geometryPersistenceId, i as geometryPersistenceInteger, r as geometryPersistenceRefusal, o as geometryPersistenceSha };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Context as e, Layer as t } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/geometryPersistencePorts.ts
|
|
3
3
|
var n = class extends e.Service()("@voltro/GeometryStaticSourcePort") {}, r = class extends e.Service()("@voltro/GeometryPersistencePort") {}, i = (e) => t.succeed(r, e), a = (e) => t.succeed(n, e);
|
|
4
|
-
//#endregion
|
|
5
4
|
export { r as GeometryPersistencePort, n as GeometryStaticSourcePort, i as geometryPersistenceLayer, a as geometryStaticSourceLayer };
|
|
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
|
|
|
2
2
|
import { ROOM_SEATS_TABLE as t } from "./identities.js";
|
|
3
3
|
import { captureRoomAdmittedSessionReader as n } from "./serverSession.js";
|
|
4
4
|
import { and as r, eq as i } from "@voltro/database";
|
|
5
|
-
|
|
5
|
+
// src/geometryPlayerAdmission.ts
|
|
6
6
|
var a = (a, o, s, c) => {
|
|
7
7
|
let l = n(a), u = l.identity(), d = () => {
|
|
8
8
|
throw new e({ detail: "Geometry player edit lost its native current Room admission" });
|
|
@@ -30,5 +30,4 @@ var a = (a, o, s, c) => {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
33
|
export { a as captureGeometryPlayerAdmission };
|
|
@@ -9,7 +9,7 @@ import { captureGeometryPlayerAdmission as g } from "./geometryPlayerAdmission.j
|
|
|
9
9
|
import { prepareGeometryPlayerCommit as _ } from "./geometryPlayerEdits.js";
|
|
10
10
|
import { prepareGeometryActivation as ee } from "./geometryActivation.js";
|
|
11
11
|
import { Effect as v } from "effect";
|
|
12
|
-
|
|
12
|
+
// src/geometryPlayerEditOwner.ts
|
|
13
13
|
function y() {
|
|
14
14
|
throw new t({ detail: "Geometry accepted intent lifetime or publication remains unconfirmed" });
|
|
15
15
|
}
|
|
@@ -261,5 +261,4 @@ var b = (b, x, S) => {
|
|
|
261
261
|
})
|
|
262
262
|
});
|
|
263
263
|
};
|
|
264
|
-
//#endregion
|
|
265
264
|
export { b as makeGeometryPlayerEditOwner };
|
|
@@ -8,7 +8,7 @@ import { captureGeometryActorFrame as p } from "./geometryActorInventory.js";
|
|
|
8
8
|
import { createGeometryPatch as m } from "./geometryPatch.js";
|
|
9
9
|
import { captureGeometryPlayerAdmission as h } from "./geometryPlayerAdmission.js";
|
|
10
10
|
import { Effect as g } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryPlayerEdits.ts
|
|
12
12
|
var _ = (_, v, y, b = {}) => {
|
|
13
13
|
try {
|
|
14
14
|
let x = p(_), S = n(v, [
|
|
@@ -45,5 +45,4 @@ var _ = (_, v, y, b = {}) => {
|
|
|
45
45
|
return g.fail(n instanceof e ? n : new t({ detail: "Geometry player intent or server authority could not be captured" }));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
//#endregion
|
|
49
48
|
export { _ as prepareGeometryPlayerCommit };
|
package/dist/geometryPrepared.js
CHANGED
|
@@ -7,7 +7,7 @@ import { admitGeometryChunkForKind as a, captureGeometryArtifact as o, geometryE
|
|
|
7
7
|
import { assertGeometryArtifactScope as c, captureGeometryCodecProfiles as l, captureGeometryDense as u, captureGeometryKind as d, captureGeometryPersistenceScope as f, geometryPersistenceId as p, geometryPersistenceInteger as m, geometryPersistenceRefusal as h } from "./geometryPersistenceData.js";
|
|
8
8
|
import { createGeometryTileView as g } from "./geometryTileView.js";
|
|
9
9
|
import { captureGeometryDerivationStrategies as _, deriveGeometryCollision as v, deriveGeometryNavigation as y } from "./geometryDerivationStrategies.js";
|
|
10
|
-
|
|
10
|
+
// src/geometryPrepared.ts
|
|
11
11
|
var b = /* @__PURE__ */ new WeakMap(), x = (e) => {
|
|
12
12
|
let n = t(e, [
|
|
13
13
|
"tenantId",
|
|
@@ -184,5 +184,4 @@ var b = /* @__PURE__ */ new WeakMap(), x = (e) => {
|
|
|
184
184
|
}));
|
|
185
185
|
return E(r.root, s, r.options);
|
|
186
186
|
};
|
|
187
|
-
//#endregion
|
|
188
187
|
export { D as captureGeometryPreparedBaseline, S as captureGeometryPreparedCoordinate, A as captureGeometryPreparedDerivation, O as captureGeometryPreparedInventory, k as captureGeometryPreparedProfile, x as captureGeometryPreparedScope, j as deriveGeometryPreparedInventory, E as prepareGeometryInventory };
|
|
@@ -3,7 +3,7 @@ import { ROOM_SUBJECT_PRIVACY_TABLE as t } from "./identities.js";
|
|
|
3
3
|
import { roomSubjectPrivacyKey as n } from "./subjectAdmission.js";
|
|
4
4
|
import { captureRoomSubjectPrivacyJournal as r } from "./subjectPrivacy.js";
|
|
5
5
|
import { and as i, eq as a } from "@voltro/database";
|
|
6
|
-
|
|
6
|
+
// src/geometryPrivacyFence.ts
|
|
7
7
|
var o = async (o, s) => {
|
|
8
8
|
let c = n(s.tenantId, s.subject.id), l = await o.query({
|
|
9
9
|
table: t,
|
|
@@ -20,5 +20,4 @@ var o = async (o, s) => {
|
|
|
20
20
|
let u = r(l[0].journal);
|
|
21
21
|
if (u.kind !== s.subject.kind || u.phase === "pending") throw new e({ detail: "Geometry erasure requires the admitted current Subject kind and completed withdrawal" });
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { o as assertGeometryPrivacyFence };
|
|
@@ -7,7 +7,7 @@ import { captureRoomSnapshotEffectRunner as c } from "./snapshotBlobIndex.js";
|
|
|
7
7
|
import { captureGeometryVersion as l } from "./geometryPersistenceCapture.js";
|
|
8
8
|
import { openGeometryProceduralWorker as u } from "./geometryProceduralWorker.js";
|
|
9
9
|
import { Effect as d } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryProceduralPublication.ts
|
|
11
11
|
var f = (f, p, m, h, g = {}) => {
|
|
12
12
|
try {
|
|
13
13
|
let _ = s([f])[0], v = _.geometry, y = o(p), b = n(g, [
|
|
@@ -87,5 +87,4 @@ var f = (f, p, m, h, g = {}) => {
|
|
|
87
87
|
return d.fail(n instanceof e ? n : new t({ detail: "Procedural author inventory could not be admitted before worker acquisition" }));
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
//#endregion
|
|
91
90
|
export { f as prepareProceduralGeometryPublication };
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath as u, pathToFileURL as d } from "node:url";
|
|
|
9
9
|
import { promises as f } from "node:fs";
|
|
10
10
|
import { Worker as p } from "node:worker_threads";
|
|
11
11
|
import { createRequire as m } from "node:module";
|
|
12
|
-
|
|
12
|
+
// src/geometryProceduralWorker.ts
|
|
13
13
|
var h = () => new e({ detail: "Procedural geometry worker startup, generation or native lifetime remains unconfirmed" }), g = (e, g) => {
|
|
14
14
|
try {
|
|
15
15
|
let _ = c([e])[0], v = _.geometry, y = t(g, [
|
|
@@ -160,5 +160,4 @@ var h = () => new e({ detail: "Procedural geometry worker startup, generation or
|
|
|
160
160
|
return l.fail(h());
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
|
-
//#endregion
|
|
164
163
|
export { g as openGeometryProceduralWorker };
|
|
@@ -7,7 +7,7 @@ import { captureWorldCatalog as d } from "./world.js";
|
|
|
7
7
|
import { captureRoomSnapshotEffectRunner as f } from "./snapshotBlobIndex.js";
|
|
8
8
|
import { captureGeometryVersion as p } from "./geometryPersistenceCapture.js";
|
|
9
9
|
import { Effect as m } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryPublication.ts
|
|
11
11
|
var h = (h, g, _, v, y = {}) => {
|
|
12
12
|
try {
|
|
13
13
|
let b = d([h])[0], x = b.geometry, S = n(y, [
|
|
@@ -106,5 +106,4 @@ var h = (h, g, _, v, y = {}) => {
|
|
|
106
106
|
return m.fail(n instanceof e ? n : new t({ detail: "Complete geometry author artifact inventory could not be captured" }));
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
//#endregion
|
|
110
109
|
export { h as publishGeometryArtifacts };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { addWide as e, compareWide as t, multiplyWide as n, subtractWide as r } from "./fixedWide.js";
|
|
2
|
-
|
|
2
|
+
// src/geometryRayAlgebra.ts
|
|
3
3
|
var i = [0], a = (e) => t(e, i), o = (e) => n(e, e), s = (e) => {
|
|
4
4
|
let t = [];
|
|
5
5
|
do
|
|
@@ -112,5 +112,4 @@ var i = [0], a = (e) => t(e, i), o = (e) => n(e, e), s = (e) => {
|
|
|
112
112
|
upper: n
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
|
-
//#endregion
|
|
116
115
|
export { b as clipGeometryRayInterval, _ as compareGeometryRayTime, v as geometryRayRational, y as geometryRaySphereInterval, x as geometryRayTimeBounds };
|
|
@@ -4,7 +4,7 @@ import { captureGeometryCodecProfiles as r, captureGeometryStaticReference as i,
|
|
|
4
4
|
import { BASE_NAME as o } from "./rpc.js";
|
|
5
5
|
import { makeGeometryHttpStaticSource as s, reuseGeometryStaticArtifact as c } from "./geometryClientStatic.js";
|
|
6
6
|
import { pluginTag as l } from "@voltro/protocol";
|
|
7
|
-
|
|
7
|
+
// src/geometryReadClient.ts
|
|
8
8
|
var u = (e) => {
|
|
9
9
|
if (typeof e != "string" || e.length > 16384) throw new t({ detail: "Actual geometry read URL response is unavailable" });
|
|
10
10
|
try {
|
|
@@ -153,5 +153,4 @@ var u = (e) => {
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
//#endregion
|
|
157
156
|
export { d as geometryRpcReadGrants, p as makeGrantedGeometryHttpStaticCache, f as makeGrantedGeometryHttpStaticSource };
|
package/dist/geometryReadRpc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProtocolError as e } from "./errors.js";
|
|
2
2
|
import { defineAction as t } from "@voltro/protocol";
|
|
3
3
|
import { Schema as n } from "effect";
|
|
4
|
-
|
|
4
|
+
// src/geometryReadRpc.ts
|
|
5
5
|
var r = t({
|
|
6
6
|
name: "rooms.geometry.staticUrl",
|
|
7
7
|
input: n.Struct({
|
|
@@ -23,5 +23,4 @@ var r = t({
|
|
|
23
23
|
name: "geometryStaticUrlDescriptor"
|
|
24
24
|
}
|
|
25
25
|
}]);
|
|
26
|
-
//#endregion
|
|
27
26
|
export { i as geometryReadRpcImports, r as geometryStaticUrlDescriptor };
|
|
@@ -4,7 +4,7 @@ import { captureGeometryPersistenceScope as n } from "./geometryPersistenceData.
|
|
|
4
4
|
import { geometryStaticUrlDescriptor as r } from "./geometryReadRpc.js";
|
|
5
5
|
import { captureWorldCatalog as i } from "./world.js";
|
|
6
6
|
import { Effect as a } from "effect";
|
|
7
|
-
|
|
7
|
+
// src/geometryReadRpcRoutes.ts
|
|
8
8
|
var o = (o, s) => {
|
|
9
9
|
let c = i(o);
|
|
10
10
|
return [{
|
|
@@ -43,5 +43,4 @@ var o = (o, s) => {
|
|
|
43
43
|
}
|
|
44
44
|
}];
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { o as geometryReadRpcRoutes };
|
|
@@ -8,7 +8,7 @@ import { GeometryDeltaFragmentSchema as d, createGeometryDeltaFragments as f } f
|
|
|
8
8
|
import { captureRoomSnapshotEffectRunner as p } from "./snapshotBlobIndex.js";
|
|
9
9
|
import { captureRoomReliableChannelWriter as m } from "./serverSession.js";
|
|
10
10
|
import { Effect as h } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryReliablePublication.ts
|
|
12
12
|
var g = (g) => {
|
|
13
13
|
let _ = r(g, [
|
|
14
14
|
"scope",
|
|
@@ -78,5 +78,4 @@ var g = (g) => {
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
//#endregion
|
|
82
81
|
export { g as makeGeometryReliablePublication };
|
|
@@ -3,7 +3,7 @@ import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
|
3
3
|
import { captureRoomGeometryReloadRequest as r } from "./geometryAdminData.js";
|
|
4
4
|
import { captureGeometryVersionActivation as i } from "./geometryActorInventory.js";
|
|
5
5
|
import { Context as a, Effect as o, Layer as s } from "effect";
|
|
6
|
-
|
|
6
|
+
// src/geometryReloadPorts.ts
|
|
7
7
|
var c = class extends a.Service()("@voltro/RoomGeometryReloadPort") {}, l = (a) => {
|
|
8
8
|
let s = n(a, [
|
|
9
9
|
"authorize",
|
|
@@ -42,5 +42,4 @@ var c = class extends a.Service()("@voltro/RoomGeometryReloadPort") {}, l = (a)
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
}, u = (e) => s.succeed(c, l(e));
|
|
45
|
-
//#endregion
|
|
46
45
|
export { c as RoomGeometryReloadPort, l as captureRoomGeometryReloadPort, r as captureRoomGeometryReloadRequest, u as roomGeometryReloadLayer };
|
|
@@ -13,7 +13,7 @@ import { captureRoomGeometryResourceIdentity as m, captureRoomGeometryResourceSt
|
|
|
13
13
|
import { bindGeometryChunkLeases as g } from "./geometryChunkLeases.js";
|
|
14
14
|
import { prepareGeometryVersionActivation as _ } from "./geometryVersionActivation.js";
|
|
15
15
|
import { Effect as v, Option as y } from "effect";
|
|
16
|
-
|
|
16
|
+
// src/geometryReloadSource.ts
|
|
17
17
|
var b = () => new t({ detail: "Geometry version coordination, SQL preparation or compare-only cleanup remains unconfirmed" }), x = (t) => {
|
|
18
18
|
let g = n(t, [
|
|
19
19
|
"authorize",
|
|
@@ -274,5 +274,4 @@ var b = () => new t({ detail: "Geometry version coordination, SQL preparation or
|
|
|
274
274
|
})
|
|
275
275
|
});
|
|
276
276
|
};
|
|
277
|
-
//#endregion
|
|
278
277
|
export { S as bindRoomGeometryReloadSource, x as makeRoomGeometryReloadSource };
|
|
@@ -9,7 +9,7 @@ import { geometryChunkHasWorldExtent as l } from "./geometryWorldExtent.js";
|
|
|
9
9
|
import { captureOwnedRoomGeometryChunkCache as u, captureRoomGeometryChunkCacheArtifact as d, captureRoomGeometryChunkCacheRoot as f } from "./geometryClientChunks.js";
|
|
10
10
|
import { prepareGeometryRenderLod as p } from "./geometryRenderLod.js";
|
|
11
11
|
import { captureWorldCatalog as m } from "./world.js";
|
|
12
|
-
|
|
12
|
+
// src/geometryRenderCache.ts
|
|
13
13
|
var h = () => new t({ detail: "Geometry render cache requires its fresh native content, current admission and complete bounded projection" }), g = (e = {}) => {
|
|
14
14
|
let t = n(e, [
|
|
15
15
|
"maxEntries",
|
|
@@ -161,5 +161,4 @@ var h = () => new t({ detail: "Geometry render cache requires its fresh native c
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
|
-
//#endregion
|
|
165
164
|
export { g as captureGeometryRenderLodCacheOptions, _ as makeGeometryRenderLodCache };
|
|
@@ -6,7 +6,7 @@ import { geometryPersistenceInteger as o } from "./geometryPersistenceData.js";
|
|
|
6
6
|
import { geometryClientFieldsAtDistance as s } from "./geometryClientInterest.js";
|
|
7
7
|
import { geometryChunkHasWorldExtent as c } from "./geometryWorldExtent.js";
|
|
8
8
|
import { captureWorldCatalog as l } from "./world.js";
|
|
9
|
-
|
|
9
|
+
// src/geometryRenderLod.ts
|
|
10
10
|
var u = () => new t({ detail: "Native geometry LOD requires exact admitted content, World extent and bounded pure sample selection" }), d = (e, t) => {
|
|
11
11
|
let r = n(e, [
|
|
12
12
|
"kind",
|
|
@@ -98,5 +98,4 @@ var u = () => new t({ detail: "Native geometry LOD requires exact admitted conte
|
|
|
98
98
|
artifact: o
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
|
-
//#endregion
|
|
102
101
|
export { d as defaultGeometryHeightfieldLodStride, f as prepareGeometryHeightfieldLod, p as prepareGeometryRenderLod };
|