{"at":"2026-11-23T02:34:04.744Z","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:34:05.467Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:34:05.568Z","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:34:06.269Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"dep-scope","version":"0.4.2"}}}}
{"at":"2026-11-23T02:34:06.269Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:34:06.269Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:34:06.273Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Scan all npm dependencies in a project and get symbol-level verdicts (KEEP, REMOVE, RECODE_NATIVE, CONSOLIDATE, PEER_DEP, INVESTIGATE).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"checkDuplicates":{"default":false,"description":"Include duplicate library detection","type":"boolean"},"checkTransitive":{"default":false,"description":"Scan transitive deps for packages with native alternatives","type":"boolean"},"includeDev":{"default":false,"description":"Include devDependencies","type":"boolean"},"projectPath":{"description":"Absolute path to the project (defaults to cwd)","type":"string"},"srcPaths":{"description":"Source directories to scan (e.g. ['src', 'app']). Use ['.'] to scan the full project root.","items":{"type":"string"},"type":"array"},"threshold":{"description":"Symbol count threshold for RECODE verdict (default 5)","type":"number"},"withKnip":{"description":"Use Knip for pre-analysis (auto-detected by default)","type":"boolean"}},"type":"object"},"name":"scan_project"},{"description":"Analyze symbol-level usage of a specific npm package: which symbols are imported, from which files, verdict, and native alternatives.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"packageName":{"description":"npm package name (e.g. lodash)","type":"string"},"projectPath":{"description":"Absolute path to the project (defaults to cwd)","type":"string"},"srcPaths":{"description":"Source directories to scan. Use ['.'] to scan the full project root.","items":{"type":"string"},"type":"array"}},"required":["packageName"],"type":"object"},"name":"analyze_package"},{"description":"List all packages that can be migrated to native JS alternatives (RECODE_NATIVE) or consolidated (CONSOLIDATE). Returns packages with their alternatives and file locations.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"projectPath":{"description":"Absolute path to the project (defaults to cwd)","type":"string"}},"type":"object"},"name":"get_migration_candidates"},{"description":"Generate a ready-to-use LLM migration prompt for a specific package. Returns the markdown content with symbol-by-symbol replacement instructions.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"packageName":{"description":"npm package name to migrate (e.g. lodash)","type":"string"},"projectPath":{"description":"Absolute path to the project (defaults to cwd)","type":"string"}},"required":["packageName"],"type":"object"},"name":"generate_migration_prompt"},{"description":"Find duplicate or overlapping libraries in a project (e.g. moment + date-fns both installed, multiple icon libraries).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"projectPath":{"description":"Absolute path to the project (defaults to cwd)","type":"string"}},"type":"object"},"name":"find_duplicates"}]}}}
