Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.
Python ai-filmmakingai-videoai-video-generatorapple-siliconhailuoimage-to-videolip-synclocal-ailora-trainingltx-2ltx-2-5ltx-videomacosminimax-h3mlxmusic-generationoffline-aipinokiotext-to-videovideo-generation
Y1.005 · simplify recovery story; decouple fs.link from history fix
mrbizarro4b0102d77c33
diff --git a/.clinerules b/.clinerulesindex 74782d0..c95d4c9 100644--- a/.clinerules+++ b/.clinerules@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/.cursorrules b/.cursorrulesindex 74782d0..c95d4c9 100644--- a/.cursorrules+++ b/.cursorrules@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/.windsurfrules b/.windsurfrulesindex 74782d0..c95d4c9 100644--- a/.windsurfrules+++ b/.windsurfrules@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/AGENTS.md b/AGENTS.mdindex 74782d0..c95d4c9 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/CLAUDE.md b/CLAUDE.mdindex 74782d0..c95d4c9 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/GEMINI.md b/GEMINI.mdindex 74782d0..c95d4c9 100644--- a/GEMINI.md+++ b/GEMINI.md@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/QWEN.md b/QWEN.mdindex 74782d0..c95d4c9 100644--- a/QWEN.md+++ b/QWEN.md@@ -169,9 +169,8 @@ new patch versions without a venv rebuild — used when we added- A history-rewrite + force-push on 2026-05-01 (to scrub identityleaks from old commits) broke `git pull` for every existing userwhose local clone contained orphaned commits — Pinokio's Update- silently stalled for them and they couldn't get any new features.- GitHub aggressively GC'd the orphaned objects within hours, so the- pre-rewrite history is unrecoverable.+ silently stalled for them. GitHub aggressively GC'd the orphaned+ objects within hours, so the pre-rewrite history is unrecoverable.- **Do not run `git filter-branch`, `git rebase` (on shared history),`git push --force`, `git push --force-with-lease`, or anything elsethat rewrites already-published commits on `origin/main`. Ever.**@@ -179,13 +178,30 @@ new patch versions without a venv rebuild — used when we addedcommit that reverts/fixes it.** The history is append-only.- If the user requests a history rewrite (e.g. "scrub my name"), sayno and explain why: existing users get orphaned, their `git pull`- fails, the entire user base needs out-of-band recovery. Offer- alternatives instead — going-forward commits use the right- identity; old commits stay as they are.-- The recovery infrastructure for the 2026-05-01 incident lives in- `recover.sh`, the README's "Stuck on an old version?" section, and- the resilient `update.js` (which now `fetch + reset --hard` falls- back automatically). Don't remove or weaken any of those.+ fails, the entire user base needs out-of-band recovery.+- Recovery from the 2026-05-01 incident — primary path is **Pinokio+ Reset → Install** (clean, no shell scripts, models re-download is a+ one-time cost). The `recover.sh` script is an escape hatch for users+ who want to keep their downloaded models — kept in the repo with a+ clear "read before running" header, NOT promoted as a `curl | bash`+ command. Don't remove `recover.sh` or weaken `update.js`'s+ fetch+reset fallback.++### `fs.link` — orthogonal to the history-divergence story+- `fs.link` is in `install.js` only (NOT `update.js`). It maps the+ heavy/personal directories — `mlx_models/`, `mlx_outputs/`,+ `panel_uploads/`, `state/` — to a Pinokio virtual drive that lives+ outside the panel install dir. After a Pinokio Reset → Install, the+ drive is rediscovered and the symlinks reattach, so models ++ outputs + settings survive a clean reinstall.+- Why install.js only: future users get the drive on first install;+ existing pre-Y1.004 users get it whenever they next reinstall (which+ is the recommended recovery path anyway). Adding `fs.link` to+ update.js would technically migrate existing real folders into the+ drive without a Reset, but it conflates routine code updates with a+ one-time 36 GB merge step, so we keep them separate.+- `fs.link` is unrelated to the 2026-05-01 history-rewrite incident+ — don't conflate them in commit messages or docs.### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.diff --git a/README.md b/README.mdindex 5e39207..19a9d37 100644--- a/README.md+++ b/README.md@@ -18,30 +18,24 @@----> ### ⚠ Pinokio Update silently doing nothing? Stuck on an old version?+> ### ⚠ Pinokio Update silently doing nothing?>-> A one-time history scrub on 2026-05-01 made `git pull` refuse to-> fast-forward for clones that pre-date it. If your Pinokio Update fires-> but you don't see new features, you're on a divergent clone. One-> command fixes it without losing your downloaded models or settings:+> A one-time history scrub on 2026-05-01 left some clones unable to+> fast-forward to current main, so Pinokio's Update appears to fire+> but nothing changes. **Just reinstall** — that's the cleanest fix:>-> ```bash-> curl -fsSL https://raw.githubusercontent.com/mrbizarro/phosphene/main/recover.sh | bash-> ```+> 1. In Pinokio: **Reset** the Phosphene panel.+> 2. **Install** it again.>-> Or manually:-> ```bash-> cd ~/pinokio/api/phosphene.git && git fetch origin && git reset --hard origin/main-> ```+> Yes, this re-downloads the LTX weights (~36 GB). Annoying but quick on+> a decent connection, and from this point on Pinokio's Reset preserves+> your models because `install.js` declares an `fs.link` persistent drive+> (Y1.004+). So this is a one-time inconvenience for clones that pre-date+> 2026-05-01; future Reset → Install is fast and lossless.>-> Then click **Update** in Pinokio (it'll succeed now), then **Stop → Start**.-> Your `mlx_models/` (the ~36 GB of LTX weights), generated outputs, LoRAs,-> and settings stay put.->-> **From Y1.002 onward** Update self-recovers from any future divergence-> automatically, and **from Y1.004 onward** Pinokio's Reset → Reinstall-> path also preserves models + outputs + settings via Pinokio's `fs.link`-> drive — so a clean reinstall is no longer scary.+> If you'd rather not re-download, the repo includes a `recover.sh` that+> resets the git repo to current main without touching your `mlx_models/`.+> See its header comment for usage. (Most users: just reinstall.)---diff --git a/VERSION b/VERSIONindex da0b6e3..9ca0396 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-Y1.004+Y1.005diff --git a/pinokio.json b/pinokio.jsonindex 9fbe857..b2b36a7 100644--- a/pinokio.json+++ b/pinokio.json@@ -1,6 +1,6 @@{"title": "Phosphene",- "description": "[MAC ONLY] Local generative video panel for Apple Silicon. Joint audio+video via LTX 2.3 (MLX). T2V, I2V, FFLF, Extend. Lossless h264. LoRA picker + CivitAI browser. Free, open source. — Update silently doing nothing on an existing install? Run recover.sh from the README (one-time fix for clones from before 2026-05-01).",+ "description": "[MAC ONLY] Local generative video panel for Apple Silicon. Joint audio+video via LTX 2.3 (MLX). T2V, I2V, FFLF, Extend. Lossless h264. LoRA picker + CivitAI browser. Free, open source.","icon": "icon.png","links": [{"title": "Phosphene (panel by Mr. Bizarro)",diff --git a/recover.sh b/recover.shindex cc8d5d5..16c48b0 100755--- a/recover.sh+++ b/recover.sh@@ -1,31 +1,37 @@#!/usr/bin/env bash#-# Phosphene one-line recovery — gets a stuck install onto current main.+# Phosphene git-repo recovery — escape hatch, NOT the recommended path.#-# Why this exists:-# A one-time history scrub on 2026-05-01 (rewriting commit identities to-# anonymize an author leak) force-pushed origin/main on-# github.com/mrbizarro/phosphene. Any clone that existed before that push-# has commits in its local main that no longer exist on origin, so plain+# The recommended fix when Pinokio Update silently does nothing is:+# In Pinokio: click Reset on the Phosphene panel, then Install.+# That's clean, doesn't depend on running unaudited shell scripts, and+# from Y1.004 onward Pinokio's fs.link drive preserves your models ++# outputs + settings across Reset/Install anyway.+#+# This script exists for users who'd rather avoid re-downloading the+# 36 GB of LTX weights — it resets only the git repo to current main,+# leaving everything else untouched. Read the source before running.+#+# Why it's needed at all:+# A one-time history scrub on 2026-05-01 (rewriting commit identities+# to anonymize an author leak) force-pushed origin/main. Clones from+# before that push have orphaned commits in their local main, so# `git pull` refuses to fast-forward and Pinokio's Update step silently-# stalls. From Y1.002 onward Pinokio's update.js + the in-panel-# "magic version pill" both fall back to `git reset --hard origin/main`-# on divergence — but to GET to Y1.002, an existing user needs this-# one-time fix.+# stalls. Y1.002+ has a self-recovering update.js — but to GET to+# Y1.002+, an existing pre-Y1.002 user needs either this script or+# the Reset+Install path.## What it does:# 1. Locate the phosphene install dir (default: ~/pinokio/api/phosphene.git;# override via PHOSPHENE_DIR=/path/to/install).-# 2. Verify it's actually phosphene's repo (defensive: don't reset a-# repo that just happens to live there).-# 3. Fetch origin and reset --hard to origin/main. Wipes the working-# tree and any local commits — which a Pinokio install isn't expected-# to have anyway. Models, queue, settings, and downloaded LoRAs all+# 2. Verify it's actually phosphene's repo (defensive: refuse to reset+# a different repo that happens to live at that path).+# 3. git fetch origin && git reset --hard origin/main. The working tree+# and any local commits get overwritten — which a Pinokio install+# isn't expected to have anyway. Models, queue, settings, LoRAs all# live OUTSIDE git tracking, so they're untouched.#-# Usage:-# curl -fsSL https://raw.githubusercontent.com/mrbizarro/phosphene/main/recover.sh | bash-# # — or after downloading —+# Usage (read the script first, please):# bash recover.sh# # — or pointing at a non-default install dir —# PHOSPHENE_DIR=/Volumes/AI/pinokio/api/phosphene.git bash recover.shdiff --git a/update.js b/update.jsindex d71e00b..9bbb49c 100644--- a/update.js+++ b/update.js@@ -1,24 +1,13 @@module.exports = {run: [- // ---- Persistent storage via fs.link (Y1.004+) -------------------------- // Mirror of the fs.link block in install.js. Running it on Update- // (in addition to Install) means existing pre-Y1.004 users get- // their mlx_models/, mlx_outputs/, panel_uploads/, and state/ moved- // into the persistent drive on their first Update — without having- // to do a full Reset first. After this runs once, all four of- // those paths are symlinks into the drive, and the next Reset- // preserves their content. Idempotent on repeat runs.- {- method: "fs.link",- params: {- drive: {- mlx_models: "mlx_models",- mlx_outputs: "mlx_outputs",- panel_uploads: "panel_uploads",- state: "state"- }- }- },+ // Note: fs.link is only declared in install.js, not here. New users+ // get the persistent drive on their first Install; users coming from+ // pre-Y1.004 will get it whenever they next reinstall (which is the+ // recommended recovery path anyway — see README). Running fs.link on+ // every Update would technically migrate their existing real folders+ // into the drive without a Reset, but it conflates two concerns+ // (durability of model assets vs. routine code updates) and adds a+ // 36 GB merge step to a flow that should be fast.// Resilient pull for the panel repo (mrbizarro/phosphene). Plain// `git pull` was breaking for existing users after a history-rewrite