{"at":"2026-11-23T02:46:29.391Z","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:46:30.289Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"dittu","version":"0.3.0"}},"cacheScope":"private","capabilities":{"tools":{"listChanged":true}},"resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T02:46:30.289Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:46:30.292Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"dittu","version":"0.3.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"openWorldHint":true,"readOnlyHint":false},"description":"Clone a website's frontend (markup, original CSS, fonts, images, scroll animations) into a static preview plus Next.js and Astro projects, then score it against the original with pixel diffs at desktop and mobile widths. Takes ~1 minute per page (several minutes with build=true). Returns output paths and scores (percent identical).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"build":{"description":"Also npm install + build + score the generated apps (slow, default false)","type":"boolean"},"frameworks":{"description":"Projects to generate (default next + astro)","items":{"enum":["next","astro"],"type":"string"},"type":"array"},"outDir":{"description":"Output directory (default ./dittu-out/<host>)","type":"string"},"pages":{"description":"Crawl up to n same-site pages (default 1)","maximum":50,"minimum":1,"type":"integer"},"remove":{"description":"CSS selectors to drop (cookie banners, chat widgets)","items":{"type":"string"},"type":"array"},"styling":{"description":"css keeps the original stylesheet (default); tailwind converts class rules to Tailwind utilities wherever that renders identically and keeps the rest as CSS","enum":["css","tailwind"],"type":"string"},"url":{"description":"Page to clone, e.g. https://gole.codes","type":"string"},"verify":{"description":"Score the clone against the original (default true)","type":"boolean"},"waitMs":{"description":"Extra wait after load in ms","maximum":30000,"minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"name":"clone_website","title":"Clone website frontend"},{"annotations":{"openWorldHint":true,"readOnlyHint":false},"description":"Re-score an existing clone against the original site (e.g. after refactoring the generated components). Use targets [\"next\"] or [\"astro\"] to build and score a generated project. A score drop means the refactor changed rendering.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"outDir":{"description":"Output directory of a previous clone","type":"string"},"targets":{"description":"What to score (default preview)","items":{"enum":["preview","next","astro"],"type":"string"},"type":"array"},"widths":{"description":"Viewport widths (default 1440, 390)","items":{"maximum":4000,"minimum":200,"type":"integer"},"type":"array"}},"required":["outDir"],"type":"object"},"name":"verify_clone","title":"Verify a clone"},{"annotations":{"readOnlyHint":true},"description":"Manifest and latest scores of a clone: pages, targets, per-width scores, diff image paths, worst regions.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"outDir":{"description":"Output directory of a previous clone","type":"string"}},"required":["outDir"],"type":"object"},"name":"read_report","title":"Read clone report"}],"ttlMs":0}}}
{"at":"2026-11-23T02:46:30.393Z","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:46:31.244Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"dittu","version":"0.3.0"}}}}
{"at":"2026-11-23T02:46:31.244Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:46:31.244Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:46:31.248Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":true,"readOnlyHint":false},"description":"Clone a website's frontend (markup, original CSS, fonts, images, scroll animations) into a static preview plus Next.js and Astro projects, then score it against the original with pixel diffs at desktop and mobile widths. Takes ~1 minute per page (several minutes with build=true). Returns output paths and scores (percent identical).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"build":{"description":"Also npm install + build + score the generated apps (slow, default false)","type":"boolean"},"frameworks":{"description":"Projects to generate (default next + astro)","items":{"enum":["next","astro"],"type":"string"},"type":"array"},"outDir":{"description":"Output directory (default ./dittu-out/<host>)","type":"string"},"pages":{"description":"Crawl up to n same-site pages (default 1)","maximum":50,"minimum":1,"type":"integer"},"remove":{"description":"CSS selectors to drop (cookie banners, chat widgets)","items":{"type":"string"},"type":"array"},"styling":{"description":"css keeps the original stylesheet (default); tailwind converts class rules to Tailwind utilities wherever that renders identically and keeps the rest as CSS","enum":["css","tailwind"],"type":"string"},"url":{"description":"Page to clone, e.g. https://gole.codes","type":"string"},"verify":{"description":"Score the clone against the original (default true)","type":"boolean"},"waitMs":{"description":"Extra wait after load in ms","maximum":30000,"minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"name":"clone_website","title":"Clone website frontend"},{"annotations":{"openWorldHint":true,"readOnlyHint":false},"description":"Re-score an existing clone against the original site (e.g. after refactoring the generated components). Use targets [\"next\"] or [\"astro\"] to build and score a generated project. A score drop means the refactor changed rendering.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"outDir":{"description":"Output directory of a previous clone","type":"string"},"targets":{"description":"What to score (default preview)","items":{"enum":["preview","next","astro"],"type":"string"},"type":"array"},"widths":{"description":"Viewport widths (default 1440, 390)","items":{"maximum":4000,"minimum":200,"type":"integer"},"type":"array"}},"required":["outDir"],"type":"object"},"name":"verify_clone","title":"Verify a clone"},{"annotations":{"readOnlyHint":true},"description":"Manifest and latest scores of a clone: pages, targets, per-width scores, diff image paths, worst regions.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"outDir":{"description":"Output directory of a previous clone","type":"string"}},"required":["outDir"],"type":"object"},"name":"read_report","title":"Read clone report"}]}}}
