anomalyco / anomalyco/opencode
ACP: support elicitation for V2 forms and questions
Open
@nexxeln is already working on this.
Since Jul 21, 2026.
2.0
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
Add ACP elicitation support in V2 by translating session forms/questions into unstable_createElicitation requests when the connected ACP client advertises support.
Today, all session forms are auto-cancelled in the ACP path, so an agent cannot collect structured input from a capable client.
Expected behavior
- Detect whether the ACP client supports elicitation.
- Translate V2 session forms/questions into
unstable_createElicitationrequests when supported. - Return the client's submitted or cancelled result to the waiting session flow.
- Preserve the current auto-cancel fallback when elicitation is unsupported.
- Cover supported, cancelled, and unsupported-client paths with tests.
Requested by: @nexxeln (Shoubhit Dash via Slack)
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.