mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-24 02:02:42 +00:00
OpenCode v2 marks a multi-select question as a `multiselect` form field. The mapper sent it to the app as `multiple`, which the question card does not read, and the reply path only accepted a string array, while the card sends one comma-joined string. Answering any multi-select OpenCode v2 question threw "Invalid answer for OpenCode question q0" and the answer never reached OpenCode. Send `multiSelect` so the card shows checkboxes, and accept the card's comma-joined answer by consuming exact option labels from the front, longest first, the same way the OMP question bridge does. Leftover text becomes the typed answer only when the field allows one. Closes #6135