Repository navigation
Commit 66b6e5d
exe.dev user
feat(core): keep MCP tools and reconnect after a dropped connection
Behind the mcp_resilience flag. A server whose connection drops on its own (process exit, closed transport, expired session) keeps offering its last tools and reconnects at once, then with backoff from 1 s up to 30 s, until it connects, needs authorization, or the user acts on it. Each server's last tool list is cached on disk, keyed by a hash of its connection identity, and offered while it starts.1 parent da8c021 commit 66b6e5d
6 files changed
Lines changed: 562 additions & 10 deletions
File tree
- packages
- client/src/promise/generated
- core
- src/mcp
- test
- protocol
- schema/src/config
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
| |||
0 commit comments