{"at":"2026-11-23T03:29:41.966Z","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:29:42.645Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:29:42.746Z","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:29:43.431Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"DevMap gives you a precomputed map of this codebase (features, routes, flows, dependency graph). Start with devmap_overview, then drill into one feature with devmap_map or devmap_flow instead of reading many files. Call devmap_impact before changing a file, and devmap_find to locate code by keyword. Every result includes snapshot.stale; when it is true the code changed after the last analysis, so results may be outdated: call devmap_analyze to refresh the snapshot, then repeat the query. Prompts devmap_onboard and devmap_plan_change describe ready-made workflows.","protocolVersion":"2025-11-25","serverInfo":{"name":"devmap","version":"0.9.0"}}}}
{"at":"2026-11-23T03:29:43.431Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:29:43.431Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:29:43.435Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Entry point for understanding the project: framework, stats, entry points, most critical files, detected features, flows and route counts. Call this first.","execution":{"taskSupport":"forbidden"},"inputSchema":{"properties":{},"type":"object"},"name":"devmap_overview","title":"Project overview"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Dependency map for the whole project (omit target), one feature (feature name) or one file (project-relative path): what it imports, what imports it, and related files. Use it to find where to look before reading code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"depth":{"description":"Traversal depth for file/feature maps.","maximum":6,"minimum":1,"type":"integer"},"includeMermaid":{"description":"Also return the Mermaid source (default false).","type":"boolean"},"target":{"description":"Feature name or project-relative file path. Omit for the project-wide map.","type":"string"}},"type":"object"},"name":"devmap_map","title":"Dependency map"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Trace how a feature or API request works end to end (ordered steps with file paths). Omit target to list the curated top flows. Static analysis only, no AI.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"all":{"description":"Include lower-confidence features and non-API routes.","type":"boolean"},"target":{"description":"Flow name (case-insensitive, partial match allowed).","type":"string"}},"type":"object"},"name":"devmap_flow","title":"Trace a flow"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"List detected page and API routes with their handler file and HTTP methods. Filter by kind, path prefix or method.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"kind":{"description":"Route kind (default all).","enum":["page","api","all"],"type":"string"},"limit":{"description":"Max routes to return (default 50).","maximum":100,"minimum":1,"type":"integer"},"method":{"description":"HTTP method, e.g. POST.","type":"string"},"prefix":{"description":"Only routes whose path starts with this, e.g. /api/users.","type":"string"}},"type":"object"},"name":"devmap_routes","title":"List routes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"What is affected if a file changes: direct and transitive dependents (follow imports up to `depth` hops), affected features, critical dependents, areas likely impacted, and what it imports. Call this before editing a shared file.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"depth":{"description":"Import hops to follow for dependents (default 1).","maximum":5,"minimum":1,"type":"integer"},"file":{"description":"Project-relative file path (a unique path suffix also works).","type":"string"},"limit":{"description":"Max entries per list (default 50).","maximum":100,"minimum":1,"type":"integer"}},"required":["file"],"type":"object"},"name":"devmap_impact","title":"Change impact"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Locate features, files and routes by keyword using DevMap's index (paths, exported symbols, function names, search terms, purposes). Faster and more precise than grepping the whole repo for a concept.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"Max hits to return (default 15).","maximum":100,"minimum":1,"type":"integer"},"query":{"description":"One or more keywords, e.g. \"auth login\" or \"InvoiceService\".","type":"string"}},"required":["query"],"type":"object"},"name":"devmap_find","title":"Find code"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Re-analyze the project and refresh the DevMap snapshot (writes only inside .devmap/). Call it when a result reports snapshot.stale = true, or when no snapshot exists. Returns status \"unchanged\" without re-analyzing if no file changed (pass fresh: true to force a full rebuild). Static analysis only: no AI is used, so AI-derived data (domain, architecture) is not regenerated and aiDataDropped is reported when it is lost. If it takes longer than timeoutSeconds it keeps running in the background and status is \"running\"; call again to wait for it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"fresh":{"description":"Ignore the cache and rebuild from scratch.","type":"boolean"},"timeoutSeconds":{"description":"How long to wait for the analysis (default 120).","maximum":600,"minimum":1,"type":"integer"}},"type":"object"},"name":"devmap_analyze","title":"Refresh the project map"}]}}}
