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 { expect, test } from 'bun:test';
import type { AssetManifest } from '../assets';
import { assetAttributionRows } from './attribution';
const manifest = (attribution?: AssetManifest['attribution']) => ({ attribution }) as AssetManifest;
test('viewer attribution labels the model and harness instead of burying them in JSON', () => {
expect(
assetAttributionRows(
manifest({ model: 'gpt-5.6-luna', harness: 'codex', author: 'Kiln dogfood' }),
),
).toEqual([
{ label: 'Model', value: 'gpt-5.6-luna' },
{ label: 'Harness', value: 'codex' },
{ label: 'Author', value: 'Kiln dogfood' },
]);
expect(assetAttributionRows(manifest())).toEqual([]);
});