Repository navigation
v0.3.4 — beta
Pre-releaseTested on a real machine before publishing.
The Hugging Face token was saved to one path and read from another. Saving wrote DATA_DIR/hf_token.txt; reading looked in the app bundle, a path nothing writes. So the token was stored correctly and never read back — the UI showed it unset after every relaunch, and gated downloads had nothing to authenticate with. Same fix Civitai already had.
An interrupted download could not be restarted. After a cancel or a failure the row kept its status and lost its download button. It now returns whenever nothing is in flight, labelled Retry, and resumes from the bytes that arrived. Broken on both the Generate page and the Models page, which share one component.
Unrecognised model directories can be adopted. The storage panel already flagged directories nothing references; it now proposes which model each resembles and can point that model at it, using the same override the downloader writes. The directory becomes selectable and stops being reported. Nothing is copied: adoption is a pointer, costs no disk, and unregistering undoes it. A directory it cannot identify confidently is left alone rather than guessed at.
The model list is ordered installed-first, then alphabetically, with adopted local models sorting by name among the rest instead of at the end. Applied server-side so the Generate dropdown, Models tab and defaults section cannot drift apart.
Also fixes a crash introduced during this work: a temporal dead zone where canStart read showBar before its declaration, so every render of the model installer — on both the Generate and Models pages — threw and the recovery boundary blanked the interface. Lint, 504 backend tests and CI were all green through it, because none of them evaluate a component.
Verified on a clean machine before release: app opens without the recovery screen, Models tab renders, a saved token survives a relaunch, a cancelled download can be retried, and a hand-placed model directory can be adopted.
Requirements are unchanged: Apple Silicon, macOS 15 or later, and a right-click → Open on first launch because the app is ad-hoc signed and not notarised.
Verify a download with shasum -a 256 against ALL_SHA256SUMS. Model weights are not included; they download on first use from Hugging Face or Civitai into ~/Library/Application Support/DiffusionBear.