The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
// Authored acceptance briefs, not a style selector or a generator exposed as the product.
import {validateProject} from '../template/studio/project.mjs';
const material=(id,name,color,extra={})=>({id,name,color,solid:true,opacity:1,emission:0,...extra});
const object=(id,name,origin,size,boxes,extra={})=>({id,name,origin,size,boxes,rotation:0,hidden:false,locked:false,edits:[],...extra});
export function harbor(){
const p={spec:'tidelands/2',id:'lantern-quay',title:'Lantern Quay',brief:'An intimate harbor village for a cozy exploration game. A broad public quay leads to a lighthouse, working piers and colorful workshops. Keep buildings separate so they can become a reusable environment kit.',size:[80,48,64],unit:.3,light:.3,materials:[material(1,'Chalk limestone','#d7ccb4'),material(2,'Meadow','#75917a'),material(3,'Harbor water','#537f91',{solid:false,opacity:.72}),material(4,'Weathered timber','#8f6750'),material(5,'Terracotta','#ad6453'),material(6,'Warm plaster','#eee0bd'),material(7,'Deep teal trim','#315b5c'),material(8,'Window glow','#ffd894',{emission:.7}),material(9,'Paving','#b4ada2'),material(10,'Leaves','#436f62'),material(11,'Lighthouse white','#f6edd8'),material(12,'Ink metal','#374756')],objects:[],spawn:{position:[31.5,4,46.5],yaw:Math.PI},stops:[{id:'quay',name:'The public quay',description:'Workshops face a generous walking street.',position:[30.5,4,29.5]},{id:'pier',name:'East pier',description:'A removable pier module, ready for another scene.',position:[67.5,4,31.5]},{id:'beacon',name:'Lighthouse court',description:'The beacon keeps its own identity in the 3D export.',position:[47.5,4,15.5]}],notes:'One voxel is 30 cm. Visitor height 1.7 m. Buildings and props are independently editable. Synthetic authored example; not a generated user commission.'};
p.objects.push(object('headland','Limestone headland',[0,0,0],[56,4,64],[[0,0,0,56,3,64,1],[0,3,0,56,1,64,2]],{locked:true}),object('water','Tidal water',[56,1,0],[24,2,64],[[0,0,0,24,2,64,3]],{locked:true}),object('quay','Public promenade',[26,3,0],[30,1,64],[[0,0,0,10,1,64,9],[10,0,25,20,1,12,9],[26,0,0,4,1,64,9]],{locked:true}));
function house(id,name,origin,wall,roof){const boxes=[[0,0,0,17,1,15,4],[0,1,0,17,11,1,wall],[0,1,14,17,11,1,wall],[0,1,1,1,11,13,wall],[16,1,1,1,11,13,wall],[7,1,0,3,8,1,0],[2,4,0,3,4,1,8],[12,4,0,3,4,1,8],[0,4,5,1,4,3,8],[16,4,5,1,4,3,8],[7,9,0,3,1,1,7]];for(let n=0;n<6;n++)boxes.push([0,12+n,n,17,1,15-n*2,roof]);boxes.push([2,13,6,2,7,2,1]);return object(id,name,origin,[17,20,15],boxes);}
const bakery=house('bakery','Copper Roof Bakery',[5,4,7],6,5);bakery.rotation=2;p.objects.push(bakery);
p.objects.push(house('workshop','Teal Boat Workshop',[5,4,39],11,7));
p.objects.push(object('pier','East timber pier',[55,0,28],[23,4,7],[[0,3,0,23,1,7,4],...[2,11,20].flatMap(x=>[[x,0,0,1,3,1,12],[x,0,6,1,3,1,12]])]));
const tower=[[0,0,0,11,1,11,1],[2,1,2,7,26,7,11],[3,1,3,5,24,5,0],[4,1,2,3,8,1,0],[2,12,2,7,2,7,5],[3,12,3,5,2,5,0],[1,27,1,9,1,9,7],[3,28,3,5,5,5,8],[1,33,1,9,2,9,7],[3,35,3,5,1,5,7],[5,36,5,1,2,1,12]];
p.objects.push(object('lighthouse','Quay lighthouse',[40,4,2],[11,38,11],tower));
for(const [i,x,z]of [[1,37,22],[2,49,22],[3,37,40],[4,49,40]])p.objects.push(object('lantern-'+i,'Quay lantern '+i,[x,4,z],[3,11,3],[[1,0,1,1,8,1,12],[0,8,0,3,2,3,8],[0,10,0,3,1,3,12]]));
for(const [i,x,z]of [[1,1,27],[2,18,27],[3,43,52],[4,36,52]])p.objects.push(object('tree-'+i,'Wind shaped tree '+i,[x,4,z],[7,15,7],[[3,0,3,1,9,1,4],[1,7,1,5,5,5,10],[0,9,2,7,4,3,10],[2,12,2,3,3,3,2]]));
p.objects.push(object('crates','Cargo stack',[42,4,28],[6,6,4],[[0,0,0,3,3,3,4],[3,0,1,3,3,3,5],[1,3,1,3,3,3,6]]));
p.objects.push(object('boat','Harbor skiff',[61,1,43],[6,4,15],[[1,0,1,4,1,13,7],[0,1,2,1,2,11,5],[5,1,2,1,2,11,5],[1,1,0,4,2,1,5],[1,1,14,4,2,1,5],[1,1,5,4,1,1,4],[1,1,10,4,1,1,4],[2,3,7,1,1,1,12]]));
return validateProject(p);
}
export function courtyard(){
const p={spec:'tidelands/2',id:'civic-court',title:'Civic Court',brief:'Block out a small civic arts campus with a sheltered exhibition pavilion, accessible level courtyard, water garden and sculpture. Deliver independent building masses for an architect to iterate in a 3D tool.',size:[64,40,64],unit:.4,light:.22,materials:[material(1,'Cast concrete','#cec9bb'),material(2,'Pale stone','#eeeadf'),material(3,'Charcoal steel','#3d4a52'),material(4,'Copper screen','#b87557'),material(5,'Garden','#7e8e70'),material(6,'Pool','#6f9299',{solid:false,opacity:.7}),material(7,'Glazing','#9db8b8',{solid:false,opacity:.35})],objects:[],spawn:{position:[31.5,2,55.5],yaw:Math.PI},stops:[{id:'pavilion',name:'Gallery threshold',description:'A wide level entry, without stairs.',position:[30.5,2,20.5]},{id:'garden',name:'Water garden',description:'The garden and canopy remain separate objects.',position:[13.5,2,52.5]}]};
p.objects.push(object('site','Campus slab',[0,0,0],[64,2,64],[[0,0,0,64,2,64,1]],{locked:true}),object('pavilion','Exhibition pavilion',[9,1,5],[46,18,20],[[0,0,0,46,1,20,2],[0,1,0,46,14,1,2],[0,1,0,1,14,20,2],[45,1,0,1,14,20,2],[0,15,0,46,3,20,2],[8,1,18,1,14,1,3],[37,1,18,1,14,1,3],[2,1,18,5,10,1,7],[39,1,18,5,10,1,7]]),object('pool','Reflecting garden',[5,2,30],[18,2,20],[[0,0,0,18,1,20,2],[1,1,1,16,1,18,6]]),object('canopy','Copper reading canopy',[41,2,32],[17,14,20],[[0,12,0,17,2,20,4],[1,0,1,1,12,1,3],[15,0,1,1,12,1,3],[1,0,18,1,12,1,3],[15,0,18,1,12,1,3]]),object('sculpture','Folded stone sculpture',[28,2,33],[8,13,8],[[0,0,0,8,2,8,3],[1,2,1,2,11,6,2],[1,10,1,6,3,2,2],[5,5,1,2,8,2,2]]));
for(let i=0;i<3;i++)p.objects.push(object('bench-'+i,'Courtyard bench '+(i+1),[27+i*5,2,49],[4,3,2],[[0,2,0,4,1,2,4],[0,0,0,1,2,2,3],[3,0,0,1,2,2,3]]));return validateProject(p);
}
export function dungeon(){
const p={spec:'tidelands/2',id:'amber-vault',title:'The Amber Vault',brief:'A modular tabletop dungeon kit with a safe entry hall, a branching stone room, altar, pillars and a treasure chamber. Give each reusable module its own name and preserve the east wing during revisions.',size:[64,32,48],unit:.3,light:.42,materials:[material(1,'Basalt','#565770'),material(2,'Worn flagstone','#828092'),material(3,'Amber light','#efa65a',{emission:.8}),material(4,'Oxidized copper','#528e86'),material(5,'Dark iron','#2b3548'),material(6,'Gold','#c8a45c')],objects:[],spawn:{position:[30.5,2,38.5],yaw:Math.PI},stops:[{id:'altar',name:'The amber altar',description:'An independent prop for a tabletop or game scene.',position:[30.5,2,14.5]},{id:'treasure',name:'East treasury',description:'This wing is a reusable module.',position:[49.5,2,23.5]}]};
p.objects.push(object('floor','Vault foundation',[0,0,0],[64,2,48],[[0,0,0,64,2,48,5],[2,1,2,60,1,44,2]],{locked:true}));
const room=(id,name,x,z,w,d)=>object(id,name,[x,2,z],[w,11,d],[[0,0,0,w,11,1,1],[0,0,d-1,w,11,1,1],[0,0,1,1,11,d-2,1],[w-1,0,1,1,11,d-2,1],[Math.floor(w/2)-2,0,d-1,5,8,1,0],[w-1,0,Math.floor(d/2)-2,1,8,5,0],[0,0,Math.floor(d/2)-2,1,8,5,0]]);
p.objects.push(room('hall','Central hall',18,5,26,30),room('east-wing','East treasury',44,10,17,22),room('west-wing','West passage',3,10,15,22));
for(const [i,x,z]of [[1,22,10],[2,38,10],[3,22,27],[4,38,27]])p.objects.push(object('pillar-'+i,'Pillar '+i,[x,2,z],[3,13,3],[[0,0,0,3,2,3,1],[1,2,1,1,9,1,4],[0,11,0,3,2,3,1]]));
p.objects.push(object('altar','Amber altar',[28,2,8],[7,8,4],[[0,0,0,7,2,4,1],[1,2,1,5,2,2,4],[2,4,1,3,4,2,3]]),object('chest','Treasury coffer',[52,2,15],[5,4,3],[[0,0,0,5,3,3,4],[0,3,0,5,1,3,6],[2,1,0,1,2,1,6]]));
for(const [i,x,z]of [[1,19,18],[2,42,18],[3,45,13],[4,59,27]])p.objects.push(object('sconce-'+i,'Amber sconce '+i,[x,5,z],[1,4,1],[[0,0,0,1,2,1,5],[0,2,0,1,2,1,3]]));return validateProject(p);
}