{"at":"2026-11-23T06:12:04.553Z","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-23T06:12:04.972Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T06:12:05.072Z","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-23T06:12:05.507Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"tools":{}},"instructions":"SlideCraft makes consulting-grade decks: answer first, action titles, the right exhibit, sources on every number, a partner-style review.\n\nWork in this order and stop at each ✅ to ask the user:\n1. ✅ Brief — new_deck(goal, audience). Ask what the deck must achieve, for whom, and what they will do with it (send as PDF, edit together, present).\n2. ✅ Template — suggest_templates(deck), show the three options, then choose_template(deck, option).\n3. ✅ Titles — scaffold(deck), then read_deck/write_deck: write one action title per slide (a full-sentence claim). Show the numbered title chain; revise until approved.\n4. Build — for each slide fill the content using list_layouts(layout) contracts; write_deck; check(deck). Put client numbers in `facts:` and use {{id}} in text; read spreadsheets with `from: { file, sheet, range }`; cite sources as `id#p14` (ingest + find).\n5. ✅ Review — check(deck) until no errors (use fix_tasks/apply_fixes for long text), preview_slide for each slide, then build(deck) and give the user the file paths.\nIf the user edited the PPTX by hand, sync_pptx brings the text back before the next build.\nNever invent numbers or sources; flag gaps instead.","protocolVersion":"2025-11-25","serverInfo":{"name":"slidecraft","version":"0.7.7"}}}}
{"at":"2026-11-23T06:12:05.507Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:12:05.507Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:12:05.508Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Route the intended relationship (comparison, process, architecture, bridge) to existing layout contracts. Storyline and theme are independent choices.","inputSchema":{"properties":{"relationship":{"description":"Optional semantic relationship id","type":"string"}},"required":[],"type":"object"},"name":"list_exhibits"},{"description":"Existing native body exhibits with schemas and examples. Assemble complementary exhibits using layout: composition; keep title, sources and page numbering in the shared frame.","inputSchema":{"properties":{"layout":{"description":"Optional component/layout id","type":"string"}},"required":[],"type":"object"},"name":"list_components"},{"description":"How to make a deck with SlideCraft: the steps, the four checkpoints and the rules. Call this first.","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"guide"},{"description":"Decks in the workspace","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"list_decks"},{"description":"Start a deck from a goal in plain words; creates brief.yaml and deck.yaml in the workspace","inputSchema":{"properties":{"audience":{"description":"Who it is for","type":"string"},"goal":{"description":"What the deck must achieve, e.g. \"The board approves entry into Germany\"","type":"string"}},"required":["goal"],"type":"object"},"name":"new_deck"},{"description":"Three template options (storyline × theme) and recommended outputs for the deck brief","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"}},"required":["deck"],"type":"object"},"name":"suggest_templates"},{"description":"Record the chosen option (A, B or C) or an explicit storyline and theme","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"option":{"description":"A, B or C","type":"string"},"storyline":{"description":"storyline id","type":"string"},"theme":{"description":"theme id","type":"string"}},"required":["deck"],"type":"object"},"name":"choose_template"},{"description":"Create the ghost deck (one slide per storyline slot) from the chosen template","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"}},"required":["deck"],"type":"object"},"name":"scaffold"},{"description":"The deck.yaml text","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"}},"required":["deck"],"type":"object"},"name":"read_deck"},{"description":"Replace deck.yaml with new YAML, then validate it and return the diagnostics","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"yaml":{"description":"The complete deck.yaml","type":"string"}},"required":["deck","yaml"],"type":"object"},"name":"write_deck"},{"description":"Slide layouts and their content contracts (JSON Schema with limits and an example). Pass a layout id for one.","inputSchema":{"properties":{"layout":{"description":"layout id, e.g. chart-takeaway","type":"string"}},"required":[],"type":"object"},"name":"list_layouts"},{"description":"Lay out the deck and run every check (fit, titles, sources, consistency, contrast); no files written","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"}},"required":["deck"],"type":"object"},"name":"check"},{"description":"Fields that are too long, each with an exact character budget","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"}},"required":["deck"],"type":"object"},"name":"fix_tasks"},{"description":"Write rewrites by JSON pointer (comments kept) and re-check","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"fixes":{"items":{"properties":{"pointer":{"description":"/slides/N/field","type":"string"},"text":{"description":"new text","type":"string"}},"required":["pointer","text"],"type":"object"},"type":"array"}},"required":["deck","fixes"],"type":"object"},"name":"apply_fixes"},{"description":"Inspect a slide: resvg previews the Scene; pptx-convert renders the actual PPTX through installed Office. Scene previews do not certify PowerPoint fidelity.","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"renderer":{"description":"Default resvg; pptx-convert requires Office and Poppler","enum":["resvg","pptx-convert"],"type":"string"},"slide":{"description":"slide id or number","type":"string"}},"required":["deck","slide"],"type":"object"},"name":"preview_slide"},{"description":"Build the deck files (pptx, pdf, html, onepager, docx, png); returns the paths","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"formats":{"description":"comma-separated, e.g. \"pptx,pdf\"","type":"string"}},"required":["deck"],"type":"object"},"name":"build"},{"description":"Add client documents (PDF, DOCX, PPTX, XLSX, CSV) as sources with page-level references","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"files":{"items":{"description":"absolute file path","type":"string"},"type":"array"}},"required":["deck","files"],"type":"object"},"name":"ingest"},{"description":"Find a phrase in the ingested documents; each hit carries the citation to use, e.g. annual-report#p14","inputSchema":{"properties":{"deck":{"description":"Deck folder name or path","type":"string"},"query":{"description":"words to look for","type":"string"}},"required":["deck","query"],"type":"object"},"name":"find"},{"description":"Turn an existing PowerPoint into a draft deck in the workspace (to restyle it)","inputSchema":{"properties":{"file":{"description":"absolute path to the .pptx","type":"string"}},"required":["file"],"type":"object"},"name":"import_pptx"},{"description":"Bring text someone edited in the built PPTX back into deck.yaml. Without apply it only lists the changes — show them to the user, then call again with apply: true","inputSchema":{"properties":{"apply":{"description":"write the changes into deck.yaml","type":"boolean"},"deck":{"description":"Deck folder name or path","type":"string"},"file":{"description":"absolute path to the edited .pptx","type":"string"}},"required":["deck","file"],"type":"object"},"name":"sync_pptx"}]}}}
