Files
hapi/ios/HapiTests
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
..