mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-18 03:27:08 +00:00
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>