Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
import fs from 'node:fs/promises';import {createHash} from 'node:crypto';import {fileURLToPath} from 'node:url';
const source=new URL('../../scene-kit/src/renderer/three-runtime.ts',import.meta.url),destination=new URL('../shared/three-runtime.ts',import.meta.url);
const bytes=await fs.readFile(source);await fs.mkdir(new URL('../shared/',import.meta.url),{recursive:true});await fs.writeFile(destination,bytes);
console.log(JSON.stringify({source:'scene-kit/src/renderer/three-runtime.ts',snapshot:fileURLToPath(destination),bytes:bytes.length,sha256:createHash('sha256').update(bytes).digest('hex')}));