fix(native): render plan proposals inline

Render ExitPlanMode and exit_plan_mode Markdown from input.plan in iOS and Android conversations. Preserve approvals, raw source and diagnostics while hiding empty output placeholders and prewarming plan documents.

Add generated protocol fixtures and native regression coverage for long plans, live updates, recycling, themes and typography.
This commit is contained in:
weishu
2026-09-12 16:06:16 +08:00
parent 418f11f80e
commit d29713aeda
21 changed files with 973 additions and 7 deletions
+9 -2
View File
@@ -1,7 +1,14 @@
# Native transcript scrolling
Native-only presentation policy. No Web, Hub, REST/SSE format, or generated
fixture changes. iOS and Android still reduce the same protocol messages.
Native-only presentation policy. No Web, Hub or REST/SSE format changes.
iOS and Android still reduce the same protocol messages; golden fixtures pin
that contract, not the native view appearance.
Plan proposals are an exception to compact tool summaries: both native clients
show the complete input document as Markdown by default, before approvals.
Android retains explicit manual folding; iOS retains its separate inspector.
Plan text joins off-main Markdown preparation before transcript publication;
stable tool IDs and normal self-sizing/anchor compensation remain unchanged.
## Behavior