Clarify session states and improve documentation formatting#65
Merged
Conversation
Add "disconnected" and "unauthorized" states to the session lifecycle section, aligning README documentation with the actual implementation. Clarify recovery instructions for each state. https://claude.ai/code/session_01Jtqna7EkvogQPx7DcSkoob
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updated the README documentation to provide clearer explanations of session states and their recovery procedures, and improved the formatting of the MCP tools comparison table for better readability.
Key Changes
Session States Documentation
Refined session state definitions with more precise descriptions:
live: Now explicitly states "Bridge process running and server responding"disconnectedstate: Distinguishes temporary server unavailability from permanent failures, with auto-recovery behaviorcrashed: Clarified auto-restart behaviorunauthorized: New state for authentication failures (401/403) with explicit recovery steps (loginthenrestart)expired: Clarified this is for session ID rejection (404) with recovery viarestartExpanded recovery instructions: Added specific guidance for each failure state, including which commands users should run (
mcpc login,mcpc restart, etc.)Improved explanation of bridge behavior: Clarified that disconnected sessions automatically attempt reconnection and return to
livestate when the server responds againUpdated final note: Changed from generic "will fail" to "will show the appropriate error with recovery instructions"
Table Formatting
Implementation Details
These are documentation-only changes that clarify the existing behavior and provide users with better guidance on handling different session failure scenarios.
https://claude.ai/code/session_01Jtqna7EkvogQPx7DcSkoob