{"at":"2026-11-23T03:24:35.779Z","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-23T03:24:36.190Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:24:36.290Z","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-23T03:24:36.741Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"packkit","version":"1.1.0"}}}}
{"at":"2026-11-23T03:24:36.741Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:24:36.741Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:24:36.744Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"START HERE. Lists every Packkit generator (a language target — e.g. javascript, python, go) with its maturity and protocol capabilities. Pick the generator whose language matches what the user wants, then call list_presets and get_generator_schema for it before generating.","inputSchema":{"properties":{},"type":"object"},"name":"list_generators"},{"description":"List the presets a generator offers (e.g. ts-lib, react-lib, node-service for javascript; py-lib, py-cli for python), each with a description and maturity. Experimental presets are hidden unless includeExperimental is true. Choose a preset that matches the shape the user wants instead of guessing.","inputSchema":{"properties":{"generator":{"description":"Generator id from list_generators (e.g. \"javascript\", \"python\", \"go\")","type":"string"},"includeExperimental":{"description":"Include experimental presets (default false)","type":"boolean"}},"required":["generator"],"type":"object"},"name":"list_presets"},{"description":"Return a generator's full option schema — every option, its choices and defaults — as JSON. Read this before passing a `config` to generate_project so the options you set are valid for that generator.","inputSchema":{"properties":{"generator":{"description":"Generator id from list_generators","type":"string"}},"required":["generator"],"type":"object"},"name":"get_generator_schema"},{"description":"Generate a project with a generator. By default it PREVIEWS (returns the file tree, stack summary and deployment contract without touching disk); pass write: true to scaffold the files under <directory>/<name>. Existing files are never overwritten unless force is set. Call list_presets / get_generator_schema first.","inputSchema":{"properties":{"config":{"description":"Options from get_generator_schema (overrides the preset)","type":"object"},"directory":{"description":"Parent directory to create <name>/ in when writing (default: cwd)","type":"string"},"force":{"description":"Overwrite colliding existing files when writing (default false)","type":"boolean"},"generator":{"description":"Generator id from list_generators","type":"string"},"name":{"description":"Project/package name (also the folder name when writing)","type":"string"},"preset":{"description":"A preset (or alias) from list_presets","type":"string"},"write":{"description":"Write files to disk (default false = preview only)","type":"boolean"}},"required":["generator","name"],"type":"object"},"name":"generate_project"},{"description":"Plan a re-scaffold of an existing project against the current templates: a three-way diff (baseline vs on-disk vs freshly generated) that separates template changes from the user's own edits, so nothing is clobbered. Reports the plan only — it writes nothing. Requires a generator that supports baseline-upgrade.","inputSchema":{"properties":{"config":{"description":"The options it was generated with","type":"object"},"directory":{"description":"Path to the existing scaffolded project","type":"string"},"generator":{"description":"Generator id from list_generators","type":"string"},"name":{"description":"Project name (as originally generated)","type":"string"},"preset":{"description":"The preset it was generated from (if any)","type":"string"}},"required":["generator","directory","name"],"type":"object"},"name":"plan_upgrade"}]}}}
