{"at":"2026-11-23T05:56:01.203Z","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-23T05:56:01.514Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:56:01.615Z","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-23T05:56:01.943Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"instructions":"Tools to build widgets for Xenon, the dashboard running on this computer. Start with xenon_status, read sdk_reference, write the widget in a folder (new_widget gives a starter), then install_widget, widget_issues and widget_screenshot until it looks and works right.","protocolVersion":"2025-11-25","serverInfo":{"name":"xenon-widgets","version":"1.0.1"}}}}
{"at":"2026-11-23T05:56:01.943Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:56:01.943Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:56:01.943Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check that Xenon is running on this computer and ready for widgets: its version, the Widget SDK version, whether community widgets are on and whether a dashboard is open. Call it first.","inputSchema":{"properties":{},"type":"object"},"name":"xenon_status"},{"description":"Read the Xenon Widget SDK reference: the manifest, the message protocol, data streams, actions, storage, sizing and the sandbox rules. With no section you get the table of contents. Read it before writing a widget.","inputSchema":{"properties":{"section":{"description":"A section name from the table of contents.","type":"string"}},"type":"object"},"name":"sdk_reference"},{"description":"Write a working starter widget (manifest, HTML, CSS, JS showing live CPU and memory) into a new or empty folder. Edit it from there, then install_widget.","inputSchema":{"properties":{"folder":{"description":"Absolute path of the widget folder (the one holding manifest.json). Its name is the widget id unless `id` is given.","type":"string"},"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"},"name":{"description":"The name people see. Defaults to the id.","type":"string"},"overwrite":{"description":"Replace files with the same names in a folder that is not empty.","type":"boolean"},"size":{"description":"Tile size. Defaults to medium.","enum":["small","medium","wide","tall","large"],"type":"string"}},"required":["folder"],"type":"object"},"name":"new_widget"},{"description":"Run the checks Xenon runs before installing, without installing: the package rules, what the sandbox will refuse (inline scripts, remote code, hosts) and the Store's review notes.","inputSchema":{"properties":{"folder":{"description":"Absolute path of the widget folder (the one holding manifest.json). Its name is the widget id unless `id` is given.","type":"string"},"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"}},"required":["folder"],"type":"object"},"name":"check_widget"},{"description":"Install or update the widget from its folder put it on the dashboard and show its page (a new page when the one in view is full). Permissions it asks for still wait for the person to approve them on the dashboard. Then call widget_issues and widget_screenshot.","inputSchema":{"properties":{"folder":{"description":"Absolute path of the widget folder (the one holding manifest.json). Its name is the widget id unless `id` is given.","type":"string"},"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"}},"required":["folder"],"type":"object"},"name":"install_widget"},{"description":"What went wrong in an installed widget while it ran: errors and console.error lines, requests the sandbox blocked, whether its permissions are approved, and how heavy it is. Errors thrown in widget code show as \"Script error.\" because of the sandbox: wrap code in try/catch and console.error the message to see it.","inputSchema":{"properties":{"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"}},"required":["id"],"type":"object"},"name":"widget_issues"},{"description":"A picture of the widget's tile as it is on screen now. Anything on top of the dashboard shows too. Not available on Linux under Wayland.","inputSchema":{"properties":{"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"}},"required":["id"],"type":"object"},"name":"widget_screenshot"},{"description":"List the widgets the person made (not Store downloads). With an id and a folder, write that widget's files into the folder to keep working on it.","inputSchema":{"properties":{"folder":{"description":"With id: a new or empty folder to write the widget into.","type":"string"},"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"},"overwrite":{"description":"Replace files with the same names in a folder that is not empty.","type":"boolean"}},"type":"object"},"name":"my_widgets"},{"description":"A share code for one of the person's own widgets, which anyone can paste into Xenon, plus the Store review notes. To put it in the Store the person sends it from xenon-app.com/submit.","inputSchema":{"properties":{"id":{"description":"Widget id: 2 to 41 characters, a-z, 0-9 and dashes.","type":"string"}},"required":["id"],"type":"object"},"name":"share_widget"}]}}}
