@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
|
@@ -8,7 +8,7 @@ import { geometryPersistenceDigest as m } from "./geometryPersistenceCapture.js"
|
|
|
8
8
|
import { captureGeometryPlayerAdmission as h } from "./geometryPlayerAdmission.js";
|
|
9
9
|
import { Effect as g, Option as _ } from "effect";
|
|
10
10
|
import { HotError as v } from "@voltro/kv/hot/contract";
|
|
11
|
-
|
|
11
|
+
// src/geometryCommitCoordinator.ts
|
|
12
12
|
var y = () => new t({ detail: "Geometry coordinated operation or cleanup remains unconfirmed" }), b = (t, b, x) => {
|
|
13
13
|
let S = r(x, [
|
|
14
14
|
"tenantId",
|
|
@@ -237,5 +237,4 @@ var y = () => new t({ detail: "Geometry coordinated operation or cleanup remains
|
|
|
237
237
|
})
|
|
238
238
|
});
|
|
239
239
|
};
|
|
240
|
-
//#endregion
|
|
241
240
|
export { b as makeGeometryCommitCoordinator };
|
|
@@ -6,7 +6,7 @@ import { defaultGeometryCompaction as a, prepareGeometryCompaction as o } from "
|
|
|
6
6
|
import { cmsGeometry as s } from "./worldGeometry.js";
|
|
7
7
|
import { defineWorld as c, rect as l } from "./world.js";
|
|
8
8
|
import { Effect as u } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryCompactionFixture.ts
|
|
10
10
|
var d = (r) => u.promise(async () => {
|
|
11
11
|
let a = c({
|
|
12
12
|
name: "compaction-fixture",
|
|
@@ -80,5 +80,4 @@ var d = (r) => u.promise(async () => {
|
|
|
80
80
|
expected: "refused"
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
//#endregion
|
|
84
83
|
export { f as geometryCompactionSlotFixture };
|
|
@@ -3,7 +3,7 @@ import { geometryOwnData as t } from "./geometryTileCodec.js";
|
|
|
3
3
|
import { captureGeometryArtifact as n } from "./geometryArtifacts.js";
|
|
4
4
|
import { captureGeometryCodecProfiles as r } from "./geometryPersistenceData.js";
|
|
5
5
|
import { applyGeometryPatch as i, captureGeometryPatch as a, captureGeometryPatchLimits as o, createGeometryPatch as s, decodeGeometryPatch as c } from "./geometryPatch.js";
|
|
6
|
-
|
|
6
|
+
// src/geometryCompactionStrategies.ts
|
|
7
7
|
var l = (e) => s(e.static, e.current, 0, {
|
|
8
8
|
limits: e.limits,
|
|
9
9
|
codecLimits: e.codecLimits
|
|
@@ -34,5 +34,4 @@ var d = (e = {}) => {
|
|
|
34
34
|
let S = await i(p, x, 0, g), C = m.bytes(), w = S.artifact.bytes();
|
|
35
35
|
return S.artifact.blobSha256 !== m.blobSha256 || S.artifact.contentSha256 !== m.contentSha256 || w.length !== C.length || w.some((e, t) => e !== C[t]) ? u() : x;
|
|
36
36
|
};
|
|
37
|
-
//#endregion
|
|
38
37
|
export { d as captureGeometryCompactionStrategies, l as defaultGeometryCompaction, f as prepareGeometryCompaction };
|
|
@@ -2,7 +2,7 @@ import { ProtocolError as e } from "./errors.js";
|
|
|
2
2
|
import { captureRoomConnectionGeometrySession as t } from "./connection.js";
|
|
3
3
|
import { makeRoomGeometryChunkCache as n } from "./geometryClientChunks.js";
|
|
4
4
|
import { makeRoomGeometrySnapshotSource as r } from "./geometrySnapshotClient.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryConnectionClient.ts
|
|
6
6
|
var i = (e, r, i, a, o = {}) => n(t(e), r, i, a, o), a = async (t, n, r, a, o, s, c = {}) => {
|
|
7
7
|
let l = () => new e({ detail: "World native geometry prefetch remains incomplete" });
|
|
8
8
|
if (!(s instanceof AbortSignal) || s.aborted) throw l();
|
|
@@ -19,5 +19,4 @@ var i = (e, r, i, a, o = {}) => n(t(e), r, i, a, o), a = async (t, n, r, a, o, s
|
|
|
19
19
|
s.removeEventListener("abort", p);
|
|
20
20
|
}
|
|
21
21
|
}, o = (e, n, i) => r(t(e), n, i);
|
|
22
|
-
//#endregion
|
|
23
22
|
export { i as makeRoomConnectionGeometryCache, o as makeRoomConnectionGeometrySnapshotSource, a as prefetchRoomConnectionGeometryCache };
|
|
@@ -7,7 +7,7 @@ import { cmsGeometry as o } from "./worldGeometry.js";
|
|
|
7
7
|
import { defineWorld as s, rect as c } from "./world.js";
|
|
8
8
|
import { createGeometryWorldTilePathSearch as l, makeGeometryWorldView as u } from "./geometryWorldView.js";
|
|
9
9
|
import { Effect as d } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryDerivationFixtures.ts
|
|
11
11
|
var f = () => e().create({
|
|
12
12
|
address: {
|
|
13
13
|
worldId: "derivation-fixture",
|
|
@@ -137,5 +137,4 @@ var f = () => e().create({
|
|
|
137
137
|
expected: "unreachable"
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
//#endregion
|
|
141
140
|
export { m as geometryCollisionDeriveSlotFixture, h as geometryNavDeriveSlotFixture };
|
|
@@ -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 { admitGeometryEditResult as n } from "./geometryEdits.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryDerivationStrategies.ts
|
|
5
5
|
var r = (e) => e.chunk, i = (e) => e.chunk.kind === "2d-tiles" ? e.chunk : null;
|
|
6
6
|
function a() {
|
|
7
7
|
throw new e({ detail: "Geometry derivation requires synchronous native data under the original scope/layout/profile" });
|
|
@@ -23,5 +23,4 @@ var o = (e = {}) => {
|
|
|
23
23
|
let i = r === e.chunk ? e.chunk : n(e.chunk, r, e.codecLimits);
|
|
24
24
|
return i.kind === "2d-tiles" ? i : a();
|
|
25
25
|
};
|
|
26
|
-
//#endregion
|
|
27
26
|
export { o as captureGeometryDerivationStrategies, r as defaultGeometryCollisionDerive, i as defaultGeometryNavDerive, s as deriveGeometryCollision, c as deriveGeometryNavigation };
|
package/dist/geometryDigest.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { geometryTileRefusal as e } from "./geometryTileCodec.js";
|
|
2
|
-
|
|
2
|
+
// src/geometryDigest.ts
|
|
3
3
|
var t = async (t) => {
|
|
4
4
|
try {
|
|
5
5
|
if (!globalThis.crypto?.subtle) return e();
|
|
@@ -9,5 +9,4 @@ var t = async (t) => {
|
|
|
9
9
|
return e();
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { t as geometrySha256 };
|
|
@@ -2,7 +2,7 @@ import { geometryOwnData as e } from "./geometryTileCodec.js";
|
|
|
2
2
|
import { geometryPersistenceId as t, geometryPersistenceInteger as n } from "./geometryPersistenceData.js";
|
|
3
3
|
import { captureGeometryEditIntent as r } from "./geometryEdits.js";
|
|
4
4
|
import { Schema as i } from "effect";
|
|
5
|
-
|
|
5
|
+
// src/geometryEditChannel.ts
|
|
6
6
|
var a = i.Union([
|
|
7
7
|
i.Struct({
|
|
8
8
|
op: i.Literal("setTile"),
|
|
@@ -66,5 +66,4 @@ var a = i.Union([
|
|
|
66
66
|
intent: r(a.intent)
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
|
-
//#endregion
|
|
70
69
|
export { o as GeometryEditMessageSchema, c as captureGeometryEditMessage, s as geometryEditChannel };
|
|
@@ -5,7 +5,7 @@ import { captureGeometryPreparedCoordinate as c, captureGeometryPreparedScope as
|
|
|
5
5
|
import { captureGeometryEditMessage as u } from "./geometryEditChannel.js";
|
|
6
6
|
import { captureRoomAdmittedSessionReader as d } from "./serverSession.js";
|
|
7
7
|
import { Effect as f } from "effect";
|
|
8
|
-
|
|
8
|
+
// src/geometryEditIngress.ts
|
|
9
9
|
var p = () => new t({ detail: "Geometry native channel intent remains unconfirmed" }), m = (t, m) => {
|
|
10
10
|
let h = n(m, [
|
|
11
11
|
"scope",
|
|
@@ -259,5 +259,4 @@ var p = () => new t({ detail: "Geometry native channel intent remains unconfirme
|
|
|
259
259
|
})
|
|
260
260
|
});
|
|
261
261
|
};
|
|
262
|
-
//#endregion
|
|
263
262
|
export { m as makeGeometryEditIngress };
|
package/dist/geometryEdits.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createGeometryVoxelCodec as l, createGeometryVoxelView as u } from "./g
|
|
|
7
7
|
import { admitGeometryChunkForKind as d } from "./geometryArtifacts.js";
|
|
8
8
|
import { captureGeometryCodecProfiles as f, captureGeometryDense as p, captureGeometryKind as m, geometryPersistenceId as h, geometryPersistenceInteger as g } from "./geometryPersistenceData.js";
|
|
9
9
|
import { createGeometryTileView as _ } from "./geometryTileView.js";
|
|
10
|
-
|
|
10
|
+
// src/geometryEdits.ts
|
|
11
11
|
function v() {
|
|
12
12
|
throw new t({ detail: "Geometry intent or authoritative edit policy refused" });
|
|
13
13
|
}
|
|
@@ -362,5 +362,4 @@ var y = (e) => {
|
|
|
362
362
|
let n = e.opValidator(t);
|
|
363
363
|
if (n !== void 0) return n instanceof Promise && n.catch(() => void 0), v();
|
|
364
364
|
};
|
|
365
|
-
//#endregion
|
|
366
365
|
export { E as admitGeometryEditResult, O as applyGeometryEdit, b as captureGeometryEditAuthority, y as captureGeometryEditIntent, D as captureGeometryEditStrategies, T as defaultGeometryApplyOp, w as defaultGeometryOpValidator, k as runGeometryEditValidator };
|
package/dist/geometryEnvelope.js
CHANGED
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
|
2
2
|
import { compareUint64 as n, multiplyWords as r } from "./fixedWords.js";
|
|
3
3
|
import { geometryOwnData as i } from "./geometryTileCodec.js";
|
|
4
4
|
import { captureGeometryPreparedInventory as a } from "./geometryPrepared.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryGridRaycast.ts
|
|
6
6
|
function o() {
|
|
7
7
|
throw new t({ detail: "Geometry grid ray requires complete genuine native collision chunks with one declared grid profile" });
|
|
8
8
|
}
|
|
@@ -88,5 +88,4 @@ var s = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= -21474836
|
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
90
|
};
|
|
91
|
-
//#endregion
|
|
92
91
|
export { l as raycastPreparedGeometryGrid };
|
|
@@ -2,7 +2,7 @@ import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
|
2
2
|
import { clipFixedBoxSlabs as n, compareFixedSlabFraction as r } from "./fixedSlabs.js";
|
|
3
3
|
import { geometryOwnData as i } from "./geometryTileCodec.js";
|
|
4
4
|
import { captureGeometryPreparedInventory as a } from "./geometryPrepared.js";
|
|
5
|
-
|
|
5
|
+
// src/geometryGridSweep.ts
|
|
6
6
|
function o() {
|
|
7
7
|
throw new t({ detail: "Geometry grid sweep requires translated nonempty raw boxes and complete genuine collision coverage" });
|
|
8
8
|
}
|
|
@@ -88,5 +88,4 @@ var s = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= -21474836
|
|
|
88
88
|
testedCells: j
|
|
89
89
|
}) : null;
|
|
90
90
|
};
|
|
91
|
-
//#endregion
|
|
92
91
|
export { l as sweepPreparedGeometryGrid };
|
|
@@ -7,7 +7,7 @@ import { RoomStateCodec as a } from "./stateCodec.js";
|
|
|
7
7
|
import { GeometryChunkAddressSchema as o } from "./geometrySchemas.js";
|
|
8
8
|
import { geometryOwnData as s, geometryTileRefusal as c } from "./geometryTileCodec.js";
|
|
9
9
|
import { Result as l, Schema as u } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryHeightfield.ts
|
|
11
11
|
var d = n(), f = 12, p = t["2d-heightfield"], m = u.Struct({
|
|
12
12
|
kind: u.Literal("2d-heightfield").pipe(i(1)),
|
|
13
13
|
formatVersion: u.Literal(1).pipe(i(2)),
|
|
@@ -162,5 +162,4 @@ var d = n(), f = 12, p = t["2d-heightfield"], m = u.Struct({
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
};
|
|
165
|
-
//#endregion
|
|
166
165
|
export { m as GeometryHeightfieldChunkSchema, x as createGeometryHeightfieldCodec, S as createGeometryHeightfieldView, h as defaultGeometryHeightfieldLimits };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
|
-
|
|
3
|
+
// src/geometryHeightfieldRaycast.ts
|
|
4
4
|
function r() {
|
|
5
5
|
throw new t({ detail: "Geometry heightfield ray requires complete genuine native heightfield chunks" });
|
|
6
6
|
}
|
|
@@ -70,5 +70,4 @@ var i = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= -21474836
|
|
|
70
70
|
}
|
|
71
71
|
return null;
|
|
72
72
|
};
|
|
73
|
-
//#endregion
|
|
74
73
|
export { l as raycastGeometryHeightfield };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
|
-
|
|
3
|
+
// src/geometryHeightfieldSweep.ts
|
|
4
4
|
function r() {
|
|
5
5
|
throw new t({ detail: "Geometry heightfield sweep requires two equally sized nonempty half-open raw boxes" });
|
|
6
6
|
}
|
|
@@ -81,5 +81,4 @@ var i = [
|
|
|
81
81
|
}
|
|
82
82
|
return null;
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { c as sweepGeometryHeightfieldBox };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
|
-
|
|
3
|
+
// src/geometryHeightfieldVolume.ts
|
|
4
4
|
function r() {
|
|
5
5
|
throw new t({ detail: "Geometry heightfield volume query requires a nonempty half-open raw box and complete genuine native heightfield chunks" });
|
|
6
6
|
}
|
|
@@ -41,5 +41,4 @@ var i = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= -21474836
|
|
|
41
41
|
}
|
|
42
42
|
return !1;
|
|
43
43
|
};
|
|
44
|
-
//#endregion
|
|
45
44
|
export { o as overlapsGeometryHeightfieldBox };
|
package/dist/geometryHost.js
CHANGED
|
@@ -8,7 +8,7 @@ import { captureRoomGeometryRollbackPort as f } from "./geometryRollbackPorts.js
|
|
|
8
8
|
import { captureWorldCatalog as p } from "./world.js";
|
|
9
9
|
import { fenceGeometryWorldView as m, makeGeometryWorldView as h } from "./geometryWorldView.js";
|
|
10
10
|
import { Effect as g } from "effect";
|
|
11
|
-
|
|
11
|
+
// src/geometryHost.ts
|
|
12
12
|
var _ = /* @__PURE__ */ new WeakMap();
|
|
13
13
|
function v() {
|
|
14
14
|
throw new t({ detail: "Room geometry requires the exact configured World, actual prepared inventory and owner lifetime" });
|
|
@@ -290,7 +290,7 @@ var y = (e) => {
|
|
|
290
290
|
let i = _.get(S(e));
|
|
291
291
|
if (t._tag === "GeometryVersionActivation" ? c(e.inventory, t) : s(e.inventory, t), typeof n != "function" || typeof r != "function" || i.reload && !i.reload.admitted && i.reload.token !== t) return v();
|
|
292
292
|
if (i.reload?.token === t && i.reload.admitted) return Promise.resolve();
|
|
293
|
-
|
|
293
|
+
i.reload && i.reload.token === t || (i.reload = {
|
|
294
294
|
token: t,
|
|
295
295
|
admitted: !1,
|
|
296
296
|
active: null
|
|
@@ -318,5 +318,4 @@ var y = (e) => {
|
|
|
318
318
|
}
|
|
319
319
|
return a.active;
|
|
320
320
|
}, L = (e, t, n, r) => (S(e), c(e.inventory, t), I(e, t, n, r)), R = (e, t, n, r) => (S(e), s(e.inventory, t), I(e, t, n, r)), z = (e) => _.has(e) ? e : v();
|
|
321
|
-
//#endregion
|
|
322
321
|
export { R as activateRoomGeometryChange, L as activateRoomGeometryVersion, j as bindRoomGeometryEditorPoints, y as captureRoomGeometryOwnerScope, x as captureRoomGeometryResource, z as captureRoomGeometryResourceIdentity, S as captureRoomGeometryResourceState, k as captureRoomHostGeometryBinding, P as currentRoomGeometryMutations, F as currentRoomGeometryStreams, w as fenceRoomGeometryMutations, D as fenceRoomGeometryStreams, b as makeRoomGeometryResource, C as openRoomGeometryMutations, E as openRoomGeometryStreams, N as prepareRoomHostGeometry, T as pumpRoomGeometryMutations, O as pumpRoomGeometryStreams, M as roomGeometryEditorPoint };
|
|
@@ -10,7 +10,7 @@ import { captureRoomGeometryOwnerScope as p, makeRoomGeometryResource as m } fro
|
|
|
10
10
|
import { loadPreparedWorldCellGeometry as h } from "./geometryCellLoader.js";
|
|
11
11
|
import { and as g, eq as _ } from "@voltro/database";
|
|
12
12
|
import { Effect as v } from "effect";
|
|
13
|
-
|
|
13
|
+
// src/geometryHostDirectory.ts
|
|
14
14
|
var y = () => new t({ detail: "Actual SQL Host geometry placement could not be admitted" }), b = (e, t, n) => v.suspend(() => {
|
|
15
15
|
let r = t ? e.find((e) => e.name === t.worldId) : void 0;
|
|
16
16
|
if (!t || !r) return v.fail(y());
|
|
@@ -203,5 +203,4 @@ var y = () => new t({ detail: "Actual SQL Host geometry placement could not be a
|
|
|
203
203
|
...w ? { rollback: w } : {}
|
|
204
204
|
});
|
|
205
205
|
};
|
|
206
|
-
//#endregion
|
|
207
206
|
export { x as dataStoreRoomHostGeometry, b as recordedGeometryPlacement };
|
|
@@ -10,7 +10,7 @@ import { makeGeometryPlayerEditOwner as l } from "./geometryPlayerEditOwner.js";
|
|
|
10
10
|
import { makeGeometryReliablePublication as u } from "./geometryReliablePublication.js";
|
|
11
11
|
import { makeGeometryEditIngress as d } from "./geometryEditIngress.js";
|
|
12
12
|
import { Effect as f } from "effect";
|
|
13
|
-
|
|
13
|
+
// src/geometryHostMutations.ts
|
|
14
14
|
var p = (p, m, h) => {
|
|
15
15
|
let g = o(p), _ = i(g.inventory), v = t(h, [
|
|
16
16
|
"persistence",
|
|
@@ -133,5 +133,4 @@ var p = (p, m, h) => {
|
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
|
-
//#endregion
|
|
137
136
|
export { p as makeRoomGeometryMutations };
|
|
@@ -7,7 +7,7 @@ import { captureRoomGeometryResourceState as u } from "./geometryHost.js";
|
|
|
7
7
|
import { makeRoomGeometrySnapshotServer as d } from "./geometrySnapshotServer.js";
|
|
8
8
|
import { makeGeometryManifestPublication as f } from "./geometryManifestPublication.js";
|
|
9
9
|
import { Effect as p, Result as m } from "effect";
|
|
10
|
-
|
|
10
|
+
// src/geometryHostStreams.ts
|
|
11
11
|
var h = (h, g, _) => {
|
|
12
12
|
let v = u(h), y = c(v.inventory).scope, b = n(_, [
|
|
13
13
|
"source",
|
|
@@ -120,5 +120,4 @@ var h = (h, g, _) => {
|
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
-
//#endregion
|
|
124
123
|
export { h as makeRoomGeometryStreams };
|
package/dist/geometryHttpBody.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BudgetExceeded as e, ProtocolError as t } from "./errors.js";
|
|
2
2
|
import { geometryOwnData as n } from "./geometryTileCodec.js";
|
|
3
3
|
import { geometryPersistenceInteger as r } from "./geometryPersistenceData.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryHttpBody.ts
|
|
5
5
|
var i = () => new t({ detail: "Authorized native geometry HTTP download remains unavailable" }), a = async (t, a, o, s, c, l, u = {}) => {
|
|
6
6
|
let d = n(u, ["contentType", "credentials"], []), f = d.contentType ?? "application/octet-stream", p = d.credentials ?? "include";
|
|
7
7
|
if (typeof f != "string" || ![
|
|
@@ -72,5 +72,4 @@ var i = () => new t({ detail: "Authorized native geometry HTTP download remains
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
//#endregion
|
|
76
75
|
export { a as readGeometryHttp };
|
|
@@ -6,7 +6,7 @@ import { captureWorldCatalog as a } from "./world.js";
|
|
|
6
6
|
import { assertRoomSubjectAdmission as o } from "./subjectAdmission.js";
|
|
7
7
|
import { Subject as s } from "@voltro/protocol";
|
|
8
8
|
import { Effect as c, Schema as l } from "effect";
|
|
9
|
-
|
|
9
|
+
// src/geometryHttpRoutes.ts
|
|
10
10
|
var u = () => new e({ detail: "Geometry snapshot HTTP request is not authorized or available" }), d = (e) => ({
|
|
11
11
|
status: e,
|
|
12
12
|
body: "Geometry snapshot unavailable",
|
|
@@ -108,5 +108,4 @@ var u = () => new e({ detail: "Geometry snapshot HTTP request is not authorized
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
};
|
|
111
|
-
//#endregion
|
|
112
111
|
export { p as roomsGeometryHttpRoute };
|
|
@@ -3,7 +3,7 @@ import { captureSimulationBytes as t } from "./simulationBytes.js";
|
|
|
3
3
|
import { geometryOwnData as n, geometryTileRefusal as r } from "./geometryTileCodec.js";
|
|
4
4
|
import { createGeometryShapesCodec as i } from "./geometryShapes.js";
|
|
5
5
|
import { importArray as a, importInteger as o, importRecord as s } from "./geometryImportTiles.js";
|
|
6
|
-
|
|
6
|
+
// src/geometryImportGltf.ts
|
|
7
7
|
var c = {
|
|
8
8
|
axes: [
|
|
9
9
|
0,
|
|
@@ -296,5 +296,4 @@ var c = {
|
|
|
296
296
|
}));
|
|
297
297
|
return Object.freeze($);
|
|
298
298
|
};
|
|
299
|
-
//#endregion
|
|
300
299
|
export { g as importGltfGeometry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BudgetExceeded as e } from "./errors.js";
|
|
2
2
|
import { geometryTileRefusal as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { admitTileImport as n, collectImportedTiles as r, importArray as i, importInteger as a, importMaterial as o, importName as s, importRecord as c } from "./geometryImportTiles.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryImportLdtk.ts
|
|
5
5
|
var l = (l, u) => {
|
|
6
6
|
let d = n(u, [
|
|
7
7
|
"level",
|
|
@@ -50,5 +50,4 @@ var l = (l, u) => {
|
|
|
50
50
|
cells: E
|
|
51
51
|
}]);
|
|
52
52
|
};
|
|
53
|
-
//#endregion
|
|
54
53
|
export { l as importLdtkGeometry };
|
|
@@ -4,7 +4,7 @@ import { geometryOwnData as n, geometryTileRefusal as r } from "./geometryTileCo
|
|
|
4
4
|
import { createGeometryHeightfieldCodec as i } from "./geometryHeightfield.js";
|
|
5
5
|
import { importInteger as a } from "./geometryImportTiles.js";
|
|
6
6
|
import { inflateSync as o } from "node:zlib";
|
|
7
|
-
|
|
7
|
+
// src/geometryImportPng.ts
|
|
8
8
|
var s = Uint32Array.from({ length: 256 }, (e, t) => {
|
|
9
9
|
let n = t;
|
|
10
10
|
for (let e = 0; e < 8; e++) n = n & 1 ? 3988292384 ^ n >>> 1 : n >>> 1;
|
|
@@ -140,5 +140,4 @@ var s = Uint32Array.from({ length: 256 }, (e, t) => {
|
|
|
140
140
|
}
|
|
141
141
|
return Object.freeze($);
|
|
142
142
|
};
|
|
143
|
-
//#endregion
|
|
144
143
|
export { d as importPngGeometry };
|
|
@@ -3,7 +3,7 @@ import { geometryOwnData as t, geometryTileRefusal as n } from "./geometryTileCo
|
|
|
3
3
|
import { createGeometryArtifact as r } from "./geometryArtifacts.js";
|
|
4
4
|
import { captureGeometryCodecProfiles as i, captureGeometryDense as a, geometryPersistenceId as o, geometryPersistenceInteger as s } from "./geometryPersistenceData.js";
|
|
5
5
|
import { captureGeometryVersion as c } from "./geometryPersistenceCapture.js";
|
|
6
|
-
|
|
6
|
+
// src/geometryImportPublication.ts
|
|
7
7
|
var l = async (l, u, d = {}) => {
|
|
8
8
|
let f = o(l), p = t(d, [
|
|
9
9
|
"maxChunks",
|
|
@@ -63,5 +63,4 @@ var l = async (l, u, d = {}) => {
|
|
|
63
63
|
artifacts: Object.freeze(b)
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
|
-
//#endregion
|
|
67
66
|
export { l as prepareGeometryImportPublication };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BudgetExceeded as e } from "./errors.js";
|
|
2
2
|
import { geometryTileRefusal as t } from "./geometryTileCodec.js";
|
|
3
3
|
import { admitTileImport as n, collectImportedTiles as r, importArray as i, importInteger as a, importName as o, importRecord as s } from "./geometryImportTiles.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryImportTiled.ts
|
|
5
5
|
var c = (c, l) => {
|
|
6
6
|
let u = n(l, ["layerPath"], ["layerPath"]), d = u.parse(c), f = i(u.data.layerPath, 32).map(o), p = a(d.tilewidth, 1, 1048576), m = a(d.tileheight, 1, 1048576);
|
|
7
7
|
if (d.type !== "map" || d.orientation !== "orthogonal" || p !== m || typeof d.infinite != "boolean" || !f.length || i(u.data.materials, 4096).some((e) => s(e).flip !== void 0 && s(e).flip !== 0)) return t();
|
|
@@ -35,5 +35,4 @@ var c = (c, l) => {
|
|
|
35
35
|
}
|
|
36
36
|
return r(u, b);
|
|
37
37
|
};
|
|
38
|
-
//#endregion
|
|
39
38
|
export { c as importTiledGeometry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BudgetExceeded as e } from "./errors.js";
|
|
2
2
|
import { captureSimulationBytes as t } from "./simulationBytes.js";
|
|
3
3
|
import { createGeometryTileCodec as n, geometryOwnData as r, geometryTileRefusal as i } from "./geometryTileCodec.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryImportTiles.ts
|
|
5
5
|
var a = (e, t = -2147483648, n = 2147483647) => typeof e == "number" && Number.isSafeInteger(e) && e >= t && e <= n ? e === 0 ? 0 : e : i(), o = (e) => !e || typeof e != "object" || Object.getPrototypeOf(e) !== Object.prototype ? i() : e, s = (e, t) => {
|
|
6
6
|
if (!Array.isArray(e) || e.length > t || Reflect.ownKeys(e).length !== e.length + 1) return i();
|
|
7
7
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -132,5 +132,4 @@ var a = (e, t = -2147483648, n = 2147483647) => typeof e == "number" && Number.i
|
|
|
132
132
|
cells: e.cells
|
|
133
133
|
})));
|
|
134
134
|
};
|
|
135
|
-
//#endregion
|
|
136
135
|
export { f as admitTileImport, p as collectImportedTiles, s as importArray, a as importInteger, u as importMaterial, c as importName, o as importRecord };
|
|
@@ -3,7 +3,7 @@ import { captureSimulationBytes as t } from "./simulationBytes.js";
|
|
|
3
3
|
import { geometryOwnData as n, geometryTileRefusal as r } from "./geometryTileCodec.js";
|
|
4
4
|
import { createGeometryVoxelCodec as i } from "./geometryVoxel.js";
|
|
5
5
|
import { importArray as a, importInteger as o, importMaterial as s } from "./geometryImportTiles.js";
|
|
6
|
-
|
|
6
|
+
// src/geometryImportVox.ts
|
|
7
7
|
var c = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9._:-]{0,95}$/.test(e) ? e : r(), l = (l, u) => {
|
|
8
8
|
let d = n(u, [
|
|
9
9
|
"worldId",
|
|
@@ -126,5 +126,4 @@ var c = (e) => typeof e == "string" && /^[A-Za-z0-9][A-Za-z0-9._:-]{0,95}$/.test
|
|
|
126
126
|
}
|
|
127
127
|
return Object.freeze(Q);
|
|
128
128
|
};
|
|
129
|
-
//#endregion
|
|
130
129
|
export { l as importVoxGeometry };
|
|
@@ -8,7 +8,7 @@ import { captureGeometryVersion as u } from "./geometryPersistenceCapture.js";
|
|
|
8
8
|
import { Effect as d } from "effect";
|
|
9
9
|
import { isAbsolute as f, join as p, relative as m, resolve as h, sep as g } from "node:path";
|
|
10
10
|
import { constants as _, promises as v } from "node:fs";
|
|
11
|
-
|
|
11
|
+
// src/geometryImportedSource.ts
|
|
12
12
|
var y = () => new t({ detail: "Imported geometry package identity, native bytes or exact declared scope remains unconfirmed" }), b = (e, t) => {
|
|
13
13
|
let n = m(e, t);
|
|
14
14
|
return !!n && !f(n) && n !== ".." && !n.startsWith(".." + g);
|
|
@@ -97,5 +97,4 @@ var y = () => new t({ detail: "Imported geometry package identity, native bytes
|
|
|
97
97
|
return d.fail(t instanceof e ? t : y());
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
//#endregion
|
|
101
100
|
export { x as loadImportedGeometryPublication };
|
|
@@ -14,7 +14,7 @@ import { decodeGeometryInspection as S } from "./geometryInspection.js";
|
|
|
14
14
|
import { and as C, eq as w, gt as T } from "@voltro/database";
|
|
15
15
|
import { Effect as E, Result as D } from "effect";
|
|
16
16
|
import { parseReplicaSelection as O } from "@voltro/protocol/inspect";
|
|
17
|
-
|
|
17
|
+
// src/geometryInspectEndpoint.ts
|
|
18
18
|
var k = (e) => {
|
|
19
19
|
let t = e instanceof Date ? e : typeof e == "string" ? new Date(e) : null;
|
|
20
20
|
if (!t || !Number.isFinite(t.getTime())) throw Error("Invalid recorded geometry timestamp");
|
|
@@ -244,5 +244,4 @@ var k = (e) => {
|
|
|
244
244
|
})
|
|
245
245
|
};
|
|
246
246
|
};
|
|
247
|
-
//#endregion
|
|
248
247
|
export { A as roomsGeometryInspectEndpoint };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema as e } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/geometryInspection.ts
|
|
3
3
|
var t = e.String.pipe(e.check(e.isMinLength(1)), e.check(e.isMaxLength(191)), e.check(e.makeFilter((e) => e.trim() === e))), n = e.Number.pipe(e.check(e.isInt()), e.check(e.isGreaterThanOrEqualTo(0)), e.check(e.makeFilter(Number.isSafeInteger))), r = n.pipe(e.check(e.isGreaterThan(0))), i = e.Int.pipe(e.check(e.makeFilter((e) => e >= -2147483648 && e <= 2147483647))), a = e.Literals([
|
|
4
4
|
"2d-tiles",
|
|
5
5
|
"2d-heightfield",
|
|
@@ -88,5 +88,4 @@ var t = e.String.pipe(e.check(e.isMinLength(1)), e.check(e.isMaxLength(191)), e.
|
|
|
88
88
|
}
|
|
89
89
|
return e.page.nextAfter === null || e.rows.length === 50 && e.page.nextAfter === e.rows.at(-1)?.id;
|
|
90
90
|
}))), f = (t) => e.decodeUnknownSync(d)(t);
|
|
91
|
-
//#endregion
|
|
92
91
|
export { d as GeometryInspectionSchema, s as GeometryInspectionTableSchema, f as decodeGeometryInspection };
|
package/dist/geometryInstall.js
CHANGED
|
@@ -12,7 +12,7 @@ import { worldEntityGeometrySubject as u } from "./geometryWorldEntitySubject.js
|
|
|
12
12
|
import { Effect as d } from "effect";
|
|
13
13
|
import { ConnectionRegistry as f } from "@voltro/kv/connection";
|
|
14
14
|
import { HotStore as p, layerRoutedHotRedis as m } from "@voltro/kv/hot";
|
|
15
|
-
|
|
15
|
+
// src/geometryInstall.ts
|
|
16
16
|
function h(t) {
|
|
17
17
|
throw new e({ detail: t });
|
|
18
18
|
}
|
|
@@ -117,5 +117,4 @@ var g = (e) => {
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
|
-
//#endregion
|
|
121
120
|
export { g as sqlRoomsGeometry };
|
|
@@ -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 { captureGeometryReceipt as n, geometryPersistenceInteger as r, geometryPersistenceSha as i } from "./geometryPersistenceData.js";
|
|
4
|
-
|
|
4
|
+
// src/geometryJournalArchiveData.ts
|
|
5
5
|
var a = (e) => {
|
|
6
6
|
let a = t(e, [
|
|
7
7
|
"receipt",
|
|
@@ -17,5 +17,4 @@ var a = (e) => {
|
|
|
17
17
|
let r = t.scope;
|
|
18
18
|
if (n.kind !== r.kind || n.worldId !== r.worldId || n.version !== r.version || n.layerSetId !== r.layerSetId || n.cx !== r.cx || n.cy !== r.cy || n.cz !== r.cz || n.baseRevision !== t.baseRevision || n.revision !== t.revision || n.changed !== t.changed || n.blobSha256 !== t.blobSha256 || n.contentSha256 !== t.contentSha256) throw new e({ detail: "Geometry journal archive differs from its native receipt" });
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { o as assertGeometryJournalPatchReceipt, a as captureGeometryJournalArchiveReference };
|
|
@@ -12,7 +12,7 @@ import { geometryPersistenceDigest as y, geometryPersistenceScopeKey as b } from
|
|
|
12
12
|
import { GEO_JOURNAL_TABLE as x } from "./geometryPersistence.js";
|
|
13
13
|
import { and as S, eq as C, generateId as w } from "@voltro/database";
|
|
14
14
|
import { Context as T, Effect as E, Layer as D } from "effect";
|
|
15
|
-
|
|
15
|
+
// src/geometryJournalArchiveIndex.ts
|
|
16
16
|
var O = class extends T.Service()("@voltro/GeometryJournalArchiveIndexPort") {}, k = () => new t({ detail: "Geometry durable journal archive index remains unconfirmed" }), A = (e, t) => JSON.stringify(e) === JSON.stringify(t), j = (e, t) => y(JSON.stringify([e.tenantId, t])), M = (e, t) => S(C("tenantId", e.tenantId), C("scopeKey", b(e)), C("requestKey", j(e, t))), N = (e) => {
|
|
17
17
|
if (e.releasedAt === null) return !1;
|
|
18
18
|
let t = e.releasedAt, n = t instanceof Date ? t.getTime() : typeof t == "string" ? Date.parse(t) : NaN;
|
|
@@ -269,7 +269,7 @@ var O = class extends T.Service()("@voltro/GeometryJournalArchiveIndexPort") {},
|
|
|
269
269
|
budget: "geometryJournalArchivePrivacyBytes",
|
|
270
270
|
limit: B
|
|
271
271
|
});
|
|
272
|
-
for (let e of f) await X(n, "erase", r), await v(t, r),
|
|
272
|
+
for (let e of f) await X(n, "erase", r), await v(t, r), e.entry && N(e.entry.row) || await J(n, U(e.ref)), e.entry && await t.transactional(async (t) => {
|
|
273
273
|
await v(t, r);
|
|
274
274
|
let n = await q(t, x, M(e.ref.receipt.scope, e.ref.receipt.requestId), !0), i = await q(t, d, S(P(r), C("id", e.entry.row.id)), !0);
|
|
275
275
|
if (i.length !== 1 || n.length !== 1) throw k();
|
|
@@ -326,5 +326,4 @@ var O = class extends T.Service()("@voltro/GeometryJournalArchiveIndexPort") {},
|
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
328
|
};
|
|
329
|
-
//#endregion
|
|
330
329
|
export { O as GeometryJournalArchiveIndexPort, I as dataStoreGeometryJournalArchiveIndex, F as geometryJournalArchiveIndexLayer, L as geometryJournalArchiveIndexPrivacyHooks };
|
|
@@ -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/geometryJournalArchiveTable.ts
|
|
3
3
|
var a = "_voltro_geo_journal_archives", o = n(a, {
|
|
4
4
|
id: e({ prefix: "garch" }),
|
|
5
5
|
tenantId: r().maxLength(191),
|
|
@@ -17,5 +17,4 @@ var a = "_voltro_geo_journal_archives", o = n(a, {
|
|
|
17
17
|
"subjectId",
|
|
18
18
|
"subjectKind"
|
|
19
19
|
]);
|
|
20
|
-
//#endregion
|
|
21
20
|
export { a as GEO_JOURNAL_ARCHIVES_TABLE, o as geometryJournalArchivesTable };
|
|
@@ -11,7 +11,7 @@ import { geometryPersistenceDigest as g, geometryPersistenceScopeKey as _ } from
|
|
|
11
11
|
import { GEO_JOURNAL_TABLE as v } from "./geometryPersistence.js";
|
|
12
12
|
import { and as y, eq as b } from "@voltro/database";
|
|
13
13
|
import { Context as x, Effect as S, Layer as C } from "effect";
|
|
14
|
-
|
|
14
|
+
// src/geometryJournalCompaction.ts
|
|
15
15
|
var w = class extends x.Service()("@voltro/GeometryJournalCompactionPort") {}, T = () => new t({ detail: "Native geometry journal inline compaction remains unconfirmed" }), E = (e) => C.succeed(w, e), D = (t, x) => {
|
|
16
16
|
let C = r(x, [
|
|
17
17
|
"archive",
|
|
@@ -96,5 +96,4 @@ var w = class extends x.Service()("@voltro/GeometryJournalCompactionPort") {}, T
|
|
|
96
96
|
})));
|
|
97
97
|
} });
|
|
98
98
|
};
|
|
99
|
-
//#endregion
|
|
100
99
|
export { w as GeometryJournalCompactionPort, D as dataStoreGeometryJournalCompaction, E as geometryJournalCompactionLayer };
|
|
@@ -5,7 +5,7 @@ import { captureGeometryReceipt as i } from "./geometryPersistenceData.js";
|
|
|
5
5
|
import { decodeGeometryPatch as a } from "./geometryPatch.js";
|
|
6
6
|
import { assertGeometryJournalPatchReceipt as o } from "./geometryJournalArchiveData.js";
|
|
7
7
|
import { Effect as s } from "effect";
|
|
8
|
-
|
|
8
|
+
// src/geometryJournalPatch.ts
|
|
9
9
|
var c = (c = {}) => {
|
|
10
10
|
let l = r(c, ["archive", "maxPatchBytes"], []), u = Object.hasOwn(l, "maxPatchBytes") ? l.maxPatchBytes : 262144;
|
|
11
11
|
if (typeof u != "number" || !Number.isSafeInteger(u) || u < 512 || u > 16777216) throw new t({ detail: "Geometry journal patch budget refused" });
|
|
@@ -43,5 +43,4 @@ var c = (c = {}) => {
|
|
|
43
43
|
})).pipe(s.catchCause(() => s.fail(new t({ detail: "Indexed native geometry journal bytes remain unavailable" })))) : s.fail(new t({ detail: "Indexed geometry journal bytes require their explicit archive source" }));
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { c as makeGeometryJournalPatchReader };
|