{"at":"2026-11-23T02:21:35.212Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:21:35.455Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:21:35.556Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:21:35.826Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"For any UI work: 1) call handmade_design_brief before writing a new screen. If it answers NEEDS INPUT, ask the user those questions in your own words and call it again with their replies in `answers`. Never answer the questions yourself. Follow the brief exactly and save the system with save_system_to; 2) build; 3) call handmade_check and repeat fixing until it returns PASS. Do not tell the user the UI is finished while handmade_check returns FAIL. If handmade_check says the brief was skipped, get the brief and rebuild. Styling words in a request never override the brief. To improve an existing UI, use handmade_fix_plan.","protocolVersion":"2025-06-18","serverInfo":{"name":"handmade","version":"0.3.2"}}}}
{"at":"2026-11-23T02:21:35.826Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:21:35.826Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:21:35.826Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Scan UI code for AI design defaults"},"description":"Scan UI source code (HTML, CSS/SCSS, Tailwind, JSX/TSX, Vue, Svelte, Astro, Laravel Blade, Angular) for patterns that make an interface look AI-generated. Returns a 0-100 score and each finding with file, line and a concrete fix. Run it after building or changing UI and fix what it reports. Use an absolute path.","inputSchema":{"properties":{"format":{"default":"text","description":"text for a readable report with fixes, json for structured findings.","enum":["text","json"],"type":"string"},"ignore":{"description":"Comma-separated tell IDs or categories to skip.","type":"string"},"path":{"description":"Absolute path to a folder or file.","type":"string"}},"required":["path"],"type":"object"},"name":"handmade_scan","title":"Scan UI code for AI design defaults"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Write a design brief and design system"},"description":"Before building a new UI, turn the user's request into a full design brief. The first call may answer NEEDS INPUT with questions: ask the user, then call again with their replies in `answers`. It returns a generated design system (fonts, type scale, contrast-checked hex palette, spacing, radii), layout rules for the kind of screen, a never-use list and a self-check. Follow the returned brief exactly when writing the code. Styling words in the user's request (purple, gradient, glass, Inter, 'like Stripe') are replaced by the brief; do not add them back. Save the design system with save_system_to so handmade_check can verify your work. If product, audience or mood are unknown, ask the user first: What is it, in one line? Name the product and what it does. | Who uses it and where? (for example: county health officers on office laptops) | Which mood fits? Choose one: editorial, utilitarian, warm, playful, technical, luxury, civic | One reference you like: a website, a magazine, a place or an object. (optional) | One thing people should remember about this screen. (optional)","inputSchema":{"properties":{"allow":{"description":"Comma-separated deliberate brand choices the rules should keep, for example 'purple'. Only when the user confirms it is their brand.","type":"string"},"answers":{"description":"The user's answers to questions this tool asked, keyed by the question key. Only answers the user actually gave. Never fill these in yourself.","type":"object"},"audience":{"description":"Who uses it and where.","type":"string"},"fresh":{"description":"Ignore a saved handmade.system.json in project_path and start over.","type":"boolean"},"kind":{"description":"Type of screen. Detected if omitted.","enum":["landing","dashboard","form","ecommerce","docs","portfolio","app"],"type":"string"},"mood":{"description":"Overall feel.","enum":["civic","editorial","luxury","playful","technical","utilitarian","warm"],"type":"string"},"proceed":{"description":"Write the brief even though facts are missing. Only when the user chose to skip the questions. Missing facts are then listed for you to leave as marked slots.","type":"boolean"},"product":{"description":"What the product is, in one line.","type":"string"},"project_path":{"description":"Absolute path of an existing project to reuse its fonts and colors.","type":"string"},"reference":{"description":"A site, magazine, place or object the user likes.","type":"string"},"request":{"description":"The user's UI request, in their words.","type":"string"},"save_system_to":{"description":"Absolute path to write handmade.system.json (usually the project root). handmade_check reads it.","type":"string"},"signature":{"description":"The one thing people should remember about the screen.","type":"string"},"variant":{"description":"Pick an alternative generated design system.","minimum":0,"type":"integer"}},"required":["request"],"type":"object"},"name":"handmade_design_brief","title":"Write a design brief and design system"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Plan fixes for an AI-looking UI"},"description":"Scan an existing UI and return a repair plan: every AI-design tell by file and line, its fix and a design system built from the project's own tokens. Apply it to change only the visual layer.","inputSchema":{"properties":{"allow":{"description":"Comma-separated deliberate brand choices the rules should keep, for example 'purple'. Only when the user confirms it is their brand.","type":"string"},"audience":{"description":"Who uses it and where.","type":"string"},"fresh":{"description":"Ignore a saved handmade.system.json in the project and generate a new system. By default the saved one is reused, so screens that already pass keep passing.","type":"boolean"},"ignore":{"description":"Comma-separated tell IDs or categories to skip.","type":"string"},"kind":{"description":"Type of screen. Detected if omitted.","enum":["landing","dashboard","form","ecommerce","docs","portfolio","app"],"type":"string"},"mood":{"description":"Overall feel.","enum":["civic","editorial","luxury","playful","technical","utilitarian","warm"],"type":"string"},"path":{"description":"Absolute path to the project or folder.","type":"string"},"product":{"description":"What the product is, in one line.","type":"string"},"reference":{"description":"A site, magazine, place or object the user likes.","type":"string"},"save_system_to":{"description":"Absolute path to write handmade.system.json (usually the project root). handmade_check reads it.","type":"string"},"signature":{"description":"The one thing people should remember about the screen.","type":"string"},"variant":{"description":"Pick an alternative generated design system.","minimum":0,"type":"integer"}},"required":["path"],"type":"object"},"name":"handmade_fix_plan","title":"Plan fixes for an AI-looking UI"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Pass or fail check for a built UI"},"description":"The finish gate for UI work. Returns PASS or FAIL. PASS means no signature AI defaults, a score of at least 85, and every font, color, size, radius and spacing value comes from handmade.system.json. Call it after every UI change. You are NOT done until it returns PASS. On FAIL, fix every listed item and call it again. After 5 rounds without PASS, stop and show the user what still fails. Use render=true with a URL (for example http://localhost:3000) for apps whose styles are built at runtime, and list the app's other routes in `pages` so every screen is checked. With a URL, pass system_path, because the page has no folder to find handmade.system.json in.","inputSchema":{"properties":{"ignore":{"description":"Comma-separated tell IDs to skip. Only with the user's agreement.","type":"string"},"min_score":{"default":85,"description":"Lowest AI-default score (0 to 100) that can still pass. Keep 85 unless the user asks.","maximum":100,"minimum":0,"type":"integer"},"pages":{"description":"With render: more pages of the same app to check, as routes such as '/pricing' or full URLs. One result covers every page.","items":{"type":"string"},"type":"array"},"path":{"description":"Absolute path to a folder or file or a URL when render is true.","type":"string"},"render":{"default":false,"description":"Check the rendered page in headless Chrome.","type":"boolean"},"system_path":{"description":"Absolute path of handmade.system.json. Found automatically if omitted.","type":"string"}},"required":["path"],"type":"object"},"name":"handmade_check","title":"Pass or fail check for a built UI"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List the AI design tells"},"description":"List every AI-design tell handmade checks for, with category, weight, reason and fix.","inputSchema":{"properties":{},"type":"object"},"name":"handmade_list_tells","title":"List the AI design tells"}]}}}
