Summary
Add a safe fallback when OpenCode async prompt admission is unavailable or rejected, so Telegram prompts keep working on servers that do not support /prompt_async.
Context
After switching long prompt handling to async prompt admission, some running OpenCode servers may reject the async admission endpoint immediately. In that case the gateway should fall back to the existing synchronous prompt request rather than failing the Telegram update immediately.
Acceptance Criteria
Notes
This is a follow-up to issue #53 / PR #54, which was merged before the fallback commit was included.
Summary
Add a safe fallback when OpenCode async prompt admission is unavailable or rejected, so Telegram prompts keep working on servers that do not support
/prompt_async.Context
After switching long prompt handling to async prompt admission, some running OpenCode servers may reject the async admission endpoint immediately. In that case the gateway should fall back to the existing synchronous prompt request rather than failing the Telegram update immediately.
Acceptance Criteria
/prompt_asynccalls fall back to synchronoussession.prompt.Notes
This is a follow-up to issue #53 / PR #54, which was merged before the fallback commit was included.