agentscape3d 1.0.0-beta.1 → 1.0.0-beta.2
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 +23 -48
- package/dist/core.d.ts +68 -0
- package/dist/core.js +209 -0
- package/dist/core.js.map +1 -0
- package/dist/index.d.ts +10 -229
- package/dist/index.js +192 -15462
- package/dist/index.js.map +1 -1
- package/package.json +11 -40
- package/cli.mjs +0 -27
- package/dist/AssetCompiler-CDFiElji.js +0 -2451
- package/dist/AssetCompiler-CDFiElji.js.map +0 -1
- package/dist/AssetInputContracts-Dy8iU4eT.js +0 -228
- package/dist/AssetInputContracts-Dy8iU4eT.js.map +0 -1
- package/dist/AssetRecipe-DmFpzxr-.js +0 -55
- package/dist/AssetRecipe-DmFpzxr-.js.map +0 -1
- package/dist/BrowserCodeWorker.js +0 -53615
- package/dist/KinematicHypothesisScreen-D-z6qgMB.js +0 -242
- package/dist/KinematicHypothesisScreen-D-z6qgMB.js.map +0 -1
- package/dist/SceneSerializer-DPVOyeRk.js +0 -353
- package/dist/SceneSerializer-DPVOyeRk.js.map +0 -1
- package/dist/StylePack-DNrdLeGI.js +0 -6314
- package/dist/StylePack-DNrdLeGI.js.map +0 -1
- package/dist/WorldArchive-pSBIGxLa.js +0 -420
- package/dist/WorldArchive-pSBIGxLa.js.map +0 -1
- package/dist/WorldIO-wsDfZGM4.js +0 -150
- package/dist/WorldIO-wsDfZGM4.js.map +0 -1
- package/dist/blankWorld-CBWbwJGj.js +0 -76
- package/dist/blankWorld-CBWbwJGj.js.map +0 -1
- package/dist/disposeObject3D-BQ9TyVC_.js +0 -54
- package/dist/disposeObject3D-BQ9TyVC_.js.map +0 -1
- package/dist/environments-DgH66NqV.js +0 -4220
- package/dist/environments-DgH66NqV.js.map +0 -1
- package/dist/gltfIO-B87nJaat.js +0 -10
- package/dist/gltfIO-B87nJaat.js.map +0 -1
- package/dist/grandUrbanBlock-Ob9pN-CB.js +0 -516
- package/dist/grandUrbanBlock-Ob9pN-CB.js.map +0 -1
- package/dist/magicCabin-D64fD1E2.js +0 -11024
- package/dist/magicCabin-D64fD1E2.js.map +0 -1
- package/dist/mcp.d.ts +0 -2
- package/dist/mcp.js +0 -1
- package/dist/monumentHall-BKbs0UOQ.js +0 -404
- package/dist/monumentHall-BKbs0UOQ.js.map +0 -1
- package/dist/node.d.ts +0 -16
- package/dist/node.js +0 -25
- package/dist/ruinedCourtyard-BoZxHldu.js +0 -697
- package/dist/ruinedCourtyard-BoZxHldu.js.map +0 -1
- package/dist/runtime/application/AgentTools.js +0 -25
- package/dist/runtime/application/README.md +0 -14
- package/dist/runtime/application/buildTaskObservation.js +0 -117
- package/dist/runtime/application/code-execution/AuthoringSandboxEntry.js +0 -46
- package/dist/runtime/application/code-execution/BrowserCodeExecutor.js +0 -35
- package/dist/runtime/application/code-execution/BrowserCodeWorker.js +0 -17
- package/dist/runtime/application/code-execution/RemoteAuthoringDocument.js +0 -72
- package/dist/runtime/application/createSession.js +0 -66
- package/dist/runtime/application/createWorldAuthoringContext.js +0 -400
- package/dist/runtime/application/generation/GenerationOrchestrator.js +0 -629
- package/dist/runtime/application/generation/GenerationRuntime.js +0 -214
- package/dist/runtime/application/generation/PromptHybridWorldOrchestrator.js +0 -285
- package/dist/runtime/application/native-scene/CodeProject.js +0 -119
- package/dist/runtime/application/native-scene/CodeProjectModules.js +0 -128
- package/dist/runtime/application/native-scene/NativeEnvironmentGeometry.js +0 -62
- package/dist/runtime/application/native-scene/NativeOverlayCheckpoint.js +0 -127
- package/dist/runtime/application/native-scene/NativeRenderDiscovery.js +0 -51
- package/dist/runtime/application/native-scene/NativeSceneHost.js +0 -164
- package/dist/runtime/application/native-scene/NativeSceneOverlay.js +0 -116
- package/dist/runtime/application/native-scene/NativeThreeModule.js +0 -16
- package/dist/runtime/application/object-forge/SceneObjectForge.js +0 -232
- package/dist/runtime/application/programmatic-assets/ProgrammaticAssetBuilder.js +0 -54
- package/dist/runtime/application/programmatic-assets/ProgrammaticAssetContract.js +0 -22
- package/dist/runtime/application/programmatic-assets/ThreeCodeAsset.js +0 -40
- package/dist/runtime/application/scene/CapabilityResolver.js +0 -79
- package/dist/runtime/application/scene/RequestWindow.js +0 -54
- package/dist/runtime/application/scene/SceneAgentTools.js +0 -21
- package/dist/runtime/application/scene/SceneContracts.js +0 -45
- package/dist/runtime/application/scene/SceneEditService.js +0 -144
- package/dist/runtime/application/scene/SceneFacade.js +0 -267
- package/dist/runtime/application/scene/SceneInteractionAdapters.js +0 -40
- package/dist/runtime/application/scene/SceneJobController.js +0 -229
- package/dist/runtime/application/scene/ScenePackage.js +0 -162
- package/dist/runtime/application/scene/ScenePersistence.js +0 -50
- package/dist/runtime/application/scene/SceneProject.js +0 -95
- package/dist/runtime/application/scene/SceneSkillNames.js +0 -5
- package/dist/runtime/application/scene/StarterScene.js +0 -56
- package/dist/runtime/application/scene/WorldArchive.js +0 -87
- package/dist/runtime/application/scene/WorldDirectory.js +0 -20
- package/dist/runtime/application/scene/WorldDocument.js +0 -74
- package/dist/runtime/application/scene/WorldIO.js +0 -103
- package/dist/runtime/application/scene/WorldStorage.js +0 -137
- package/dist/runtime/application/skills/SkillRegistry.js +0 -163
- package/dist/runtime/application/skills/packs/acceptanceSkills.js +0 -32
- package/dist/runtime/application/skills/packs/affordanceSkills.js +0 -36
- package/dist/runtime/application/skills/packs/assetSkills.js +0 -46
- package/dist/runtime/application/skills/packs/authoringSkills.js +0 -16
- package/dist/runtime/application/skills/packs/batchSkills.js +0 -22
- package/dist/runtime/application/skills/packs/codeSkills.js +0 -106
- package/dist/runtime/application/skills/packs/generationSkills.js +0 -45
- package/dist/runtime/application/skills/packs/interactionSkills.js +0 -46
- package/dist/runtime/application/skills/packs/recoverySkills.js +0 -80
- package/dist/runtime/application/skills/packs/sceneSkills.js +0 -24
- package/dist/runtime/application/skills/packs/spatialSkills.js +0 -35
- package/dist/runtime/application/skills/packs/verificationSkills.js +0 -14
- package/dist/runtime/application/skills/packs/worldSkills.js +0 -45
- package/dist/runtime/application/skills/registerCoreSkills.js +0 -31
- package/dist/runtime/application/skills/skillPrimitives.js +0 -4
- package/dist/runtime/application/tasks/CabinetCupTask.js +0 -76
- package/dist/runtime/application/tasks.jsonl +0 -67
- package/dist/runtime/application/world-authoring/AuthoringAssetProducer.js +0 -42
- package/dist/runtime/application/world-authoring/AuthoringDiff.js +0 -149
- package/dist/runtime/application/world-authoring/AuthoringDocument.js +0 -825
- package/dist/runtime/application/world-authoring/AuthoringExecutionHost.js +0 -109
- package/dist/runtime/application/world-authoring/AuthoringIdentity.js +0 -17
- package/dist/runtime/application/world-authoring/AuthoringModelResolver.js +0 -29
- package/dist/runtime/application/world-authoring/AuthoringPatch.js +0 -118
- package/dist/runtime/application/world-authoring/AuthoringPromotionController.js +0 -334
- package/dist/runtime/application/world-authoring/AuthoringPromotionSource.js +0 -126
- package/dist/runtime/application/world-authoring/AuthoringRevisionHistory.js +0 -144
- package/dist/runtime/application/world-authoring/HeadlessImageExport.js +0 -174
- package/dist/runtime/application/world-authoring/ModelRef.js +0 -62
- package/dist/runtime/apps/mcp-server/AUTHORING.md +0 -71
- package/dist/runtime/apps/mcp-server/AuthoringSandboxEntry.js +0 -1
- package/dist/runtime/apps/mcp-server/AuthoringSandboxWorker.mjs +0 -30
- package/dist/runtime/apps/mcp-server/BuildEnvironment.js +0 -17
- package/dist/runtime/apps/mcp-server/CodeExecutor.js +0 -71
- package/dist/runtime/apps/mcp-server/DEPLOYMENT-PC2.md +0 -42
- package/dist/runtime/apps/mcp-server/DockerBuildRunner.js +0 -66
- package/dist/runtime/apps/mcp-server/FileAssetRepository.js +0 -159
- package/dist/runtime/apps/mcp-server/HeadlessAssetIO.js +0 -8
- package/dist/runtime/apps/mcp-server/HeadlessGLTFLoader.js +0 -47
- package/dist/runtime/apps/mcp-server/HeadlessWorldHost.js +0 -132
- package/dist/runtime/apps/mcp-server/IsolatedAuthoringExecutor.js +0 -6
- package/dist/runtime/apps/mcp-server/PROGRAMMATIC-ASSETS.md +0 -116
- package/dist/runtime/apps/mcp-server/ProgrammaticAssets.js +0 -60
- package/dist/runtime/apps/mcp-server/README.md +0 -150
- package/dist/runtime/apps/mcp-server/RemoteAuthoringDocument.js +0 -1
- package/dist/runtime/apps/mcp-server/SandboxBundle.js +0 -13
- package/dist/runtime/apps/mcp-server/SessionManager.js +0 -80
- package/dist/runtime/apps/mcp-server/StudioBridgeHttp.js +0 -58
- package/dist/runtime/apps/mcp-server/StudioLiveBridge.js +0 -190
- package/dist/runtime/apps/mcp-server/TrustedAuthoringWorker.mjs +0 -16
- package/dist/runtime/apps/mcp-server/VALIDATION.md +0 -45
- package/dist/runtime/apps/mcp-server/acceptance-evidence.json +0 -332
- package/dist/runtime/apps/mcp-server/errorDiagnostics.js +0 -32
- package/dist/runtime/apps/mcp-server/examples/code-house.js +0 -24
- package/dist/runtime/apps/mcp-server/examples/procedural-assets.js +0 -37
- package/dist/runtime/apps/mcp-server/main.mjs +0 -56
- package/dist/runtime/apps/mcp-server/registerTools.js +0 -215
- package/dist/runtime/apps/mcp-server/sandbox/run.mjs +0 -23
- package/dist/runtime/apps/mcp-server/security.js +0 -21
- package/dist/runtime/apps/mcp-server/tasks.jsonl +0 -9
- package/dist/runtime/apps/server/CapabilityAdapterRegistry.js +0 -157
- package/dist/runtime/apps/server/README.md +0 -7
- package/dist/runtime/apps/server/WorldDiskStorage.js +0 -51
- package/dist/runtime/apps/server/openai-compatible-agent-gateway.mjs +0 -278
- package/dist/runtime/apps/server/tasks.jsonl +0 -10
- package/dist/runtime/foundation/EventBus.js +0 -18
- package/dist/runtime/foundation/JsonGateway.js +0 -47
- package/dist/runtime/foundation/PolicyEngine.js +0 -21
- package/dist/runtime/foundation/README.md +0 -7
- package/dist/runtime/foundation/TraceRecorder.js +0 -76
- package/dist/runtime/foundation/errors.js +0 -8
- package/dist/runtime/foundation/simulation/SimulationProfile.js +0 -143
- package/dist/runtime/foundation/version.js +0 -2
- package/dist/runtime/modules/agent/README.md +0 -11
- package/dist/runtime/modules/agent/ToolCallingAgent.js +0 -19
- package/dist/runtime/modules/agent/bootstrapWorld.js +0 -10
- package/dist/runtime/modules/agent/buildRecoveryProposals.js +0 -533
- package/dist/runtime/modules/agent/execution/AgentExecutionRules.js +0 -127
- package/dist/runtime/modules/agent/execution/AgentRunResults.js +0 -55
- package/dist/runtime/modules/agent/execution/AgentRunSession.js +0 -390
- package/dist/runtime/modules/agent/execution/AgentToolInvoker.js +0 -39
- package/dist/runtime/modules/agent/gateway/HttpLLMGateway.js +0 -19
- package/dist/runtime/modules/agent/prompt/index.js +0 -46
- package/dist/runtime/modules/agent/tasks.jsonl +0 -94
- package/dist/runtime/modules/artifact/ArtifactContentGate.js +0 -144
- package/dist/runtime/modules/artifact/ArtifactDescriptor.js +0 -280
- package/dist/runtime/modules/artifact/ArtifactImporter.js +0 -185
- package/dist/runtime/modules/artifact/ArtifactModule.js +0 -111
- package/dist/runtime/modules/artifact/ArtifactRegistry.js +0 -197
- package/dist/runtime/modules/artifact/IncrementalSha256.js +0 -129
- package/dist/runtime/modules/artifact/MemoryArtifactByteStore.js +0 -115
- package/dist/runtime/modules/artifact/README.md +0 -7
- package/dist/runtime/modules/artifact/storage/IndexedDbArtifactStore.js +0 -67
- package/dist/runtime/modules/artifact/tasks.jsonl +0 -31
- package/dist/runtime/modules/asset/AssetModule.js +0 -399
- package/dist/runtime/modules/asset/README.md +0 -54
- package/dist/runtime/modules/asset/loading/AssetLoader.js +0 -157
- package/dist/runtime/modules/asset/loading/GltfAssetLoader.js +0 -61
- package/dist/runtime/modules/asset/loading/builtins/BuiltinAssets.js +0 -95
- package/dist/runtime/modules/asset/loading/builtins/HouseDoor.js +0 -33
- package/dist/runtime/modules/asset/loading/builtins/IndustrialCabinet.js +0 -103
- package/dist/runtime/modules/asset/model/AssetInputContracts.js +0 -95
- package/dist/runtime/modules/asset/model/AssetRef.js +0 -12
- package/dist/runtime/modules/asset/model/MechanicalAssetDraft.js +0 -172
- package/dist/runtime/modules/asset/model/admission.js +0 -117
- package/dist/runtime/modules/asset/model/errors.js +0 -6
- package/dist/runtime/modules/asset/model/parts.js +0 -27
- package/dist/runtime/modules/asset/model/resourceBudget.js +0 -10
- package/dist/runtime/modules/asset/model/schema.js +0 -150
- package/dist/runtime/modules/asset/persistence/AssetManifestStore.js +0 -78
- package/dist/runtime/modules/asset/persistence/CompiledAssetStore.js +0 -84
- package/dist/runtime/modules/asset/persistence/LocalAssetLibrary.js +0 -86
- package/dist/runtime/modules/asset/persistence/LocalAssetLibraryStore.js +0 -81
- package/dist/runtime/modules/asset/production/AssetProductionPipeline.js +0 -272
- package/dist/runtime/modules/asset/production/AssetRecipe.js +0 -32
- package/dist/runtime/modules/asset/production/adapters/EmbodiedGenAdapter.js +0 -45
- package/dist/runtime/modules/asset/production/adapters/EmbodiedGenBundleAdapter.js +0 -590
- package/dist/runtime/modules/asset/production/compiler/AssetCompiler.js +0 -173
- package/dist/runtime/modules/asset/production/compiler/evidence/AnimationMotionEvidence.js +0 -124
- package/dist/runtime/modules/asset/production/compiler/evidence/StaticPanelEvidence.js +0 -56
- package/dist/runtime/modules/asset/production/compiler/gltfIO.js +0 -6
- package/dist/runtime/modules/asset/production/compiler/partGeometry.js +0 -74
- package/dist/runtime/modules/asset/production/compiler/passes/ArticulatedCollisionPass.js +0 -63
- package/dist/runtime/modules/asset/production/compiler/passes/ArticulationCandidatePass.js +0 -48
- package/dist/runtime/modules/asset/production/compiler/passes/AuthoringIntentPass.js +0 -16
- package/dist/runtime/modules/asset/production/compiler/passes/ColliderFallbackPass.js +0 -30
- package/dist/runtime/modules/asset/production/compiler/passes/CompileQualityPass.js +0 -75
- package/dist/runtime/modules/asset/production/compiler/passes/ExplicitDefinitionPass.js +0 -20
- package/dist/runtime/modules/asset/production/compiler/passes/GLTFInspectPass.js +0 -34
- package/dist/runtime/modules/asset/production/compiler/passes/GeometryPass.js +0 -32
- package/dist/runtime/modules/asset/production/compiler/passes/JointFramePass.js +0 -116
- package/dist/runtime/modules/asset/production/compiler/passes/KinematicEvidencePass.js +0 -84
- package/dist/runtime/modules/asset/production/compiler/passes/ManifestPass.js +0 -63
- package/dist/runtime/modules/asset/production/compiler/passes/NormalizeTransformPass.js +0 -16
- package/dist/runtime/modules/asset/production/compiler/passes/OptimizeGLBPass.js +0 -23
- package/dist/runtime/modules/asset/production/compiler/passes/PartColliderPass.js +0 -50
- package/dist/runtime/modules/asset/production/compiler/passes/PartGeometryEnrichmentPass.js +0 -60
- package/dist/runtime/modules/asset/production/compiler/passes/PartProposalPass.js +0 -93
- package/dist/runtime/modules/asset/production/compiler/passes/RemoteEnrichmentPass.js +0 -32
- package/dist/runtime/modules/asset/production/compiler/passes/ResourceBudgetPass.js +0 -55
- package/dist/runtime/modules/asset/production/compiler/passes/SegmentMaterializePass.js +0 -203
- package/dist/runtime/modules/asset/production/compiler/passes/SegmentationEvidencePass.js +0 -43
- package/dist/runtime/modules/asset/production/compiler/passes/SemanticHeuristicPass.js +0 -33
- package/dist/runtime/modules/asset/production/compiler/passes/StructurePass.js +0 -60
- package/dist/runtime/modules/asset/production/compiler/providers/HttpCompilerProvider.js +0 -23
- package/dist/runtime/modules/asset/production/verification/KinematicHypothesisScreen.js +0 -198
- package/dist/runtime/modules/asset/registry/AssetCatalog.js +0 -72
- package/dist/runtime/modules/asset/registry/AssetRegistry.js +0 -51
- package/dist/runtime/modules/asset/registry/manifests/index.js +0 -173
- package/dist/runtime/modules/asset/tasks.jsonl +0 -87
- package/dist/runtime/modules/generation/README.md +0 -9
- package/dist/runtime/modules/generation/connector/ConnectorArtifactClient.js +0 -45
- package/dist/runtime/modules/generation/connector/ConnectorCapabilityAdapter.js +0 -169
- package/dist/runtime/modules/generation/connector/ConnectorClient.js +0 -192
- package/dist/runtime/modules/generation/connector/ConnectorJobClient.js +0 -167
- package/dist/runtime/modules/generation/connector/ConnectorJobEventClient.js +0 -179
- package/dist/runtime/modules/generation/connector/ConnectorSession.js +0 -202
- package/dist/runtime/modules/generation/jobs/GenerationJobProjection.js +0 -239
- package/dist/runtime/modules/generation/jobs/GenerationJobReconciler.js +0 -99
- package/dist/runtime/modules/generation/jobs/GenerationJobStore.js +0 -91
- package/dist/runtime/modules/generation/jobs/GenerationJobTransportOverlay.js +0 -50
- package/dist/runtime/modules/generation/providers/ProviderRegistry.js +0 -304
- package/dist/runtime/modules/generation/tasks.jsonl +0 -35
- package/dist/runtime/modules/navigation/NavigationBackend.js +0 -17
- package/dist/runtime/modules/navigation/RecastNavigationBackend.js +0 -245
- package/dist/runtime/modules/physics/JoltPhysicsBackend.js +0 -850
- package/dist/runtime/modules/physics/PhysicsApiSurface.js +0 -651
- package/dist/runtime/modules/physics/PhysicsBackend.js +0 -88
- package/dist/runtime/modules/physics/RapierPhysicsBackend.js +0 -410
- package/dist/runtime/modules/rendering/README.md +0 -7
- package/dist/runtime/modules/rendering/RendererProbe.js +0 -153
- package/dist/runtime/modules/rendering/WebGpuPostFxPipeline.js +0 -140
- package/dist/runtime/modules/rendering/createRenderer.js +0 -76
- package/dist/runtime/modules/rendering/disposeObject3D.js +0 -34
- package/dist/runtime/modules/rendering/loadGaussianSplatVisual.js +0 -74
- package/dist/runtime/modules/rendering/style/StylePack.js +0 -34
- package/dist/runtime/modules/rendering/style/StyleSystem.js +0 -173
- package/dist/runtime/modules/rendering/tasks.jsonl +0 -7
- package/dist/runtime/modules/world/README.md +0 -13
- package/dist/runtime/modules/world/build/WorldBuilder.js +0 -170
- package/dist/runtime/modules/world/compiler/PipelineEngine.js +0 -32
- package/dist/runtime/modules/world/compiler/WorldAdmission.js +0 -43
- package/dist/runtime/modules/world/compiler/WorldBehaviorCompiler.js +0 -68
- package/dist/runtime/modules/world/compiler/WorldCompilation.js +0 -157
- package/dist/runtime/modules/world/compiler/WorldComposer.js +0 -201
- package/dist/runtime/modules/world/compiler/WorldPhysicsAdmission.js +0 -76
- package/dist/runtime/modules/world/compiler/WorldRecompiler.js +0 -356
- package/dist/runtime/modules/world/compiler/WorldRetry.js +0 -75
- package/dist/runtime/modules/world/compiler/createWorldPipeline.js +0 -379
- package/dist/runtime/modules/world/content/blankWorld.js +0 -35
- package/dist/runtime/modules/world/content/environments.js +0 -84
- package/dist/runtime/modules/world/content/grandUrbanBlock.js +0 -189
- package/dist/runtime/modules/world/content/magic-cabin/README.md +0 -28
- package/dist/runtime/modules/world/content/magic-cabin/affordances.js +0 -64
- package/dist/runtime/modules/world/content/magic-cabin/cabinContents.js +0 -7078
- package/dist/runtime/modules/world/content/magic-cabin/lighting.js +0 -26
- package/dist/runtime/modules/world/content/magic-cabin/materials.js +0 -20
- package/dist/runtime/modules/world/content/magicCabin.js +0 -190
- package/dist/runtime/modules/world/content/monumentHall.js +0 -154
- package/dist/runtime/modules/world/content/ruinedCourtyard.js +0 -196
- package/dist/runtime/modules/world/content/suzhouGarden/README.md +0 -141
- package/dist/runtime/modules/world/content/suzhouGarden/index.js +0 -137
- package/dist/runtime/modules/world/content/suzhouGarden/src/arch.js +0 -491
- package/dist/runtime/modules/world/content/suzhouGarden/src/buildings.js +0 -670
- package/dist/runtime/modules/world/content/suzhouGarden/src/core.js +0 -578
- package/dist/runtime/modules/world/content/suzhouGarden/src/lod.js +0 -127
- package/dist/runtime/modules/world/content/suzhouGarden/src/main.js +0 -642
- package/dist/runtime/modules/world/content/suzhouGarden/src/nature.js +0 -650
- package/dist/runtime/modules/world/content/suzhouGarden/src/rockery.js +0 -280
- package/dist/runtime/modules/world/content/suzhouGarden/src/sky.js +0 -242
- package/dist/runtime/modules/world/content/suzhouGarden/src/water.js +0 -215
- package/dist/runtime/modules/world/content/woodlandWorkshop.js +0 -192
- package/dist/runtime/modules/world/content/yuanmingyuan/README.md +0 -36
- package/dist/runtime/modules/world/content/yuanmingyuan/arch.js +0 -351
- package/dist/runtime/modules/world/content/yuanmingyuan/buildings.js +0 -490
- package/dist/runtime/modules/world/content/yuanmingyuan/core.js +0 -505
- package/dist/runtime/modules/world/content/yuanmingyuan/index.js +0 -101
- package/dist/runtime/modules/world/content/yuanmingyuan/nature.js +0 -435
- package/dist/runtime/modules/world/content/yuanmingyuan/sky.js +0 -169
- package/dist/runtime/modules/world/content/yuanmingyuan/water.js +0 -245
- package/dist/runtime/modules/world/errors.js +0 -9
- package/dist/runtime/modules/world/generated/GeneratedWorldCoordinates.js +0 -50
- package/dist/runtime/modules/world/generated/GeneratedWorldLoader.js +0 -297
- package/dist/runtime/modules/world/runtime/CommandHistory.js +0 -80
- package/dist/runtime/modules/world/runtime/ObjectStore.js +0 -31
- package/dist/runtime/modules/world/runtime/ObjectTransform.js +0 -62
- package/dist/runtime/modules/world/runtime/ObservedEntity.js +0 -37
- package/dist/runtime/modules/world/runtime/ProjectCapabilities.js +0 -207
- package/dist/runtime/modules/world/runtime/SceneSerializer.js +0 -246
- package/dist/runtime/modules/world/runtime/WorldAuthority.js +0 -41
- package/dist/runtime/modules/world/runtime/WorldCollisionSignature.js +0 -14
- package/dist/runtime/modules/world/runtime/WorldCommands.js +0 -502
- package/dist/runtime/modules/world/runtime/WorldObservation.js +0 -71
- package/dist/runtime/modules/world/runtime/WorldQueries.js +0 -340
- package/dist/runtime/modules/world/runtime/WorldRecovery.js +0 -78
- package/dist/runtime/modules/world/runtime/WorldRuntime.js +0 -649
- package/dist/runtime/modules/world/runtime/affordance/ObjectAffordances.js +0 -107
- package/dist/runtime/modules/world/runtime/affordance/WorldAffordances.js +0 -130
- package/dist/runtime/modules/world/runtime/behavior/BehaviorCompiler.js +0 -79
- package/dist/runtime/modules/world/runtime/behavior/ProjectStateMachine.js +0 -195
- package/dist/runtime/modules/world/runtime/behavior/RuleGraph.js +0 -70
- package/dist/runtime/modules/world/runtime/behavior/RuleRuntime.js +0 -115
- package/dist/runtime/modules/world/runtime/graph/SceneGraph.js +0 -216
- package/dist/runtime/modules/world/runtime/interaction/ArticulationRuntime.js +0 -214
- package/dist/runtime/modules/world/runtime/interaction/CarryCapability.js +0 -65
- package/dist/runtime/modules/world/runtime/interaction/CarryRuntime.js +0 -222
- package/dist/runtime/modules/world/runtime/interaction/InteractionApproach.js +0 -130
- package/dist/runtime/modules/world/runtime/interaction/InteractionContract.js +0 -57
- package/dist/runtime/modules/world/runtime/interaction/RecoveryRuntime.js +0 -123
- package/dist/runtime/modules/world/runtime/interaction/SettleRuntime.js +0 -120
- package/dist/runtime/modules/world/runtime/semantic/SemanticWorldView.js +0 -102
- package/dist/runtime/modules/world/runtime/simulation/SimulationClock.js +0 -89
- package/dist/runtime/modules/world/runtime/simulation/SimulationSession.js +0 -99
- package/dist/runtime/modules/world/runtime/simulation/ThermalSystem.js +0 -269
- package/dist/runtime/modules/world/runtime/spatial/SpatialSnapshot.js +0 -56
- package/dist/runtime/modules/world/runtime/spatial/ThreeBvhRuntime.js +0 -36
- package/dist/runtime/modules/world/runtime/systems/InteractionSystem.js +0 -728
- package/dist/runtime/modules/world/runtime/systems/LocomotionSystem.js +0 -269
- package/dist/runtime/modules/world/runtime/systems/NavigationSystem.js +0 -469
- package/dist/runtime/modules/world/runtime/systems/PhysicsSystem.js +0 -1657
- package/dist/runtime/modules/world/runtime/systems/RenderingSystem.js +0 -457
- package/dist/runtime/modules/world/runtime/systems/SpatialSystem.js +0 -284
- package/dist/runtime/modules/world/spec/WorldIR.js +0 -165
- package/dist/runtime/modules/world/spec/WorldIRToolSchema.js +0 -86
- package/dist/runtime/modules/world/spec/WorldPlannerProposal.js +0 -51
- package/dist/runtime/modules/world/spec/WorldRevision.js +0 -231
- package/dist/runtime/modules/world/spec/WorldSpec.js +0 -86
- package/dist/runtime/modules/world/tasks.jsonl +0 -530
- package/dist/runtime/modules/world/verification/ArticulationVerifier.js +0 -254
- package/dist/runtime/modules/world/verification/Finding.js +0 -105
- package/dist/runtime/modules/world/verification/InteractionEvidence.js +0 -69
- package/dist/runtime/modules/world/verification/RepairEngine.js +0 -49
- package/dist/runtime/modules/world/verification/WorldAcceptance.js +0 -158
- package/dist/runtime/modules/world/verification/WorldValidator.js +0 -65
- package/dist/runtime/package-lock.json +0 -6245
- package/dist/runtime/package.json +0 -91
- package/dist/runtime/public/assets/cabinet.glb +0 -0
- package/dist/runtime/public/assets/grand-urban-block/clean_asphalt_diff_1k.jpg +0 -0
- package/dist/runtime/public/assets/grand-urban-block/clean_asphalt_nor_gl_1k.jpg +0 -0
- package/dist/runtime/public/assets/grand-urban-block/concrete_pavement_diff_1k.jpg +0 -0
- package/dist/runtime/public/assets/grand-urban-block/urban_street_01_1k.hdr +0 -0
- package/dist/runtime/public/assets/monument-hall/marble_diff_1k.jpg +0 -0
- package/dist/runtime/public/assets/monument-hall/marble_nor_gl_1k.jpg +0 -0
- package/dist/runtime/public/assets/monument-hall/marble_rough_1k.jpg +0 -0
- package/dist/runtime/public/assets/monument-hall/solitude_interior_1k.hdr +0 -0
- package/dist/runtime/public/assets/ruined-courtyard/courtyard_1k.hdr +0 -0
- package/dist/runtime/public/assets/ruined-courtyard/mossy_cobblestone_diff_1k.jpg +0 -0
- package/dist/runtime/public/assets/ruined-courtyard/mossy_cobblestone_nor_gl_1k.jpg +0 -0
- package/dist/runtime/public/assets/ruined-courtyard/mossy_sandstone_diff_1k.jpg +0 -0
- package/dist/schema-Dudvovhu.js +0 -364
- package/dist/schema-Dudvovhu.js.map +0 -1
- package/dist/suzhouGarden-BCx_JeV5.js +0 -6159
- package/dist/suzhouGarden-BCx_JeV5.js.map +0 -1
- package/dist/woodlandWorkshop-BGNWPNdK.js +0 -484
- package/dist/woodlandWorkshop-BGNWPNdK.js.map +0 -1
- package/dist/yuanmingyuan-DAIb1msO.js +0 -4962
- package/dist/yuanmingyuan-DAIb1msO.js.map +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export const string = { type:'string' };
|
|
2
|
-
export const number = { type:'number' };
|
|
3
|
-
export const vec3 = { type:'array', items:number, minItems:3, maxItems:3 };
|
|
4
|
-
export const meta = (description, permissions, required=[], properties={}) => ({description,permissions,required,properties});
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ENVIRONMENTS } from '../../modules/world/content/environments.js';
|
|
2
|
-
|
|
3
|
-
// These are task layouts, not a claim that every default bootstrap supports this task.
|
|
4
|
-
export const CABINET_CUP_TASK_WORLDS = Object.freeze(['monument-hall', 'woodland-workshop', 'magic-cabin']);
|
|
5
|
-
export const CABINET_CUP_TASK_REFS = Object.freeze({ actorId:'agent_01', cabinetId:'cabinet_01', cupId:'cup_01', supportId:'table_01', surfaceId:'top' });
|
|
6
|
-
export const CABINET_CUP_TASK_CRITERIA = Object.freeze([
|
|
7
|
-
{id:'world-valid',kind:'world-valid'},
|
|
8
|
-
{id:'cabinet-open',kind:'interaction-verified',targetId:'cabinet_01',capability:'OPEN'},
|
|
9
|
-
{id:'cup-picked-up',kind:'interaction-verified',targetId:'cup_01',capability:'PICKUP'},
|
|
10
|
-
{id:'cup-placed',kind:'interaction-verified',targetId:'table_01',capability:'PLACE'},
|
|
11
|
-
{id:'cup-on-table',kind:'relation-exists',subject:'cup_01',predicate:'ON',object:'table_01',surfaceId:'top'},
|
|
12
|
-
{id:'no-unresolved',kind:'no-unresolved'}
|
|
13
|
-
]);
|
|
14
|
-
|
|
15
|
-
export function createCabinetCupTaskWorldIR(worldId, { revisionId = `cabinet-cup-${worldId}` } = {}) {
|
|
16
|
-
if (!CABINET_CUP_TASK_WORLDS.includes(worldId)) {
|
|
17
|
-
const error = new Error('此世界尚未验收柜内取杯任务,请选择纪念大厅、林间工坊或魔女小屋。');
|
|
18
|
-
error.code = 'TASK_WORLD_UNSUPPORTED';
|
|
19
|
-
throw error;
|
|
20
|
-
}
|
|
21
|
-
const boot = ENVIRONMENTS.find((world) => world.id === worldId).bootstrap;
|
|
22
|
-
// Woodland's declared spawn intersects scenery. Reuse the existing composer for all its poses.
|
|
23
|
-
const pose = (id) => worldId === 'woodland-workshop' ? {} : {transform:{position:[...boot[id]]}};
|
|
24
|
-
return {
|
|
25
|
-
schema:'agentscape.world-ir',schemaVersion:1,
|
|
26
|
-
revision:{id:revisionId,reason:'内置资产标准任务:柜内杯子放桌面'},
|
|
27
|
-
provenance:{source:'cabinet-cup-task',createdBy:'AgentScape',evidenceRefs:[]},
|
|
28
|
-
intent:{name:'柜内取杯',description:'打开柜门,取出柜内杯子,搬运并放在桌面,验证放置稳定。'},
|
|
29
|
-
policy:{generation:{generate:false},physics:{fallbackPolicy:'deny'}},
|
|
30
|
-
entities:[
|
|
31
|
-
{id:'agent_01',asset:{assetId:'agent'},...pose('agent'),capabilityIntent:[],initialState:{}},
|
|
32
|
-
{id:'cabinet_01',asset:{assetId:'cabinet'},...pose('cabinet'),capabilityIntent:['OPEN'],initialState:{}},
|
|
33
|
-
{id:'cup_01',asset:{assetId:'cup'},capabilityIntent:['PICKUP'],initialState:{}},
|
|
34
|
-
{id:'table_01',asset:{assetId:'table'},...pose('table'),capabilityIntent:[],initialState:{}}
|
|
35
|
-
],
|
|
36
|
-
spatial:{relations:[{subject:'cup_01',predicate:'INSIDE',object:'cabinet_01',receptacleId:'interior'}],constraints:[]},
|
|
37
|
-
interactions:[
|
|
38
|
-
{id:'open-cabinet',actorId:'agent_01',targetId:'cabinet_01',capability:'OPEN'},
|
|
39
|
-
{id:'pickup-cup',actorId:'agent_01',targetId:'cup_01',capability:'PICKUP'},
|
|
40
|
-
{id:'place-cup',actorId:'agent_01',supportId:'table_01',capability:'PLACE'}
|
|
41
|
-
],rules:[],acceptance:[]
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Read-only initial-state gate. Retries use fresh observations instead of rebuilding this scene.
|
|
46
|
-
export async function inspectCabinetCupTask(runtime) {
|
|
47
|
-
const refs = {...CABINET_CUP_TASK_REFS};
|
|
48
|
-
const stages = [], reasons = [];
|
|
49
|
-
const check = (stage, ok, code, message) => {
|
|
50
|
-
stages.push({stage,ok,code:ok ? null : code});
|
|
51
|
-
if (!ok) reasons.push({code,message});
|
|
52
|
-
return ok;
|
|
53
|
-
};
|
|
54
|
-
for (const [key,label] of [['actorId','智能体'],['cabinetId','柜子'],['cupId','杯子'],['supportId','桌子']]) {
|
|
55
|
-
check(`exists:${key}`,runtime.store.has(refs[key]),'TASK_OBJECT_MISSING',`缺少${label}(${refs[key]}),请准备标准任务场景。`);
|
|
56
|
-
}
|
|
57
|
-
if (reasons.length) return {supported:false,refs,stages,reasons};
|
|
58
|
-
const cup = runtime.store.get(refs.cupId);
|
|
59
|
-
const cabinet = runtime.store.get(refs.cabinetId);
|
|
60
|
-
const table = runtime.store.get(refs.supportId);
|
|
61
|
-
check('cabinet-receptacle',cabinet.manifest.receptacles?.some((item)=>item.id === 'interior'),'TASK_RECEPTACLE_MISSING','柜子缺少可用的内部容器。');
|
|
62
|
-
check('support-surface',table.manifest.surfaces?.some((item)=>item.id === refs.surfaceId),'TASK_SURFACE_MISSING','桌子缺少可用的支撑面。');
|
|
63
|
-
check('cabinet-open-action',cabinet.manifest.actions?.includes('open'),'TASK_ACTION_UNSUPPORTED','此柜子没有开门能力。');
|
|
64
|
-
check('cup-actions',['pickup','place'].every((action)=>cup.manifest.actions?.includes(action)),'TASK_ACTION_UNSUPPORTED','此杯子没有拿取和放置能力。');
|
|
65
|
-
if (reasons.length) return {supported:false,refs,stages,reasons};
|
|
66
|
-
check('cup-in-cabinet',!cup.state?.heldBy && runtime.spatial.containmentGeometry(refs.cupId,refs.cabinetId,{receptacleId:'interior'}).inside === true,'TASK_CUP_NOT_IN_CABINET','杯子当前不在柜内;请准备标准任务场景,或针对当前杯子发起其他任务。');
|
|
67
|
-
for (const targetId of [refs.cabinetId,refs.supportId]) {
|
|
68
|
-
try {
|
|
69
|
-
const pose = await runtime.interactions.findInteractionPose(refs.actorId,targetId,targetId === refs.cabinetId ? {action:'open'} : {});
|
|
70
|
-
check(`reachable:${targetId}`,Boolean(pose.position),'TASK_PATH_UNREACHABLE',`智能体无法到达${targetId},请检查门和障碍物。`);
|
|
71
|
-
} catch (error) {
|
|
72
|
-
check(`reachable:${targetId}`,false,error.reason || error.code || 'TASK_PATH_UNREACHABLE',`智能体没有可达的交互位置(${targetId}),请检查门和障碍物。`);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return {supported:reasons.length === 0,refs,stages,reasons};
|
|
76
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{"id": "GENERATION-032", "type": "test", "title": "upload response hash/bytes/mime 与本地 approved bytes 复核", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationRuntime.js"], "criteria": ["任一 mismatch → LOCAL_IMAGE_UPLOAD_INTEGRITY_MISMATCH"]}
|
|
2
|
-
{"id": "GENERATION-033", "type": "test", "title": "local upload 注册 Artifact 后保存 local-cache verified bytes", "status": "DONE", "priority": "P1", "path": "generation", "depends": ["GENERATION-032"], "files": ["application/generation/GenerationRuntime.js"], "criteria": ["registry integrity=verified + persisted cache"]}
|
|
3
|
-
{"id": "GENERATION-034", "type": "test", "title": "approved-image policy 下 canGenerateAsset=false", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationRuntime.js"], "criteria": ["Agent 不再宣称 Text→3D"]}
|
|
4
|
-
{"id": "GENERATION-035", "type": "test", "title": "approved-image 下 generateAsset 返回 image_input_required", "status": "DONE", "priority": "P1", "path": "generation", "depends": ["GENERATION-034"], "files": ["application/generation/GenerationRuntime.js"], "criteria": ["不提交 Job"]}
|
|
5
|
-
{"id": "GENERATION-036", "type": "test", "title": "composed Text→Image→3D route 把 image job 设为 parent", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["asset job parent.jobId=image job"]}
|
|
6
|
-
{"id": "GENERATION-037", "type": "test", "title": "route 需要的 capability required input 无 default 时 fail", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["GENERATION_CAPABILITY_INCOMPLETE"]}
|
|
7
|
-
{"id": "GENERATION-038", "type": "test", "title": "generation wait timeout 返回 job/provider/operation 信息", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["GENERATION_TIMEOUT details 完整且无 secret"]}
|
|
8
|
-
{"id": "GENERATION-039", "type": "test", "title": "provider succeeded 但缺 PNG source 时 composed route fail", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["GENERATION_SOURCE_ARTIFACT_INVALID"]}
|
|
9
|
-
{"id": "GENERATION-040", "type": "test", "title": "world generation 缺 required artifact role fail", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["GENERATION_WORLD_ARTIFACTS_INCOMPLETE"]}
|
|
10
|
-
{"id": "GENERATION-041", "type": "test", "title": "world artifact import 按 role 逐个校验并缓存", "status": "DONE", "priority": "P1", "path": "generation", "depends": ["GENERATION-040"], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["每个 required role integrity verified"]}
|
|
11
|
-
{"id": "GENERATION-042", "type": "test", "title": "generateAndCompileAsset provider-succeeded→import→compile→admission 顺序固定", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/GenerationOrchestrator.js"], "criteria": ["stage 状态不可跳跃"]}
|
|
12
|
-
{"id": "GENERATION-043", "type": "test", "title": "persisted world bundle 同 job 同 role 重复时拒绝 ambiguity", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/PromptHybridWorldOrchestrator.js"], "criteria": ["GENERATED_WORLD_BUNDLE_AMBIGUOUS"]}
|
|
13
|
-
{"id": "GENERATION-044", "type": "test", "title": "persisted world bundle 缺 required role 拒绝", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/PromptHybridWorldOrchestrator.js"], "criteria": ["GENERATED_WORLD_BUNDLE_INCOMPLETE"]}
|
|
14
|
-
{"id": "GENERATION-045", "type": "test", "title": "Hybrid World replace environment 后 WorldBuilder reject 时完全 rollback", "status": "DONE", "priority": "P1", "path": "generation", "depends": [], "files": ["application/generation/PromptHybridWorldOrchestrator.js"], "criteria": ["old env + scene + authority 恢复"]}
|
|
15
|
-
{"id": "GENERATION-046", "type": "test", "title": "Hybrid World rollback 自身失败时 AggregateError 保留双错误", "status": "DONE", "priority": "P1", "path": "generation", "depends": ["GENERATION-045"], "files": ["application/generation/PromptHybridWorldOrchestrator.js"], "criteria": ["error.code=PROMPT_HYBRID_WORLD_ROLLBACK_FAILED"]}
|
|
16
|
-
{"id": "AGENT-001", "type": "test", "title": "register 缺 name 拒绝", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["稳定错误"]}
|
|
17
|
-
{"id": "AGENT-002", "type": "test", "title": "register 缺 handler 拒绝", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["稳定错误"]}
|
|
18
|
-
{"id": "AGENT-003", "type": "test", "title": "duplicate skill name 拒绝", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["不覆盖原 handler"]}
|
|
19
|
-
{"id": "AGENT-004", "type": "test", "title": "skill 默认 version/permissions/mutates/history 固定", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["default contract snapshot"]}
|
|
20
|
-
{"id": "AGENT-005", "type": "test", "title": "agent:false skill 不出现在 definitions", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["内部 skill 不暴露 LLM"]}
|
|
21
|
-
{"id": "AGENT-006", "type": "test", "title": "definitions 强制 additionalProperties:false", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["模型不能塞未声明字段"]}
|
|
22
|
-
{"id": "AGENT-007", "type": "test", "title": "required 字段缺失在 handler 前拒绝", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["handler call count=0"]}
|
|
23
|
-
{"id": "AGENT-008", "type": "test", "title": "custom validator fail 在 authorization/handler 前返回 invalid_input", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["无 mutation"]}
|
|
24
|
-
{"id": "AGENT-009", "type": "test", "title": "unknown skill authorization 返回 SKILL_NOT_FOUND", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["allow=false"]}
|
|
25
|
-
{"id": "AGENT-010", "type": "test", "title": "denied permission 不执行 handler", "status": "READY", "priority": "P1", "path": "agent", "depends": ["CORE-004"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["forbidden + missing permission"]}
|
|
26
|
-
{"id": "AGENT-011", "type": "test", "title": "policy.decision trace 在 skill execution 前产生", "status": "READY", "priority": "P1", "path": "agent", "depends": ["CORE-008"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["causedBy 可关联"]}
|
|
27
|
-
{"id": "AGENT-012", "type": "test", "title": "mutating history skill 自动走 runtime.mutate", "status": "READY", "priority": "P1", "path": "agent", "depends": ["RUNTIME-002"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["handler 不直接越过 transaction"]}
|
|
28
|
-
{"id": "AGENT-013", "type": "test", "title": "mutates+history=false 自动走 exclusiveMutation", "status": "READY", "priority": "P1", "path": "agent", "depends": ["RUNTIME-003"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["不写 undo history"]}
|
|
29
|
-
{"id": "AGENT-014", "type": "test", "title": "manualMutation=true 不被 registry 再包一层", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["不出现 nested mutation"]}
|
|
30
|
-
{"id": "AGENT-015", "type": "test", "title": "skipHistory context 不创建 history entry", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["internal recovery 可控"]}
|
|
31
|
-
{"id": "AGENT-016", "type": "test", "title": "handler throw 变为 {success:false,error}", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["code/message 保真"]}
|
|
32
|
-
{"id": "AGENT-017", "type": "test", "title": "skill.failed trace 不携带 stack", "status": "READY", "priority": "P1", "path": "agent", "depends": ["CORE-010"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["安全摘要"]}
|
|
33
|
-
{"id": "AGENT-018", "type": "test", "title": "action-completed 缺 targetReached 时 classify unverified", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["POST_CONDITION_NOT_VERIFIED"]}
|
|
34
|
-
{"id": "AGENT-019", "type": "test", "title": "placed 缺 supportVerified/settled 时 unverified", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["不误报 verified"]}
|
|
35
|
-
{"id": "AGENT-020", "type": "test", "title": "dropped 必须 released+settled+stillHeld=false", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["三条件 gate"]}
|
|
36
|
-
{"id": "AGENT-021", "type": "test", "title": "recovery-cleaned 必须 release/settle/sweep/contact 四条件", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["四条件 gate"]}
|
|
37
|
-
{"id": "AGENT-022", "type": "test", "title": "provider-succeeded/artifact-imported 只 unverified", "status": "DONE", "priority": "P1", "path": "agent", "depends": ["GENERATION-042"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["不被 Agent 当完成"]}
|
|
38
|
-
{"id": "AGENT-023", "type": "test", "title": "asset-ready=verified;asset-provisional=unverified", "status": "READY", "priority": "P1", "path": "agent", "depends": ["ASSET-035"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["分类稳定"]}
|
|
39
|
-
{"id": "AGENT-024", "type": "test", "title": "world-ready=verified;world-provisional/rejected 分开", "status": "READY", "priority": "P1", "path": "agent", "depends": ["WORLD-COMPILER-024"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["分类稳定"]}
|
|
40
|
-
{"id": "AGENT-025", "type": "test", "title": "batch reject states 包含 blocked/failed/unverified/requested/error/noop", "status": "DONE", "priority": "P1", "path": "agent", "depends": [], "files": ["application/skills/SkillRegistry.js"], "criteria": ["batch 不提交半成功"]}
|
|
41
|
-
{"id": "OBSERVATION-001", "type": "test", "title": "task observation schema 固定 v1", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["schema=agentscape.task-observation.v1"]}
|
|
42
|
-
{"id": "OBSERVATION-002", "type": "test", "title": "只收 actor + last/unresolved 涉及对象", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["不把全场景塞给模型"]}
|
|
43
|
-
{"id": "OBSERVATION-003", "type": "test", "title": "position round 到 3 位小数", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["payload stable"]}
|
|
44
|
-
{"id": "OBSERVATION-004", "type": "test", "title": "relations 最多 maxRelations 条", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["默认<=8"]}
|
|
45
|
-
{"id": "OBSERVATION-005", "type": "test", "title": "relation distance round 3 位", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["stable context"]}
|
|
46
|
-
{"id": "OBSERVATION-006", "type": "test", "title": "actor navigation status 写入 observation", "status": "READY", "priority": "P1", "path": "agent.observation", "depends": ["LOCOMOTION-016"], "files": ["application/buildTaskObservation.js"], "criteria": ["current status 而非 cache"]}
|
|
47
|
-
{"id": "OBSERVATION-007", "type": "test", "title": "actor carry status 写入 observation", "status": "READY", "priority": "P1", "path": "agent.observation", "depends": ["INTERACTION-055"], "files": ["application/buildTaskObservation.js"], "criteria": ["current status"]}
|
|
48
|
-
{"id": "OBSERVATION-008", "type": "test", "title": "articulation live coordinate/target/error/tolerance 被压缩", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["不暴露 native handle"]}
|
|
49
|
-
{"id": "OBSERVATION-009", "type": "test", "title": "contact evidence 最多取前 4 条", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["token bounded"]}
|
|
50
|
-
{"id": "OBSERVATION-010", "type": "test", "title": "STALL + contact blocker 时 recovery hint 指向 suggestRecoveryActions", "status": "READY", "priority": "P1", "path": "agent.observation", "depends": ["INTERACTION-077"], "files": ["application/buildTaskObservation.js"], "criteria": ["args actor/target/part 正确"]}
|
|
51
|
-
{"id": "OBSERVATION-011", "type": "test", "title": "navigation failure hint 指向 suggestNavigationActions", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["only provisional"]}
|
|
52
|
-
{"id": "OBSERVATION-012", "type": "test", "title": "settle/support failure 不让模型 claim success", "status": "DONE", "priority": "P1", "path": "agent.observation", "depends": [], "files": ["application/buildTaskObservation.js"], "criteria": ["hint=report-unverified-or-retry-place"]}
|
|
53
|
-
{"id": "AUTHORING-CODE-001", "type": "feat", "title": "authoring.run 沙箱注入完整文档化表面并新增 restore(document)", "status": "DONE", "priority": "P1", "path": "agent.authoring-code", "depends": [], "files": ["application/createWorldAuthoringContext.js"], "criteria": ["run 注入 THREE/scene/clear/onFrame/modelRef", "restore 不触碰 revision history"]}
|
|
54
|
-
{"id": "AUTHORING-CODE-002", "type": "feat", "title": "runAuthoringCode skill:静态防护+基线恢复+revision commit+diff 摘要", "status": "DONE", "priority": "P1", "path": "agent.authoring-code", "depends": ["AUTHORING-CODE-001"], "files": ["application/skills/packs/codeSkills.js"], "criteria": ["失败自动恢复 baseline 并返回错误供模型重试", "禁用 API fail-closed 拒绝", "manualMutation 不重复包事务"]}
|
|
55
|
-
{"id": "AUTHORING-CODE-003", "type": "feat", "title": "createSession 接线 codeSkills", "status": "DONE", "priority": "P1", "path": "agent.authoring-code", "depends": ["AUTHORING-CODE-002"], "files": ["application/createSession.js"], "criteria": ["authoring 可用时 LLM tool 列表包含 runAuthoringCode"]}
|
|
56
|
-
{"id": "AUTHORING-CODE-004", "type": "feat", "title": "classifyResult 增加 authoring-code-applied/rejected/empty 映射", "status": "DONE", "priority": "P1", "path": "agent.authoring-code", "depends": ["AUTHORING-CODE-002"], "files": ["application/skills/SkillRegistry.js"], "criteria": ["applied=accepted(unverified draft)、rejected/failed=failed、empty=noop"]}
|
|
57
|
-
{"id": "AUTHORING-CODE-005", "type": "test", "title": "runAuthoringCode 单元测试 + 真实 ToolCallingAgent 回环集成测试", "status": "DONE", "priority": "P1", "path": "agent.authoring-code", "depends": ["AUTHORING-CODE-003", "AUTHORING-CODE-004"], "files": ["tests/agent/code-skills.test.js", "tests/integration/authoring-code-agent-loop.test.js"], "criteria": ["失败→恢复→重试→晋升全链路", "晋升实体进入 ObjectStore+Physics", "Agent taskStatus=completed"]}
|
|
58
|
-
{"id": "ACCEPTANCE-WORLD", "type": "test", "title": "柜内杯子到桌面在真实世界中重复验收", "status": "DONE", "priority": "P0", "path": "product.acceptance.world", "depends": ["ACCEPTANCE-BASELINE"], "files": ["application/tasks/CabinetCupTask.js", "dev/acceptance/cabinetCup.mjs", "tests/e2e/cabinet-cup-acceptance.test.js", "docs/capabilities/cabinet-cup-task.md", "docs/evidence/cabinet-cup-2026-11-02.json"], "criteria": ["复用现有跨世界实验并记录本轮全部结果", "标准任务多次重置后通过真实物理导航交互验证", "提供场景支持矩阵与故障阶段报告"], "evidence": ["003/004/005 本轮重跑并记录全部诊断结果", "npm run acceptance:world:三个环境各三次重建及四故障共13次通过", "Vitest 定向7项通过;scripted gateway + real runtime,不代表真实LLM成绩"]}
|
|
59
|
-
{"id": "CODE-PROJECT-001", "type": "feat", "title": "运行完整代码项目并向 AI 开放动态能力、作品保存与恢复", "status": "DONE", "priority": "P0", "path": "application.code-project", "depends": [], "files": ["application/native-scene/CodeProject.js", "modules/world/runtime/ProjectCapabilities.js", "application/scene/SceneFacade.js", "dev/build-code-project.mjs", "tests/integration/code-project.test.js", "tests/browser/code-project.spec.js", "docs/modules/code-project.md"], "criteria": ["多文件 Three.js、Shader 和持续逻辑保留原生运行能力", "自定义动作可发现、校验参数、调用和取消,无验证器也可执行", "代码、嵌入资源、自定义状态及 Runtime 资产可在新会话恢复", "真实 Agent 循环、Chromium、HTTP MCP 与独立 SDK 安装验证"], "evidence": ["2026-11-13:架构、类型、资源与 world viability 校验通过;生产构建通过", "Vitest 单 worker 全量355文件、1761通过、2跳过;最后语义修正定向33项通过", "test:mcp:15文件、24通过、2跳过;test:browser:26通过", "sdk:verify:独立安装、跨进程代码项目/自定义状态/Runtime资产恢复通过;最后打包使用已缓存依赖离线复核", "默认并发全量一次出现3项world-affordances的5秒超时,单worker通过;未放宽断言或超时,不宣称默认check全通过"]}
|
|
60
|
-
{"id": "APP-JOURNEY-001", "type": "test", "title": "CabinetCup 标准旅程在 Studio、SDK、MCP 三入口的后置条件一致性核查", "status": "DONE", "priority": "P1", "path": "application", "depends": [], "files": ["apps/studio", "sdk/typescript", "apps/mcp-server"], "criteria": ["同一旅程在三入口执行后的世界状态一致", "每一步的请求成功与行为验证分别报告", "不一致项登记为对应所有者的缺口任务"]}
|
|
61
|
-
{"id": "APP-JOURNEY-002", "type": "test", "title": "五类失败旅程核查:缺失目标、重名歧义、路径阻挡、执行取消、损坏项目包", "status": "DONE", "priority": "P1", "path": "application", "depends": [], "files": ["application", "apps/studio"], "criteria": ["每类失败都明确返回失败且不宣称成功", "取消后不继续执行后续步骤", "损坏项目包导入失败并完整回滚", "核查缺口登记为对应所有者的任务"]}
|
|
62
|
-
{"id": "APP-NATIVE-001", "type": "research", "title": "明确原生 Code Project(attach)保存与导入的支持边界", "status": "DONE", "priority": "P2", "path": "application", "depends": [], "files": ["application/native-scene"], "criteria": ["给出支持、部分支持或明确不支持的结论与理由", "结论同步到公共契约与能力矩阵", "导入过程不执行存档中的原生源码"]}
|
|
63
|
-
{"id": "APP-JOURNEY-003", "type": "test", "title": "经 TypeScript SDK 执行 CabinetCup 标准旅程并断言同一后置条件", "status": "DONE", "priority": "P1", "path": "application", "depends": ["APP-JOURNEY-001"], "files": ["sdk/typescript", "application/tasks/CabinetCupTask.js"], "criteria": ["SDK 打开 monument-hall 标准任务世界并完成开柜、取杯、放桌", "后置条件与规范旅程一致(supportVerified、settled)", "SDK 缺少必要入口时先登记 API 缺口,不用内部模块绕过"]}
|
|
64
|
-
{"id": "APP-JOURNEY-004", "type": "test", "title": "损坏的 Scene Project 包导入失败且现有世界完整回滚", "status": "DONE", "priority": "P1", "path": "application", "depends": ["APP-JOURNEY-002"], "files": ["application/scene", "tests/mcp/scene-import.test.js"], "criteria": ["损坏包导入返回明确失败,不宣称成功", "导入失败后现有世界对象与状态不变", "MCP 与 SDK 两条导入路径行为一致"]}
|
|
65
|
-
|
|
66
|
-
{"id": "APP-PROMPT-001", "type": "feat", "title": "一句话世界提案被拒后按诊断有界修复重试", "status": "DONE", "priority": "P1", "path": "application", "depends": [], "files": ["application/generation/PromptHybridWorldOrchestrator.js", "tests/generation/prompt-hybrid-world-repair.test.js"], "criteria": ["修复只针对 world-rejected 准入拒绝,异常不重试", "重试次数有界(1–3)且每次尝试前回滚到提案前状态", "静态 proposal 调用行为不变"]}
|
|
67
|
-
{"id": "APP-PROMPT-002", "type": "feat", "title": "Agent 技能层接入世界提案修复循环", "status": "DONE", "priority": "P1", "path": "application", "depends": ["APP-PROMPT-001"], "files": ["application/skills/packs/generationSkills.js", "tests/generation/agent-world-repair.test.js"], "criteria": ["world-rejected 诊断进入规划器下一轮上下文", "技能说明明确被拒后按诊断修正再调用", "Agent 端到端完成被拒、修正、建成"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { sha256ArtifactHash } from '../../modules/artifact/IncrementalSha256.js';
|
|
2
|
-
import { exportPromotionGLB } from './AuthoringPromotionSource.js';
|
|
3
|
-
|
|
4
|
-
export function createAuthoringAssetProducer({ assets, artifacts, exportGLB = exportPromotionGLB }) {
|
|
5
|
-
return async (source, { usage, definition = null, assetId:requestedAssetId = null }) => {
|
|
6
|
-
const data = await exportGLB(source);
|
|
7
|
-
const hash = sha256ArtifactHash([data]);
|
|
8
|
-
const suffix = hash.slice(7);
|
|
9
|
-
const artifactId = `authored_${suffix}`;
|
|
10
|
-
const assetId = requestedAssetId || `authored_${suffix}_${usage}`;
|
|
11
|
-
const cacheKey = `cache_${artifactId}`;
|
|
12
|
-
const now = new Date().toISOString();
|
|
13
|
-
if (!artifacts.registry.get(artifactId)) {
|
|
14
|
-
artifacts.registry.register({
|
|
15
|
-
id:artifactId, role:'primary-glb', type:'asset-bundle',
|
|
16
|
-
schema:{ id:'agentscape.artifact', version:'1' }, displayName:'Authored object',
|
|
17
|
-
mime:'model/gltf-binary', format:'glb', bytes:data.byteLength, hash,
|
|
18
|
-
producer:{ provider:'authoring', jobId:`export_${suffix}`, operation:'authoring.export.glb.v1', stage:'authoring' },
|
|
19
|
-
lineage:{ parents:[] }, createdAt:now, retention:{ class:'project' }, locations:[]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
if (!artifacts.byteStore.get(cacheKey)) {
|
|
23
|
-
const writer = artifacts.byteStore.begin({ artifactId, maxBytes:data.byteLength });
|
|
24
|
-
try {
|
|
25
|
-
await writer.write(data);
|
|
26
|
-
await writer.commit({ key:cacheKey, hash, mime:'model/gltf-binary', bytes:data.byteLength });
|
|
27
|
-
} catch (error) {
|
|
28
|
-
if (writer.state === 'open') await writer.abort();
|
|
29
|
-
throw error;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
artifacts.registry.updateLocation(artifactId, {
|
|
33
|
-
id:`local_${artifactId}`, kind:'local-cache', scope:'application', state:'available',
|
|
34
|
-
verifiedAt:now, access:{ kind:'cache-key', key:cacheKey }
|
|
35
|
-
});
|
|
36
|
-
artifacts.registry.verifyIntegrity(artifactId, {
|
|
37
|
-
hash, bytes:data.byteLength, mime:'model/gltf-binary', verifiedAt:now, method:'authoring-sha256-v1'
|
|
38
|
-
});
|
|
39
|
-
await artifacts.persistArtifact(artifactId, cacheKey);
|
|
40
|
-
return assets.produceAsset({ artifactId, assetId, label:definition?.label || 'Authored object', authoringIntent:{ usage }, ...(definition ? {definition} : {}) });
|
|
41
|
-
};
|
|
42
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { AUTHORING_FORMAT, AUTHORING_VERSION, parseAuthoringDocument } from './AuthoringDocument.js';
|
|
2
|
-
|
|
3
|
-
export const AUTHORING_DIFF_FORMAT = 'agentscape-world-authoring-diff';
|
|
4
|
-
export const AUTHORING_DIFF_VERSION = 1;
|
|
5
|
-
|
|
6
|
-
function clone(value) {
|
|
7
|
-
return value === undefined ? undefined : JSON.parse(JSON.stringify(value));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function canonical(value) {
|
|
11
|
-
if (value === null || typeof value !== 'object') return JSON.stringify(value);
|
|
12
|
-
if (Array.isArray(value)) return '[' + value.map(canonical).join(',') + ']';
|
|
13
|
-
return '{' + Object.keys(value)
|
|
14
|
-
.sort()
|
|
15
|
-
.map(key => JSON.stringify(key) + ':' + canonical(value[key]))
|
|
16
|
-
.join(',') + '}';
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function same(a, b) {
|
|
20
|
-
return canonical(a) === canonical(b);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function flatten(document) {
|
|
24
|
-
const state = parseAuthoringDocument(document);
|
|
25
|
-
const records = {};
|
|
26
|
-
|
|
27
|
-
for (const [id, node] of Object.entries(state.nodesById)) {
|
|
28
|
-
const parentId = state.parentIdById[id];
|
|
29
|
-
const siblings = parentId == null ? [id] : state.childIdsById[parentId] || [];
|
|
30
|
-
records[id] = {
|
|
31
|
-
id,
|
|
32
|
-
parentId,
|
|
33
|
-
index: siblings.indexOf(id),
|
|
34
|
-
node: clone(node)
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
return {
|
|
39
|
-
state,
|
|
40
|
-
records
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function diffResourcePool(beforePool = {}, afterPool = {}) {
|
|
45
|
-
const added = [];
|
|
46
|
-
const removed = [];
|
|
47
|
-
const updated = [];
|
|
48
|
-
|
|
49
|
-
for (const id of Object.keys(afterPool).sort()) {
|
|
50
|
-
if (!(id in beforePool)) {
|
|
51
|
-
added.push({ id, value:clone(afterPool[id]) });
|
|
52
|
-
} else if (!same(beforePool[id], afterPool[id])) {
|
|
53
|
-
updated.push({
|
|
54
|
-
id,
|
|
55
|
-
before:clone(beforePool[id]),
|
|
56
|
-
after:clone(afterPool[id])
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
for (const id of Object.keys(beforePool).sort()) {
|
|
62
|
-
if (!(id in afterPool)) {
|
|
63
|
-
removed.push({ id, value:clone(beforePool[id]) });
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
return { added, removed, updated };
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function diffAuthoringDocuments(before, after) {
|
|
71
|
-
if (before?.format !== AUTHORING_FORMAT || before?.version !== AUTHORING_VERSION) {
|
|
72
|
-
throw new TypeError('World Authoring diff requires a valid before document');
|
|
73
|
-
}
|
|
74
|
-
if (after?.format !== AUTHORING_FORMAT || after?.version !== AUTHORING_VERSION) {
|
|
75
|
-
throw new TypeError('World Authoring diff requires a valid after document');
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const left = flatten(before);
|
|
79
|
-
const right = flatten(after);
|
|
80
|
-
const added = [];
|
|
81
|
-
const removed = [];
|
|
82
|
-
const updated = [];
|
|
83
|
-
const moved = [];
|
|
84
|
-
|
|
85
|
-
for (const id of Object.keys(right.records).sort()) {
|
|
86
|
-
const next = right.records[id];
|
|
87
|
-
const previous = left.records[id];
|
|
88
|
-
|
|
89
|
-
if (!previous) {
|
|
90
|
-
added.push(clone(next));
|
|
91
|
-
continue;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (!same(previous.node, next.node)) {
|
|
95
|
-
updated.push({
|
|
96
|
-
id,
|
|
97
|
-
before:clone(previous.node),
|
|
98
|
-
after:clone(next.node)
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
if (previous.parentId !== next.parentId || previous.index !== next.index) {
|
|
103
|
-
moved.push({
|
|
104
|
-
id,
|
|
105
|
-
from:{ parentId:previous.parentId, index:previous.index },
|
|
106
|
-
to:{ parentId:next.parentId, index:next.index }
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
for (const id of Object.keys(left.records).sort()) {
|
|
112
|
-
if (!right.records[id]) removed.push(clone(left.records[id]));
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
const geometries = diffResourcePool(left.state.geometries, right.state.geometries);
|
|
116
|
-
const materials = diffResourcePool(left.state.materials, right.state.materials);
|
|
117
|
-
const textures = diffResourcePool(left.state.textures, right.state.textures);
|
|
118
|
-
|
|
119
|
-
const empty = added.length === 0
|
|
120
|
-
&& removed.length === 0
|
|
121
|
-
&& updated.length === 0
|
|
122
|
-
&& moved.length === 0
|
|
123
|
-
&& geometries.added.length === 0
|
|
124
|
-
&& geometries.removed.length === 0
|
|
125
|
-
&& geometries.updated.length === 0
|
|
126
|
-
&& materials.added.length === 0
|
|
127
|
-
&& materials.removed.length === 0
|
|
128
|
-
&& materials.updated.length === 0
|
|
129
|
-
&& textures.added.length === 0
|
|
130
|
-
&& textures.removed.length === 0
|
|
131
|
-
&& textures.updated.length === 0;
|
|
132
|
-
|
|
133
|
-
return {
|
|
134
|
-
format:AUTHORING_DIFF_FORMAT,
|
|
135
|
-
version:AUTHORING_DIFF_VERSION,
|
|
136
|
-
empty,
|
|
137
|
-
nodes:{ added, removed, updated, moved },
|
|
138
|
-
resources:{ geometries, materials, textures }
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function areAuthoringDocumentsEqual(a, b) {
|
|
143
|
-
return same(a, b);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function canonicalizeAuthoringDocument(document) {
|
|
147
|
-
parseAuthoringDocument(document);
|
|
148
|
-
return canonical(document);
|
|
149
|
-
}
|