anomalyco / anomalyco/opencode
[FEATURE]: Support Astra async tools and mid-turn steering
@kitlangton is already working on this.
Since Sep 6, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
OpenCode v2 should support GPT-6 Astra's Responses API features end to end: async function tools and mid-turn steering.
For async tools, OpenCode should mark eligible local functions with async: true, execute them concurrently with model output, preserve the original call_id, and deliver completed results in a later continuation. For steering, a plain-text inbox update should be persisted before response.steer is sent, then handle accepted, failed, pending, normally completed, and automatically continued responses without duplicating user input.
This keeps Astra sessions responsive during long tools and lets users redirect active work without losing durable session history. The implementation should retain HTTP fallback, permission handling, recovery after disconnects, and non-retry behavior for misalignment_policy_violation.
Implementation draft: #47536
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.