Increase ask-user-question max height for single-question scenarios
Description
Increase the max container height for the ask-user-question inline action when only a single question is displayed.
Currently, the max container height is hardcoded to 320px for all cases. When the LLM generates a single question with a long markdown-formatted body, the 320px cap forces excessive scrolling in the question panel. This change introduces a separate ASK_USER_QUESTION_SINGLE_MAX_CONTAINER_HEIGHT constant (520px) that is used when only one question is present, giving 62% more vertical space. Multi-question stacks retain the existing 320px cap and are unaffected.
Changes
- Added
ASK_USER_QUESTION_SINGLE_MAX_CONTAINER_HEIGHT(520px) constant - Added
is_single_questionparameter toask_user_question_container_height - Updated
render_activeto pass the single-question flag
Linked Issue
- [ ] The linked issue is labeled
ready-to-specorready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).
Testing
Existing unit tests pass (they test session state machine, not layout). The container height function change is straightforward — single-question uses larger cap, multi-question uses existing cap.
- [ ] I have manually tested my changes locally with
./script/run
Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Conversation: https://staging.warp.dev/conversation/af66751d-ec24-4572-bd24-cfc3dd0663ec Run: https://oz.staging.warp.dev/runs/019e66a7-f234-77f5-96da-d4772ec00a03 This PR was generated with Oz.