{"at":"2026-11-23T02:03:52.670Z","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:03:53.176Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:03:53.277Z","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:03:53.728Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"pudge-ui","version":"0.2.0"}}}}
{"at":"2026-11-23T02:03:53.728Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:03:53.728Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:03:53.730Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List components"},"description":"List pudge-ui components — 93 skeuomorphic UI specs across 11 categories (buttons, toggles, dials, sliders, readouts, meters, navigation, forms, overlays, indicators, data). Returns each component's id, name, category, and one-line description. Optionally filter by category id. Use this first to discover what exists, then call get_component for full specs.","inputSchema":{"properties":{"category":{"description":"Optional category id to filter by, e.g. 'buttons', 'toggles', 'dials', 'sliders', 'readouts', 'meters', 'navigation', 'forms', 'overlays', 'indicators', 'data'. Omit to list all 93 components.","type":"string"}},"type":"object"},"name":"list_components"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Search components"},"description":"Fuzzy-search pudge-ui components by name, description, or tag (e.g. 'volume', 'knob', 'LCD', 'walkman'). Returns ranked matches with id, name, category, and description. Use this when you know what the user wants but not the exact component id; then call get_component with the best match.","inputSchema":{"properties":{"limit":{"description":"Max results, 1–50 (default 10)","type":"number"},"query":{"description":"Free-text search query (matched against name, description, and tags)","type":"string"}},"required":["query"],"type":"object"},"name":"search_components"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get foundation spec"},"description":"Get the pudge-ui foundation: the design-system rules every component depends on. Core (default) returns 5 docs — philosophy, tokens, materials, depth-model, naming. Set extended=true for all 9 (adds theme, accessibility, layout, canvas). Load this once at the start of a build so the agent applies the depth model, material recipes, and warm-neutral palette correctly.","inputSchema":{"properties":{"extended":{"description":"Include all 9 foundation docs (default: false → core 5 docs)","type":"boolean"}},"type":"object"},"name":"get_foundation"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get component spec"},"description":"Get the full spec for one pudge-ui component: its physical analog (the real 2000s hardware it imitates), mechanism, exact CSS recipe, and constraints — with the foundation prepended so the result is self-contained. This is the spec you hand to a coding agent to build the component in any stack (CSS, React Native, SwiftUI, Compose, Flutter). Accepts a component id or display name (e.g. 'push-button' or 'Push Button').","inputSchema":{"properties":{"name":{"description":"Component id or name, e.g. 'push-button' or 'Push Button'","type":"string"}},"required":["name"],"type":"object"},"name":"get_component"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get multiple component specs"},"description":"Get full specs for several pudge-ui components at once, with the shared foundation included a single time (deduplicated) to save context. Use when building a screen that needs multiple components — pass an array of component ids or names.","inputSchema":{"properties":{"names":{"description":"Array of component ids or names, e.g. ['volume-slider', 'vu-meter', 'lcd']","items":{"type":"string"},"type":"array"}},"required":["names"],"type":"object"},"name":"get_components"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get composition spec"},"description":"Get a pudge-ui composition — a pre-assembled multi-component layout (e.g. 'audio-mixer-strip') — with every referenced component spec inlined and the foundation included once. Use to build a complete, cohesive interface in one shot rather than wiring components together yourself.","inputSchema":{"properties":{"name":{"description":"Composition name, e.g. 'audio-mixer-strip'","type":"string"}},"required":["name"],"type":"object"},"name":"get_composition"}]}}}
