↻ Code moved — RTK refactor (#143). The mobile app was restructured into CORE (session/) / EDGE (session/runtime/ + services/) / SHELL (ui/ + app/). Behavior was preserved, so this finding still applies; line numbers in the body below are pre-refactor. Updated pointers:
ToolCard.tsx → mobile/src/ui/thread/ToolCard.tsx
Problem
For edit / create / str_replace tools, ToolCard.tsx shows the raw args + result string. There is no diff view (added/removed lines, hunks) — the single most important thing to review when an agent edits your code.
Why it matters
VS Code Copilot Chat and Codex/Claude Code render colored diffs (and per-hunk Keep/Undo). On a phone, a readable diff is how you decide whether to approve/trust an edit.
Suggested fix
Detect edit-type tools and render a syntax-aware unified diff (green/red), with the file path as a header.
References
Filed from a UI research sweep of the Helm mobile app (landing + live demo session) using Playwright + full source review, cross-referenced against Claude, ChatGPT, GitHub Copilot Chat, and Codex/Claude Code UIs.
Problem
For
edit/create/str_replacetools,ToolCard.tsxshows the raw args + result string. There is no diff view (added/removed lines, hunks) — the single most important thing to review when an agent edits your code.Why it matters
VS Code Copilot Chat and Codex/Claude Code render colored diffs (and per-hunk Keep/Undo). On a phone, a readable diff is how you decide whether to approve/trust an edit.
Suggested fix
Detect edit-type tools and render a syntax-aware unified diff (green/red), with the file path as a header.
References
Filed from a UI research sweep of the Helm mobile app (landing + live demo session) using Playwright + full source review, cross-referenced against Claude, ChatGPT, GitHub Copilot Chat, and Codex/Claude Code UIs.