Commit Graph
2 Commits
Author SHA1 Message Date
0a72a377a4 fix(ios): stop restoring the last browsed directory in New Session
Drafts persisted the whole NewSessionForm, including `directory`, so the
last path picked through the browse (+) button came back on the next
presentation and seeded the browser. Web's draft deliberately omits the
directory; match it:

- readDraft/writeDraft strip `directory`, and old drafts with a stored path
  are ignored on restore.
- A restored draft now seeds its saved machine's default directory (or the
  most recent valid spawn path) unless the user edited the field.
- A directory-header "new session" still uses that exact initial path.
- Keep the directory tests in sync and teach the fake HTTP about the Claude
  custom/machine model catalogs; update the long-message probe for the
  selection-sheet closure signature.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-15 22:09:03 +08:00
weishu 7995334399 fix(ios): prevent long user messages from blocking chat
Keep normal multi-screen prompts inline and bound oversized messages to a preview. Add a screen-owned paged reader with exact full-text copy and preserved reading state, plus threshold, Unicode, layout, and presentation tests.
2026-09-11 17:14:21 +08:00