diff --git a/plan.md b/plan.md index 032bc70f4..b6b272ab8 100644 --- a/plan.md +++ b/plan.md @@ -718,11 +718,19 @@ interface ToolCallSheetData { 5. ✅ Parent agent content preserved (shows MCP create_agent tool call and conversation) **Fix verified working.** Back button now correctly returns to parent agent instead of homepage. -- [ ] **Test**: Verify tool call bottom sheet opens on mobile web. +- [x] **Test**: Verify tool call bottom sheet opens on mobile web. - **Steps**: Navigate to an agent with tool calls in the stream → Tap on a tool call badge (e.g., "Read", "Bash", "Edit") - **Success criteria**: Bottom sheet slides up showing tool name, arguments, and result. Sheet can be dismissed by tapping outside or swiping down. - If fails: add fix task + - **Done (2025-12-22 14:35)**: PASSED. Tested via Playwright MCP on mobile web at `http://localhost:8081`. Verified all tool call types: + 1. ✅ **MCP tool calls** (`mcp__agent-control__create_agent`): Bottom sheet opens with header (icon, name, "Done" badge), shows JSON result content + 2. ✅ **Edit tool calls**: Bottom sheet shows "Diff" section with file path and syntax-highlighted diff (green added lines with + prefix) + 3. ✅ **Bash commands**: Bottom sheet shows "Command" section with full command text and output + 4. ✅ **Read tool calls**: Bottom sheet shows "Read Result" with file path and line-numbered content + 5. ✅ **Close button**: X button dismisses the sheet correctly + 6. ✅ **Drag handle**: Present for drag-to-dismiss gesture + 7. ✅ **Backdrop**: Semi-transparent backdrop appears behind sheet (backdrop click blocked by sheet handle which is expected behavior) - [ ] **Test**: Verify git diff screen loads without infinite loop.