3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
Merge remote-tracking branch 'origin/main' into 2052-motion-not-set
Nguyen Xuan An0e8a1e8720d5
diff --cc scripts/agent-runtime.mjsindex 0ace14f4,3c51ada9..0a1d2711--- a/scripts/agent-runtime.mjs+++ b/scripts/agent-runtime.mjs@@@ -57,11 -60,11 +60,12 @@@ import { ANNOTATE_LIMITS, validateMarksimport { REVIEW_LINK_LIMITS, newReviewId, parseReviewFile, validateReviewMarks } from '../src/review-link.js';import { writeReviewBuild } from './review-page.mjs';import { normalizeReview, reviewDeadlineMessage, REVIEW_LIMITS } from './agent-review.mjs';- import { mergeFrameDiagnostics, pathTracerFindingsLimit } from '../src/frame-checks.js';+ import { mergeFrameDiagnostics, pathTracerFindingsLimit, pathTracerSkippedPassesWarning } from '../src/frame-checks.js';import { BRANCH_LIMITS, validateBranchName } from '../src/agent-branches.js';import { createSharedGpuCard } from './agent-gpu-queue.mjs';+ import { isBrowserLoss, describeBrowserLoss } from './agent-browser-loss.mjs';import { sessionProblem, SCENE_STORE_LIMITS } from '../src/agent-errors.js';+import { MOTION_NOT_SET_HINT, recipeMoves } from '../src/motion-hint.js';const SCENE_LIMITS = AGENT_SCENE_DEFAULT_LIMITS;const MAXIMUM_IMAGE_BYTES = 1024 * 1024;diff --cc tests/support/preview-harness.mjsindex 78b676f0,c966a74a..3b5e0664--- a/tests/support/preview-harness.mjs+++ b/tests/support/preview-harness.mjs@@@ -13,9 -13,8 +13,9 @@@ import { hasPatternTextures } from '../import { rasterOptionsFor } from '../../scripts/agent-render-quality.mjs';import { assetCopyKey, recipeAssetNeeds } from '../../src/agent-scene-assets.js';import { BRANCH_LIMITS, createBranchStore, printableLabel } from '../../src/agent-branches.js';- import { sessionProblem, SCENE_STORE_LIMITS } from '../../src/agent-errors.js';+ import { sessionProblem, planSceneEviction, SCENE_STORE_LIMITS } from '../../src/agent-errors.js';import { imageLimitProblem } from '../../src/image-header.js';+import { MOTION_NOT_SET_HINT, recipeMoves } from '../../src/motion-hint.js';import { sampleMotionAtZeroForGround } from '../../scripts/motion-ground-sample.js';import { TEXTURE_SEQUENCE_LIMITS } from '../../src/texture-sequence-limits.js';import { AGENT_SCENE_DEFAULT_LIMITS, MEMORY_CEILING_MIB } from '../../src/agent-scene-capabilities.js';@@@ -90,7 -89,7 +90,7 @@@ export function previewHarness({ create// The harness loads Manifold from node_modules directly, so the preview's served-file loader is ignored.setManifoldModuleLoader: () => {},needsPhysics, loadPhysicsEngine, physicsEngineLoaded, setPhysicsModuleLoader: () => {},- describeMarks, validateMarks, sceneQueryFor, partMaterialsFor, summarizeWalkMap, walkOptionsFor, createQueryOnlyCache, parseGltf, hasPatternTextures, rasterOptionsFor, Uint8Array, atob, sessionProblem, SCENE_STORE_LIMITS, AGENT_SCENE_DEFAULT_LIMITS, MEMORY_CEILING_MIB, imageLimitProblem, MOTION_NOT_SET_HINT, recipeMoves, sampleMotionAtZeroForGround, TEXTURE_SEQUENCE_LIMITS, Blob, createImageBitmap, describeApplication, framingProblems, placementProblems, textureProblems, exposureProblems, lumaShares, assetCopyKey, recipeAssetNeeds, agentAssetDecodeOptions, withCatalogLimitAdvice,- describeMarks, validateMarks, sceneQueryFor, partMaterialsFor, summarizeWalkMap, walkOptionsFor, createQueryOnlyCache, parseGltf, hasPatternTextures, rasterOptionsFor, Uint8Array, atob, sessionProblem, planSceneEviction, SCENE_STORE_LIMITS, AGENT_SCENE_DEFAULT_LIMITS, MEMORY_CEILING_MIB, imageLimitProblem, sampleMotionAtZeroForGround, TEXTURE_SEQUENCE_LIMITS, Blob, createImageBitmap, describeApplication, framingProblems, placementProblems, textureProblems, exposureProblems, lumaShares, assetCopyKey, recipeAssetNeeds, agentAssetDecodeOptions, withCatalogLimitAdvice,++ describeMarks, validateMarks, sceneQueryFor, partMaterialsFor, summarizeWalkMap, walkOptionsFor, createQueryOnlyCache, parseGltf, hasPatternTextures, rasterOptionsFor, Uint8Array, atob, sessionProblem, planSceneEviction, SCENE_STORE_LIMITS, AGENT_SCENE_DEFAULT_LIMITS, MEMORY_CEILING_MIB, imageLimitProblem, MOTION_NOT_SET_HINT, recipeMoves, sampleMotionAtZeroForGround, TEXTURE_SEQUENCE_LIMITS, Blob, createImageBitmap, describeApplication, framingProblems, placementProblems, textureProblems, exposureProblems, lumaShares, assetCopyKey, recipeAssetNeeds, agentAssetDecodeOptions, withCatalogLimitAdvice,applyProjection, applyCameraFields, mat4, fitAgentShadow, resolveAgentShadow, agentEnvironmentMap, BRANCH_LIMITS,// Line art needs a real renderer with render passes, so the fault-injected one gets a no-op install.agentSceneModule: name => (name === 'lineArt' ? { installLineArt: renderer => renderer } : name === 'userPass' ? { ...agentSceneModule(name), installUserPasses: renderer => renderer } : agentSceneModule(name)), agentSceneModuleLoaded, createBranchStore, printableLabel,