You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Simplify the XcodeMCPKit connection state and first connection #492
The SDK session layer carries structure that its current callers do not need. MCPClientSessionAuthority tracks the first connection attempt with detached tasks although nothing else can reach the session before it starts. XcodeMCP.listTools watches connection generations itself to restart pagination. The public connection state repeats internal structure: XcodeMCPConnectionFailure duplicates cases of XcodeMCPError, XcodeMCPCloseReason has one case, and the snapshot carries a sequence that only reports coalesced states.
What
The first connection is created in the caller's task. A start cancelled during the attempt still returns only after the late transport is closed.
The session layer loads every page of a paginated result from one connection. XcodeMCP does not inspect connection generations.
XcodeMCPConnectionState replaces XcodeMCPConnectionSnapshot. It reports an unavailable connection with XcodeMCPError and has no close reason or sequence number.
The connection state change is source-breaking for SDK consumers. Recovery is unchanged; #494 tracks it.
changed the title [-]Simplify the XcodeMCPKit session layer and connection state[/-][+]Simplify the XcodeMCPKit connection state and first connection[/+]on Nov 19, 2026
Activity
[-]Simplify the XcodeMCPKit session layer and connection state[/-][+]Simplify the XcodeMCPKit connection state and first connection[/+]