Repository navigation
Commit 3d15106
fix(opencode): settle T3's MCP tools when a reconnect lands during the add
A server that read connected before the add could still be reconnected by
it, so the turn skipped the tool settle. Seeing it pending after the add, or
a reconnect that forgot it, now counts as a join too.
AI-assisted; verified with the tests and tools listed above.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 270b791 commit 3d15106
2 files changed
Lines changed: 27 additions & 6 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
- packages/provider-opencode/src/server/v2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3417 | 3417 | | |
3418 | 3418 | | |
3419 | 3419 | | |
| 3420 | + | |
| 3421 | + | |
| 3422 | + | |
| 3423 | + | |
| 3424 | + | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
3420 | 3432 | | |
3421 | 3433 | | |
3422 | 3434 | | |
| |||
3430 | 3442 | | |
3431 | 3443 | | |
3432 | 3444 | | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
3433 | 3448 | | |
3434 | 3449 | | |
3435 | 3450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3325 | 3325 | | |
3326 | 3326 | | |
3327 | 3327 | | |
3328 | | - | |
| 3328 | + | |
3329 | 3329 | | |
3330 | 3330 | | |
3331 | 3331 | | |
3332 | 3332 | | |
3333 | | - | |
| 3333 | + | |
3334 | 3334 | | |
3335 | 3335 | | |
3336 | 3336 | | |
3337 | 3337 | | |
3338 | 3338 | | |
3339 | 3339 | | |
3340 | 3340 | | |
3341 | | - | |
3342 | | - | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
3343 | 3344 | | |
3344 | 3345 | | |
3345 | 3346 | | |
| |||
3359 | 3360 | | |
3360 | 3361 | | |
3361 | 3362 | | |
| 3363 | + | |
3362 | 3364 | | |
3363 | 3365 | | |
3364 | 3366 | | |
3365 | 3367 | | |
3366 | 3368 | | |
3367 | | - | |
| 3369 | + | |
3368 | 3370 | | |
3369 | | - | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
3370 | 3376 | | |
3371 | 3377 | | |
3372 | 3378 | | |
| |||
0 commit comments