{"at":"2026-11-22T23:36:14.255Z","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-22T23:36:15.203Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"whygit","version":"0.1.2"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"whygit explains the state of a local Git repository in plain English and suggests fixes. It only reads; it never changes the repository and never runs the commands it suggests. Use diagnose_repo when something seems wrong, explain_git_error when you have git or GitHub error text, and explain_state for a neutral summary. Ahead/behind counts are as of the last fetch; it does not contact GitHub.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-22T23:36:15.203Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:36:15.207Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"whygit","version":"0.1.2"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use when a repository seems stuck or broken: lists every problem found (conflicts, rebase in progress, detached HEAD, diverged branch, large or secret files...), most urgent first, each with a plain explanation and the commands for the user to run.","inputSchema":{"properties":{"path":{"default":".","description":"Repository folder (or any folder inside it). Relative paths resolve against the server's working directory; ~ is allowed.","title":"Path","type":"string"}},"title":"diagnose_repoArguments","type":"object"},"name":"diagnose_repo","outputSchema":{"additionalProperties":true,"title":"diagnose_repoDictOutput","type":"object"},"title":"Diagnose a Git repository"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use when a git command printed an error (push rejected, authentication failed, unrelated histories, merge conflict...): says what it means and the fix. Pass path to tailor the fix to the repository.","inputSchema":{"properties":{"error_text":{"description":"The error output from git or GitHub, pasted verbatim.","maxLength":50000,"minLength":1,"title":"Error Text","type":"string"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional repository folder; when given, the explanation uses its current state.","title":"Path"}},"required":["error_text"],"title":"explain_git_errorArguments","type":"object"},"name":"explain_git_error","outputSchema":{"additionalProperties":true,"title":"explain_git_errorDictOutput","type":"object"},"title":"Explain a Git error message"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use for a neutral plain-English summary of a repository: branch, upstream and ahead/behind (as of the last fetch), remotes, staged/changed/untracked files, and any operation in progress.","inputSchema":{"properties":{"path":{"default":".","description":"Repository folder (or any folder inside it). Relative paths resolve against the server's working directory; ~ is allowed.","title":"Path","type":"string"}},"title":"explain_stateArguments","type":"object"},"name":"explain_state","outputSchema":{"additionalProperties":true,"title":"explain_stateDictOutput","type":"object"},"title":"Summarise a Git repository's state"}],"ttlMs":0}}}
{"at":"2026-11-22T23:36:15.357Z","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-22T23:36:16.281Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"whygit explains the state of a local Git repository in plain English and suggests fixes. It only reads; it never changes the repository and never runs the commands it suggests. Use diagnose_repo when something seems wrong, explain_git_error when you have git or GitHub error text, and explain_state for a neutral summary. Ahead/behind counts are as of the last fetch; it does not contact GitHub.","protocolVersion":"2025-11-25","serverInfo":{"name":"whygit","version":"0.1.2"}}}}
{"at":"2026-11-22T23:36:16.281Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:36:16.281Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:36:16.282Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use when a repository seems stuck or broken: lists every problem found (conflicts, rebase in progress, detached HEAD, diverged branch, large or secret files...), most urgent first, each with a plain explanation and the commands for the user to run.","inputSchema":{"properties":{"path":{"default":".","description":"Repository folder (or any folder inside it). Relative paths resolve against the server's working directory; ~ is allowed.","title":"Path","type":"string"}},"title":"diagnose_repoArguments","type":"object"},"name":"diagnose_repo","outputSchema":{"additionalProperties":true,"title":"diagnose_repoDictOutput","type":"object"},"title":"Diagnose a Git repository"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use when a git command printed an error (push rejected, authentication failed, unrelated histories, merge conflict...): says what it means and the fix. Pass path to tailor the fix to the repository.","inputSchema":{"properties":{"error_text":{"description":"The error output from git or GitHub, pasted verbatim.","maxLength":50000,"minLength":1,"title":"Error Text","type":"string"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional repository folder; when given, the explanation uses its current state.","title":"Path"}},"required":["error_text"],"title":"explain_git_errorArguments","type":"object"},"name":"explain_git_error","outputSchema":{"additionalProperties":true,"title":"explain_git_errorDictOutput","type":"object"},"title":"Explain a Git error message"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Use for a neutral plain-English summary of a repository: branch, upstream and ahead/behind (as of the last fetch), remotes, staged/changed/untracked files, and any operation in progress.","inputSchema":{"properties":{"path":{"default":".","description":"Repository folder (or any folder inside it). Relative paths resolve against the server's working directory; ~ is allowed.","title":"Path","type":"string"}},"title":"explain_stateArguments","type":"object"},"name":"explain_state","outputSchema":{"additionalProperties":true,"title":"explain_stateDictOutput","type":"object"},"title":"Summarise a Git repository's state"}]}}}
