3D engine that AI agents drive
Merge remote-tracking branch 'origin/main' into HEAD
Nguyen Xuan Anfeea3c4a9767
diff --cc CHANGELOG.mdindex d6d0b113,614e1b4a..4df02c5f--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -2,10 -2,11 +2,15 @@@## Unreleased+- Reach Rapier from recipes: a `physics` section (and a `set-physics` operation) puts rigid bodies on node IDs with box, ball, capsule, convex or trimesh colliders fitted to their geometry, joints, gravity and a duration of up to 10 seconds. It is recorded once at 60 steps a second and seeks like `motion`, so a seek back repeats the same frame (checked as identical PNG bytes on SwiftShader through MCP). `scene_inspect` reports per-body final positions and resting times, contacts and sensor enter and leave events. Rapier stays an optional peer, served to the preview from `node_modules` like Manifold, so the MCP server bundle does not grow.+- Add trimesh and convex-hull colliders (bounded triangle and point counts, checked before allocation), sensors with enter and leave events, and 16-bit collision groups and masks to `addons/physics`, plus `contactEvents`, `restFrames`, `bakePhysicsScene`, `loadPhysicsEngine` and `setPhysicsModuleLoader`. A collider with `sensor` now bakes instead of throwing.+- Add the `tray-drop` task to the agent modeling suite: balls dropped into a pocket cut in an authored mesh, graded on a fixed trimesh body, balls resting on the pocket floor and a repeatable seek. Raise four size budgets for the physics code (`entry:physics` to 17,900, `entry:agent-scene` to 121,100, `entry:agent-asset` to 128,500, `scene:agent-scene` to 147,300 bytes gzip).++ - Add bounded field expressions: a JSON language of math, comparison, logic, vectors, seeded noise and attributes (position, normal, index, tags) that compiles once to closures over typed arrays and never executes a string. It limits nodes (64), depth (12), elements (250,000) and node-evaluations (8 million) before it evaluates, and only reads operator names from a fixed table. It drives a `{ "field": expression }` face selection rule, `set_position` and `displace` as edits and stack nodes, and a `where` filter for instances. `displace` and `set_position` match Blender's Displace modifier and a Geometry Nodes Set Position node in five new golden cases+ - Add `instances` on a recipe node: repeat its geometry at the points of a grid, a seeded scatter in a box or the surface of a geometry, with `where`, `yaw`, `alignToNormal` and `scale`, at most 2048 candidate points. It expands to ordinary nodes that share geometry and material, so the renderer draws one instanced batch. Add the `pillar-court` task to the agent modeling suite+ - Add the `scene_export_glb` MCP tool (22 tools now) and morph weight clips in `exportGlb`. The tool writes the active recipe or imported asset scene as a GLB under `<jobs>/exports/` with a server-chosen name and returns the path, byte count and SHA-256; it takes no path, keeps the newest eight files and refuses more than 32 MiB. It exports the current pose (pattern textures, imported textures, skins, morph weights, IK as posed), `motionTime` seeks authored motion first, and `clip` adds an imported asset's source clip. Clip tracks with `property: 'weights'` write a SCALAR sampler of one weight per target. Checked in Blender 5.2: a patterned recipe opens with 2 meshes and 3 images, the robot with IK opens as 1 armature, 43 bones and 20 meshes, and its Walking clip as one action of 23 frames. Nothing in `src/index.js` changes, so no size budget moves+ - Add material layers: `clearcoat` and `clearcoatRoughness`, `transmission` with `thickness`, `ior`, `attenuationColor` and `attenuationDistance`, `sheenColor` and `sheenRoughness`, and `specular` and `specularColor`. Recipes, the MCP schema, glTF import and export (`KHR_materials_clearcoat`, `transmission`, `volume`, `ior`, `specular`, `sheen`) all take them, each checked at the boundary. Transmission refracts the opaque scene like the `liquid` material. Anisotropy and iridescence are not rendered yet. Import of those two still warns+ - Change the glTF import of the six layer extensions above from accepted-and-ignored to rendered, so `asset.warnings` no longer lists them- Add spot lights (`environment.spotLights`, 8), rectangular area lights (`environment.areaLights`, 4) and shadows for point and spot lights (`castShadow: true`). Intensity of a spot light is candela, as for a point light, with Blender's cone mask. Area lights use a representative point, within 1.2 percent of Cycles on the axis. Shadows share one 2048 x 3072 depth atlas of 24 tiles (24 MiB, allocated on first use): a point light takes 6 and a spot light 1, and a request for more is an error. The shader code and the atlas exist only in a scene that uses them. Recipes get all of it through `set-environment`, the MCP schema and `scene_capabilities` (`maxSpotLights`, `maxAreaLights`, `localShadows`). Cascaded directional shadows and light linking are not part of this- Add ten cutting and repair edits: `fill_holes`, `dissolve_faces`, `dissolve_edges`, `dissolve_verts`, `dissolve_limited`, `bisect_plane` (with `fill`, `clearInner`, `clearOuter`), `bridge_edge_loops` (with `segments`), `subdivide_edges`, `grid_fill` and `knife_project`. Each tags what it makes, and the edge rule `{ "open": true }` picks boundary edges. The lint message for an open boundary now suggests `fill_holes`. 18 new cases match Blender in counts, face sizes, area, volume and positions; the knife is compared only with a straight plane cut and differs where a face runs along the projection directiondiff --cc bench/agent-modeling/tasks.mjsindex 5c60c596,f6945c7f..dfd2ca06--- a/bench/agent-modeling/tasks.mjs+++ b/bench/agent-modeling/tasks.mjs@@@ -245,22 -245,21 +245,37 @@@ For this task the object does not need{ kind: 'nodeDistance', from: 'elbow', to: 'tip', time: 1, distance: 0.4 },],},+ {+ id: 'tray-drop',+ prompt: `A pocketed block with three balls dropped into it, using recipe physics. The block is node "tray", a mesh of+2 m by 0.4 m by 2 m (X, Y, Z) standing on the ground, with a square pocket 1.2 m wide cut 0.3 m deep into the middle of+its top face. Three balls of radius 0.1 m are nodes "ball-1", "ball-2" and "ball-3", starting above the pocket at+[0, 1, 0], [0.25, 1.5, 0.1] and [-0.25, 2, -0.1]. Add a 3 second physics section: the tray is a fixed body with a+trimesh collider, so it follows the pocket, and the balls are dynamic ball bodies. The balls must end resting on the+pocket floor, not on the block's top. Check the result with scene_inspect.+For this task the balls do not need to rest on the ground at time 0.`,+ checks: [+ { kind: 'lint' },+ { kind: 'physicsBody', node: 'tray', type: 'fixed', shape: 'trimesh', label: 'tray is a fixed trimesh' },+ { kind: 'physicsRest', nodes: ['ball-1', 'ball-2', 'ball-3'], height: [0.17, 0.23], within: 0.5, touching: 'tray', label: 'balls rest on the pocket floor' },+ { kind: 'physicsSeek', label: 'seek back repeats the frame' },+ ],+ },+ {+ id: 'pillar-court',+ prompt: `A pillar court: a grid of 5 pillars along X by 3 along Z. Each pillar is a square column 0.1 m wide and+ 0.5 m tall. Pillars are 0.4 m apart along X and 0.5 m apart along Z, centre to centre, the whole grid centred on+ X = 0 and Z = 0, every pillar standing on the ground. Repeat one pillar over the grid instead of modelling fifteen.`,+ checks: [+ { kind: 'lint' },+ { kind: 'size', expected: [1.7, 0.5, 1.1] },+ { kind: 'ground' },+ { kind: 'holes', equals: 0 },+ { kind: 'volume', min: 0.0725, max: 0.0775 },+ { kind: 'section', axis: 'y', at: 0.25, equals: 15, label: 'fifteen pillars' },+ { kind: 'section', axis: 'x', at: 0.4, equals: 3, label: 'three pillars along Z in the column at X = 0.4' },+ ],+ },{id: 'robot-reach',assets: true,diff --cc bench/size/baseline.jsonindex 05fb5094,3fb03289..f74c23e2--- a/bench/size/baseline.json+++ b/bench/size/baseline.json@@@ -14,9 -14,9 +14,9 @@@},"bundles": {"entry:core": {- "min": 261051,- "gzip": 74713,- "brotli": 63726- "min": 269168,- "gzip": 76869,- "brotli": 65593++ "min": 269229,++ "gzip": 76877,++ "brotli": 65768},"entry:model": {"min": 40093,@@@ -79,9 -79,9 +79,9 @@@"brotli": 9398},"entry:physics": {-- "min": 50023,-- "gzip": 16121,-- "brotli": 13649++ "min": 54288,++ "gzip": 17571,++ "brotli": 14952},"entry:spume": {"min": 24434,@@@ -129,14 -129,14 +129,14 @@@"brotli": 762},"entry:agent-scene": {- "min": 338801,- "gzip": 107187,- "brotli": 91567- "min": 363196,- "gzip": 115077,- "brotli": 97971++ "min": 399226,++ "gzip": 126629,++ "brotli": 107783},"entry:agent-asset": {- "min": 365325,- "gzip": 114605,- "brotli": 98079- "min": 389720,- "gzip": 122420,- "brotli": 104242++ "min": 425353,++ "gzip": 133851,++ "brotli": 113836},"entry:hdri": {"min": 8075,@@@ -144,19 -144,19 +144,19 @@@"brotli": 2801},"scene:lit-box": {- "min": 194282,- "gzip": 53065,- "brotli": 45377+ "min": 200858,+ "gzip": 54820,+ "brotli": 46863},"scene:gltf-box": {- "min": 251444,- "gzip": 71774,- "brotli": 61619+ "min": 258708,+ "gzip": 73797,+ "brotli": 63362},"scene:agent-scene": {- "min": 437383,- "gzip": 133081,- "brotli": 113464- "min": 462799,- "gzip": 141241,- "brotli": 120198++ "min": 498424,++ "gzip": 152612,++ "brotli": 129631}}}diff --cc bench/size/budgets.jsonindex 5f36d5b8,709f802b..52cf5d30--- a/bench/size/budgets.json+++ b/bench/size/budgets.json@@@ -15,10 -15,10 +15,10 @@@"entry:sculpt": 2500,"entry:surface": 10100,"entry:mesh-query": 15900,- "entry:mesh": 44700,+ "entry:mesh": 49400,"entry:shrinkwrap": 18300,"entry:surface-attachment": 11800,- "entry:physics": 17900,- "entry:physics": 16500,++ "entry:physics": 18000,"entry:spume": 9000,"entry:retarget": 15700,"entry:skeleton-pose": 17200,@@@ -28,11 -28,11 +28,11 @@@"entry:grass": 4400,"entry:clutter": 5300,"entry:texture-set": 900,- "entry:agent-scene": 121100,- "entry:agent-asset": 128500,- "entry:agent-scene": 117400,- "entry:agent-asset": 124900,++ "entry:agent-scene": 129200,++ "entry:agent-asset": 136600,"entry:hdri": 3300,- "scene:lit-box": 54200,- "scene:gltf-box": 73300,- "scene:agent-scene": 147300+ "scene:lit-box": 56000,+ "scene:gltf-box": 75300,- "scene:agent-scene": 144100++ "scene:agent-scene": 155700}}diff --cc scripts/agent-preview-browser.jsindex 48f7d694,4081b677..98814e37--- a/scripts/agent-preview-browser.js+++ b/scripts/agent-preview-browser.js@@@ -193,13 -194,65 +196,68 @@@ setPhysicsModuleLoader(() => import(/*// The boolean engine is WebAssembly and loads asynchronously, once. Calls that do not need it stay synchronous.function afterMeshBooleans(value, run) {- if (meshBooleansLoaded() || !needsMeshBooleans(value)) return run();- return loadMeshBooleans().then(run);+ const loads = [];+ if (!meshBooleansLoaded() && needsMeshBooleans(value)) loads.push(loadMeshBooleans());+ if (!physicsEngineLoaded() && needsPhysics(value)) loads.push(loadPhysicsEngine());+ if (!loads.length) return run();+ return Promise.all(loads).then(run);}+ function seekForExport(record, motionTime) {+ if (record.asset) record.scene.sampleFrame({ motionTime });+ else record.scene.sampleMotion(motionTime);+ }++ // The scene's parts already carry the current pose, including IK and node overrides, so skinned parts export it as is.+ function posedExport(record) {+ return { parts: record.scene.parts.map(withoutRoundoffShear), options: {} };+ }++ // Chains of bone transforms leave world matrices with Float32 roundoff that the exporter reads as shear. Real shear+ // (dot products above the tolerance) still reaches the exporter and fails there.+ const ROUNDOFF_SHEAR_LIMIT = 1e-3;++ function withoutRoundoffShear(part) {+ if (part.skin) return part;+ const columns = [0, 4, 8].map(offset => {+ const column = [part.matrix[offset], part.matrix[offset + 1], part.matrix[offset + 2]];+ const length = Math.hypot(...column);+ return length === 0 ? column : column.map(value => value / length);+ });+ const dots = [[0, 1], [0, 2], [1, 2]].map(([first, second]) => Math.abs(columns[first].reduce((sum, value, axis) => sum + value * columns[second][axis], 0)));+ if (Math.max(...dots) > ROUNDOFF_SHEAR_LIMIT) return part;+ const scale = mat4.getScaling([0, 0, 0], part.matrix);+ const rotation = mat4.getRotation([0, 0, 0, 1], part.matrix);+ const translation = mat4.getTranslation([0, 0, 0], part.matrix);+ return { ...part, matrix: mat4.fromRotationTranslationScale(mat4.create(), rotation, translation, scale) };+ }++ // A source clip animates the source skeleton, so the scene must not carry a pose of its own that the clip would fight.+ function clipExport(record, clipIndex) {+ const { asset, scene } = record;+ if (!asset) throw new Error('clip needs an imported asset scene. Recipe scenes export their current pose.');+ const animation = asset.animations[clipIndex];+ if (!animation) throw new RangeError(`clip ${clipIndex} does not exist. The asset has ${asset.animations.length} clips.`);+ const recipe = scene.exportRecipe();+ if (recipe.animation || recipe.nodeOverrides.length || recipe.motion) {+ throw new Error('Exporting a clip needs the unposed asset: remove animation, node overrides and motion first, or export without clip for the current pose.');+ }+ const sourceClip = clipFromGltfAnimation(animation);+ const name = String(animation.name || `clip ${clipIndex}`);+ const clip = { ...sourceClip, name, tracks: [...sourceClip.tracks, ...weightTracksFromGltfAnimation(animation)] };+ return { parts: [...asset.parts], options: { nodes: asset.nodes, clips: [clip] } };+ }++ function bytesToBase64(bytes) {+ if (typeof bytes.toBase64 === 'function') return bytes.toBase64();+ const chunkSize = 0x8000;+ let binary = '';+ for (let offset = 0; offset < bytes.length; offset += chunkSize) {+ binary += String.fromCharCode(...bytes.subarray(offset, offset + chunkSize));+ }+ return btoa(binary);+ }+window.__agentPreview = {reviewBegin({ sessionId, width, height }) {const record = requireSession(sessionId);diff --cc scripts/agent-runtime.mjsindex 29f1205c,53c0a5a1..5fde6e2b--- a/scripts/agent-runtime.mjs+++ b/scripts/agent-runtime.mjs@@@ -1,8 -1,8 +1,8 @@@import { createServer } from 'node:http';- import { randomUUID } from 'node:crypto';+ import { createHash, randomUUID } from 'node:crypto';import { existsSync } from 'node:fs';- import { readFile, writeFile } from 'node:fs/promises';+ import { lstat, mkdir, readFile, unlink, writeFile } from 'node:fs/promises';-import { isAbsolute, join } from 'node:path';+import { dirname, isAbsolute, join } from 'node:path';import { createRequire } from 'node:module';import packageMetadata from '../package.json' with { type: 'json' };import { AGENT_SCENE_CAPABILITIES, AGENT_SCENE_DEFAULT_LIMITS } from '../src/agent-scene-capabilities.js';diff --cc scripts/mcp-server.mjsindex ece78043,1dc10393..367054d1--- a/scripts/mcp-server.mjs+++ b/scripts/mcp-server.mjs@@@ -420,10 -442,10 +473,10 @@@ export function createAgentMcpServer(ruregister('scene_create', 'Create the single active render scene from a JSON recipe. Dispose an existing scene first.', z.strictObject({ recipe }), { ...edit, destructiveHint: false }, async argumentsValue => jsonResult(await runtime.create(argumentsValue)));register('scene_asset_catalog', 'List content-bound GLB IDs from the configured local asset directory. No arbitrary paths or downloads.', z.strictObject({}), readOnly, async () => jsonResult(await runtime.assetCatalog()));register('scene_create_asset', 'Create the active scene from a catalog GLB and editable asset recipe. Preserves supported maps, skins, morphs and clips. Dispose the existing scene first.', z.strictObject({ recipe: assetRecipe }), { ...edit, destructiveHint: false }, async argumentsValue => jsonResult(await runtime.createAsset(argumentsValue)));- register('scene_inspect', 'Read revision, counts and selected nodes. Bounds describe authored geometry rather than shader displacement.', z.strictObject({ ...sessionFields, ids: z.array(identifier).max(4096).optional().describe('Selected node IDs. Omit to inspect scene order.'), kind: z.enum(['meshes', 'hierarchy']).optional().describe('Imported assets only: hierarchy exposes stable source-node IDs and joints.'), offset: z.number().int().min(0).max(4096).optional().describe('Imported assets only: pagination offset.'), limit: z.number().int().min(1).max(4096).optional().describe('Maximum returned node records. Defaults to 64.'), includeBounds: z.boolean().optional().describe('Include world geometry bounds. Defaults to false.') }), readOnly, async argumentsValue => jsonResult(await runtime.inspect(argumentsValue)));+ register('scene_inspect', 'Read revision, counts and selected nodes. For a recipe with physics, the result lists body final positions, resting times, contacts and sensor enter/leave events. Bounds describe authored geometry rather than shader displacement.', z.strictObject({ ...sessionFields, ids: z.array(identifier).max(4096).optional().describe('Selected node IDs. Omit to inspect scene order.'), kind: z.enum(['meshes', 'hierarchy']).optional().describe('Imported assets only: hierarchy exposes stable source-node IDs and joints.'), offset: z.number().int().min(0).max(4096).optional().describe('Imported assets only: pagination offset.'), limit: z.number().int().min(1).max(4096).optional().describe('Maximum returned node records. Defaults to 64.'), includeBounds: z.boolean().optional().describe('Include world geometry bounds. Defaults to false.') }), readOnly, async argumentsValue => jsonResult(await runtime.inspect(argumentsValue)));register('mesh_inspect', 'Check recipe geometries as polygon meshes: vertex, edge and face counts, triangles/quads/n-gons, connected and closed parts, face tags (top, bottom, side, left, right, front, back), bounds, and lint problems (non-manifold, inconsistent winding, inverted, degenerate, open, loose) with a suggested fix each. Procedural scenes only. Read-only and cached per geometry.', z.strictObject({ ...sessionFields, geometry: identifier.optional().describe('One geometry ID to check, as in mesh_edit.'), geometries: z.array(identifier).min(1).max(16).optional().describe('Geometry IDs to check. Omit both to check the first 16 geometries.') }), readOnly, async ({ geometry: geometryId, geometries, ...rest }) => jsonResult(await runtime.inspectMeshes({ ...rest, ...(geometries || geometryId ? { geometries: [...(geometries ?? []), ...(geometryId ? [geometryId] : [])] } : {}) })));- register('mesh_edit', 'Append edits to a recipe mesh geometry (or replace its edit log), atomically like scene_apply: extrude, inset, delete, flip, translate with proportional falloff, merge by distance, tag, loop cut, bevel, mirror, array, solidify, UV unwrap, and booleans (union, difference, intersect) with a primitive cutter. Edits that select no faces or break limits fail without changing the scene. Returns the new revision, render status and the mesh report with per-edit results (faces selected, tags created, size after).', z.strictObject({ ...sessionFields, expectedRevision, geometry: identifier.describe('ID of a geometry with type mesh.'), edits: meshEdits.min(1), replace: z.boolean().optional().describe('Replace the whole edit log instead of appending.') }), edit, async argumentsValue => jsonResult(await runtime.editMesh(argumentsValue)));- register('mesh_stack', 'Set the non-destructive modifier stack of a recipe mesh geometry (mirror, array, solidify, bevel, uv_unwrap, subdivide), evaluated after its edits with each prefix cached, so changing a late node is cheap. apply: n moves the first n nodes into the edit log, as Blender\'s Apply modifier. Atomic like scene_apply. Returns the revision, render status and mesh report with per-node results.', z.strictObject({ ...sessionFields, expectedRevision, geometry: identifier.describe('ID of a geometry with type mesh.'), stack: meshStack.optional().describe('The whole new stack. Omit to keep the current stack (for example with apply).'), apply: z.number().int().min(0).max(16).optional() }), edit, async argumentsValue => jsonResult(await runtime.setMeshStack(argumentsValue)));+ register('mesh_edit', 'Append edits to a recipe mesh geometry (or replace its edit log), atomically like scene_apply: extrude, inset, delete, flip, translate with proportional falloff, merge by distance, tag, loop cut, bevel, mirror, array, solidify, UV unwrap, set_position and displace driven by field expressions (math, noise, attributes; also a {"field":expr} selection rule), and booleans (union, difference, intersect) with a primitive cutter. Edits that select no faces or break limits fail without changing the scene. Returns the new revision, render status and the mesh report with per-edit results (faces selected, tags created, size after).', z.strictObject({ ...sessionFields, expectedRevision, geometry: identifier.describe('ID of a geometry with type mesh.'), edits: meshEdits.min(1), replace: z.boolean().optional().describe('Replace the whole edit log instead of appending.') }), edit, async argumentsValue => jsonResult(await runtime.editMesh(argumentsValue)));+ register('mesh_stack', 'Set the non-destructive modifier stack of a recipe mesh geometry (mirror, array, solidify, bevel, uv_unwrap, subdivide, set_position, displace), evaluated after its edits with each prefix cached, so changing a late node is cheap. apply: n moves the first n nodes into the edit log, as Blender\'s Apply modifier. Atomic like scene_apply. Returns the revision, render status and mesh report with per-node results.', z.strictObject({ ...sessionFields, expectedRevision, geometry: identifier.describe('ID of a geometry with type mesh.'), stack: meshStack.optional().describe('The whole new stack. Omit to keep the current stack (for example with apply).'), apply: z.number().int().min(0).max(16).optional() }), edit, async argumentsValue => jsonResult(await runtime.setMeshStack(argumentsValue)));register('scene_apply', 'Atomically edit transforms, look, camera or materials. Procedural scenes support membership and set-motion authoring. Imported assets support set-root, set-asset-node, set-motion and absolute set-animation sampling. Successful batches increment revision once.', z.strictObject({ ...sessionFields, expectedRevision, operations: z.array(operation).min(1).max(256).describe('Node/material/camera/root/animation commands use flat fields. Motion, look patches and add commands contain nested records. Backend validates each scene mode before publication.') }), edit, async argumentsValue => jsonResult(await runtime.apply(argumentsValue)));register('scene_look', 'Render the active scene as a bounded PNG. Optional authored motionTime seeks without changing revision; null restores the authored base pose. Omit to retain the last preview pose.', z.strictObject({ ...sessionFields, motionTime: z.number().min(0).max(3600).nullable().optional(), width: z.number().int().min(64).max(1024).default(768).describe('PNG width in pixels.'), height: z.number().int().min(64).max(1024).default(512).describe('PNG height in pixels.') }), readOnly, async argumentsValue => {const { data, mimeType, metadata } = await runtime.look(argumentsValue);diff --cc src/agent-scene.jsindex cc514d27,36dfd26b..25d1500c--- a/src/agent-scene.js+++ b/src/agent-scene.js@@@ -5,10 -5,11 +5,12 @@@ import { createSceneGraph } from './sceimport { applyProjection } from './camera.js';import { normalizeAgentLook } from './agent-look.js';import { normalizeAgentMotion, compileAgentMotion } from './agent-motion.js';+import { normalizeAgentPhysics, bakeAgentPhysics } from './agent-physics.js';import { meshReport, generateMeshGeometry, MESH_SMOOTH_ANGLE_DEFAULT } from './agent-mesh.js';import { normalizeMeshEdits, normalizeMeshStack } from './mesh-recipe.js';+ import { expandInstancedNodes } from './mesh-instances.js';import { AGENT_SCENE_CAPABILITIES, AGENT_SCENE_DEFAULT_LIMITS, MAX_MATERIAL_PATTERNS, RECIPE_ALPHA_MODES } from './agent-scene-capabilities.js';+ import { MATERIAL_LAYER_FIELDS, validateMaterialLayers } from './material-layers.js';import { materialPatternTextures, normalizeMaterialPattern } from './material-patterns.js';export { AGENT_SCENE_CAPABILITIES, AGENT_SCENE_DEFAULT_LIMITS };export { normalizeAgentLook, resolveAgentShadow } from './agent-look.js';