Repository navigation
Commit 77c6276
fix(opencode): unanswered stop offers Force stop
When OpenCode never answered session.abort, the adapter's 10 s abort
timeout was wrapped as ProviderAdapterInterruptError, so the session was
never marked unresponsive and the thread sat in "Stopping" while the
interrupt was retried. The abort timeout now fails with
ProviderAdapterInterruptTimeoutError and the outer mapError passes that
tag through, matching the ACP and Claude adapters.
Fixes #30987
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent fa055a5 commit 77c6276
1 file changed
Lines changed: 22 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
3486 | 3487 | | |
3487 | 3488 | | |
3488 | 3489 | | |
3489 | | - | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
3490 | 3502 | | |
3491 | 3503 | | |
3492 | 3504 | | |
| |||
3501 | 3513 | | |
3502 | 3514 | | |
3503 | 3515 | | |
3504 | | - | |
3505 | | - | |
3506 | | - | |
3507 | | - | |
3508 | | - | |
3509 | | - | |
3510 | | - | |
3511 | | - | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
| 3524 | + | |
3512 | 3525 | | |
3513 | 3526 | | |
3514 | 3527 | | |
| |||
0 commit comments