@chrona-city/ugc-kit 0.0.0-stage → 1.5.10
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/README.md +184 -2
- package/bin/chrona.mjs +4 -0
- package/chrona.contract.lock.json +432 -0
- package/chrona.controlled-presentation.lock.json +100 -0
- package/chrona.core.lock.json +44 -0
- package/chrona.ecs.lock.json +40 -0
- package/chrona.gameplay-tests.lock.json +64 -0
- package/chrona.ground-rules.lock.json +48 -0
- package/chrona.pipeline.lock.json +100 -0
- package/chrona.private-event-view.lock.json +56 -0
- package/chrona.private-events.lock.json +64 -0
- package/chrona.private-state-view.lock.json +64 -0
- package/chrona.private-state.lock.json +56 -0
- package/chrona.registry.lock.json +72 -0
- package/chrona.resource-bindings.lock.json +68 -0
- package/chrona.sandbox.lock.json +60 -0
- package/chrona.scene-interaction.lock.json +60 -0
- package/chrona.scene-presentation.lock.json +60 -0
- package/chrona.wiring.lock.json +48 -0
- package/chrona.world-scene-runtime.lock.json +164 -0
- package/chrona.world-scene.lock.json +180 -0
- package/compiler/local-builder.lock.json +1 -0
- package/compiler/source/contracts/ugc/creator-source/v1/tool-package.schema.json +11 -0
- package/compiler/source/contracts/ugc/document-presentation/v1/document.mjs +165 -0
- package/compiler/source/contracts/ugc/document-presentation/v1/profile.json +24 -0
- package/compiler/source/contracts/ugc/ground-rules/v1/contract-set.json +9 -0
- package/compiler/source/contracts/ugc/ground-rules/v1/ground-rules.mjs +98 -0
- package/compiler/source/contracts/ugc/ground-rules/v2/ground-rules.mjs +138 -0
- package/compiler/source/contracts/ugc/ground-rules/v2/heightfield.mjs +89 -0
- package/compiler/source/contracts/ugc/ground-rules/v2/movement.mjs +12 -0
- package/compiler/source/contracts/ugc/ground-rules/v2/spatial-source.mjs +193 -0
- package/compiler/source/contracts/ugc/ground-rules/v2.2/center-band.mjs +142 -0
- package/compiler/source/contracts/ugc/ground-rules/v2.2/spatial-source.mjs +77 -0
- package/compiler/source/contracts/ugc/local-content/v1/document-snapshot.mjs +114 -0
- package/compiler/source/contracts/ugc/local-content/v1/snapshot.mjs +171 -0
- package/compiler/source/contracts/ugc/personal-state/v1/declaration.mjs +86 -0
- package/compiler/source/contracts/ugc/personal-state/v1/node-plan.mjs +51 -0
- package/compiler/source/contracts/ugc/pipeline/v1/conformance/js/pipeline-validator.mjs +196 -0
- package/compiler/source/contracts/ugc/private-events/v1/declaration.mjs +25 -0
- package/compiler/source/contracts/ugc/private-events/v1/events.mjs +189 -0
- package/compiler/source/contracts/ugc/registry/v1/conformance/js/capability-resolver.mjs +191 -0
- package/compiler/source/contracts/ugc/registry/v1/registry.json +1 -0
- package/compiler/source/contracts/ugc/registry/v1/resolution-policy.json +70 -0
- package/compiler/source/contracts/ugc/resource-bindings/v1/authored-avatar.mjs +183 -0
- package/compiler/source/contracts/ugc/resource-bindings/v1/bindings.mjs +133 -0
- package/compiler/source/contracts/ugc/resource-bindings/v1/contract-set.json +9 -0
- package/compiler/source/contracts/ugc/scene-interaction/v1/contract-set.json +26 -0
- package/compiler/source/contracts/ugc/scene-interaction/v1/interaction.mjs +83 -0
- package/compiler/source/contracts/ugc/scene-interaction/v1/scene-model.mjs +39 -0
- package/compiler/source/contracts/ugc/scene-interaction/v2/interaction.mjs +80 -0
- package/compiler/source/contracts/ugc/scene-interaction/v2/scene-model.mjs +56 -0
- package/compiler/source/contracts/ugc/scene-presentation/v1/ink-math.mjs +70 -0
- package/compiler/source/contracts/ugc/scene-presentation/v1/render-policy.mjs +108 -0
- package/compiler/source/contracts/ugc/scene-presentation/v1/render-policy.schema.json +27 -0
- package/compiler/source/contracts/ugc/scene-presentation/v1/scene.mjs +147 -0
- package/compiler/source/contracts/ugc/scene-presentation/v1/scene.schema.json +66 -0
- package/compiler/source/contracts/ugc/v1/conformance/js/cover.mjs +23 -0
- package/compiler/source/contracts/ugc/v1/conformance/js/package-validator.mjs +333 -0
- package/compiler/source/contracts/ugc/world-scene/v1/collision-artifacts.mjs +134 -0
- package/compiler/source/contracts/ugc/world-scene/v1/collision-identity.mjs +73 -0
- package/compiler/source/contracts/ugc/world-scene/v1/collision-target.schema.json +18 -0
- package/compiler/source/contracts/ugc/world-scene/v1/coordinates.schema.json +16 -0
- package/compiler/source/contracts/ugc/world-scene/v1/flight-avatar-actions.mjs +3 -0
- package/compiler/source/contracts/ugc/world-scene/v1/flight-avatar-sample.schema.json +14 -0
- package/compiler/source/contracts/ugc/world-scene/v1/scene-declaration.mjs +99 -0
- package/compiler/source/contracts/ugc/world-scene/v1/scene-declaration.schema.json +40 -0
- package/compiler/source/contracts/ugc/world-scene/v1/visual-tileset.mjs +112 -0
- package/compiler/source/contracts/ugc/world-scene/v1/visual-tileset.schema.json +35 -0
- package/compiler/source/contracts/ugc/world-scene/v2/asset-graph.mjs +169 -0
- package/compiler/source/contracts/ugc/world-scene/v2/collision-index.mjs +83 -0
- package/compiler/source/contracts/ugc/world-scene/v2/collision-index.schema.json +29 -0
- package/compiler/source/contracts/ugc/world-scene/v2/collision-partition.mjs +122 -0
- package/compiler/source/contracts/ugc/world-scene/v2/collision-partition.schema.json +37 -0
- package/compiler/source/contracts/ugc/world-scene/v2/contract-set.json +50 -0
- package/compiler/source/contracts/ugc/world-scene/v2/encoded-resource.mjs +98 -0
- package/compiler/source/contracts/ugc/world-scene/v2/encoded-resource.schema.json +17 -0
- package/compiler/source/contracts/ugc/world-scene/v2/scene-declaration.mjs +56 -0
- package/compiler/source/contracts/ugc/world-scene/v2/scene-declaration.schema.json +21 -0
- package/compiler/source/contracts/ugc/world-scene/v2/vendor/pako-raw-inflate.mjs +45 -0
- package/compiler/source/contracts/ugc/world-scene/v2/vendor/pako-raw-inflate.provenance.json +43 -0
- package/compiler/source/contracts/ugc/world-scene/v2/visual-tileset.mjs +107 -0
- package/compiler/source/contracts/ugc/world-scene/v2/visual-tileset.schema.json +33 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v1/runtime-plan.schema.json +660 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v1/runtime-policy.mjs +81 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/collision-capacity.mjs +87 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/collision-capacity.schema.json +62 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/contract-set.json +45 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/report.mjs +184 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/runtime-plan.schema.json +38 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/runtime-policy.mjs +144 -0
- package/compiler/source/contracts/ugc/world-scene-runtime/v2/visual-work-policy.mjs +59 -0
- package/compiler/source/services/game-worker/src/protocol/flight.js +123 -0
- package/compiler/source/services/game-worker/src/protocol/realtime-error.js +9 -0
- package/compiler/source/services/game-worker/src/runtime/content/flight-collision-files.js +122 -0
- package/compiler/source/services/game-worker/src/runtime/content/flight-collision-store.js +252 -0
- package/compiler/source/services/game-worker/src/runtime/content/flight-runtime.js +56 -0
- package/compiler/source/services/game-worker/src/runtime/rooms/flight-collision.js +224 -0
- package/compiler/source/services/game-worker/src/runtime/rooms/flight-motion.js +56 -0
- package/compiler/source/services/game-worker/src/runtime/rooms/flight-preparation.js +166 -0
- package/compiler/source/services/game-worker/src/runtime/rooms/flight-room-controller.js +255 -0
- package/compiler/source/services/ugc-pipeline/src/asset-inspection-worker.mjs +72 -0
- package/compiler/source/services/ugc-pipeline/src/asset-inspection.mjs +230 -0
- package/compiler/source/services/ugc-pipeline/src/avatar-envelope.mjs +70 -0
- package/compiler/source/services/ugc-pipeline/src/cover-inspection-worker.mjs +15 -0
- package/compiler/source/services/ugc-pipeline/src/cover-inspection.mjs +94 -0
- package/compiler/source/services/ugc-pipeline/src/cover-png.mjs +74 -0
- package/compiler/source/services/ugc-pipeline/src/document-presentation-model.mjs +79 -0
- package/compiler/source/services/ugc-pipeline/src/flight-avatar-envelope.mjs +27 -0
- package/compiler/source/services/ugc-pipeline/src/ground-rules-model.mjs +99 -0
- package/compiler/source/services/ugc-pipeline/src/local-content.mjs +182 -0
- package/compiler/source/services/ugc-pipeline/src/personal-state-model.mjs +25 -0
- package/compiler/source/services/ugc-pipeline/src/registry-release.mjs +59 -0
- package/compiler/source/services/ugc-pipeline/src/resource-bindings-model.mjs +77 -0
- package/compiler/source/services/ugc-pipeline/src/scene-interaction-model.mjs +110 -0
- package/compiler/source/services/ugc-pipeline/src/scene-presentation-model.mjs +79 -0
- package/compiler/source/services/ugc-pipeline/src/scene-presentation-source.mjs +26 -0
- package/compiler/source/services/ugc-pipeline/src/scene-render-policies.json +25 -0
- package/compiler/source/services/ugc-pipeline/src/scene-surface-inspection.mjs +57 -0
- package/compiler/source/services/ugc-pipeline/src/static-scene-geometry.mjs +100 -0
- package/compiler/source/services/ugc-pipeline/src/visual-closure-v2.mjs +111 -0
- package/compiler/source/services/ugc-pipeline/src/world-scene-model.mjs +133 -0
- package/compiler/source/services/ugc-pipeline/src/world-scene-policies.json +71 -0
- package/compiler/source/services/ugc-pipeline/src/world-scene-runtime.mjs +186 -0
- package/contracts/ugc/capability-wiring/v1/capability-proposal.schema.json +82 -0
- package/contracts/ugc/capability-wiring/v1/conformance/js/wiring-validator.mjs +95 -0
- package/contracts/ugc/capability-wiring/v1/conformance/web/index.html +5 -0
- package/contracts/ugc/capability-wiring/v1/conformance/web/runner.mjs +32 -0
- package/contracts/ugc/capability-wiring/v1/contract-set.json +8 -0
- package/contracts/ugc/capability-wiring/v1/error-codes.json +15 -0
- package/contracts/ugc/capability-wiring/v1/needs-capability.schema.json +18 -0
- package/contracts/ugc/capability-wiring/v1/testdata/vectors.json +128 -0
- package/contracts/ugc/capability-wiring/v1/wiring-release.schema.json +66 -0
- package/contracts/ugc/controlled-presentation/v1/README.md +175 -0
- package/contracts/ugc/controlled-presentation/v1/approval.schema.json +53 -0
- package/contracts/ugc/controlled-presentation/v1/command.schema.json +243 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/run-vectors.mjs +39 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/run-view-vectors.mjs +54 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/web/view-runner.mjs +5 -0
- package/contracts/ugc/controlled-presentation/v1/conformance/web/view.html +1 -0
- package/contracts/ugc/controlled-presentation/v1/context.schema.json +19 -0
- package/contracts/ugc/controlled-presentation/v1/contract-set.json +33 -0
- package/contracts/ugc/controlled-presentation/v1/export-view.mjs +44 -0
- package/contracts/ugc/controlled-presentation/v1/grant.schema.json +120 -0
- package/contracts/ugc/controlled-presentation/v1/presentation.mjs +180 -0
- package/contracts/ugc/controlled-presentation/v1/testdata/vectors.json +565 -0
- package/contracts/ugc/controlled-presentation/v1/view.mjs +46 -0
- package/contracts/ugc/controlled-presentation/v1/view.schema.json +90 -0
- package/contracts/ugc/core-ecs/v1/README.md +13 -0
- package/contracts/ugc/core-ecs/v1/api.json +28 -0
- package/contracts/ugc/core-ecs/v1/conformance/run-vectors.mjs +33 -0
- package/contracts/ugc/core-ecs/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/core-ecs/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/core-ecs/v1/core-view.mjs +138 -0
- package/contracts/ugc/core-ecs/v1/test-fixture.schema.json +169 -0
- package/contracts/ugc/core-ecs/v1/testdata/vectors.json +57 -0
- package/contracts/ugc/creator-source/v1/SOURCE-PACKAGE.md +19 -0
- package/contracts/ugc/creator-source/v1/source-package.mjs +87 -0
- package/contracts/ugc/creator-source/v1/source-package.schema.json +42 -0
- package/contracts/ugc/creator-source/v1/source-package.test.mjs +69 -0
- package/contracts/ugc/creator-source/v1/tool-package.schema.json +11 -0
- package/contracts/ugc/document-presentation/v1/README.md +167 -0
- package/contracts/ugc/document-presentation/v1/contract-set.json +18 -0
- package/contracts/ugc/document-presentation/v1/document.mjs +165 -0
- package/contracts/ugc/document-presentation/v1/document.schema.json +161 -0
- package/contracts/ugc/document-presentation/v1/document.test.mjs +138 -0
- package/contracts/ugc/document-presentation/v1/profile.json +24 -0
- package/contracts/ugc/document-presentation/v1/source.schema.json +88 -0
- package/contracts/ugc/ecs-runtime/v1/README.md +25 -0
- package/contracts/ugc/ecs-runtime/v1/api.json +46 -0
- package/contracts/ugc/ecs-runtime/v1/conformance/run-vectors.mjs +41 -0
- package/contracts/ugc/ecs-runtime/v1/conformance/web/index.html +3 -0
- package/contracts/ugc/ecs-runtime/v1/conformance/web/runner.mjs +5 -0
- package/contracts/ugc/ecs-runtime/v1/private-world.mjs +299 -0
- package/contracts/ugc/ecs-runtime/v1/testdata/vectors.json +1318 -0
- package/contracts/ugc/gameplay-tests/v1/README.md +78 -0
- package/contracts/ugc/gameplay-tests/v1/cases.mjs +70 -0
- package/contracts/ugc/gameplay-tests/v1/cases.schema.json +262 -0
- package/contracts/ugc/gameplay-tests/v1/conformance/run-vectors.mjs +21 -0
- package/contracts/ugc/gameplay-tests/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/gameplay-tests/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/gameplay-tests/v1/contract-set.json +9 -0
- package/contracts/ugc/gameplay-tests/v1/scene-step.mjs +49 -0
- package/contracts/ugc/gameplay-tests/v1/testdata/vectors.json +1504 -0
- package/contracts/ugc/ground-rules/v1/README.md +44 -0
- package/contracts/ugc/ground-rules/v1/conformance/run-vectors.mjs +31 -0
- package/contracts/ugc/ground-rules/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/ground-rules/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/ground-rules/v1/contract-set.json +9 -0
- package/contracts/ugc/ground-rules/v1/effective-ground-rules.schema.json +27 -0
- package/contracts/ugc/ground-rules/v1/ground-rules.mjs +98 -0
- package/contracts/ugc/ground-rules/v1/ground-rules.schema.json +33 -0
- package/contracts/ugc/ground-rules/v1/testdata/vectors.json +57 -0
- package/contracts/ugc/ground-rules/v2/README.md +88 -0
- package/contracts/ugc/ground-rules/v2/contract-set.json +20 -0
- package/contracts/ugc/ground-rules/v2/ground-rules.mjs +138 -0
- package/contracts/ugc/ground-rules/v2/ground-rules.schema.json +373 -0
- package/contracts/ugc/ground-rules/v2/heightfield.mjs +89 -0
- package/contracts/ugc/ground-rules/v2/movement.mjs +12 -0
- package/contracts/ugc/ground-rules/v2/spaces.test.mjs +58 -0
- package/contracts/ugc/ground-rules/v2/spatial-source.mjs +193 -0
- package/contracts/ugc/ground-rules/v2/spatial-source.schema.json +788 -0
- package/contracts/ugc/ground-rules/v2/spatial.test.mjs +142 -0
- package/contracts/ugc/ground-rules/v2.2/README.md +73 -0
- package/contracts/ugc/ground-rules/v2.2/center-band.mjs +142 -0
- package/contracts/ugc/ground-rules/v2.2/center-band.test.mjs +149 -0
- package/contracts/ugc/ground-rules/v2.2/contract-set.json +8 -0
- package/contracts/ugc/ground-rules/v2.2/spatial-source.mjs +77 -0
- package/contracts/ugc/ground-rules/v2.2/spatial-source.schema.json +1049 -0
- package/contracts/ugc/local-content/v1/LOCAL-LAUNCH.md +11 -0
- package/contracts/ugc/local-content/v1/README.md +45 -0
- package/contracts/ugc/local-content/v1/conformance.test.mjs +67 -0
- package/contracts/ugc/local-content/v1/document-local-content-snapshot.schema.json +306 -0
- package/contracts/ugc/local-content/v1/document-snapshot.mjs +114 -0
- package/contracts/ugc/local-content/v1/local-content-snapshot.schema.json +54 -0
- package/contracts/ugc/local-content/v1/local-launch.test.mjs +51 -0
- package/contracts/ugc/local-content/v1/presentation-vectors.json +18 -0
- package/contracts/ugc/local-content/v1/snapshot.mjs +171 -0
- package/contracts/ugc/local-content/v1/tool-version-vectors.json +28 -0
- package/contracts/ugc/personal-state/v1/README.md +181 -0
- package/contracts/ugc/personal-state/v1/declaration.mjs +86 -0
- package/contracts/ugc/personal-state/v1/declaration.schema.json +295 -0
- package/contracts/ugc/personal-state/v1/declaration.test.mjs +26 -0
- package/contracts/ugc/personal-state/v1/marker.schema.json +9 -0
- package/contracts/ugc/personal-state/v1/node-plan.mjs +51 -0
- package/contracts/ugc/personal-state/v1/node-plan.test.mjs +65 -0
- package/contracts/ugc/pipeline/v1/PLATFORM-SOURCE.md +54 -0
- package/contracts/ugc/pipeline/v1/PRESENTATION.md +13 -0
- package/contracts/ugc/pipeline/v1/build-record.schema.json +93 -0
- package/contracts/ugc/pipeline/v1/conformance/js/pipeline-validator.mjs +196 -0
- package/contracts/ugc/pipeline/v1/conformance/js/platform-release-validator.mjs +78 -0
- package/contracts/ugc/pipeline/v1/conformance/web/index.html +5 -0
- package/contracts/ugc/pipeline/v1/conformance/web/runner.mjs +30 -0
- package/contracts/ugc/pipeline/v1/contract-set.json +30 -0
- package/contracts/ugc/pipeline/v1/error-codes.json +95 -0
- package/contracts/ugc/pipeline/v1/platform-publication-binding.schema.json +56 -0
- package/contracts/ugc/pipeline/v1/public-release-descriptor.schema.json +264 -0
- package/contracts/ugc/pipeline/v1/publication-operation.schema.json +97 -0
- package/contracts/ugc/pipeline/v1/release-index.schema.json +192 -0
- package/contracts/ugc/pipeline/v1/review-decision.schema.json +212 -0
- package/contracts/ugc/pipeline/v1/submission-receipt.schema.json +15 -0
- package/contracts/ugc/pipeline/v1/testdata/vectors.json +1713 -0
- package/contracts/ugc/private-event-view/v1/README.md +83 -0
- package/contracts/ugc/private-event-view/v1/conformance/run-vectors.mjs +65 -0
- package/contracts/ugc/private-event-view/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/private-event-view/v1/conformance/web/runner.mjs +5 -0
- package/contracts/ugc/private-event-view/v1/contract-set.json +9 -0
- package/contracts/ugc/private-event-view/v1/export.mjs +22 -0
- package/contracts/ugc/private-event-view/v1/testdata/vectors.json +22 -0
- package/contracts/ugc/private-event-view/v1/view.mjs +130 -0
- package/contracts/ugc/private-event-view/v1/view.schema.json +204 -0
- package/contracts/ugc/private-events/v1/README.md +102 -0
- package/contracts/ugc/private-events/v1/conformance/run-vectors.mjs +52 -0
- package/contracts/ugc/private-events/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/private-events/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/private-events/v1/contract-set.json +9 -0
- package/contracts/ugc/private-events/v1/declaration.mjs +25 -0
- package/contracts/ugc/private-events/v1/events.mjs +189 -0
- package/contracts/ugc/private-events/v1/events.schema.json +19 -0
- package/contracts/ugc/private-events/v1/grant.schema.json +15 -0
- package/contracts/ugc/private-events/v1/output.schema.json +15 -0
- package/contracts/ugc/private-events/v1/testdata/vectors.json +55 -0
- package/contracts/ugc/private-state/v1/README.md +95 -0
- package/contracts/ugc/private-state/v1/conformance/run-vectors.mjs +40 -0
- package/contracts/ugc/private-state/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/private-state/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/private-state/v1/contract-set.json +9 -0
- package/contracts/ugc/private-state/v1/field-table.schema.json +136 -0
- package/contracts/ugc/private-state/v1/projection.mjs +178 -0
- package/contracts/ugc/private-state/v1/projection.schema.json +515 -0
- package/contracts/ugc/private-state/v1/testdata/vectors.json +76 -0
- package/contracts/ugc/private-state-view/v1/README.md +91 -0
- package/contracts/ugc/private-state-view/v1/conformance/run-vectors.mjs +52 -0
- package/contracts/ugc/private-state-view/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/private-state-view/v1/conformance/web/runner.mjs +5 -0
- package/contracts/ugc/private-state-view/v1/contract-set.json +24 -0
- package/contracts/ugc/private-state-view/v1/export.mjs +29 -0
- package/contracts/ugc/private-state-view/v1/publication.schema.json +82 -0
- package/contracts/ugc/private-state-view/v1/testdata/vectors.json +21 -0
- package/contracts/ugc/private-state-view/v1/view.mjs +199 -0
- package/contracts/ugc/private-state-view/v1/view.schema.json +255 -0
- package/contracts/ugc/public-runtime/v1/README.md +173 -0
- package/contracts/ugc/public-runtime/v1/archive.mjs +52 -0
- package/contracts/ugc/public-runtime/v1/document-runtime.test.mjs +118 -0
- package/contracts/ugc/public-runtime/v1/format-fixture.mjs +28 -0
- package/contracts/ugc/public-runtime/v1/golden.json +11 -0
- package/contracts/ugc/public-runtime/v1/manifest.mjs +198 -0
- package/contracts/ugc/public-runtime/v1/runtime-lock.schema.json +85 -0
- package/contracts/ugc/public-runtime/v1/runtime-manifest.schema.json +854 -0
- package/contracts/ugc/public-runtime/v1/runtime.test.mjs +155 -0
- package/contracts/ugc/public-runtime/v1/target-compatibility.test.mjs +98 -0
- package/contracts/ugc/public-runtime/v1/vectors.json +157 -0
- package/contracts/ugc/registry/v1/capabilities-lock.schema.json +110 -0
- package/contracts/ugc/registry/v1/capability-query-result.schema.json +33 -0
- package/contracts/ugc/registry/v1/capability-query.schema.json +14 -0
- package/contracts/ugc/registry/v1/capability-registry.schema.json +83 -0
- package/contracts/ugc/registry/v1/conformance/js/capability-resolver.mjs +191 -0
- package/contracts/ugc/registry/v1/conformance/web/index.html +5 -0
- package/contracts/ugc/registry/v1/conformance/web/runner.mjs +68 -0
- package/contracts/ugc/registry/v1/contract-set.json +23 -0
- package/contracts/ugc/registry/v1/effective-budgets.schema.json +34 -0
- package/contracts/ugc/registry/v1/error-codes.json +11 -0
- package/contracts/ugc/registry/v1/network-profile-lock.schema.json +26 -0
- package/contracts/ugc/registry/v1/registry.json +1 -0
- package/contracts/ugc/registry/v1/resolution-policy.json +70 -0
- package/contracts/ugc/registry/v1/resolution-result.schema.json +49 -0
- package/contracts/ugc/registry/v1/testdata/vectors.json +405 -0
- package/contracts/ugc/resource-bindings/v1/AUTHORED-AVATAR.md +133 -0
- package/contracts/ugc/resource-bindings/v1/README.md +61 -0
- package/contracts/ugc/resource-bindings/v1/authored-avatar.mjs +183 -0
- package/contracts/ugc/resource-bindings/v1/authored-avatar.schema.json +48 -0
- package/contracts/ugc/resource-bindings/v1/bindings.mjs +133 -0
- package/contracts/ugc/resource-bindings/v1/bindings.schema.json +45 -0
- package/contracts/ugc/resource-bindings/v1/conformance/authored-avatar-vectors.mjs +26 -0
- package/contracts/ugc/resource-bindings/v1/conformance/run-vectors.mjs +32 -0
- package/contracts/ugc/resource-bindings/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/resource-bindings/v1/conformance/web/runner.mjs +13 -0
- package/contracts/ugc/resource-bindings/v1/contract-set.json +9 -0
- package/contracts/ugc/resource-bindings/v1/testdata/authored-avatar-vectors.json +146 -0
- package/contracts/ugc/resource-bindings/v1/testdata/authored-avatar.json +13 -0
- package/contracts/ugc/resource-bindings/v1/testdata/vectors.json +68 -0
- package/contracts/ugc/sandbox/v1/conformance/js/sandbox-validator.mjs +152 -0
- package/contracts/ugc/sandbox/v1/conformance/web/index.html +5 -0
- package/contracts/ugc/sandbox/v1/conformance/web/runner.mjs +26 -0
- package/contracts/ugc/sandbox/v1/contract-set.json +19 -0
- package/contracts/ugc/sandbox/v1/error-codes.json +25 -0
- package/contracts/ugc/sandbox/v1/execution-result.schema.json +80 -0
- package/contracts/ugc/sandbox/v1/launch-request.schema.json +96 -0
- package/contracts/ugc/sandbox/v1/lifecycle-message.schema.json +18 -0
- package/contracts/ugc/sandbox/v1/local-launch-request.schema.json +34 -0
- package/contracts/ugc/sandbox/v1/private-ecs-grant.schema.json +32 -0
- package/contracts/ugc/sandbox/v1/sandbox-profile.schema.json +70 -0
- package/contracts/ugc/sandbox/v1/testdata/vectors.json +89 -0
- package/contracts/ugc/scene-interaction/v1/README.md +63 -0
- package/contracts/ugc/scene-interaction/v1/conformance/run-vectors.mjs +26 -0
- package/contracts/ugc/scene-interaction/v1/conformance/web/index.html +1 -0
- package/contracts/ugc/scene-interaction/v1/conformance/web/runner.mjs +4 -0
- package/contracts/ugc/scene-interaction/v1/contract-set.json +26 -0
- package/contracts/ugc/scene-interaction/v1/effective-targets.schema.json +76 -0
- package/contracts/ugc/scene-interaction/v1/interaction.mjs +83 -0
- package/contracts/ugc/scene-interaction/v1/request.schema.json +30 -0
- package/contracts/ugc/scene-interaction/v1/result.schema.json +88 -0
- package/contracts/ugc/scene-interaction/v1/scene-model.mjs +39 -0
- package/contracts/ugc/scene-interaction/v1/targets.schema.json +49 -0
- package/contracts/ugc/scene-interaction/v1/testdata/vectors.json +732 -0
- package/contracts/ugc/scene-interaction/v2/README.md +63 -0
- package/contracts/ugc/scene-interaction/v2/contract-set.json +19 -0
- package/contracts/ugc/scene-interaction/v2/interaction.mjs +80 -0
- package/contracts/ugc/scene-interaction/v2/metric.test.mjs +99 -0
- package/contracts/ugc/scene-interaction/v2/scene-model.mjs +56 -0
- package/contracts/ugc/scene-interaction/v2/targets.schema.json +229 -0
- package/contracts/ugc/scene-presentation/v1/INK-MATH.md +64 -0
- package/contracts/ugc/scene-presentation/v1/README.md +126 -0
- package/contracts/ugc/scene-presentation/v1/RENDER-POLICY.md +63 -0
- package/contracts/ugc/scene-presentation/v1/conformance/ink-vectors.mjs +34 -0
- package/contracts/ugc/scene-presentation/v1/conformance/render-policy-vectors.mjs +62 -0
- package/contracts/ugc/scene-presentation/v1/conformance/vectors.mjs +128 -0
- package/contracts/ugc/scene-presentation/v1/contract-set.json +6 -0
- package/contracts/ugc/scene-presentation/v1/ink-math.mjs +70 -0
- package/contracts/ugc/scene-presentation/v1/render-policy.mjs +108 -0
- package/contracts/ugc/scene-presentation/v1/render-policy.schema.json +27 -0
- package/contracts/ugc/scene-presentation/v1/scene.mjs +147 -0
- package/contracts/ugc/scene-presentation/v1/scene.schema.json +66 -0
- package/contracts/ugc/v1/COVER.md +38 -0
- package/contracts/ugc/v1/SCENE-PROVENANCE.md +54 -0
- package/contracts/ugc/v1/candidate-submission.schema.json +16 -0
- package/contracts/ugc/v1/capability-request.schema.json +29 -0
- package/contracts/ugc/v1/compatibility.json +32 -0
- package/contracts/ugc/v1/components.schema.json +77 -0
- package/contracts/ugc/v1/conformance/js/capability-operations.mjs +13 -0
- package/contracts/ugc/v1/conformance/js/cover.mjs +23 -0
- package/contracts/ugc/v1/conformance/js/package-validator.mjs +333 -0
- package/contracts/ugc/v1/conformance/js/scene-provenance.mjs +121 -0
- package/contracts/ugc/v1/conformance/js/source-validator.mjs +99 -0
- package/contracts/ugc/v1/conformance/web/index.html +5 -0
- package/contracts/ugc/v1/conformance/web/runner.mjs +82 -0
- package/contracts/ugc/v1/contract-set.json +38 -0
- package/contracts/ugc/v1/creator-sdk.json +84 -0
- package/contracts/ugc/v1/error-codes.json +53 -0
- package/contracts/ugc/v1/manifest.schema.json +215 -0
- package/contracts/ugc/v1/network-intent.schema.json +15 -0
- package/contracts/ugc/v1/prefabs.schema.json +29 -0
- package/contracts/ugc/v1/provenance.schema.json +160 -0
- package/contracts/ugc/v1/scene.schema.json +37 -0
- package/contracts/ugc/v1/testdata/capability-operation-vectors.json +243 -0
- package/contracts/ugc/v1/testdata/cover-vectors.json +25 -0
- package/contracts/ugc/v1/testdata/invalid/authored-avatar-missing-capability.json +44 -0
- package/contracts/ugc/v1/testdata/invalid/authored-avatar-wrong-capability.json +51 -0
- package/contracts/ugc/v1/testdata/invalid/budget-overflow.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/build-field-override.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/creator-server-entrypoint.json +5 -0
- package/contracts/ugc/v1/testdata/invalid/forbidden-network-control.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/ground-authority.json +57 -0
- package/contracts/ugc/v1/testdata/invalid/ground-budget.json +56 -0
- package/contracts/ugc/v1/testdata/invalid/ground-dependency.json +49 -0
- package/contracts/ugc/v1/testdata/invalid/ground-identity.json +56 -0
- package/contracts/ugc/v1/testdata/invalid/ground-missing.json +13 -0
- package/contracts/ugc/v1/testdata/invalid/ground-optional.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/ground-path.json +56 -0
- package/contracts/ugc/v1/testdata/invalid/ground-run-dependency.json +56 -0
- package/contracts/ugc/v1/testdata/invalid/ground-version.json +56 -0
- package/contracts/ugc/v1/testdata/invalid/missing-required-field.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/missing-shared-entrypoint.json +5 -0
- package/contracts/ugc/v1/testdata/invalid/path-escape.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-authority.json +35 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-budget.json +35 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-dependency.json +27 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-empty.json +20 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-identity.json +34 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-missing.json +13 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-optional.json +38 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-path.json +34 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-type.json +34 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-unknown-ref.json +34 -0
- package/contracts/ugc/v1/testdata/invalid/private-events-version.json +34 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-identity.json +18 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-kind.json +19 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-missing.json +6 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-path.json +6 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-type.json +8 -0
- package/contracts/ugc/v1/testdata/invalid/resource-bindings-unknown.json +18 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-authority.json +61 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-core-unknown.json +61 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-dependency.json +53 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-identity.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-missing-transform.json +50 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-missing.json +49 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-optional.json +64 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-partial-transform.json +59 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-path.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-radius.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-unknown-target.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/scene-interactions-version.json +60 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-authority.json +166 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-capability.json +158 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-identity.json +165 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-missing.json +13 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-optional.json +169 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-path.json +165 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-undeclared.json +163 -0
- package/contracts/ugc/v1/testdata/invalid/scene-presentation-unknown-material.json +165 -0
- package/contracts/ugc/v1/testdata/invalid/schema-incompatible.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/unknown-required-component.json +1 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-dual-motion.json +7 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-identity.json +90 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-missing-capability.json +85 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-missing.json +28 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-optional-capability.json +94 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-path.json +6 -0
- package/contracts/ugc/v1/testdata/invalid/world-scene-version.json +90 -0
- package/contracts/ugc/v1/testdata/scene-provenance-vectors.json +56 -0
- package/contracts/ugc/v1/testdata/source-vectors.json +83 -0
- package/contracts/ugc/v1/testdata/valid/authored-avatar.json +51 -0
- package/contracts/ugc/v1/testdata/valid/boundary.json +1 -0
- package/contracts/ugc/v1/testdata/valid/components.json +15 -0
- package/contracts/ugc/v1/testdata/valid/cosmetic.json +9 -0
- package/contracts/ugc/v1/testdata/valid/ground-rules.json +56 -0
- package/contracts/ugc/v1/testdata/valid/minimal.json +15 -0
- package/contracts/ugc/v1/testdata/valid/prefabs.json +11 -0
- package/contracts/ugc/v1/testdata/valid/private-events.json +34 -0
- package/contracts/ugc/v1/testdata/valid/resource-bindings.json +18 -0
- package/contracts/ugc/v1/testdata/valid/scene-interactions.json +60 -0
- package/contracts/ugc/v1/testdata/valid/scene-presentation.json +165 -0
- package/contracts/ugc/v1/testdata/valid/scene.json +6 -0
- package/contracts/ugc/v1/testdata/valid/unknown-optional-component.json +1 -0
- package/contracts/ugc/v1/testdata/valid/world-scene.json +90 -0
- package/contracts/ugc/v1/testdata/vectors.json +555 -0
- package/contracts/ugc/v1/validation-report.schema.json +61 -0
- package/contracts/ugc/world-scene/v1/ASSET-GRAPH.md +33 -0
- package/contracts/ugc/world-scene/v1/COLLISION-ARTIFACTS.md +124 -0
- package/contracts/ugc/world-scene/v1/FLIGHT-AVATAR-ACTIONS.md +92 -0
- package/contracts/ugc/world-scene/v1/README.md +117 -0
- package/contracts/ugc/world-scene/v1/SCENE-DECLARATION.md +135 -0
- package/contracts/ugc/world-scene/v1/VISUAL-TILESET.md +125 -0
- package/contracts/ugc/world-scene/v1/asset-graph.mjs +126 -0
- package/contracts/ugc/world-scene/v1/collision-artifacts.mjs +134 -0
- package/contracts/ugc/world-scene/v1/collision-identity.mjs +73 -0
- package/contracts/ugc/world-scene/v1/collision-index.schema.json +34 -0
- package/contracts/ugc/world-scene/v1/collision-target.schema.json +18 -0
- package/contracts/ugc/world-scene/v1/conformance/artifact-vectors.mjs +15 -0
- package/contracts/ugc/world-scene/v1/conformance/flight-avatar-vectors.mjs +27 -0
- package/contracts/ugc/world-scene/v1/conformance/run-vectors.mjs +29 -0
- package/contracts/ugc/world-scene/v1/conformance/scene-declaration-vectors.mjs +28 -0
- package/contracts/ugc/world-scene/v1/conformance/visual-tileset-vectors.mjs +24 -0
- package/contracts/ugc/world-scene/v1/conformance/web/index.html +8 -0
- package/contracts/ugc/world-scene/v1/conformance/web/runner.mjs +53 -0
- package/contracts/ugc/world-scene/v1/contract-set.json +40 -0
- package/contracts/ugc/world-scene/v1/coordinates.schema.json +16 -0
- package/contracts/ugc/world-scene/v1/flight-avatar-actions.mjs +3 -0
- package/contracts/ugc/world-scene/v1/flight-avatar-sample.schema.json +14 -0
- package/contracts/ugc/world-scene/v1/scene-declaration.mjs +99 -0
- package/contracts/ugc/world-scene/v1/scene-declaration.schema.json +40 -0
- package/contracts/ugc/world-scene/v1/testdata/artifact-vectors.json +18 -0
- package/contracts/ugc/world-scene/v1/testdata/flight-avatar-actions.json +48 -0
- package/contracts/ugc/world-scene/v1/testdata/scene-declaration-vectors.json +103 -0
- package/contracts/ugc/world-scene/v1/testdata/vectors.json +55 -0
- package/contracts/ugc/world-scene/v1/testdata/visual-tileset-vectors.json +27 -0
- package/contracts/ugc/world-scene/v1/visual-tileset.mjs +112 -0
- package/contracts/ugc/world-scene/v1/visual-tileset.schema.json +35 -0
- package/contracts/ugc/world-scene/v2/ASSET-GRAPH.md +13 -0
- package/contracts/ugc/world-scene/v2/ENCODED-RESOURCES.md +117 -0
- package/contracts/ugc/world-scene/v2/PARTITION.md +59 -0
- package/contracts/ugc/world-scene/v2/VISUAL-TILESET.md +80 -0
- package/contracts/ugc/world-scene/v2/asset-graph.mjs +169 -0
- package/contracts/ugc/world-scene/v2/collision-index.mjs +83 -0
- package/contracts/ugc/world-scene/v2/collision-index.schema.json +29 -0
- package/contracts/ugc/world-scene/v2/collision-partition.mjs +122 -0
- package/contracts/ugc/world-scene/v2/collision-partition.schema.json +37 -0
- package/contracts/ugc/world-scene/v2/conformance/asset-graph-vectors.mjs +52 -0
- package/contracts/ugc/world-scene/v2/conformance/collision-index-vectors.mjs +29 -0
- package/contracts/ugc/world-scene/v2/conformance/encoded-resource-vectors.mjs +17 -0
- package/contracts/ugc/world-scene/v2/conformance/partition-vectors.mjs +74 -0
- package/contracts/ugc/world-scene/v2/conformance/visual-vectors.mjs +24 -0
- package/contracts/ugc/world-scene/v2/contract-set.json +50 -0
- package/contracts/ugc/world-scene/v2/encoded-resource.mjs +98 -0
- package/contracts/ugc/world-scene/v2/encoded-resource.schema.json +17 -0
- package/contracts/ugc/world-scene/v2/scene-declaration.mjs +56 -0
- package/contracts/ugc/world-scene/v2/scene-declaration.schema.json +21 -0
- package/contracts/ugc/world-scene/v2/testdata/asset-graph-vectors.json +3354 -0
- package/contracts/ugc/world-scene/v2/testdata/collision-index-vectors.json +103 -0
- package/contracts/ugc/world-scene/v2/testdata/encoded-resource-vectors.json +372 -0
- package/contracts/ugc/world-scene/v2/testdata/visual-vectors.json +43 -0
- package/contracts/ugc/world-scene/v2/vendor/pako-raw-inflate.mjs +45 -0
- package/contracts/ugc/world-scene/v2/vendor/pako-raw-inflate.provenance.json +43 -0
- package/contracts/ugc/world-scene/v2/visual-tileset.mjs +107 -0
- package/contracts/ugc/world-scene/v2/visual-tileset.schema.json +33 -0
- package/contracts/ugc/world-scene-runtime/v1/README.md +127 -0
- package/contracts/ugc/world-scene-runtime/v1/REPORT.md +87 -0
- package/contracts/ugc/world-scene-runtime/v1/conformance/report-vectors.mjs +104 -0
- package/contracts/ugc/world-scene-runtime/v1/conformance/run-vectors.mjs +22 -0
- package/contracts/ugc/world-scene-runtime/v1/report.mjs +151 -0
- package/contracts/ugc/world-scene-runtime/v1/runtime-plan.schema.json +660 -0
- package/contracts/ugc/world-scene-runtime/v1/runtime-policy.mjs +81 -0
- package/contracts/ugc/world-scene-runtime/v1/testdata/policy-vectors.json +40 -0
- package/contracts/ugc/world-scene-runtime/v1/testdata/report-fixture.json +236 -0
- package/contracts/ugc/world-scene-runtime/v2/COLLISION-CAPACITY.md +74 -0
- package/contracts/ugc/world-scene-runtime/v2/REPORT.md +91 -0
- package/contracts/ugc/world-scene-runtime/v2/RUNTIME-PROJECTION.md +110 -0
- package/contracts/ugc/world-scene-runtime/v2/VISUAL-WORK.md +72 -0
- package/contracts/ugc/world-scene-runtime/v2/collision-capacity.mjs +87 -0
- package/contracts/ugc/world-scene-runtime/v2/collision-capacity.schema.json +62 -0
- package/contracts/ugc/world-scene-runtime/v2/conformance/capacity-vectors.mjs +25 -0
- package/contracts/ugc/world-scene-runtime/v2/conformance/report-vectors.mjs +141 -0
- package/contracts/ugc/world-scene-runtime/v2/conformance/runtime-vectors.mjs +41 -0
- package/contracts/ugc/world-scene-runtime/v2/conformance/visual-work-vectors.mjs +21 -0
- package/contracts/ugc/world-scene-runtime/v2/contract-set.json +45 -0
- package/contracts/ugc/world-scene-runtime/v2/report.mjs +184 -0
- package/contracts/ugc/world-scene-runtime/v2/runtime-plan.schema.json +38 -0
- package/contracts/ugc/world-scene-runtime/v2/runtime-policy.mjs +144 -0
- package/contracts/ugc/world-scene-runtime/v2/testdata/capacity-vectors.json +30 -0
- package/contracts/ugc/world-scene-runtime/v2/testdata/report-fixture.json +250 -0
- package/contracts/ugc/world-scene-runtime/v2/testdata/runtime-vectors.json +39 -0
- package/contracts/ugc/world-scene-runtime/v2/testdata/visual-work-vectors.json +28 -0
- package/contracts/ugc/world-scene-runtime/v2/visual-work-policy.mjs +59 -0
- package/creator-release.json +6 -0
- package/docs/assets-3d-spec.md +112 -0
- package/docs/harness-onboarding.md +214 -0
- package/docs/meshy.md +75 -0
- package/docs/npm-creator.md +991 -0
- package/docs/runtime-download.md +219 -0
- package/document-action-result.source-lock.json +22 -0
- package/document-presentation.snapshot.lock.json +40 -0
- package/ground-endpoint.snapshot.lock.json +36 -0
- package/ground-spaces.snapshot.lock.json +57 -0
- package/lib/capability-harness.mjs +26 -0
- package/lib/creator-agent-studio.mjs +57 -0
- package/lib/creator-agent.mjs +7 -0
- package/lib/creator-api.mjs +637 -0
- package/lib/creator-cli.mjs +547 -0
- package/lib/creator-contribution.mjs +263 -0
- package/lib/creator-discovery.mjs +35 -0
- package/lib/creator-init-paths.mjs +56 -0
- package/lib/creator-init.mjs +132 -0
- package/lib/creator-install.mjs +323 -0
- package/lib/creator-materials.mjs +32 -0
- package/lib/creator-mcp.mjs +198 -0
- package/lib/creator-onboarding.mjs +27 -0
- package/lib/creator-package-identity.mjs +23 -0
- package/lib/creator-platform.mjs +139 -0
- package/lib/creator-project-snapshot.mjs +151 -0
- package/lib/creator-project-update.mjs +200 -0
- package/lib/creator-project.mjs +424 -0
- package/lib/creator-provenance.mjs +90 -0
- package/lib/creator-session.mjs +256 -0
- package/lib/creator-source-archive.mjs +182 -0
- package/lib/creator-source-download.mjs +160 -0
- package/lib/creator-source-git.mjs +72 -0
- package/lib/creator-source-package.mjs +47 -0
- package/lib/creator-submit.mjs +289 -0
- package/lib/creator-toolchain-compat.mjs +92 -0
- package/lib/creator-upgrade.mjs +195 -0
- package/lib/creator-upload-state.mjs +107 -0
- package/lib/document-action-result.mjs +21 -0
- package/lib/document-presentation.mjs +110 -0
- package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/creator-source/v1/tool-package.schema.json +11 -0
- package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/public-runtime/v1/manifest.mjs +198 -0
- package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/public-runtime/v1/runtime-manifest.schema.json +854 -0
- package/lib/host-ipc/distribution-node-support-contract/contracts/ugc/registry/v1/conformance/js/capability-resolver.mjs +191 -0
- package/lib/host-ipc/host-ipc.schema.json +1161 -0
- package/lib/host-ipc/runtime-contract.mjs +74 -0
- package/lib/host-ipc/source-lock.json +34 -0
- package/lib/local-builder.mjs +73 -0
- package/lib/local-content.mjs +37 -0
- package/lib/local-development.mjs +179 -0
- package/lib/meshy-api.mjs +270 -0
- package/lib/meshy-cli.mjs +80 -0
- package/lib/meshy-store.mjs +161 -0
- package/lib/personal-state-bridge.mjs +77 -0
- package/lib/presentation-project-update.mjs +89 -0
- package/lib/presentation-resources.mjs +109 -0
- package/lib/private-ecs-harness.mjs +54 -0
- package/lib/private-event-harness.mjs +35 -0
- package/lib/project-validation.mjs +763 -0
- package/lib/release-version.mjs +20 -0
- package/lib/runtime-download.mjs +115 -0
- package/lib/runtime-host-client.mjs +128 -0
- package/lib/runtime-host.mjs +124 -0
- package/lib/runtime-install.mjs +226 -0
- package/lib/runtime-snapshot.mjs +132 -0
- package/lib/runtime-source.mjs +39 -0
- package/lib/scene-assets.mjs +54 -0
- package/local-builder.snapshot.lock.json +7 -0
- package/local-content.snapshot.lock.json +190 -0
- package/node_modules/@esbuild/darwin-arm64/README.md +3 -0
- package/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/node_modules/@esbuild/darwin-arm64/package.json +20 -0
- package/node_modules/@esbuild/darwin-x64/README.md +3 -0
- package/node_modules/@esbuild/darwin-x64/bin/esbuild +0 -0
- package/node_modules/@esbuild/darwin-x64/package.json +20 -0
- package/node_modules/@esbuild/linux-arm64/README.md +3 -0
- package/node_modules/@esbuild/linux-arm64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-arm64/package.json +20 -0
- package/node_modules/@esbuild/linux-x64/README.md +3 -0
- package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-x64/package.json +20 -0
- package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/core/README.md +40 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/server/README.md +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts +4043 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts +4045 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs +2055 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +739 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +739 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1870 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs +2022 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs +1931 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs +7606 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs +8104 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +564 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +107 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +107 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +562 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/package.json +160 -0
- package/node_modules/esbuild/LICENSE.md +21 -0
- package/node_modules/esbuild/README.md +3 -0
- package/node_modules/esbuild/bin/esbuild +223 -0
- package/node_modules/esbuild/install.js +289 -0
- package/node_modules/esbuild/lib/main.d.ts +716 -0
- package/node_modules/esbuild/lib/main.js +2242 -0
- package/node_modules/esbuild/package.json +49 -0
- package/node_modules/gltf-validator/ISSUES.md +188 -0
- package/node_modules/gltf-validator/LICENSE +202 -0
- package/node_modules/gltf-validator/NOTICES +435 -0
- package/node_modules/gltf-validator/README.md +153 -0
- package/node_modules/gltf-validator/gltf_validator.dart.js +10996 -0
- package/node_modules/gltf-validator/index.js +63 -0
- package/node_modules/gltf-validator/module.mjs +63 -0
- package/node_modules/gltf-validator/package.json +22 -0
- package/node_modules/gltf-validator/validation.schema.json +266 -0
- package/node_modules/pngjs/LICENSE +20 -0
- package/node_modules/pngjs/README.md +287 -0
- package/node_modules/pngjs/browser.js +18985 -0
- package/node_modules/pngjs/lib/bitmapper.js +267 -0
- package/node_modules/pngjs/lib/bitpacker.js +158 -0
- package/node_modules/pngjs/lib/chunkstream.js +189 -0
- package/node_modules/pngjs/lib/constants.js +32 -0
- package/node_modules/pngjs/lib/crc.js +40 -0
- package/node_modules/pngjs/lib/filter-pack.js +171 -0
- package/node_modules/pngjs/lib/filter-parse-async.js +24 -0
- package/node_modules/pngjs/lib/filter-parse-sync.js +21 -0
- package/node_modules/pngjs/lib/filter-parse.js +177 -0
- package/node_modules/pngjs/lib/format-normaliser.js +93 -0
- package/node_modules/pngjs/lib/interlace.js +95 -0
- package/node_modules/pngjs/lib/packer-async.js +50 -0
- package/node_modules/pngjs/lib/packer-sync.js +56 -0
- package/node_modules/pngjs/lib/packer.js +129 -0
- package/node_modules/pngjs/lib/paeth-predictor.js +16 -0
- package/node_modules/pngjs/lib/parser-async.js +169 -0
- package/node_modules/pngjs/lib/parser-sync.js +112 -0
- package/node_modules/pngjs/lib/parser.js +290 -0
- package/node_modules/pngjs/lib/png-sync.js +12 -0
- package/node_modules/pngjs/lib/png.js +194 -0
- package/node_modules/pngjs/lib/sync-inflate.js +168 -0
- package/node_modules/pngjs/lib/sync-reader.js +45 -0
- package/node_modules/pngjs/package.json +76 -0
- package/node_modules/smol-toml/LICENSE +24 -0
- package/node_modules/smol-toml/README.md +236 -0
- package/node_modules/smol-toml/dist/date.d.ts +41 -0
- package/node_modules/smol-toml/dist/date.js +127 -0
- package/node_modules/smol-toml/dist/error.d.ts +38 -0
- package/node_modules/smol-toml/dist/error.js +63 -0
- package/node_modules/smol-toml/dist/extract.d.ts +30 -0
- package/node_modules/smol-toml/dist/extract.js +109 -0
- package/node_modules/smol-toml/dist/index.cjs +906 -0
- package/node_modules/smol-toml/dist/index.d.ts +43 -0
- package/node_modules/smol-toml/dist/index.js +33 -0
- package/node_modules/smol-toml/dist/parse.d.ts +37 -0
- package/node_modules/smol-toml/dist/parse.js +148 -0
- package/node_modules/smol-toml/dist/primitive.d.ts +31 -0
- package/node_modules/smol-toml/dist/primitive.js +178 -0
- package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
- package/node_modules/smol-toml/dist/stringify.js +163 -0
- package/node_modules/smol-toml/dist/struct.d.ts +32 -0
- package/node_modules/smol-toml/dist/struct.js +194 -0
- package/node_modules/smol-toml/dist/util.d.ts +42 -0
- package/node_modules/smol-toml/dist/util.js +106 -0
- package/node_modules/smol-toml/package.json +54 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +77 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +146 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +55 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +721 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2862 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +83 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +720 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +836 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +296 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +979 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1310 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +281 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +107 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +183 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +362 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +950 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +662 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1346 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +780 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4537 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1859 -0
- package/node_modules/zod/src/v4/core/checks.ts +1306 -0
- package/node_modules/zod/src/v4/core/compile.ts +2188 -0
- package/node_modules/zod/src/v4/core/core.ts +232 -0
- package/node_modules/zod/src/v4/core/doc.ts +48 -0
- package/node_modules/zod/src/v4/core/errors.ts +546 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +830 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
- package/node_modules/zod/src/v4/core/parse.ts +288 -0
- package/node_modules/zod/src/v4/core/regexes.ts +207 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5028 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +1639 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +31 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +855 -0
- package/node_modules/zod/src/v4/core/util.ts +1209 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +118 -0
- package/node_modules/zod/src/v4/locales/az.ts +114 -0
- package/node_modules/zod/src/v4/locales/be.ts +186 -0
- package/node_modules/zod/src/v4/locales/bg.ts +131 -0
- package/node_modules/zod/src/v4/locales/bn.ts +121 -0
- package/node_modules/zod/src/v4/locales/ca.ts +119 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
- package/node_modules/zod/src/v4/locales/cs.ts +121 -0
- package/node_modules/zod/src/v4/locales/da.ts +126 -0
- package/node_modules/zod/src/v4/locales/de.ts +119 -0
- package/node_modules/zod/src/v4/locales/el.ts +122 -0
- package/node_modules/zod/src/v4/locales/en.ts +134 -0
- package/node_modules/zod/src/v4/locales/eo.ts +121 -0
- package/node_modules/zod/src/v4/locales/es.ts +143 -0
- package/node_modules/zod/src/v4/locales/fa.ts +129 -0
- package/node_modules/zod/src/v4/locales/fi.ts +124 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +119 -0
- package/node_modules/zod/src/v4/locales/fr.ts +137 -0
- package/node_modules/zod/src/v4/locales/gu.ts +121 -0
- package/node_modules/zod/src/v4/locales/he.ts +251 -0
- package/node_modules/zod/src/v4/locales/hi.ts +124 -0
- package/node_modules/zod/src/v4/locales/hr.ts +133 -0
- package/node_modules/zod/src/v4/locales/hu.ts +120 -0
- package/node_modules/zod/src/v4/locales/hy.ts +173 -0
- package/node_modules/zod/src/v4/locales/id.ts +118 -0
- package/node_modules/zod/src/v4/locales/index.ts +62 -0
- package/node_modules/zod/src/v4/locales/is.ts +122 -0
- package/node_modules/zod/src/v4/locales/it.ts +119 -0
- package/node_modules/zod/src/v4/locales/ja.ts +117 -0
- package/node_modules/zod/src/v4/locales/ka.ts +126 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +122 -0
- package/node_modules/zod/src/v4/locales/kn.ts +124 -0
- package/node_modules/zod/src/v4/locales/ko.ts +124 -0
- package/node_modules/zod/src/v4/locales/lt.ts +241 -0
- package/node_modules/zod/src/v4/locales/mk.ts +121 -0
- package/node_modules/zod/src/v4/locales/ms.ts +118 -0
- package/node_modules/zod/src/v4/locales/ne.ts +126 -0
- package/node_modules/zod/src/v4/locales/nl.ts +124 -0
- package/node_modules/zod/src/v4/locales/nn.ts +119 -0
- package/node_modules/zod/src/v4/locales/no.ts +119 -0
- package/node_modules/zod/src/v4/locales/ota.ts +120 -0
- package/node_modules/zod/src/v4/locales/pl.ts +121 -0
- package/node_modules/zod/src/v4/locales/ps.ts +129 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
- package/node_modules/zod/src/v4/locales/pt.ts +157 -0
- package/node_modules/zod/src/v4/locales/ro.ts +130 -0
- package/node_modules/zod/src/v4/locales/ru.ts +186 -0
- package/node_modules/zod/src/v4/locales/sk.ts +121 -0
- package/node_modules/zod/src/v4/locales/sl.ts +121 -0
- package/node_modules/zod/src/v4/locales/sv.ts +122 -0
- package/node_modules/zod/src/v4/locales/ta.ts +121 -0
- package/node_modules/zod/src/v4/locales/th.ts +122 -0
- package/node_modules/zod/src/v4/locales/tk.ts +111 -0
- package/node_modules/zod/src/v4/locales/tr.ts +114 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +120 -0
- package/node_modules/zod/src/v4/locales/ur.ts +122 -0
- package/node_modules/zod/src/v4/locales/uz.ts +118 -0
- package/node_modules/zod/src/v4/locales/vi.ts +120 -0
- package/node_modules/zod/src/v4/locales/yo.ts +127 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +119 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +118 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +50 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2026 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1060 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +373 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +148 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3779 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +34 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +83 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +76 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +686 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +660 -0
- package/node_modules/zod/v4/classic/in-out.cjs +63 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +49 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +44 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1611 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +802 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +802 -0
- package/node_modules/zod/v4/classic/schemas.js +1491 -0
- package/node_modules/zod/v4/core/api.cjs +1246 -0
- package/node_modules/zod/v4/core/api.d.cts +329 -0
- package/node_modules/zod/v4/core/api.d.ts +329 -0
- package/node_modules/zod/v4/core/api.js +1104 -0
- package/node_modules/zod/v4/core/checks.cjs +607 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +581 -0
- package/node_modules/zod/v4/core/compile.cjs +1813 -0
- package/node_modules/zod/v4/core/compile.d.cts +51 -0
- package/node_modules/zod/v4/core/compile.d.ts +51 -0
- package/node_modules/zod/v4/core/compile.js +1783 -0
- package/node_modules/zod/v4/core/core.cjs +148 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +37 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +33 -0
- package/node_modules/zod/v4/core/errors.cjs +301 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +270 -0
- package/node_modules/zod/v4/core/index.cjs +51 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +103 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +813 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +747 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +272 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +265 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +193 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +154 -0
- package/node_modules/zod/v4/core/regexes.cjs +184 -0
- package/node_modules/zod/v4/core/regexes.d.cts +87 -0
- package/node_modules/zod/v4/core/regexes.d.ts +87 -0
- package/node_modules/zod/v4/core/regexes.js +150 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2481 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1253 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1253 -0
- package/node_modules/zod/v4/core/schemas.js +2440 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +660 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +153 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +153 -0
- package/node_modules/zod/v4/core/to-json-schema.js +650 -0
- package/node_modules/zod/v4/core/util.cjs +915 -0
- package/node_modules/zod/v4/core/util.d.cts +257 -0
- package/node_modules/zod/v4/core/util.d.ts +257 -0
- package/node_modules/zod/v4/core/util.js +846 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +195 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +32 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +136 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +109 -0
- package/node_modules/zod/v4/locales/az.cjs +135 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +108 -0
- package/node_modules/zod/v4/locales/be.cjs +193 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +166 -0
- package/node_modules/zod/v4/locales/bg.cjs +150 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +123 -0
- package/node_modules/zod/v4/locales/bn.cjs +138 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +111 -0
- package/node_modules/zod/v4/locales/ca.cjs +137 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +110 -0
- package/node_modules/zod/v4/locales/ckb.cjs +158 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +131 -0
- package/node_modules/zod/v4/locales/cs.cjs +141 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +114 -0
- package/node_modules/zod/v4/locales/da.cjs +145 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +118 -0
- package/node_modules/zod/v4/locales/de.cjs +138 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +111 -0
- package/node_modules/zod/v4/locales/el.cjs +137 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +110 -0
- package/node_modules/zod/v4/locales/en.cjs +150 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +123 -0
- package/node_modules/zod/v4/locales/eo.cjs +139 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +112 -0
- package/node_modules/zod/v4/locales/es.cjs +161 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +134 -0
- package/node_modules/zod/v4/locales/fa.cjs +144 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +117 -0
- package/node_modules/zod/v4/locales/fi.cjs +142 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +115 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +137 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +110 -0
- package/node_modules/zod/v4/locales/fr.cjs +154 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +127 -0
- package/node_modules/zod/v4/locales/gu.cjs +138 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +111 -0
- package/node_modules/zod/v4/locales/he.cjs +246 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +219 -0
- package/node_modules/zod/v4/locales/hi.cjs +136 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +109 -0
- package/node_modules/zod/v4/locales/hr.cjs +151 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +124 -0
- package/node_modules/zod/v4/locales/hu.cjs +138 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +111 -0
- package/node_modules/zod/v4/locales/hy.cjs +183 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +156 -0
- package/node_modules/zod/v4/locales/id.cjs +136 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +109 -0
- package/node_modules/zod/v4/locales/index.cjs +131 -0
- package/node_modules/zod/v4/locales/index.d.cts +62 -0
- package/node_modules/zod/v4/locales/index.d.ts +62 -0
- package/node_modules/zod/v4/locales/index.js +62 -0
- package/node_modules/zod/v4/locales/is.cjs +139 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +112 -0
- package/node_modules/zod/v4/locales/it.cjs +138 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +111 -0
- package/node_modules/zod/v4/locales/ja.cjs +137 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +110 -0
- package/node_modules/zod/v4/locales/ka.cjs +142 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +115 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +140 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +113 -0
- package/node_modules/zod/v4/locales/kn.cjs +141 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +114 -0
- package/node_modules/zod/v4/locales/ko.cjs +141 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +114 -0
- package/node_modules/zod/v4/locales/lt.cjs +232 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +205 -0
- package/node_modules/zod/v4/locales/mk.cjs +139 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +112 -0
- package/node_modules/zod/v4/locales/ms.cjs +137 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +110 -0
- package/node_modules/zod/v4/locales/ne.cjs +136 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +109 -0
- package/node_modules/zod/v4/locales/nl.cjs +140 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +113 -0
- package/node_modules/zod/v4/locales/nn.cjs +138 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +111 -0
- package/node_modules/zod/v4/locales/no.cjs +138 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +111 -0
- package/node_modules/zod/v4/locales/ota.cjs +139 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +112 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +139 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +112 -0
- package/node_modules/zod/v4/locales/ps.cjs +144 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +117 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +141 -0
- package/node_modules/zod/v4/locales/pt.cjs +167 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +140 -0
- package/node_modules/zod/v4/locales/ro.cjs +147 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +120 -0
- package/node_modules/zod/v4/locales/ru.cjs +193 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +166 -0
- package/node_modules/zod/v4/locales/sk.cjs +141 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +114 -0
- package/node_modules/zod/v4/locales/sl.cjs +139 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +112 -0
- package/node_modules/zod/v4/locales/sv.cjs +140 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +113 -0
- package/node_modules/zod/v4/locales/ta.cjs +140 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +113 -0
- package/node_modules/zod/v4/locales/th.cjs +140 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +113 -0
- package/node_modules/zod/v4/locales/tk.cjs +132 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +105 -0
- package/node_modules/zod/v4/locales/tr.cjs +135 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +108 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +138 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +111 -0
- package/node_modules/zod/v4/locales/ur.cjs +140 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +113 -0
- package/node_modules/zod/v4/locales/uz.cjs +138 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +111 -0
- package/node_modules/zod/v4/locales/vi.cjs +138 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +111 -0
- package/node_modules/zod/v4/locales/yo.cjs +137 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +110 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +112 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +137 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +110 -0
- package/node_modules/zod/v4/mini/checks.cjs +35 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +74 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +63 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +18 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1111 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +475 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +475 -0
- package/node_modules/zod/v4/mini/schemas.js +987 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +171 -4
- package/personal-state-bridge.source-lock.json +42 -0
- package/personal-state.snapshot.lock.json +40 -0
- package/public-runtime.snapshot.lock.json +58 -0
- package/runtime-catalog.json +22 -0
- package/scene-interaction-v2.snapshot.lock.json +36 -0
- package/sdk/client/index.js +20 -0
- package/sdk/shared/index.js +20 -0
- package/source-package.snapshot.lock.json +26 -0
- package/templates/document-presentation/assets.js +73 -0
- package/templates/document-presentation/authority.js +31 -0
- package/templates/document-presentation/journey-actions.js +36 -0
- package/templates/document-presentation/journey-note-bridge.js +34 -0
- package/templates/document-presentation/journey-presentation.js +96 -0
- package/templates/document-presentation/journey-view.js +43 -0
- package/templates/document-presentation/motion.js +11 -0
- package/templates/document-presentation/peer-presentation.js +160 -0
- package/templates/document-presentation/personal-story.js +75 -0
- package/templates/document-presentation/space-projection.js +54 -0
- package/templates/npm-project/AGENTS.md +11 -0
- package/templates/project.gitignore +9 -0
- package/templates/public-untrusted/chrona.project.json +7 -0
- package/templates/public-untrusted/content/assets/runtime/template-triangle.gltf +50 -0
- package/templates/public-untrusted/content/ecs/components.json +30 -0
- package/templates/public-untrusted/content/ecs/prefabs.json +14 -0
- package/templates/public-untrusted/content/ecs/scene.json +9 -0
- package/templates/public-untrusted/content/gameplay/client/presentation.js +8 -0
- package/templates/public-untrusted/content/gameplay/shared/rules.js +17 -0
- package/templates/public-untrusted/content/manifest.json +75 -0
- package/templates/public-untrusted/content/provenance.json +15 -0
- package/templates/public-untrusted/content/tests/budgets.json +5 -0
- package/templates/public-untrusted/content/tests/rules.json +10 -0
- package/templates/public-untrusted/content/tests/scenarios.json +45 -0
|
@@ -0,0 +1,991 @@
|
|
|
1
|
+
# Portable creator package
|
|
2
|
+
|
|
3
|
+
## Current creator entry
|
|
4
|
+
|
|
5
|
+
<!-- creator-entry:start -->
|
|
6
|
+
<!-- Generated by tools/creator-entry-docs.mjs from the existing release profiles. -->
|
|
7
|
+
Inside the intended work directory, use the Testing npm entry:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx @chrona-city/ugc-kit@testing init
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The selected package defaults to **https://chrona.city** and discovers
|
|
14
|
+
`/site-assets/chrona-kit-current.json`. Initialization still verifies the current and immutable
|
|
15
|
+
metadata, exact archive and caller. npm publication alone does not prove that
|
|
16
|
+
the platform's download aliases, current tool policy or ordinary user flow are ready.
|
|
17
|
+
|
|
18
|
+
| Release profile | Package identity | Default platform Origin |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| city | `@chrona-city/ugc-kit` | https://chrona.city |
|
|
21
|
+
| world | `@chrona-world/ugc-kit` | https://chrona.world |
|
|
22
|
+
|
|
23
|
+
The world row describes a separate release profile, not a public rollout claim.
|
|
24
|
+
npm tags select package versions; they do not change an existing project's
|
|
25
|
+
platform, World, permissions or private authorization. Keep existing bindings.
|
|
26
|
+
Local initialization must explicitly select the registered loopback platform;
|
|
27
|
+
it never falls back to Testing. MCP uses the verified persistent executable,
|
|
28
|
+
not a mutable npm tag. Installing does not authorize, upload, preview or publish a work.
|
|
29
|
+
|
|
30
|
+
Both the website archive and npm entry must resolve to the same verified release
|
|
31
|
+
identity. A newer npm package does not silently replace an existing MCP executable,
|
|
32
|
+
project binding or authorization session. Check the actual registered executable
|
|
33
|
+
with `chrona version`, and inspect the saved session without changing it:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
chrona auth-status --session-directory ABSOLUTE_PRIVATE_SESSION_DIRECTORY
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For the city profile, the returned authorization Origin and the project's
|
|
40
|
+
authorization, submission, review and preview links must use https://chrona.city.
|
|
41
|
+
If an older registration or session still selects another Origin, preserve its
|
|
42
|
+
receipts and unknown operations. `--replace-from` only updates the same binding;
|
|
43
|
+
it does not migrate a session across Origins. Select the intended platform
|
|
44
|
+
explicitly, complete its official authorization yourself, then verify access to
|
|
45
|
+
the same project before writing. Do not edit session JSON, rewrite a project ID,
|
|
46
|
+
re-upload content or switch accounts to hide the mismatch. The installer never
|
|
47
|
+
performs these authorization or submission steps automatically.
|
|
48
|
+
|
|
49
|
+
Installation metadata lists verified installation targets, not every CPU binary
|
|
50
|
+
bundled in the archive. Its Node version records the build environment; Runtime
|
|
51
|
+
support must come from the trusted Runtime declaration and real execution.
|
|
52
|
+
<!-- creator-entry:end -->
|
|
53
|
+
|
|
54
|
+
The published 1.5.9 archive remains immutable. These source-guide corrections
|
|
55
|
+
do not rewrite its bundled documentation. Historical versions and tool hashes
|
|
56
|
+
below describe compatibility history, not a request to downgrade, recreate a
|
|
57
|
+
project or change its platform. Package availability and platform availability
|
|
58
|
+
must be checked separately.
|
|
59
|
+
|
|
60
|
+
### Bind an imported Document to ordinary Creator authoring
|
|
61
|
+
|
|
62
|
+
`import-presentation` prepares the original editable HTML/resources and a fixed
|
|
63
|
+
Document declaration. Supply the ordinary `content/manifest.json`, ECS, shared
|
|
64
|
+
rules, tests and provenance explicitly; a different game's template is never
|
|
65
|
+
inserted into the imported work.
|
|
66
|
+
|
|
67
|
+
Use `bind-presentation-project --project PREPARED_DIR --name NAME` for a read-only
|
|
68
|
+
plan and append `--apply true` to attach the original Creator metadata and local
|
|
69
|
+
Git repository. MCP uses `bind_presentation_project` with `projectName` and
|
|
70
|
+
optional `apply` (default false). Existing metadata/repositories reject rather
|
|
71
|
+
than overwrite. Content bytes remain unchanged. Invalid declared content is
|
|
72
|
+
retained as `creator-bound-repair-required` with the real validation errors; it
|
|
73
|
+
cannot be uploaded by the normal source-prepare path until repaired and committed.
|
|
74
|
+
Binding does not install dependencies, commit, authorize rights, upload or grant
|
|
75
|
+
playability. A partial metadata write is retained for explicit inspection.
|
|
76
|
+
|
|
77
|
+
For a local environment explicitly registered through `login --allow-local-http true`,
|
|
78
|
+
the saved session must bind the same literal HTTP loopback Origin (`127.0.0.1` or
|
|
79
|
+
`[::1]`). Release-status GET and the existing release-retry POST have a finite
|
|
80
|
+
240000 ms request budget for synchronous recovery verification. The status GET
|
|
81
|
+
also keeps this budget when used as a mutation preflight. Hosted HTTPS uses
|
|
82
|
+
270000 ms for these exact release GET and retry POST routes, including prerequisite
|
|
83
|
+
GETs. HTTPS loopback uses the hosted budget, not the local HTTP exception.
|
|
84
|
+
New release requests, uploads, cancellation DELETEs and other requests retain the
|
|
85
|
+
original 15000 ms default and 60000 ms configurable ceiling.
|
|
86
|
+
This does not register a server installation, extend credentials or
|
|
87
|
+
permissions, retry requests automatically, or authorize recovery. The registered
|
|
88
|
+
local proxy and Publisher must independently verify their local installation and
|
|
89
|
+
support the same budget before recovery is attempted. Hosted recovery requires the
|
|
90
|
+
paired Publisher recovery budget and reverse-proxy configuration before use;
|
|
91
|
+
upgrading this caller alone is not proof that the deployment supports recovery.
|
|
92
|
+
A repeated new-release POST can return existing state without calculating recovery
|
|
93
|
+
availability; explicitly read release status for advisory actions. Retry still
|
|
94
|
+
revalidates current authority server-side. On timeout, preserve the
|
|
95
|
+
request ID, progress revision and idempotency key; the outcome remains unknown
|
|
96
|
+
until a normal status read or same-command replay establishes it.
|
|
97
|
+
|
|
98
|
+
For one-time Codex/Claude setup followed by conversational creation, see [Harness onboarding](harness-onboarding.md). The installed CLI remains the execution entry; MCP registration alone does not prove a model has called it.
|
|
99
|
+
|
|
100
|
+
### Installation timing and cache reuse
|
|
101
|
+
|
|
102
|
+
Use the command from the matching release metadata. Its npm bootstrap prefers
|
|
103
|
+
cached immutable package bytes and disables audit, funding and update queries for
|
|
104
|
+
that invocation only; no global npm settings change. A missing cache entry still
|
|
105
|
+
requires a download. The durable installer reuses the caller's npm content cache
|
|
106
|
+
only after checking its actual owned, non-linked layout. It never copies an
|
|
107
|
+
unverified `node_modules` tree. Package digests, caller identity and the complete
|
|
108
|
+
installed inventory are still verified before registration.
|
|
109
|
+
|
|
110
|
+
The result includes `installationTimings` for metadata, prerequisites, archive,
|
|
111
|
+
dependencies, verification and registration. These measure the inner installer,
|
|
112
|
+
not the preceding npm bootstrap; compare total command time as well. A repeated
|
|
113
|
+
init verifies the existing installation and metadata without reinstalling it.
|
|
114
|
+
Failures keep the original error code and completed/failed phase timings, and do
|
|
115
|
+
not replace a previously valid installation or Harness registration. An unavailable
|
|
116
|
+
metadata endpoint still fails closed even if package bytes are cached.
|
|
117
|
+
|
|
118
|
+
Once Chrona starts, `init` writes `creator-install-progress` JSON lines to stderr
|
|
119
|
+
at each phase boundary and every five seconds while a phase is running. Stdout
|
|
120
|
+
remains the final JSON result. This is elapsed time, not a completion percentage
|
|
121
|
+
or a network throughput estimate. Before the first Chrona event, npm itself is
|
|
122
|
+
still resolving/downloading the bootstrap dependencies; Chrona cannot report
|
|
123
|
+
progress for that preceding process. For a diagnostic run only, add npm's
|
|
124
|
+
`--timing --loglevel=http` options before `--` in the official command. Keep those
|
|
125
|
+
logs private; do not change global npm configuration or disable TLS.
|
|
126
|
+
|
|
127
|
+
`installationDiagnostic` distinguishes an HTTP status, unexpected response type,
|
|
128
|
+
redirect, oversized/missing body, timeout or otherwise unknown transport failure.
|
|
129
|
+
It never returns the response body, request URL, credentials or raw npm stderr.
|
|
130
|
+
Dependency-process failures distinguish termination from other process failures;
|
|
131
|
+
use the private npm log to investigate the latter, not a guessed network cause.
|
|
132
|
+
After resolving the reported cause, rerun the same official entry. Existing
|
|
133
|
+
verified installations remain intact; failed temporary installations are removed,
|
|
134
|
+
while verified npm content-cache entries can be reused. No automatic retry occurs.
|
|
135
|
+
|
|
136
|
+
A cold bootstrap without bundled dependencies needs the target's native esbuild binary. The measured
|
|
137
|
+
136-second cold run included a single 114-second Darwin binary fetch; the inner
|
|
138
|
+
installer made no network requests. These are observed durations, not an inherent
|
|
139
|
+
download minimum or a promise about another network. Reordering the same required
|
|
140
|
+
download or omitting the binary does not establish a faster usable first install.
|
|
141
|
+
Warm-cache and repeat-init measurements must remain separate from cold results.
|
|
142
|
+
|
|
143
|
+
The package bundles all six production dependency roots and their
|
|
144
|
+
locked transitive dependencies, including Darwin ARM64 and Linux ARM64 esbuild.
|
|
145
|
+
Development dependencies, complete City assets and the separately pinned gameplay
|
|
146
|
+
runtime are not part of the npm archive. Bundling a Linux binary does not itself
|
|
147
|
+
certify a Linux Harness installation. Supported release platforms still require
|
|
148
|
+
their existing target validation. Other native platforms are not advertised.
|
|
149
|
+
|
|
150
|
+
The original release verifier prepares isolated production trees with `npm ci
|
|
151
|
+
--offline --ignore-scripts --omit=dev` from the exact lock for each native target,
|
|
152
|
+
then packs their verified closure. Set `CHRONA_RELEASE_NPM_CACHE` to the prepared
|
|
153
|
+
dependency cache; missing cached bytes fail instead of switching registries or
|
|
154
|
+
silently fetching. It does not bundle the developer's arbitrary `node_modules`.
|
|
155
|
+
Use `tools/verify-npm-package.mjs` for releases; bare `npm pack` in a development
|
|
156
|
+
checkout is not a complete cross-target release. The verifier installs the result
|
|
157
|
+
offline into a new directory with an empty cache. Creators still download the
|
|
158
|
+
archive itself; eliminating separate dependency requests does not eliminate
|
|
159
|
+
network transfer or promise a fixed first-install duration.
|
|
160
|
+
|
|
161
|
+
For an isolated installer benchmark, maintainers can run
|
|
162
|
+
`CHRONA_TEST_INSTALL_SELF_PACK=1 CHRONA_TEST_INSTALL_HARNESS=claude CHRONA_TEST_INSTALL_EVIDENCE=/absolute/private/result.json node --test test/creator-install-cli.test.mjs`.
|
|
163
|
+
This uses a local HTTPS release fixture and real npm dependencies, automatically
|
|
164
|
+
selects Claude using an isolated configuration directory, then checks warm npm
|
|
165
|
+
bootstrap, installed-bin repeat init and failure preservation. The report keeps
|
|
166
|
+
total and phase timing plus npm request/cache evidence. It is not a production
|
|
167
|
+
download, native-model invocation or a distributable release; it does not touch
|
|
168
|
+
the user's Home or projects.
|
|
169
|
+
|
|
170
|
+
This source candidate supports `chrona init` from the intended project directory. Bundled `creator-release.json` supplies the official Testing Origin and stable release metadata URL; neither project files nor routine user input supply release hashes/URLs. The installer checks the stable metadata against its same-origin immutable copy, verifies archive bytes and caller identity, and preserves the existing durable installation and AI configuration. Home/root and ambiguous launch folders require a project choice; ambiguous AI detection requires `--harness codex|claude`. Interactive terminals ask these choices; noninteractive callers receive `selection-required`. Explicit advanced options remain available. Init does not create, upgrade or overwrite content.
|
|
171
|
+
|
|
172
|
+
Use the profile-derived entry at the top of this guide. The selected package's
|
|
173
|
+
`creator-release.json` supplies its default Origin and release metadata path;
|
|
174
|
+
schema3 `kit-release.json` supplies the actual package/version/archive identity.
|
|
175
|
+
Site must derive presentation from those verified fields, not maintain a second
|
|
176
|
+
package/domain mapping or infer an environment from an npm tag. A metadata
|
|
177
|
+
endpoint failure or incompatible caller is a concrete installation failure,
|
|
178
|
+
not permission to silently install an older release. MCP uses the fixed persistent
|
|
179
|
+
executable. Its presence does not prove the user's model has called the tools.
|
|
180
|
+
|
|
181
|
+
Historical 1.5.2/1.5.3 archives, old IP aliases and legacy package names remain
|
|
182
|
+
specific to their original immutable releases. They are not current default
|
|
183
|
+
installation examples and must not be edited in place. Use the actual installed
|
|
184
|
+
catalog and runtime manifests for compatibility; URLs alone do not prove a
|
|
185
|
+
platform deployment. npm publication, creator source submission, preview and
|
|
186
|
+
explicit publication are separate. The package remains `UNLICENSED`.
|
|
187
|
+
|
|
188
|
+
Optional [Meshy generation](meshy.md) uses your local key and explicit requests. New installation and explicit same-scope Harness replacement use the existing `init`; `--replace-from /absolute/old-install/bin/chrona.mjs` authorizes replacing only that exact existing registration. Workspace, platform and session scope must remain identical; edited/unmanaged configurations reject. No silent update occurs. Project metadata migration remains a separate `upgrade` operation. Credentials in the private user directory are not part of either installation.
|
|
189
|
+
|
|
190
|
+
Runtime compatibility is determined by the project's tool/contracts locks, the trusted catalog's verified manifests and the packaged host identity. Read actual `dev/test` results; do not infer that the platform supports only an older tool version, or that every new project is compatible. `RUNTIME_CONTENT_INCOMPATIBLE` requires a matching fixed runtime or an explicitly approved project migration, not editing locks or downgrading a version label. Changing only the external runtime manifest cannot add host support. Do not modify an existing archive or report a new snapshot as an older tool version. A local tarball install is not a registry publication or a playable-content acceptance. Node 22.16 or later and Git are required. There are no install hooks or runtime downloads at installation. The original static compiler dependencies are pinned; npm may fetch those packages during installation, but does not run their hooks with the commands below.
|
|
191
|
+
|
|
192
|
+
For an explicitly selected fixed-archive alternative, use a separate tools
|
|
193
|
+
directory and `npm install --ignore-scripts /absolute/path/verified-ugc-kit.tgz`.
|
|
194
|
+
The file must be the release's verified archive, not a development pack. Invoke
|
|
195
|
+
the local binary from that directory with `npm exec --offline -- chrona`; no
|
|
196
|
+
Services or Clients checkout is required:
|
|
197
|
+
|
|
198
|
+
```sh
|
|
199
|
+
npm exec --offline -- chrona create my-world --content-id ugc.example.my-world --workspace /existing/creator/projects
|
|
200
|
+
npm exec --offline -- chrona validate --project /existing/creator/projects/my-world
|
|
201
|
+
npm exec --offline -- chrona inspect --project /existing/creator/projects/my-world
|
|
202
|
+
npm exec --offline -- chrona capabilities
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
This source candidate also exposes `chrona projects --workspace /existing/creator/projects` and the read-only MCP `list_ugc_projects`. The MCP uses its registered workspace, so conversational callers supply no local path. Results include the configured project itself as `projectName: "."` and initialized direct-child projects, with explicit unavailable metadata; they never select a project, prove source access, or start a runtime. The dot cannot refer to a parent or sibling directory. With platform authorization configured, `list_creator_materials` lists the selected platform project's currently authorized materials; `create_from_creator_material` downloads and verifies the selection and creates a new isolated project. The fixed earlier 0.2.13 installation does not contain these additions.
|
|
206
|
+
|
|
207
|
+
The creator project contains content and small metadata only. Its exact package
|
|
208
|
+
dependency, SDK import mappings and `chrona.toolchain.json` retain their original
|
|
209
|
+
identity. Use the normal initialized project commands; do not edit an existing
|
|
210
|
+
lock, replace a dependency with a local archive path or install latest to suppress
|
|
211
|
+
a mismatch. Inspect the explicit `chrona upgrade` plan when a supported migration
|
|
212
|
+
is needed. Neither metadata nor SDK resolution grants execution permission. The
|
|
213
|
+
platform revalidates with its own trusted Kit.
|
|
214
|
+
|
|
215
|
+
Trusted local hosts import `verifyLocalDevelopmentInput` and `validateLocalLaunchRequest` from the selected installed package's `/local-content` export. Resolve its package name from actual installed `package.json`, not a second scope list. Historical legacy projects keep their own exact identity. The snapshot and launch definitions are in `contracts/ugc/local-content/v1/README.md` and `LOCAL-LAUNCH.md`; the exact inventory is bound by `local-content.snapshot.lock.json` and the project toolchain hash. The trusted public host selects local launch validation; formal execution continues to reject local identities. These exports verify offline inputs; scene compilation uses `build` below and execution requires a separately trusted runtime. Verification requires host-owned reads, a fixed expected identity and trusted policy hashes. Local validation does not grant formal review, preview membership or publication.
|
|
216
|
+
|
|
217
|
+
Static validate never imports creator JavaScript. Repair its structured errors and rerun. Missing required capabilities return `needs_capability` with exit code 2. Failed validation returns 1; passed returns 0. The public tool rejects reviewed-tier projects. `publish` requests independent review only; there is no native creator execution or automatic approval/publication fallback.
|
|
218
|
+
|
|
219
|
+
## Creator path: install, create, submit, open Studio
|
|
220
|
+
|
|
221
|
+
### Upload authorization preflight
|
|
222
|
+
|
|
223
|
+
The upload operation needs `source:read` to inspect/resume blobs, `submissions:write` to submit and `projects:read` for live platform preflight. `projects:create` replaces none of these scopes. The current candidate checks session expiry, fixed Origin, selected project scope and upload scopes before scanning the content tree. Missing scopes return `CREATOR_SESSION_SCOPE_REQUIRED` with `requiredScopes` and `missingScopes`; a different project grant returns `CREATOR_SESSION_PROJECT_MISMATCH`. These checks grant nothing and do not replace the server's current membership, source eligibility or authorization checks.
|
|
224
|
+
|
|
225
|
+
Read `uploadPreflight` in `auth-status` or MCP authorization results, including a reused `authorized` session. `scope-ready` means only that the local session contains the upload scopes; it is not permission to use every project or proof of publication. For `missing-scopes`, preserve the old session and explicitly use `login` with a new private session directory, the same trusted platform Origin, the intended `--project-id` and `--scopes source:read,submissions:write,projects:read`; complete normal browser approval and `login-complete`, then submit through that new session. Add other scopes only for intended operations. A project-bound grant cannot create new projects. Do not edit the existing session or automatically log it out. Repointing an existing MCP registration requires explicit configuration resolution; the tool never silently replaces it. Earlier fixed archives do not acquire this preflight without a separately installed candidate.
|
|
226
|
+
|
|
227
|
+
### Upload an existing work through conversation
|
|
228
|
+
|
|
229
|
+
The user's request is the creative intent, for example: “Submit this work to my Chrona project and give me its Studio link.” The AI selects the actual initialized local work, preserves its content/history and reads its installed tool pin. Do not recreate or reimport an existing world just to submit it. If its pin is incompatible, use the explicit upgrade plan below; changing the installed package alone is not a project upgrade.
|
|
230
|
+
|
|
231
|
+
Prefer the configured MCP: `get_creator_authorization`, then `begin_creator_authorization` if needed, and `complete_creator_authorization` after the user approves in the normal browser. Use the initialized platform Origin and private session path; do not ask for browser tokens or read unrelated credentials. If no platform connection is configured, use the original `init`/CLI authorization described below with the user's trusted platform URL. Only necessary browser login/approval remains a user action.
|
|
232
|
+
|
|
233
|
+
Use `discover_creator_projects` (CLI `remote-projects --session-directory DIR --project DIR`) for the selected local work. Known associations are checked directly; otherwise the tool reads every authenticated discovery page by the local stable creatorProjectId. A single match can be reused automatically, including by submit with projectId omitted. Multiple matches return literal names and Studio links for explicit user selection; the AI uses the chosen returned ID, not a user-typed hash or ID. Names do not establish identity. Empty partial pages are not zero matches; cursor expiry, changed membership or unavailable source discards the incomplete result and does not create anything.
|
|
234
|
+
|
|
235
|
+
Only a complete zero-match result with `canCreateProject:true` permits offering `create_remote_project`/`remote-create` on explicit user intent. Preserve the existing local work and use the actual returned ID for submit. Creation has no automatic retry: `CREATOR_PROJECT_CREATION_UNKNOWN` requires checking the project's Studio page before another action, since an empty newly created project is not discoverable by stable content identity. Do not create another project to bypass denial, missing known association or conflict. `get_creator_source_state` rechecks the selected project's actual binding and head; omit expectedHead rather than asking the user for a SHA. `none` (MCP null) is only an explicit assertion for a confirmed empty project. Default project-bound login omits projects:create; explicitly combining them is rejected before PKCE. Existing scope-limited sessions still require explicit new authorization, not silent widening.
|
|
236
|
+
|
|
237
|
+
The AI validates the work, preserves intentional changes and makes the requested real source commit. Submit through the original MCP/CLI with `expectedHead` and `idempotencyKey` omitted by default: the tool obtains or reuses the verified head, derives the key and retains both in `build/creator-upload.json`. An unchanged retry preserves the original operation; a conflict requires inspecting current source state, not forcing `none` or deleting the record. `get_creator_preflight` exposes current platform compatibility and release eligibility; submit also checks preflight before uploading. Return the actual job/Studio link and state. Uploaded or queued is not reviewed, published or playable. Preview and `publish --channel testing` request separate platform steps; npm registry availability is not their gate. Earlier fixed archives require their own supported explicit parameters and do not acquire this behavior automatically.
|
|
238
|
+
|
|
239
|
+
### Contribution candidates (separate from owner submission)
|
|
240
|
+
|
|
241
|
+
The separate contribution candidate interface requires an existing project and a project-bound terminal authorization with `projects:read,source:read,contributions:write`. The default owner six-scope login does not include candidate write. Use `chrona login --platform ORIGIN --session-directory PRIVATE_DIR --project-id PROJECT_ID --scopes projects:read,source:read,contributions:write`, then the normal browser approval and `login-complete`. After committing a clean local work, run `chrona contribute --session-directory PRIVATE_DIR --project DIR --project-id PROJECT_ID` (optionally pin `--expected-head MAIN_SHA` and `--idempotency-key KEY`). The CLI reads the current main source head, uploads committed content through the distinct candidate blob namespace and persists the key in `build/creator-contribution.json`, never `build/creator-upload.json`.
|
|
242
|
+
|
|
243
|
+
For an uncertain response, run `chrona contribution-status --session-directory PRIVATE_DIR --project DIR --project-id PROJECT_ID` or the MCP `get_creator_contribution_by_key` before submitting edited source B. A missing by-key result does not clear an unresolved A; retry A with the same committed bytes/key or resolve its outcome. The result includes an `ownerReviewUrl` derived from the authenticated Origin and verified candidate ID; only the current owner can open that Site detail page. It is not a contributor readback URL. An accepted candidate still requires the owner's separate technical check and acceptance; these commands never submit the owner main branch, grant a preview, or publish. The fixed Product HTTP contract has isolated Recorder and temporary Git evidence, but this Kit slice has only local Git plus fixture HTTP evidence; it is not yet a deployed normal-user workflow.
|
|
244
|
+
|
|
245
|
+
The contribution result preserves the server's `checkResult`, `checkReason`, and optional `checkNextAction` exactly. Status first identifies the original candidate by durable key; if its check outcome is unknown or owner acceptance is `accepting`, Kit performs the ordinary read-only GET for that exact candidate so the platform can recover an existing trusted result, then checks the immutable identity again. A still-`pending` check with `CANDIDATE_EXECUTION_OUTCOME_UNKNOWN` is **not** passed. Only when that current candidate GET explicitly returns `submit_new_candidate` may the author invoke normal `contribute` with an explicitly different `--idempotency-key`; the same clean committed source is allowed, without an empty commit or changed bytes. Kit verifies the original candidate, source/tool/base identity and current main HEAD before making a new candidate. It never generates the new key, reruns the old check, copies its result, or submits automatically. If the original check has since recovered, no action is returned, or owner acceptance is `accepting`/`accepted`, preserve/query the old candidate instead. A new candidate receives its own normal checks; the old candidate remains readable by its original server key.
|
|
246
|
+
|
|
247
|
+
For an existing project, `chrona project-source-download --session-directory PRIVATE_DIR --project-id PROJECT_ID --workspace ABSOLUTE_DIR --name NEW_NAME` (MCP `download_creator_project_source`) pins current main and reads its authenticated 512 KiB chunks. The Kit verifies the exact server files, ZIP and **original** toolchain hash. Registered stable source tools from 1.3.0 through the installed version can adapt Creator metadata when their SDK declarations are supported; numeric ranges alone do not authorize unknown tools. The historical compiler/contract inventory digest need not equal the current inventory: the unchanged content must instead pass the current package validation before download/update returns a usable project. This does not grant Runtime execution, preview, owner acceptance or publication. The result reports `compatibility.sourceToolchain` separately from `compatibility.localToolchain`, and the ignored base record retains the original remote toolchain hash. A new independent, uncommitted directory receives current local tool metadata without changing content, licenses, contentVersion or owner main. The owner need not upgrade, upload or republish merely to enable this read. Unknown/altered identities, unsupported prereleases, older-than-minimum, future or unsupported SDK declarations reject with specific migration guidance; membership, expiry and archive integrity remain enforced. Review and commit normally before `contribute`; candidate write remains separately scoped and rechecks current main.
|
|
248
|
+
|
|
249
|
+
When another contribution advances main, use `chrona project-source-update --session-directory PRIVATE_DIR --project-id PROJECT_ID --project EXISTING_DIR --workspace ABSOLUTE_DIR --name NEW_NAME`. A project downloaded by this Kit retains the verified old file inventory privately under ignored `build/`; for an older download with a completed candidate but no inventory, the command reads that candidate's immutable old-main file manifest through the authorized `source:read` endpoint. It then reads a new server-pinned main snapshot and compares old/main/local file bytes. If a contribution is pending, the original key is read first; a still-unknown result blocks the update. Different-file changes are copied into a **new** uncommitted project, leaving the original, its uncommitted edits and old candidate key untouched. The author reviews and commits the new project, then uses normal `contribute` with the new base; the server creates a new candidate and reruns its checks. Same-file changes return `SOURCE_UPDATE_CONFLICT` with bounded `conflictPaths`, with no output directory or automatic overwrite. An old project without a local base or a completed candidate returns `SOURCE_UPDATE_BASE_UNAVAILABLE`; no arbitrary commit is accepted as a substitute. This path does not accept a stale check as passed, create a candidate, or publish.
|
|
250
|
+
|
|
251
|
+
### Continue a work from an earlier fixed toolchain
|
|
252
|
+
|
|
253
|
+
`chrona upgrade` plans against the actual installed package/tool/contracts
|
|
254
|
+
identity and its registered historical-source compatibility rules. Read the
|
|
255
|
+
returned plan; neither a numeric version range nor a documentation list grants
|
|
256
|
+
compatibility. Historical identities and SDK mappings remain protected in the
|
|
257
|
+
original resolver. Content must pass the destination static contract; a metadata
|
|
258
|
+
upgrade does not prove Runtime or platform eligibility. Earlier archives do not
|
|
259
|
+
gain newer migration rules automatically. Do not overwrite an old archive or
|
|
260
|
+
install latest merely to bypass a source/toolchain mismatch.
|
|
261
|
+
|
|
262
|
+
The Testing review snapshot uses explicit source-declaration acceptance and technical
|
|
263
|
+
inspection results, not independent copyright clearance or general image moderation.
|
|
264
|
+
It does not authorize a creator to issue reviews. New tool and scene contract hashes
|
|
265
|
+
require a matching runtime and installed platform toolchain; an existing catalog entry
|
|
266
|
+
is not proof of compatibility. Do not replace runtime pins or claim publication to
|
|
267
|
+
work around `RUNTIME_CONTENT_INCOMPATIBLE` or platform preflight rejection.
|
|
268
|
+
|
|
269
|
+
Preserve the original repository, content and platform project. Run the new fixed
|
|
270
|
+
tool from its own installation, not the old project's npm script:
|
|
271
|
+
|
|
272
|
+
```sh
|
|
273
|
+
chrona upgrade --project /existing/projects/my-work
|
|
274
|
+
chrona upgrade --project /existing/projects/my-work --apply true --expected-head FULL_SHA_FROM_PLAN
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
The first command is read-only. Apply requires that exact clean Git HEAD and
|
|
278
|
+
recognized generated metadata; dirty files, staged changes, unknown tool hashes,
|
|
279
|
+
changed SDK mappings/guides and existing npm dependency locks reject without
|
|
280
|
+
overwriting the work. Commit or preserve intentional creator changes first;
|
|
281
|
+
never reset them to pass this check. Existing dependency locks need a separately
|
|
282
|
+
reviewed migration, not deletion as an automatic repair.
|
|
283
|
+
|
|
284
|
+
The scene-provenance candidate changes the fixed Kit snapshot hash. Use the
|
|
285
|
+
original upgrade plan/apply path before preparing an existing project with this
|
|
286
|
+
candidate. It does not change content or invent a previous review. Runtime
|
|
287
|
+
catalog compatibility and platform preflight must match the new tool identity;
|
|
288
|
+
the previous installed package and runtime are not silently treated as compatible.
|
|
289
|
+
|
|
290
|
+
During normal Testing AI/code creation, create and build/dev/test preparation
|
|
291
|
+
maintain creator-attributed provenance automatically, including streamed visual
|
|
292
|
+
models and collision proxies with their exact stored bytes. Inspect/validate do
|
|
293
|
+
not write. Preserve explicit third-party and platform-controlled source terms.
|
|
294
|
+
Submit also prepares before source freeze: `SOURCE_PROVENANCE_UPDATED` means
|
|
295
|
+
nothing was uploaded; the Agent reviews and commits the generated content through
|
|
296
|
+
the normal Git harness and retries. Do not add a declaration command or repeated
|
|
297
|
+
per-resource questionnaire. Pending upload recovery never rewrites its source.
|
|
298
|
+
Defaults express the creator's Testing responsibility, not independent copyright
|
|
299
|
+
review, Production permission, or permission to use controlled materials.
|
|
300
|
+
|
|
301
|
+
Only `chrona.project.json`'s Kit version, `chrona.toolchain.json` and the fixed
|
|
302
|
+
`package.json` dependency change. The local project ID, content ID/version,
|
|
303
|
+
source provenance, content bytes and Git history stay intact. There is no remote
|
|
304
|
+
project creation, automatic Git commit, npm installation, source grant or upload.
|
|
305
|
+
Review and commit those three platform-produced changes using the normal Git
|
|
306
|
+
harness. Existing local dependencies are not upgraded: explicitly install the
|
|
307
|
+
same approved archive with `--ignore-scripts --no-save --package-lock=false`
|
|
308
|
+
before invoking the project's npm scripts. The external fixed binary can inspect
|
|
309
|
+
and validate without that project-local install.
|
|
310
|
+
|
|
311
|
+
Build a new local snapshot with the target tool before dev/test; never relabel an
|
|
312
|
+
old snapshot or carry its evidence to the new tool. Capability locks and effective
|
|
313
|
+
policies are regenerated by the original builder, not copied into content. No
|
|
314
|
+
asset regeneration is required merely by this migration. Use the existing remote
|
|
315
|
+
project and original source submit/status path after real session and membership
|
|
316
|
+
checks; a successful upgrade is not an accepted or playable platform submission.
|
|
317
|
+
|
|
318
|
+
Ordinary write failures restore original metadata. The operation keeps a recovery
|
|
319
|
+
record under the repository's `.git/chrona-kit-upgrade`, not in submission content.
|
|
320
|
+
An interrupted owner blocks another upgrade. After verifying the owner has exited,
|
|
321
|
+
stop other editing and run `chrona upgrade --project DIR --recover true`. Recovery
|
|
322
|
+
checks the original commit and each old/new file before restoring, and refuses
|
|
323
|
+
live owners, new commits, forged records or concurrent edits. Preserve conflict
|
|
324
|
+
records for operator inspection; never delete them to force an upgrade. This is
|
|
325
|
+
an advisory transaction, not protection against a hostile concurrent OS user or
|
|
326
|
+
a guarantee of power-loss durability. No automatic recovery or process killing
|
|
327
|
+
occurs. After recovery the original fixed tool applies again; after a successful
|
|
328
|
+
upgrade the exact target tool applies. This does not add legacy runtime support.
|
|
329
|
+
|
|
330
|
+
The commands below are for the AI Harness or installation helper, not daily copy-and-paste instructions for the player. The player supplies a creative brief and chooses a project or material by name. Read actual returned IDs and once-configured authorized paths/runtime bindings as described in [Harness onboarding](harness-onboarding.md); do not ask the player to manufacture hashes or runtime IDs. Historical 0.2.13 has no automatic material catalog or runtime selection command. `chrona` means the installed binary; from the tools directory use the `npm exec --offline -- chrona` prefix shown above.
|
|
331
|
+
|
|
332
|
+
1. Prefer the configured MCP `get_creator_authorization` → `begin_creator_authorization` → browser approval → `complete_creator_authorization`. If only the CLI is configured, run `login`, approve its returned authorization URL with the selected platform account, then run `login-complete`. Browser login and terminal authorization are separate sessions; do not start another login when the configured authorization is already valid.
|
|
333
|
+
2. Run `remote-create` once for a new platform project, or use an existing project where you have the required membership. Save its `projectId` and `project.projectUrl`. This step precedes City download because source eligibility is checked against that project; it does not create a Git remote or grant source entitlement.
|
|
334
|
+
3. Call `list_creator_materials` with the platform project ID returned by step 2. Show the returned display name and version; after the user's selection, call `create_from_creator_material` with that package ID and the new local project name/content ID. The tools obtain hashes and download paths through the authorized catalog and original downloader. An empty list requires a platform material grant. City remains reusable content outside npm; author or modify it according to the brief. Generic `create` makes a static starter.
|
|
335
|
+
4. Modify `content/**`, run `validate`, repair failures, and make a real Git commit using your normal Git tools. Keep the submitted project clean; do not edit platform-managed locks or toolchain files.
|
|
336
|
+
5. Use `dev` and `test` without `--runtime-id` to select the unique compatible catalog runtime for the machine and content. A new package version or refreshed content locks need matching identities in both the runtime manifest and the packaged host's content-contract lock. Until a matching package is available, selection rejects and a new tool's static build is not a successful dev/test run.
|
|
337
|
+
6. Submit that fixed commit to the selected platform project; omit head/key and let this candidate manage the verified operation. Keep the returned `submissionParameters` and local association for unchanged retries. Run `status` with its returned job ID. Open `job.jobUrl` from `submit`, or `result.jobUrl` from `status`, in the platform browser session. To open the project instead, use the accompanying `projectUrl`; project-only `status` also returns it.
|
|
338
|
+
7. Request `preview` for the job and inspect `preview-status` or its Studio page. Enter only when the platform reports a ready preview and supplies its authorized entry. Queued or validated alone is not playable.
|
|
339
|
+
8. On explicit user intent, use `publish --channel testing` to request platform publication. For `executionMode: automatic-testing`, `release-status` reads actual review/build/publication/runtime progress. Keep the returned request ID and Studio job link. A successful request is not a successful release; only `ready` with verified World/deployment/content binding reports `playable: true`. An `independent-review` record is read-only history, not an automatic workflow.
|
|
340
|
+
|
|
341
|
+
This sequence documents the implemented command boundaries, not a passed end-to-end Testing or multiplayer acceptance. See the sections below for exact arguments and current availability limits.
|
|
342
|
+
|
|
343
|
+
## Local scene build and runtime
|
|
344
|
+
|
|
345
|
+
For a local creator platform use the separately registered runtime origin with
|
|
346
|
+
`--runtime-source local --runtime-origin ORIGIN --allow-local-http true` on the
|
|
347
|
+
original explicit `init` and CLI `dev/test` entries. The MCP retains these options
|
|
348
|
+
and includes them in its CLI instructions. Local initialization without a runtime
|
|
349
|
+
origin must report the missing source, not silently download from Testing. The
|
|
350
|
+
package's fixed identities/bytes stay authoritative; this is not an arbitrary CDN
|
|
351
|
+
or catalog override. `--runtime-source catalog` explicitly selects the packaged
|
|
352
|
+
official source, and `--offline true` only reuses verified cache. See
|
|
353
|
+
[runtime-download.md](runtime-download.md#explicit-local-distribution-same-pinned-runtime-bytes)
|
|
354
|
+
for syntax, errors and the still-required distribution/Host acceptance.
|
|
355
|
+
|
|
356
|
+
In this source candidate, `dev/test` may omit `--runtime-id`. The original pinned downloader fetches only the trusted catalog manifests first, verifies their bytes, and matches the actual OS/architecture/Node plus exact content tool/contracts. Exactly one match is required; no match returns RUNTIME_CONTENT_INCOMPATIBLE, multiple matches return RUNTIME_SELECTION_AMBIGUOUS, and unavailable or corrupt manifests fail without guessing. It then invokes the original installer and Host. Source snapshots are checked again before installation; changes during selection reject. This does not add compatibility to the existing runtime or upgrade any project. The earlier fixed0.2.13 still requires its explicit runtime selection.
|
|
357
|
+
|
|
358
|
+
```sh
|
|
359
|
+
chrona build --project /existing/projects/my-city --output-directory /existing/builds/new-snapshot
|
|
360
|
+
chrona dev --snapshot /existing/builds/new-snapshot --runtime-id PLATFORM_RUNTIME_ID --state-directory /private/chrona-runtime
|
|
361
|
+
chrona test --snapshot /existing/builds/new-snapshot --runtime-id PLATFORM_RUNTIME_ID --state-directory /private/chrona-runtime
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
`build` verifies the exact installed project pin and original bundled compiler before compiling. Its 77 source files retain the authoritative asset, bird envelope, full scene/collision/spawn, visual budget and style checks. It uses pinned esbuild and glTF validation, not a project script or native import of creator JavaScript. The compiler source and contracts are bound by `local-builder.snapshot.lock.json`, included in new project toolchain identities. Only the original scoped compiler closure is bundled; no room server, Gameplay host, approval service or full City asset is in npm.
|
|
365
|
+
|
|
366
|
+
Choose a new output directory outside both project and Kit, with an existing canonical parent. Successful output is the original LocalContentSnapshot: exact source/file hashes, compiled shared/client text, Manifest, locks, policies, reports and localBuildId. It has no formal review or buildId and cannot be published as an approved artifact. A generic template without worldScene and scenePresentation remains statically valid but is refused as a playable scene; create from the authorized complete City source package for that path. Existing snapshots are immutable and not overwritten. Ordinary build failures remove their own staging; force-kill/power-loss cleanup is not guaranteed. Static compilation and asset inspection are bounded but do not offer immediate signal cancellation.
|
|
367
|
+
|
|
368
|
+
`dev/test --project DIR --output-directory NEW_DIR --runtime-id ID --state-directory PRIVATE_DIR` first selects a platform catalog entry, builds the project and then checks exact content compatibility before installation. It cannot be combined with --snapshot. There is no implicit use of latest, creator runtime URLs or project build hooks. Unknown runtime IDs fail with RUNTIME_NOT_TRUSTED; incompatible content fails with RUNTIME_CONTENT_INCOMPATIBLE. The local builder is usable independently. Management tests are not a City play test. Foreground lifecycle, cleanup and status meanings are specified in [runtime-download.md](runtime-download.md).
|
|
369
|
+
|
|
370
|
+
## Terminal authorization and source submission
|
|
371
|
+
|
|
372
|
+
This candidate uses the same first-authorization defaults for CLI login and MCP:
|
|
373
|
+
`projects:read`, `projects:create`, `source:read`, `submissions:write`,
|
|
374
|
+
`preview:enter`, and `releases:request`. These are requests for browser approval,
|
|
375
|
+
not granted permissions. CLI `--scopes` may explicitly request a smaller set.
|
|
376
|
+
Existing pending or authorized sessions are not widened, replaced or revoked.
|
|
377
|
+
Older archives retain their own defaults; the package version alone does not
|
|
378
|
+
identify which fixed archive is installed.
|
|
379
|
+
|
|
380
|
+
The source candidate also supports first-time MCP authorization without a preexisting session: add `--platform https://your-platform.example --session-directory /private/creator-sessions/current` to the original `init` command. This fixes the Origin and private session location during explicit setup; it does not log in or create credentials. The AI can then use `get_creator_authorization`, `begin_creator_authorization`, `complete_creator_authorization` and `cancel_creator_authorization`, all without caller-selected paths, URLs or scopes. The user approves in the normal browser before completion. These tools are not in fixed 0.2.13. Existing registrations are never silently replaced; expired or uncertain sessions require explicit renewal handling. See the [first-time conversation flow](harness-onboarding.md#first-time-conversation-authorization). Authorized material discovery remains a separate platform dependency.
|
|
381
|
+
|
|
382
|
+
Use an explicitly selected HTTPS platform Origin with the creator API enabled. Authentication and source reception need the corresponding control-plane deployment; these commands do not migrate or configure the server. The session directory must be a new absolute path outside every Git repository, with an existing non-linked parent. The CLI creates it with mode 0700 and stores proof/token in a mode-0600 file. It never prints either value or sends a terminal token to a browser.
|
|
383
|
+
|
|
384
|
+
```sh
|
|
385
|
+
chrona login --platform https://your-platform.example --session-directory /private/creator-sessions/current
|
|
386
|
+
chrona login-complete --session-directory /private/creator-sessions/current
|
|
387
|
+
chrona remote-create --session-directory /private/creator-sessions/current --name MyCity
|
|
388
|
+
chrona preflight --session-directory /private/creator-sessions/current --project-id PLATFORM_PROJECT_ID
|
|
389
|
+
chrona submit --session-directory /private/creator-sessions/current --project /existing/projects/my-city --project-id PLATFORM_PROJECT_ID
|
|
390
|
+
chrona status --session-directory /private/creator-sessions/current --project-id PLATFORM_PROJECT_ID --job-id JOB_ID
|
|
391
|
+
chrona logout --session-directory /private/creator-sessions/current
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
After `login`, open the returned authorization URL and explicitly approve the scopes in the platform site. Run `login-complete` afterwards; pending is distinct from denied, expired or consumed. Requests less than two seconds apart are refused locally. A lost exchange response becomes uncertain: do not repeat the one-time redemption; cancel the session and create a new one. `auth-status` reads only redacted local state, not live membership. `logout` revokes through the backend before removing the local token; network failure must not report success. No refresh or automatic reauthorization is performed. Local HTTP is permitted only for explicit `--allow-local-http true` and a numeric loopback Origin.
|
|
395
|
+
|
|
396
|
+
Before `submit`, use the user's Git harness to commit intended project changes. Submission requires the exact pinned Kit, a valid public-untrusted manifest and a clean fixed commit. The tool streams the regular `content/**` Git blobs into one deterministic ZIP STORE archive; project hooks, clean filters, install scripts and creator code are never executed. The archive is uploaded in bounded 512KiB chunks, then submitted with the original file inventory. The platform must validate and unpack it before the original source transaction. Interrupted uploads resume from the same archive's server-checked position. This requires the matching source-archives API; it never falls back to per-file blob requests. By default the tool preserves the same key/head for an unchanged retry and records the returned serverCommitSha for the next commit. When explicitly supplying advanced parameters, never substitute the client commit for the platform head; `none` is only for the initial confirmed empty project.
|
|
397
|
+
|
|
398
|
+
When omitted, the submission key binds the authorized Origin, platform project,
|
|
399
|
+
local project identity, exact client commit, source inventory, toolchain and
|
|
400
|
+
expected platform head. Unchanged CLI/MCP retries derive the same key without
|
|
401
|
+
writing credentials or retry state into content. Explicit keys remain supported.
|
|
402
|
+
Do not change expectedHead when retrying a lost reply; changing the source or
|
|
403
|
+
target describes a different request. On first use, select the verified existing project;
|
|
404
|
+
the tool reads its current head rather than assuming it is empty. Thereafter `chrona submit --project DIR --session-directory DIR`
|
|
405
|
+
can use the local operation record; MCP only needs the project name.
|
|
406
|
+
|
|
407
|
+
The platform-managed `build/creator-upload.json` records the selected Origin and
|
|
408
|
+
project, the last verified receipt and a bounded pending operation. It contains
|
|
409
|
+
no credentials or absolute paths, remains outside uploaded content and moves
|
|
410
|
+
with the project directory. A new commit uses the last verified server commit;
|
|
411
|
+
an unchanged retry keeps the old expected head/key even after the server advanced.
|
|
412
|
+
An unresolved submission cannot be replaced by another commit or parameters.
|
|
413
|
+
Preparation interrupted before submitting may be replaced after normal repair.
|
|
414
|
+
|
|
415
|
+
Submission reads the live platform `preflight` before any archive upload. It compares the exact project toolchain and resolved capability versions, without rewriting either lock or requesting extra permissions. `CREATOR_PLATFORM_TOOLCHAIN_MISMATCH` requires a supported explicit upgrade or matching platform installation; `CREATOR_PLATFORM_CAPABILITY_UNSUPPORTED` preserves the missing capability rather than weakening content. Uninvited creators may still read preflight and upload; `releaseEligibility: false` is not a publishing grant. Missing/expired preflight fails closed.
|
|
416
|
+
|
|
417
|
+
If the local upload record is missing, submit discovers the same stable work through all terminal pages (or uses its project-scoped authorization). A unique match is rechecked through `/source`, and an identical committed submission is recovered from its exact job receipt after a second head check. It does not reupload that work. A different new commit uses the checked current server head. An existing pending/completed record retains its original CAS instead; conflicts are never silently advanced. `source-status` / `get_creator_source_state` expose the bounded association for inspection. Multiple matches require explicit selection from returned project links. Discovery is bounded to128pages of20; overflow is a failure, not a truncated complete result. This requires the platform's terminal discovery HTTP deployment; older installed archives do not acquire it automatically.
|
|
418
|
+
Definite server conflicts never trigger a silent head reset or automatic retry.
|
|
419
|
+
|
|
420
|
+
Ctrl+C or SIGTERM cancels the local request, releases local locks, and preserves
|
|
421
|
+
the recovery record. It does not prove that the server rolled back a submission;
|
|
422
|
+
retry unchanged content to resolve a lost reply. Do not edit, commit, or delete
|
|
423
|
+
this record to bypass a conflict. A process crash or SIGKILL
|
|
424
|
+
may leave `build/creator-upload.lock`; confirm the owning process has stopped
|
|
425
|
+
before explicit recovery. Unsafe links, malformed records, cross-Origin/project
|
|
426
|
+
reuse and concurrent uploads are rejected. The record is a local recovery cache,
|
|
427
|
+
not membership or publication authority. If build output was removed, first use
|
|
428
|
+
must recover the real project/head through the deployed discovery and source APIs.
|
|
429
|
+
Never guess an empty head for an existing project. Temporary `build/creator-archive-*`
|
|
430
|
+
directories are removed after normal completion or cancellation. A forced process
|
|
431
|
+
termination may leave one; confirm its owner is stopped before removing it. Retry
|
|
432
|
+
regenerates the same archive from the fixed commit and resumes the remote bytes,
|
|
433
|
+
without trusting an old local ZIP or changing the recovery record.
|
|
434
|
+
|
|
435
|
+
The result remains the backend's queued job with independent client/server commits. It is not review approval, member-preview readiness or formal publication. No remote is created or pushed. The CLI rejects capability/lock overrides and secret-file paths; creators remain responsible for not embedding secrets in ordinary source. Session directories are deliberately forbidden inside repositories.
|
|
436
|
+
|
|
437
|
+
`remote-create` returns `project.projectUrl`; project-only `status` returns `result.projectUrl`. `submit` returns `job.projectUrl` and `job.jobUrl`; job `status` returns the same fields under `result`. They use the already authorized session's platform Origin and the verified response IDs: `/studio/:projectId` and `/studio/:projectId/jobs/:jobId`. Unknown or mismatched IDs are refused. No extra URL option or server-provided link can replace that Origin, and no credential or token is added to the links. Opening Studio still requires the browser's own account session and current membership; the link itself grants no access.
|
|
438
|
+
|
|
439
|
+
## Private preview and release requests
|
|
440
|
+
|
|
441
|
+
```sh
|
|
442
|
+
chrona preview --session-directory /private/creator-session --project-id PROJECT --job-id JOB --idempotency-key preview-attempt-1
|
|
443
|
+
chrona preview --session-directory /private/creator-session --project-id PROJECT --job-id JOB --idempotency-key manual-attempt-1 --lifetime-seconds 4500
|
|
444
|
+
chrona preview-status --session-directory /private/creator-session --project-id PROJECT --job-id JOB
|
|
445
|
+
chrona preview-cancel --session-directory /private/creator-session --project-id PROJECT --job-id JOB --preview-id PREVIEW
|
|
446
|
+
chrona publish --session-directory /private/creator-session --project-id PROJECT --job-id JOB --channel testing --idempotency-key release-attempt-1
|
|
447
|
+
chrona release-status --session-directory /private/creator-session --project-id PROJECT --release-request-id RELEASE_REQUEST
|
|
448
|
+
chrona release-cancel --session-directory /private/creator-session --project-id PROJECT --release-request-id RELEASE_REQUEST
|
|
449
|
+
chrona release-retry --session-directory /private/creator-session --project-id PROJECT --release-request-id RELEASE_REQUEST --expected-progress-revision REVISION --idempotency-key retry-attempt-1
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
Preview retains its member-only contract. Publishing consumes the platform's automatic Testing API and its exact `executionMode`. Preview writes require owner/submissions:write; reads require preview:enter and current membership. Release writes require owner/releases:request and current invitation; reads require projects:read. Request these scopes explicitly during login if needed; existing credentials are not upgraded. A terminal grant never substitutes for project membership.
|
|
453
|
+
|
|
454
|
+
`preview` requests a private preview; queued/PREVIEW_RUNNER_PENDING or validated/PREVIEW_HOST_PENDING is not a playable URL. Cancellation names an exact generation. Expired/revoked qualifications require a new explicit request, not automatic renewal. Publishing only supports Testing; no caller-supplied source replacement, policy, budget, reviewer or build is allowed. Unknown future states fail closed.
|
|
455
|
+
|
|
456
|
+
Technical previews optionally accept an integer `--lifetime-seconds` (MCP `lifetimeSeconds`) from 900 to 4500. Omission sends no new field and keeps the platform's 900-second default; null, fractions and out-of-range values reject before any request. 4500 seconds supplies up to 15 minutes of preparation plus a 60-minute manual window, but actual Host, browser and ordinary identity deadlines must still be paired. This is not a grant, automatic renewal, installed-platform proof or a change to candidate-check lifetimes.
|
|
457
|
+
|
|
458
|
+
CLI and MCP persist the exact key, optional lifetime, Origin/project/job and acknowledged preview ID in private `preview-request-<digest>.json` records under the original session lock (owner-only files; bounded to 128 records). Changed lifetime or omission under the same key rejects. An acknowledged replay only reads the current preview and checks its original ID; it never renews the qualification. Transport/response uncertainty keeps the original intent and blocks same-job POSTs with either the original or a replacement key. Preserve these files even when authorization expires; a new authorization directory does not resolve an old unknown operation. `preview-status` remains a read-only current-job observation: its seven-field API response contains no request key, so it cannot prove that an unknown POST was recovered. No automatic retry, defaulting to 900, fabricated by-key lookup or cleanup of unresolved history is performed.
|
|
459
|
+
|
|
460
|
+
### Automatic publishing progress and historical review
|
|
461
|
+
|
|
462
|
+
For `automatic-testing`, CLI `release-status` and MCP `get_creator_release_request` return the same current state, stage, stable reason, timestamps, attempt and progressRevision as the platform. No guessed percentages are supplied. `queued`/`building`/`publishing`/`provisioning` are not ready. `reconciling` means an external result is unknown, not a retryable failure. Read serially; transient HTTP errors do not turn the workflow into failed. `TESTING_RELEASE_NOT_AUTHORIZED` requires a current invitation; `RELEASE_STORE_UNAVAILABLE` requires a later status read, not a new publication.
|
|
463
|
+
|
|
464
|
+
`release-cancel` and `release-retry` (MCP `cancel_creator_release_request` / `retry_creator_release_request`) first read current allowedActions and use expectedProgressRevision. When omitted the tool supplies that read revision. Do not change an explicit revision after an uncertain write. Read status to determine what happened; replaying the exact retry key and old revision asks the server for the original result, not permission for a new attempt. An unrecognized key with a stale revision must be rejected by the server. A new retry needs an explicit key and an allowed retryable failure; it retains the immutable source and advances attempt. Cancellation returns `cancelling` until actual cleanup completes; it is not unpublishing. Current authority is rechecked by the server at mutation time.
|
|
465
|
+
|
|
466
|
+
Verified recovery is accepted only for `automatic-testing` in `failed` state, with `recoveryAvailable: true`, a positive `recoveryGrantRevision`, and explicit `retry` in `allowedActions`. The stage must remain a valid progress value, but the tool does not decide recovery eligibility from an internal stage allowlist. Cancelled or playable requests cannot advertise this recovery. Failure alone never authorizes a retry; the server alone checks current authority, stopped-execution and compensation evidence, and the original artifact before offering or executing recovery. A status read does not create stopped-execution evidence. Recovery preserves the original source and historical grant binding; `reconciling` or unknown outcomes never authorize a new attempt.
|
|
467
|
+
|
|
468
|
+
Historical `independent-review` responses are explicitly read-only. Their pending-review value does not describe later reviewed builds. The separate historical build/publication endpoints remain browser-member-only; this CLI does not call them with terminal credentials or expose the internal runner. Never copy Runner credentials, review keys or decisions into a creator project. This new consumer requires a matching API deployment; existing installed archives do not acquire these features without a new fixed tool package.
|
|
469
|
+
|
|
470
|
+
## Explicit Harness registration
|
|
471
|
+
|
|
472
|
+
For the platform's schema3 release, prefer the persistent `init --release-url` flow in [Harness onboarding](harness-onboarding.md). It selects stable defaults and can register authorization before login. The following explicit-config mode is for an already chosen installation/configuration; do not repeat it after successful initialization.
|
|
473
|
+
|
|
474
|
+
```sh
|
|
475
|
+
npm exec --offline -- chrona init --config /existing/harness/mcp.json --format json --workspace /existing/creator/projects
|
|
476
|
+
npm exec --offline -- chrona init --config /existing/harness/config.toml --format codex --workspace /existing/creator/projects
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
Select the actual configuration file read by your Harness. JSON uses its `mcpServers` mapping; Codex uses `mcp_servers` as described in the [official MCP configuration documentation](https://learn.chatgpt.com/docs/extend/mcp?surface=cli). No home directory or account file is selected implicitly. The new server is `chrona-creator` and runs the exact installed binary with a fixed workspace root. Moving or removing that install requires an explicit configuration update.
|
|
480
|
+
|
|
481
|
+
The command preserves unrelated configuration, is a no-op for its identical registration, and refuses to replace a conflicting Chrona entry. TOML is parsed before and after appending without reformatting; inline root mappings that cannot be extended safely require explicit manual integration. Unsupported or linked files fail without printing their contents. New files are private. Restart/reload the Harness according to its own lifecycle; writing configuration does not prove a GUI has connected.
|
|
482
|
+
|
|
483
|
+
The bundled stdio MCP offers `list_ugc_projects`, `create_ugc_project`, `get_ugc_project`, `validate_candidate`, `list_capabilities`, and `get_capability`. Projects are restricted to direct, non-linked children of the configured workspace. It does not contain platform services, approval keys, remote credentials or creator execution privileges.
|
|
484
|
+
|
|
485
|
+
In explicit-config mode without `--platform`, adding `--session-directory /private/creator-session` requires that chosen session to be locally authorized and unexpired. To authorize after registration instead, explicitly pair `--platform` and `--session-directory`, or use the schema3 persistent flow. Both write only Origin/path, never proof/token. Server membership remains checked at each operation. Existing static-only or differently configured Chrona entries are preserved and reported as conflicts: review the selected configuration rather than silently replacing it. Default session location selection in persistent initialization is not authorization and does not approve scopes or alter account permissions.
|
|
486
|
+
|
|
487
|
+
## Assemble a controlled source package
|
|
488
|
+
|
|
489
|
+
```sh
|
|
490
|
+
chrona source-download --session-directory /private/creator-session --project-id PROJECT --manifest-hash sha256:PIN_FROM_TRUSTED_CATALOG --output-directory /private/authorized-source-package
|
|
491
|
+
chrona create my-city --content-id ugc.example.my-city --workspace /existing/projects --source-package /private/authorized-source-package --source-manifest-hash sha256:PIN_FROM_TRUSTED_CATALOG
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
`source-download` consumes creator API revision 7. Every invocation, including a completed cache hit, asks the server for the exact manifest using current credentials. Each 512KiB chunk is separately authenticated; membership and the independent package entitlement remain backend decisions. The final package is checked again before becoming usable. A local checkpoint never grants permission or creates an entitlement. Private source downloads are separate from the public runtime cache and do not return public asset URLs.
|
|
495
|
+
|
|
496
|
+
Use a new canonical absolute output path with an existing non-linked parent. Downloads create a private 0700 directory and 0600 regular files; unknown entries, links, broad permissions, concurrent/stale locks and changed identities fail without overwriting them. On network failure, rerun the same command with the same session/project/hash/output: the stored prefix is rehashed before resuming. One uncheckpointed trailing chunk may be discarded only after verifying that prefix. Completed archives are rehashed and decoded even on cache hits. Session replacement requires a new download directory; no credentials are saved in download state. Already downloaded bytes cannot be remotely recalled.
|
|
497
|
+
|
|
498
|
+
The transfer has a 15-minute overall deadline and a bounded timeout per request. Normal failures release only the operation's lock and keep verified partial bytes; malformed archives never create source-package.json. A crash may leave a lock or .state-next file: inspect the private directory and ensure no live download owns it before explicitly removing stale temporary state or selecting a new output directory. The tool does not automatically kill processes or delete unknown files. This is not a power-loss durability guarantee or an offline entitlement bypass. It accepts the original source format limits: 70MiB archive, 64MiB source and 5000 files; full archive verification can temporarily use several times the archive size in memory.
|
|
499
|
+
|
|
500
|
+
During `source-download`, Ctrl+C/SIGINT or SIGTERM cancels the operation, waits for its normal cleanup, emits a redacted cancellation failure and exits with code 1. Retry the same command to reauthorize and resume. Synchronous ZIP verification may delay signal handling; repeated forced termination, SIGKILL and power loss do not guarantee cleanup. Other CLI commands and other processes are not signalled by this handler.
|
|
501
|
+
|
|
502
|
+
The source directory contains the fixed source-package.json and source.zip supplied through an authorized channel. The hash must come from the trusted catalog/operator, not from untrusted creator input. The CLI verifies its own source contract snapshot, manifest and exact canonical archive, copies only content files and creates a new independent repository and current Kit metadata. It rewrites the previous content identifier in non-asset JSON/JS/Markdown/text declarations, including private component namespaces; asset bytes remain unchanged. The resulting content is statically revalidated. Failed creation removes only its newly created target; existing targets are preserved. No source install scripts or JavaScript run, no remote is created, and no commit is fabricated.
|
|
503
|
+
|
|
504
|
+
`chrona.source.json` records immutable provenance and remains platform-managed. It grants no download or runtime permission. Local import verifies bytes, not current server membership/entitlement: sourceAccessVerified is false. Backend-controlled downloads must separately enforce source:read, current membership and the package's exact eligibility requirement. This local assembly entry supports already authorized offline/internal materials; it does not supply an unauthenticated City downloader or permit public redistribution. Repair only content and make a real, visible change; the new source must still pass isolated tests and independent review before publication.
|
|
505
|
+
|
|
506
|
+
## Distribution boundary
|
|
507
|
+
|
|
508
|
+
The initial content is a static validation fixture, not the full City map. City remains full-city + bird + flight; its complete assets must be assembled from a separately authorized fixed source package and are not in this npm package. The public runtime is likewise a separately locked distribution, not embedded here. Package packing and clean installation are tested separately from future registry installation, full-city dev, remote preview, formal review and multiplayer acceptance.
|
|
509
|
+
|
|
510
|
+
## Runtime transport and member preview states
|
|
511
|
+
|
|
512
|
+
Public runtime bytes are downloaded separately from npm and City content. The installer and foreground `dev/test` lifecycle verify the catalog identity, archive hashes and bounded private caches before invoking the fixed runtime; see `runtime-download.md`. Current catalog entries use the deployed `/runtime-packages/` paths, not the artifact's disk prefix `public/`. A verified download or isolated declaration test is not proof of a rendered City session or platform multiplayer acceptance.
|
|
513
|
+
|
|
514
|
+
Member preview status accepts the platform's exact queued, running, validated, failed and cancelled states. `validated/PREVIEW_HOST_PENDING` means isolated validation finished but a host is not ready. No entry URL or formal approval is inferred from these states. Source, toolchain, test and execution failures remain distinct only when the platform reports the corresponding verified reason.
|
|
515
|
+
|
|
516
|
+
## MCP remote creator operations
|
|
517
|
+
|
|
518
|
+
Normally use the MCP registration produced by `init`. The explicit `chrona mcp --workspace /absolute/projects --session-directory /private/creator-session` mode requires an existing authorization; adding its configured `--platform` enables the conversational authorization flow before login. Session and Origin selection are startup configuration, not Agent tool arguments. Existing credentials are not upgraded; every operation reloads the private session and uses the platform's current membership and scope checks. No tool accepts a credential, platform Origin, reviewer identity, grant, budget or arbitrary local path.
|
|
519
|
+
|
|
520
|
+
Without session configuration the six local read/static-creation tools remain available. With a session directory, tools also provide authorized material discovery/assembly, platform project creation, source-state/preflight inspection, committed source submission, job status, preview request/status/cancellation and release request/status/cancellation/retry. With a configured platform Origin, the four conversation authorization tools are available before login. Inspect actual tool discovery rather than assuming an older archive has these additions. `submit_creator_source` resolves a named project within the configured workspace and uses the selected or saved remote association; omit head/key for normal tool-managed submission. Dirty content and links are refused by the same Git reader used by the CLI.
|
|
521
|
+
|
|
522
|
+
`create_remote_project` returns `result.projectUrl`; `submit_creator_source` returns `job.projectUrl` and `job.jobUrl`; `get_creator_job` returns both under `result`. These are the same trusted-session Studio links and unchanged backend job states as the CLI, not automatic publication or preview links.
|
|
523
|
+
|
|
524
|
+
`submit` emits JSON `source-upload-progress` records on stderr; stdout remains the final result. `phase` distinguishes `packing`, `uploading` and `finalizing`. `packedBytes/sourceBytes` count source preparation; `confirmedBytes/totalBytes` count archive bytes confirmed by the server, including resumed bytes. Reaching the archive total does not mean the source transaction or publication succeeded. An uncertain upload reply is not counted until a later status confirms it. A successful result includes `transport` timings, status/chunk request counts, sent archive payload bytes and the initial confirmed offset; sentBytes excludes HTTP/base64 overhead. MCP progress combines packed and confirmed bytes, reserves the final step for receipt completion and describes the phase in its message. Callers without a progress token still work. MCP cancellation is passed to the original uploader. Cancellation and authorization expiry preserve the saved submission parameters: authorize normally and retry the same committed project, without deleting `build/creator-upload.json` or inventing a new project/key. Permissions are never renewed automatically. Archive support requires a matching tool and server deployment; an older installed tool does not gain it from these instructions.
|
|
525
|
+
|
|
526
|
+
`request_creator_release_review` submits the user's explicit Testing publication request; the platform determines its execution mode and performs the review/build/publish steps, not the MCP process. Read `get_creator_release_request` for actual progress. `retry_creator_release_request` requires the original request, an explicit retry key and a platform-allowed retry; unknown results are read back, not replaced. Cancellation names an exact generation/request and is annotated as destructive; remote tools are marked open-world. The operator/Harness must obtain the user's permission for mutations. Logout revokes subsequent MCP use of the configured session without restarting the server. No native creator tests or fallback game host are exposed.
|
|
527
|
+
|
|
528
|
+
## World cover
|
|
529
|
+
|
|
530
|
+
The cover-capable contract candidate accepts optional `cover: {"resourceId":"world-cover"}`
|
|
531
|
+
in `content/manifest.json`. Reference one declared `texture` resource with
|
|
532
|
+
`profile: "web.texture@1"`, `mimeType: "image/png"`, a path under
|
|
533
|
+
`assets/runtime/`, and the exact file bytes and SHA-256. Include its source and
|
|
534
|
+
license in the existing provenance file. The image counts against the existing
|
|
535
|
+
asset budget. See [the cover contract](../contracts/ugc/v1/COVER.md).
|
|
536
|
+
|
|
537
|
+
Only static 8-bit non-interlaced PNG is supported initially: at most 2 MiB,
|
|
538
|
+
4096 per axis and 16,000,000 pixels. Local builds and platform builds decode the
|
|
539
|
+
image; declaring its dimensions or renaming another format does not qualify it.
|
|
540
|
+
Platform build reports bind the original image and decoded evidence to the
|
|
541
|
+
content identity. Changing a published cover requires a new content version and
|
|
542
|
+
the normal independent review and publication flow, not a creator URL.
|
|
543
|
+
|
|
544
|
+
This snapshot changes the content-tool identity. Use only a matching runtime
|
|
545
|
+
catalog entry; an older 0.2.14 runtime is not compatible merely because its
|
|
546
|
+
package version matches. Do not hand-edit a project lock or runtime identifier.
|
|
547
|
+
Until the matching runtime and catalog are delivered, cover-bearing local
|
|
548
|
+
preview is not released. The separately frozen short-init package is unchanged.
|
|
549
|
+
|
|
550
|
+
# Creation planning and existing HTML source preparation
|
|
551
|
+
|
|
552
|
+
Before extensive gameplay code or paid asset generation, run
|
|
553
|
+
`chrona creation-support --project DIR` (MCP: `assess_creation_support`).
|
|
554
|
+
The CLI and MCP use the same installed static validator and original local build
|
|
555
|
+
producer, without running creator code or opening a Host. A build-supported
|
|
556
|
+
result is **not playable**. Unobserved preview/public execution stays unknown;
|
|
557
|
+
Registry publication alone is not evidence of target support. The report
|
|
558
|
+
preserves actual producer rejection codes and does not remove required features.
|
|
559
|
+
Use `--probe-local-build false` for validation-only planning.
|
|
560
|
+
|
|
561
|
+
For an existing exported HTML directory, use the explicit, offline preparation:
|
|
562
|
+
|
|
563
|
+
```sh
|
|
564
|
+
chrona import-presentation --source ABSOLUTE_SOURCE --workspace ABSOLUTE_WORKSPACE --name NEW_NAME --bundle true
|
|
565
|
+
chrona import-presentation --source ABSOLUTE_SOURCE --workspace ABSOLUTE_WORKSPACE --name NEW_NAME --bundle true --apply true
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
The default is a read-only plan. Apply reserves a new directory, preserves all
|
|
569
|
+
original source bytes, checks the export inventory if present, and statically
|
|
570
|
+
bundles one local ES module entry using only the pinned directory/import map,
|
|
571
|
+
or externalizes a single classic script byte-for-byte without module conversion.
|
|
572
|
+
Its derived HTML references a fixed external script, not an inline executable
|
|
573
|
+
script. It never imports the author's modules into Node or starts an old server.
|
|
574
|
+
Sources containing links, escaping paths, credential-like files, remote module
|
|
575
|
+
imports or package dependencies are refused. External font/asset closure remains
|
|
576
|
+
explicitly unknown until fixed resources are available.
|
|
577
|
+
|
|
578
|
+
This first preparation slice returns `stage=source-prepared`,
|
|
579
|
+
`creatorProjectCreated=false`, `canSubmit=false`, `ready=false`.
|
|
580
|
+
It does **not** create a starter manifest as a substitute for the imported game,
|
|
581
|
+
invent a Document Profile approval, source entitlement, license or publication.
|
|
582
|
+
The common Document contract and bound Builder/Host input must complete the
|
|
583
|
+
normal project binding before upload/dev/preview can proceed. The original
|
|
584
|
+
directory is read-only and existing output directories are never overwritten.
|
|
585
|
+
|
|
586
|
+
MCP `prepare_presentation_source` prepares a new sibling from a named source
|
|
587
|
+
directory within the configured workspace, using the same inventory and bundler.
|
|
588
|
+
|
|
589
|
+
After the shared Document snapshot has been imported, explicit `--content-id`
|
|
590
|
+
and optional `--content-version` add the shared author source declaration at
|
|
591
|
+
`content/presentation/document.json`. The derived HTML and script are copied into
|
|
592
|
+
the content inventory; other original HTML/JS and credits stay editable source.
|
|
593
|
+
All declaration shape, MIME and budget rules use the installed shared Reader.
|
|
594
|
+
No final content hash, grant or effective budget is supplied by the author.
|
|
595
|
+
This remains source preparation: the normal manifest marker and outer Builder
|
|
596
|
+
binding must be installed before ordinary validation/upload or target execution.
|
|
597
|
+
|
|
598
|
+
For Three loaders, the optional editable template
|
|
599
|
+
`templates/document-presentation/assets.js` binds the existing LoadingManager to
|
|
600
|
+
the installed child SDK `assetUrl(contentRelativePath)`. Choose the declared
|
|
601
|
+
asset prefix; the HTML entry directory is not the resource root. Embedded GLB
|
|
602
|
+
image Blobs stay in their child realm. No network, renderer or actor is created.
|
|
603
|
+
Use its rejecting GLB helper instead of converting failure into null success.
|
|
604
|
+
After actual author boot completes, call `markBootComplete()`; call
|
|
605
|
+
`renderedFrame()` only after the original renderer renders. It requests ready
|
|
606
|
+
once, after resources/fonts and two frames, not on HTML/script onload.
|
|
607
|
+
The parent still owns Session readiness, inventory and lifecycle validation.
|
|
608
|
+
When the installed SDK provides `reportError`, caught loader/font failures report
|
|
609
|
+
`DOCUMENT_RESOURCE_UNAVAILABLE` once. Use `bootFailed()` for an explicit caught
|
|
610
|
+
boot failure (`DOCUMENT_AUTHOR_BOOT_FAILED`); no URL, stack or source is sent.
|
|
611
|
+
Three's embedded-image Blob/data paths remain native child-realm reads.
|
|
612
|
+
The editable `templates/document-presentation/authority.js` adapter consumes only
|
|
613
|
+
the existing parent-projected own Transform and private/event/action callbacks.
|
|
614
|
+
It forwards declared input and target intents to the original Session, not a
|
|
615
|
+
guest actor/pose or private write. Missing own baseline is explicit. Queued
|
|
616
|
+
actions, committed in-room effects and durable personal saves are distinct;
|
|
617
|
+
this adapter provides no persistence API or proof. Bind content-specific camera,
|
|
618
|
+
space, quest and target rules against the verified artifact before enabling them.
|
|
619
|
+
Unclosed external dependencies are reported before mounting. This does not
|
|
620
|
+
persist personal state, connect multiplayer or authorize target execution.
|
|
621
|
+
|
|
622
|
+
## Fixed supplemental resources (including original fonts)
|
|
623
|
+
|
|
624
|
+
Preserve the author's chosen font/style. An explicit resource recipe records
|
|
625
|
+
`schemaVersion: "1.0.0"`, `source: {repository, commit}` (40-hex fixed commit),
|
|
626
|
+
`files` and `rewrites`. Each file has a safe relative `path`, `mimeType`, exact
|
|
627
|
+
`bytes` and `sha256:` digest, plus either a credential-free HTTPS `url` or pinned
|
|
628
|
+
CSS `text`. Fonts also reference an included original `licensePath`. Source
|
|
629
|
+
references and licenses are preserved, not interpreted as a new rights grant.
|
|
630
|
+
CSS may only refer to inventoried relative files, with no external imports.
|
|
631
|
+
Each rewrite explicitly maps the original stylesheet HTTPS URL to its local CSS.
|
|
632
|
+
|
|
633
|
+
```sh
|
|
634
|
+
chrona prepare-presentation-resources --recipe FIXED_JSON --cache-directory PRIVATE_CACHE
|
|
635
|
+
chrona prepare-presentation-resources --recipe FIXED_JSON --cache-directory PRIVATE_CACHE --offline true
|
|
636
|
+
chrona import-presentation --source ABSOLUTE_SOURCE --workspace ABSOLUTE_WORKSPACE --name NEW_NAME --bundle true --content-id ugc.ID --resource-recipe FIXED_JSON --resource-cache PRIVATE_CACHE --apply true
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
Preparation reuses the original pinned download/cache Reader: no redirects,
|
|
640
|
+
credentials, unknown bytes or runtime networking. Import is offline and includes
|
|
641
|
+
the recipe, CSS, actual fonts and original license/source metadata in the source
|
|
642
|
+
inventory. Only derived HTML changes its exact stylesheet reference; original
|
|
643
|
+
HTML is retained. Runtime assets enter the same shared Document declaration.
|
|
644
|
+
The 16-file/16-MiB supplement budget does not increase the outer source budget.
|
|
645
|
+
Missing or differing resources fail explicitly; no fallback font is selected.
|
|
646
|
+
|
|
647
|
+
Subsequent CLI/MCP imports recognize `presentation-resources.json` in editable
|
|
648
|
+
source and reuse its verified bytes offline. When importing a previous prepared
|
|
649
|
+
source with `--content-id`, only its shared declaration's exact generated HTML
|
|
650
|
+
and script are regenerated into a new directory; modified generated files refuse
|
|
651
|
+
with `PRESENTATION_DERIVED_SOURCE_CHANGED` so author edits are not discarded.
|
|
652
|
+
This is fixed source assembly, not font rendering, target support or playability
|
|
653
|
+
evidence. Real child-frame font loading and original lifecycle must still pass.
|
|
654
|
+
|
|
655
|
+
## Reviewed content terrain conversion (engineering preparation)
|
|
656
|
+
|
|
657
|
+
The engineering conversion recipes below record reviewed source preparation,
|
|
658
|
+
not commands shipped by the installed npm Kit. Content-specific converters
|
|
659
|
+
remain in their fixed creator feature branch until separately reviewed for main;
|
|
660
|
+
do not assume every `tools/` recipe exists in the selected checkout. Normal
|
|
661
|
+
creators use the installed CLI/MCP and their ordinary editable project. These
|
|
662
|
+
historical conversion recipes are not prerequisites for upload or preview.
|
|
663
|
+
|
|
664
|
+
`node tools/convert-presentation-terrain.mjs --source REVIEWED_CONTENT_DIR
|
|
665
|
+
--contract-source CLEAN_FIXED_SERVICES --contract-sha SHA --output NEW_DIRECTORY`
|
|
666
|
+
plans the known reviewed scalar conversion; add `--apply true` to create the
|
|
667
|
+
two fixed height resources. It calls the original shared heightfield producer
|
|
668
|
+
and complete byte Reader, using the supplied fixed clean contract source.
|
|
669
|
+
Only a hash-registered scalar block is sampled offline, not author DOM/server
|
|
670
|
+
or an arbitrary callback selected by the caller. Neither sampler nor author JS
|
|
671
|
+
is put in a runtime height resource. The normal terrain data/ground declaration,
|
|
672
|
+
collision/portals, Creator binding and actual Node/Web still must be completed.
|
|
673
|
+
An existing output is not overwritten. This preparation is not a Kit release,
|
|
674
|
+
normal project upload, approval or playability result. It is not installed-user
|
|
675
|
+
CLI functionality; the conversion tool runs from its fixed engineering source.
|
|
676
|
+
|
|
677
|
+
`node tools/convert-presentation-spaces.mjs --source REVIEWED_CONTENT_DIR
|
|
678
|
+
--output NEW_JSON` measures the same reviewed source's static house/furniture
|
|
679
|
+
geometry from actual GLB POSITION bytes and original placement expressions.
|
|
680
|
+
Rigid child transforms are preserved; skinning, unknown expressions and source
|
|
681
|
+
drift are reported or refused, never replaced with guessed collider sizes.
|
|
682
|
+
Known homes retain the original sealed/not-a-home distinction. Main-village
|
|
683
|
+
portal fragments use each author's fixed doorway and return formula; they do
|
|
684
|
+
not capture arbitrary player poses or require a new return-anchor service.
|
|
685
|
+
Door-facing UI selection and current actor/space/epoch/occupancy/commit checks
|
|
686
|
+
remain necessary. Shared Ground/scene contract tests of fragments are not proof
|
|
687
|
+
that the complete author's ground source or actual Room is ready.
|
|
688
|
+
|
|
689
|
+
River samples retain the strict bridge breakpoints and report measured linear
|
|
690
|
+
approximation error, not a continuous bound. The previous-position bridge
|
|
691
|
+
condition, author river margin versus shared body clearance, remaining procedural
|
|
692
|
+
colliders and dynamic NPCs must be resolved before producing complete rules.
|
|
693
|
+
These source-data inventories are not effective proofs, Creator uploads or
|
|
694
|
+
permission grants. An existing output is never overwritten.
|
|
695
|
+
|
|
696
|
+
`node tools/prepare-presentation-rules.mjs --source REVIEWED_CONTENT_DIR
|
|
697
|
+
--terrain FIXED_TERRAIN_DIRECTORY --author-content AUTHOR_SOURCE_DIRECTORY
|
|
698
|
+
--output NEW_DIRECTORY` extends that reviewed source's procedural static
|
|
699
|
+
inventory and writes ordinary Ground2.1, scene-v2 and static entity declarations
|
|
700
|
+
in a new author-content directory. Use it with the original
|
|
701
|
+
`assemble-document-project.mjs` producer. It preserves source private component
|
|
702
|
+
fields and their budgets; `ecs.private` is not a registry invoke capability and
|
|
703
|
+
is removed from this adapter's erroneous request list, without changing Registry,
|
|
704
|
+
private-state authorization, event capability or runtime restrictions.
|
|
705
|
+
|
|
706
|
+
Shared Reader success proves declaration structure only. The preparation records
|
|
707
|
+
specific original river-margin and strict bridge/history counterexamples; the
|
|
708
|
+
bank draft is not a claim of behavioral equivalence. Dynamic committed NPC
|
|
709
|
+
mapping, full gameplay/authority projection and persistent save remain separate.
|
|
710
|
+
No fake ground approval is created. Runtime start or upload must not be inferred
|
|
711
|
+
from this source draft or the normal static validate result.
|
|
712
|
+
|
|
713
|
+
For bounded source-data comparison only, the same preparation supports
|
|
714
|
+
`--river-data-mode inward-compensated-draft`. Default output remains the original
|
|
715
|
+
`source-boundary-draft`; neither mode is an approval. The candidate moves each
|
|
716
|
+
bank segment toward water by the existing body clearance, without changing the
|
|
717
|
+
runtime padding, radii, height resources, movement or permissions. It creates a
|
|
718
|
+
new directory and keeps prior materials. A repaired point does not establish
|
|
719
|
+
joined boundary, endpoint, bridge, occupancy or swept-crossing equivalence;
|
|
720
|
+
retain those disagreements until the actual common consumer verifies them.
|
|
721
|
+
|
|
722
|
+
`--river-data-mode bridge-recut-compensated-draft` adds an explicit data-only
|
|
723
|
+
experiment: cut those compensated segments outside the original strict bridge
|
|
724
|
+
deck rectangle expanded by the existing body clearance. Caps no longer sit
|
|
725
|
+
inside that protected deck-center distance. It does not reduce padding or add a
|
|
726
|
+
rail/clamp. The widened bank openings remain unapproved: river-side occupancy,
|
|
727
|
+
restore/spawn exclusion, continuous boundary and current-or-previous bridge
|
|
728
|
+
projection/collision order still need the common contract and actual consumer.
|
|
729
|
+
Neither this candidate nor a locally repaired bridge path replaces prior rules.
|
|
730
|
+
|
|
731
|
+
Reviewed content action preparation can use the existing declarations and
|
|
732
|
+
transaction interfaces without adding a registry capability:
|
|
733
|
+
|
|
734
|
+
```sh
|
|
735
|
+
node tools/prepare-presentation-journey.mjs --source REVIEWED_PRESENTATION_DIR --author-content ORIGINAL_AUTHOR_CONTENT --output NEW_AUTHOR_DIRECTORY
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
This source recipe maps nine original house notes and two indoor seeds into
|
|
739
|
+
scene-v2 distance targets and per-player Journey state. Seed IDs retain the
|
|
740
|
+
original strings. Accepted authority receipts alone drive private ECS writes and
|
|
741
|
+
committed private events; rejected/duplicate/unknown actions do not advance them.
|
|
742
|
+
The editable Journey view consumes the parent SDK's own-user decoded projection,
|
|
743
|
+
not a write API or a persistence receipt. Logical target Y follows the room floor
|
|
744
|
+
to match original horizontal focus distance; rendered asset height is unchanged.
|
|
745
|
+
Distance-boundary equality follows the current shared policy and is not an
|
|
746
|
+
unverified claim of exact original strict-boundary equivalence.
|
|
747
|
+
|
|
748
|
+
Use the normal `assemble-document-project.mjs` producer for a fresh source
|
|
749
|
+
directory; retain existing projects. This slice does not hook the full original
|
|
750
|
+
Document UI, migrate all dialogue/quests/NPCs or provide persistent save. Native
|
|
751
|
+
transaction tests are not QuickJS, live-room or browser acceptance.
|
|
752
|
+
|
|
753
|
+
For the reviewed original five-heartseed data, add `--space-inventory FIXED_JSON
|
|
754
|
+
--terrain FIXED_TABLE_DIRECTORY` to the same preparation command. It verifies
|
|
755
|
+
the fixed house inventory, preserves original single-pass spawn displacement,
|
|
756
|
+
and samples target Y through the shared heightfield Reader. It safely regenerates
|
|
757
|
+
only unchanged recipe-owned entries into a new directory. Edited modules/targets
|
|
758
|
+
are refused, not overwritten. Other personal writers and persistent save remain
|
|
759
|
+
unconverted; this is not a full-story or playability claim.
|
|
760
|
+
|
|
761
|
+
The same fixed-source recipe now derives each primary note and indoor seed's
|
|
762
|
+
XZ from its own original `noteSpot` / `seedSpot` literal, rather than a manual
|
|
763
|
+
room-position table. With the reviewed room inventory, it also maps the three
|
|
764
|
+
static extra notes (junk tag, cap chime, root carving), retaining the original
|
|
765
|
+
titles, resource text and position formula. The converted common `readNote`
|
|
766
|
+
adapter opens a mapped note only after its own private commit; the original
|
|
767
|
+
facing/presentation selection stays in the content. Sealed-house, Heartwood,
|
|
768
|
+
Glade, NPC dialogue/side-quest writers and durable save remain explicitly
|
|
769
|
+
unconverted. Neither the position fix nor twelve static notes proves physical
|
|
770
|
+
reachability, full-story consistency, or a playable/approved target.
|
|
771
|
+
|
|
772
|
+
The original planting range is 4.2m. The current shared actor-distance maximum
|
|
773
|
+
is 4m, so the recipe reports `SCENE_ACTION_RADIUS_UNSUPPORTED` and keeps this
|
|
774
|
+
exact requested rule as pending source data. It neither clamps the range nor
|
|
775
|
+
substitutes room-member permission. Content planting rules are ready for the
|
|
776
|
+
ordinary accepted-action/private transaction path, but do not approve that
|
|
777
|
+
unsupported target. The normal assembler keeps recognized source-tool receipts
|
|
778
|
+
outside creator content; it preserves same-named ordinary author data.
|
|
779
|
+
|
|
780
|
+
The independent Document action-failure module is imported from a fixed clean
|
|
781
|
+
authority source with `sync-local-content.mjs --kind document-action-result`.
|
|
782
|
+
It keeps the seven-file Document contract lock unchanged. The view preparation
|
|
783
|
+
verifies its derived source receipt and includes the exact shared module in the
|
|
784
|
+
ordinary editable resource inventory; it does not define a second parser.
|
|
785
|
+
Only the parent-verified `INPUT_RATE_LIMITED` failure releases the matching
|
|
786
|
+
pending target. Unknown, late or unrelated failures do not clear a new intent.
|
|
787
|
+
This never supplies a success receipt, progress, event, persistence, or an
|
|
788
|
+
automatic retry. The parent still owns current instance/content/epoch binding.
|
|
789
|
+
|
|
790
|
+
For an independently fixed Builder export, use the original paired import:
|
|
791
|
+
|
|
792
|
+
```sh
|
|
793
|
+
node tools/sync-local-content.mjs --source FIXED_SERVICES --source-sha COMMIT --kind pipeline
|
|
794
|
+
node tools/sync-local-content.mjs --source FIXED_SERVICES --source-sha COMMIT --kind world-scene-runtime --compiler ORIGINAL_EXPORT --compiler-manifest-sha256 HEX
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
Pipeline-only import updates that Reader and its derived lock/verifier while
|
|
798
|
+
preserving unrelated Document, Ground, Registry and author-contract origins.
|
|
799
|
+
Their actual dependency bytes must still agree. The paired importer accepts the
|
|
800
|
+
reviewed Document/Ground source-closure additions, not arbitrary new compiler
|
|
801
|
+
paths or removals. Export digest, clean source commit, complete inventory,
|
|
802
|
+
per-file lengths/hashes, unchanged dependency/engine metadata and write-before
|
|
803
|
+
checks remain required. Failed new-file writes roll back owned new paths.
|
|
804
|
+
|
|
805
|
+
A successful local Builder observation is not a Runtime/Host observation.
|
|
806
|
+
The local-run input Reader accepts the explicit Document snapshot1.1 branch
|
|
807
|
+
through the verified compiler's shared validator. It checks the complete source,
|
|
808
|
+
artifact and resource bytes, spatial plans, document body, static qualification
|
|
809
|
+
and unchanged manifest before passing the original content identity to Runtime
|
|
810
|
+
selection and Host IPC. It does not run creator code, issue private grants or
|
|
811
|
+
assert Host support. Existing snapshot1.0 remains on its original path. Keep
|
|
812
|
+
build support, target execution and approval independent; do not overwrite old
|
|
813
|
+
project locks or relabel a development tool as an issued Kit.
|
|
814
|
+
|
|
815
|
+
The reviewed Journey presentation conversion uses
|
|
816
|
+
`node tools/prepare-presentation-journey-view.mjs --source REVIEWED_PRESENTATION --author-content PREPARED_ACTIONS --output NEW_SOURCE`.
|
|
817
|
+
Pass that editable source through normal `import-presentation --bundle true`,
|
|
818
|
+
then the original Document assembly/build. It maps only the prepared nine notes
|
|
819
|
+
and two indoor seeds: focus sends existing scene-action intent; original HUD and
|
|
820
|
+
seed removal consume committed own Journey events. Queued intent/ACK is not a
|
|
821
|
+
progress or save receipt. Other story actions, live Room delivery and durable
|
|
822
|
+
save remain separate, unverified work. No raw Session or private writer is added.
|
|
823
|
+
|
|
824
|
+
The reviewed Ground endpoint content converter is
|
|
825
|
+
`node tools/prepare-presentation-ground-endpoint.mjs --source REVIEWED_SCALARS --author-content EXISTING_ACTIONS --terrain FIXED_TABLES --contract-source FIXED_SERVICES --contract-sha COMMIT --output NEW_AUTHOR_CONTENT`.
|
|
826
|
+
It uses the shared 2.2 producer, original thirteen-point Hermite data and literal
|
|
827
|
+
width/strict bridge response, preserving ordinary bodies, tables and Portals.
|
|
828
|
+
This is source preparation, not an installed Builder/Room capability. The actual
|
|
829
|
+
2.2 Runtime feature, static-phase step bound and normal Creator validation must
|
|
830
|
+
be reported separately; no sampled curve proof silently authorizes execution.
|
|
831
|
+
|
|
832
|
+
The original `creator-materials` import accepts the explicit Ground endpoint
|
|
833
|
+
2.2 family and derives its separate lock; older fixed inventories without it
|
|
834
|
+
remain supported. Pair its authoritative package/scene Readers with the original
|
|
835
|
+
97-file compiler export through `world-scene-runtime` import. Unknown additions,
|
|
836
|
+
source drift, byte/hash mismatch and unreviewed compiler paths are still refused.
|
|
837
|
+
The endpoint lock is part of the generated project and installed tool identity.
|
|
838
|
+
Keep old source projects unchanged; bind a fresh normal engineering project or
|
|
839
|
+
use the supported upgrade path before asking the current tool to build it.
|
|
840
|
+
CLI/MCP build-supported remains distinct from Runtime execution or approval.
|
|
841
|
+
|
|
842
|
+
Use `node tools/sync-local-content.mjs --source FIXED_CLIENTS --source-sha COMMIT --kind host-ipc`
|
|
843
|
+
for the original IPC schema and its derived two-file source lock. This narrow
|
|
844
|
+
material importer preserves the protocol validator, checks existing target pins
|
|
845
|
+
and fixed source, and uses the original atomic apply/rollback. Importer tests
|
|
846
|
+
are material tests, not proof that a Document identity or Host is supported.
|
|
847
|
+
The actual fixed schema must pair builder1.1 with the exact three-key Document
|
|
848
|
+
tuple while retaining the old builder1.0/two-key path; never relabel a lock.
|
|
849
|
+
|
|
850
|
+
## Explicit scene metric source (development input)
|
|
851
|
+
|
|
852
|
+
The fixed `scene-interaction/v2` contract may support source `2.0.0` and `2.1.0`. Import the matched Creator material and compiler through the original `sync-local-content` stages; locks are derived, never edited. The `2.1.0` actor-distance declaration requires explicit `metric: xyz|xz` and `boundary: closed|open`; the technical radius range is not a permission grant. Old `2.0.0` keeps XYZ/closed/at-most-four-metre behavior. Portal controls remain XYZ/closed/at-most-four metres even in the new source.
|
|
853
|
+
|
|
854
|
+
The reviewed Journey recipe preserves its original planting position and declares XZ/open/4.2 metres; all former distance targets become explicit XYZ/closed without changing their values. It validates the generated source with the unique shared normalizer before writing. Accepted scene receipts alone still do not imply a committed or persisted journey. A new source/Builder snapshot is distinct from actual Room occupancy, reachability, browser operation or durable save.
|
|
855
|
+
|
|
856
|
+
## Reviewed personal-story source preparation (development input)
|
|
857
|
+
|
|
858
|
+
`node tools/prepare-presentation-personal-state.mjs --source <fixed presentation source> --author-content <prepared author rules> --contracts-source <clean fixed Services checkout> --contracts-sha <full commit> --output <new author rules directory>` preserves original content and uses the authority's `personal-state/v1/declaration.mjs` directly. It reads only pinned literals and source locations; it does not execute the author's DOM, server or dialogue callbacks. Existing output, prior declarations, changed model defaults, dirty or altered authority inventory refuse before writing.
|
|
859
|
+
|
|
860
|
+
The output contains `manifest.personalState={path:"rules/personal-state.json"}` and the exact shared four-key declaration. Integer `formatVersion` is independent of the Kit version. Thirteen original saved fields/defaults/write locations are mapped separately from save metadata, personal clock and authoritative body position. `stage/found/notes` are declared Node-origin; personal side quests are self-origin. Declared writer is not an SDK grant: neither author JSON nor manual codes can supply Node progress/pose, actor identity, or save confirmation. Wren's start-stage and unmapped notes remain explicit single-writer gaps until their approved producer/bridge is available. No union, automatic migration or new save API is created here.
|
|
861
|
+
|
|
862
|
+
The original `creator-materials` import now carries the finite five-file
|
|
863
|
+
`personal-state/v1` family and derives its snapshot lock from a fixed shared
|
|
864
|
+
source. Import the matched compiler via the original `world-scene-runtime`
|
|
865
|
+
stage. The project validator reads the actual bounded declaration bytes through
|
|
866
|
+
the shared parser: invalid UTF-8, duplicate keys/escaped aliases, wrong identity,
|
|
867
|
+
links and limits remain failures. New project toolchain pins and archive file
|
|
868
|
+
selection include the separate family lock. A valid marker/source and a static
|
|
869
|
+
Document snapshot report are not an ordinary Auth, self/Node writer, SDK bridge
|
|
870
|
+
or persistent-save permission. No-marker content keeps the old optional shape.
|
|
871
|
+
|
|
872
|
+
Use the existing document assembler with these authored rules and the unchanged prepared presentation/assets. Its operation-matched preparation receipt is retained outside content; the declaration participates in ordinary source inventory/hash. Current Kit/Compiler must consume the shared marker before the new source can be considered build-supported. A valid source declaration alone is not a Runtime launch, durable save or ordinary-user approval.
|
|
873
|
+
|
|
874
|
+
## Document author view and personal Promise consumers (development input)
|
|
875
|
+
|
|
876
|
+
The editable `space-projection` template consumes the parent's verified
|
|
877
|
+
`frame.groundSelf` for space and the same projected own `core:Transform` for
|
|
878
|
+
camera XYZ. Keep its actual Y, including the parent's supported prediction;
|
|
879
|
+
do not sample height again from rounded XZ. Portal actions use the declared
|
|
880
|
+
target IDs; accepted/committed receipts do not teleport a camera. Only a current
|
|
881
|
+
parent space projection changes the visual scene. Missing context freezes the
|
|
882
|
+
adapter, late asynchronous visual loads are generation-checked, and ordinary
|
|
883
|
+
typed refusals leave the author free to request another action.
|
|
884
|
+
|
|
885
|
+
The original material importer has an independent `personal-state-bridge`
|
|
886
|
+
kind. It imports the authority's exact module and derives its own source lock;
|
|
887
|
+
existing declaration and compiler identities remain unchanged. The editable
|
|
888
|
+
`personal-story` template calls the three approved Promise methods only. It
|
|
889
|
+
loads self-origin story/time before first frame, preserves incompatible data,
|
|
890
|
+
requires an explicit operation key and revision, and reads that same key after
|
|
891
|
+
unknown results. No automatic POST retry, Node-field write or local durability
|
|
892
|
+
implementation is supplied by this template. Pending metadata here is view-local;
|
|
893
|
+
restart retention and durable local storage belong to the trusted parent.
|
|
894
|
+
|
|
895
|
+
Reviewed content producers prepare new source directories, then the original
|
|
896
|
+
`import-presentation --bundle true`, document assembler and `build` consume them.
|
|
897
|
+
They never execute the original server or replace already issued snapshots.
|
|
898
|
+
The complete Node Journey/body writer and restore are separate: self story/time
|
|
899
|
+
confirmation must not be displayed as a complete gameplay save.
|
|
900
|
+
|
|
901
|
+
## Author-requested ground capacity (development input)
|
|
902
|
+
|
|
903
|
+
`rules/ground.json.requestedMaxPlayers` is the author's request, not the number
|
|
904
|
+
of clients chosen for a test. The shared 2.2 source supports integers 1..50 and
|
|
905
|
+
requires enough legal, spaced spawn points. The earlier reviewed two-spawn
|
|
906
|
+
conversion was an engineering default, not a product ceiling or a user choice.
|
|
907
|
+
|
|
908
|
+
`node tools/configure-ground-capacity.mjs --source <author content> --resources
|
|
909
|
+
<verified terrain> --output <new author content> --requested-max-players 50
|
|
910
|
+
--spawn-space <declared space>` preserves all other source files. It performs a
|
|
911
|
+
bounded candidate search near the original author entrance and validates each
|
|
912
|
+
candidate with the same shared normalizer. Insufficient placement refuses with
|
|
913
|
+
`GROUND_CAPACITY_SPAWN_PLACEMENT_REQUIRED`; it never reduces the requested count,
|
|
914
|
+
collision clearance or movement settings. The original assembler and Builder
|
|
915
|
+
produce the effective report from this new source. A report of 50 is not proof
|
|
916
|
+
of 50 concurrent users, capacity reservation, or runtime rejection of user 51.
|
|
917
|
+
|
|
918
|
+
## Explicit Node personal sources (development input)
|
|
919
|
+
|
|
920
|
+
The fixed personal-state/v1 Reader supports source declarations 1.0.0 and
|
|
921
|
+
1.1.0. New 1.1 namespaces declare exact `nodeSources` for their top-level
|
|
922
|
+
Node-origin fields; self-only namespaces use an empty object. The common
|
|
923
|
+
`preparePersonalStateNodePlan` checks player prefab, component scope/type,
|
|
924
|
+
current allowed components and unique field/body ownership. A source declaration
|
|
925
|
+
or a static authoring plan is not a Store or runtime permission.
|
|
926
|
+
|
|
927
|
+
Use `node tools/prepare-personal-node-source.mjs --author-content <old authored
|
|
928
|
+
rules> --output <new authored rules> --component-id <explicit author component>
|
|
929
|
+
--component-fields <comma-separated Node fields> --body-field <declared body
|
|
930
|
+
field>` to convert the approved ordinary source. No namespace names imply a
|
|
931
|
+
binding. Only the personal declaration changes; field definitions, writer
|
|
932
|
+
partition, all `formatVersion` values and visible body `{x,z,yaw}` remain exact.
|
|
933
|
+
The complete double-Y/space/rule/epoch basis is server-side, not author data.
|
|
934
|
+
|
|
935
|
+
Import the matching fixed material and Compiler source through the original
|
|
936
|
+
sync stages before assembling a fresh Creator project and building its snapshot.
|
|
937
|
+
The independently fixed three-method wire and its old source lock stay unchanged;
|
|
938
|
+
its standalone payload module does not depend on a historical declaration being
|
|
939
|
+
equal to today's declaration. Actual Host/Parent derives allowed components and
|
|
940
|
+
current identity; the authoring tool cannot supply that runtime grant. Node
|
|
941
|
+
capture, durable Store commit and startup hydration are separate evidence gates.
|
|
942
|
+
|
|
943
|
+
## Author peer draw observation (development input)
|
|
944
|
+
|
|
945
|
+
The editable `createProjectedPeerPresentation` helper consumes only the Parent's
|
|
946
|
+
current permitted Core/AOI projection. Optional `onRenderObservation` receives
|
|
947
|
+
public peer IDs, a local visual generation, verified own space, source tick and
|
|
948
|
+
render frame number. Call `beginRender()` immediately before the original render,
|
|
949
|
+
`markRendered(peer)` only from that current peer mesh's actual `onAfterRender`,
|
|
950
|
+
and `completeRender(token)` after the render returns. Missing draw callbacks yield
|
|
951
|
+
an empty list even when logical peers exist. Removal, space/source changes and
|
|
952
|
+
close invalidate old objects and observations; no Session or private peer data
|
|
953
|
+
is exposed.
|
|
954
|
+
|
|
955
|
+
The existing reviewed-source peer conversion tool installs these hooks without
|
|
956
|
+
changing `makeWisp`, its animation or assets. Its author DOM observation is
|
|
957
|
+
`body[data-chrona-peer-render]` (JSON). `status=rendered` means a mesh draw was
|
|
958
|
+
submitted in the author's existing renderer, not visible pixels, ordinary-user
|
|
959
|
+
acceptance or multiplayer authorization. Actual browser evidence must still
|
|
960
|
+
observe the rendered scene and user operation. No new bridge or transport is
|
|
961
|
+
introduced, and non-Document standalone pose code remains outside this branch.
|
|
962
|
+
|
|
963
|
+
The reviewed peer character iteration uses
|
|
964
|
+
`node tools/prepare-presentation-peer-view.mjs --source FIXED_AUTHOR_PRESENTATION --output NEW_SOURCE --characters true`
|
|
965
|
+
before the same normal import/bundle and `update-presentation-project` flow.
|
|
966
|
+
It reuses the inventoried hooded villager, the author's `buildRig` idle/walk clips,
|
|
967
|
+
and independent skeletons/mixers; it adds no assets, NPC schedule, collision or
|
|
968
|
+
authority fields. `createAnimatedPeerVisuals` consumes only consecutive permitted
|
|
969
|
+
Core samples: first sample is idle, visual displacement blends walking, camera
|
|
970
|
+
yaw is converted to the model's +Z facing. Model Y is the received Y, not terrain
|
|
971
|
+
resampling or the old wisp hover offset. AOI/own-space/generation clears fence
|
|
972
|
+
late model loads and actual mesh observations. Removal stops/uncaches its mixer
|
|
973
|
+
and disposes only cloned materials, skeleton resources and its own label; shared
|
|
974
|
+
geometry/model textures remain owned by the original asset loader. These are
|
|
975
|
+
editable author presentation helpers, not multiplayer permission or a new SDK.
|
|
976
|
+
Headless parser/mixer tests do not prove textures, pixels or ordinary two-player
|
|
977
|
+
GPU behavior; those require the normal independently managed browser consumer.
|
|
978
|
+
|
|
979
|
+
### Git checks for fixed imported bytes
|
|
980
|
+
|
|
981
|
+
For an ordinary Document presentation update, first generate new prepared source with `import-presentation --bundle true`, then run
|
|
982
|
+
`chrona update-presentation-project --project DIR --prepared-source DIR --expected-head SHA`.
|
|
983
|
+
The default is plan-only. `--apply true --expected-changes exact,path` consumes the plan's exact content changes and preserves project/toolchain/package metadata, Git history and non-presentation gameplay.
|
|
984
|
+
This bounded entry requires a clean expected HEAD and unchanged presentation file inventory. It verifies the fixed editable source and Document resources; the existing submission lock rejects in-flight uploads.
|
|
985
|
+
The program updates original import records; do not copy hashes manually. On failure, preserve the prepared source and private backup. Safe rollback restores original bytes; concurrent changes require explicit recovery rather than overwriting someone else's work.
|
|
986
|
+
Then follow normal validate/build/commit/submit. The Builder produces the new identity. A static update is not an upload or proof of two-player gameplay.
|
|
987
|
+
|
|
988
|
+
`chrona prepare-source-git --project DIR --build-result FILE --preserve-paths exact,path --binary-paths exact,path`
|
|
989
|
+
The complete Snapshot Reader first verifies actual Builder inputs, identity and all current author source. The default is plan-only; `--apply true` generates `.gitattributes` at the project root.
|
|
990
|
+
Only exact imported `presentation/lib` / `presentation/licenses` paths, recognized generated bundles and `.f32` binary paths from the same fixed inventory are accepted. Wildcards, authored gameplay/main source and unpinned files are rejected.
|
|
991
|
+
It preserves original third-party text, generated files and binary bytes without changing content identity, repository-wide whitespace policy or Git history. Authored text retains normal checks. Conflicting metadata or source drift is preserved and rejected; identical results can be reread safely. This operation does not commit, upload or prove playability.
|