The design language that makes your AI harness better at design.
JavaScript
{
"name": "Vite 8 + TanStack Router (code-based SPA)",
"config": {
"files": ["index.html"],
"insertBefore": "</body>",
"commentSyntax": "html"
},
"sourceFiles": [
"index.html",
"src/main.jsx",
"src/routes/Home.jsx",
"src/routes/About.jsx",
"src/styles.css",
"vite.config.js"
],
"generatedFiles": [],
"wrapCases": [
{
"name": "wraps About hero in routes/About.jsx",
"args": { "classes": "hero-title", "tag": "h1" },
"expectedFile": "src/routes/About.jsx"
}
],
"runtime": {
"styling": "plain-css",
"install": ["npm", "install", "--no-audit", "--no-fund", "--loglevel=error"],
"devCommand": ["npx", "vite", "--host", "127.0.0.1"],
"readyPattern": "Local:\\s+https?://[^:]+:(\\d+)",
"readyTimeoutMs": 120000,
"preActions": [
{ "type": "click", "selector": "[data-testid='nav-about']" },
{ "type": "wait", "selector": "h1.hero-title" }
],
"reloadProbe": {
"preActions": [
{ "type": "click", "selector": "[data-testid='nav-about']" },
{ "type": "wait", "selector": "h1.hero-title" }
],
"expectSelector": "h1.hero-title"
},
"probe": {
"expectLiveInit": true,
"expectConsoleClean": true
},
"steer": {
"sourceFile": "src/routes/About.jsx"
}
}
}