All docs

Updating & rollback

Confirm work has stopped, replace packages together and preserve data before rollback.

Ophio updates are separate from its Claude Code and Codex updates. Ophio never downloads a new version of itself: you download each computer package from the trusted release source, and Ophio installs it. Once a day the computer can tell you when a new version is out. A paired Android phone updates from the signed app bundled with its computer.

Before updating

  1. Check Settings → Versions for app, computer and negotiated protocol versions.
  2. Review active work. If you stop a task, inspect its Stop receipt, including Still running / unknown. A sent stop request is not enough.
  3. Preserve a protected backup of configuration and data before an update that may need rollback. Stop Ophio before copying live database files.
  4. Verify the new archive and keep the complete package together.

Update Linux

Give the downloaded archive to the installed program:

ophio update <downloaded-linux-archive.tar.gz>

For 0.3.0 that is ophio update ophio-0.3.0-x86_64-linux.tar.gz, with the path to wherever you saved the file. Read Updating to 0.3.0 first. Coming from 0.1.x, also read Updating from 0.1 to 0.2.0.

Running the one-command installer again does the same: it downloads and checks the newest release and hands it to this update. If that version is already installed, it changes nothing.

Ophio stages the archive and checks that the new program starts. It normally waits for a minute with no running task, agent or pending approval, then restarts with the new programs and bundled phone app. Next up tasks remain queued and do not prevent the update. Waiting continues in the background, for up to 48 hours, even after you close the terminal.

ophio update shows progress and the installed and previous versions. ophio update --cancel cancels a waiting update. --now skips the wait and stops running tasks as a restart does; do not use it merely to hide an unresolved task outcome.

After the swap, Ophio checks that the new service responds and remains running on its previous listening address. If a program it has just copied is briefly busy, it waits and tries again rather than failing the update. A failed startup check puts the previous programs back. Settings, pairing and history remain. Run ophio doctor and review access before starting new work. The archive’s install.sh uses this update flow for an existing installation too.

Update a Mac

The experimental Mac download updates the same way as Linux. Download and check the new archive, then give it to ophio update without unpacking it:

ophio update ophio-0.3.1-aarch64-macos.tar.gz

Use the name of the file you downloaded; the version above is only an example. This works for a browser download too, because what ophio update installs carries no browser mark. Ophio waits until it has been idle for a minute, restarts on the new version, checks that it works and goes back to the earlier version if it doesn’t. It keeps one earlier version for ophio update --rollback.

After every update, give Ophio its Screen & System Audio Recording and Accessibility permissions again, because macOS treats each ad hoc signed version as a new program. Updates of the final 0.3.0 Mac archive weren’t tested. See the Mac package instructions.

Update Windows

The experimental Windows download installs into %LOCALAPPDATA%\Programs\Ophio, with a launcher at the top of that folder. Never replace the programs in it by hand or extract a new ZIP over it.

Check the new ZIP and extract it into a new folder outside the installed one. Then, in an ordinary, non-administrator PowerShell in %LOCALAPPDATA%\Programs\Ophio:

.\ophio.exe update "C:\path\to\extracted-folder"

The updater waits until Ophio has been idle for one minute; add --now to stop Ophio and update without waiting. With the same launcher, .\ophio.exe update shows progress, update --cancel cancels before the programs are replaced, and update --rollback goes back to the one earlier version it keeps. Running the one-command installer again queues the newest release the same way and tells you how to follow it.

If Windows keeps a program locked and replacement fails, the updater keeps its recovery files and finishes recovery on the next start. Don’t delete them or mix old and new programs. An older installation with ophio.exe directly in the program folder can’t be updated normally; follow the Windows package instructions. Recovery and the rest of the procedure are in Updating and recovery.

Update Android

When the computer offers a newer bundled app, the phone shows an “Øphio update ready” notification and Settings leads with an Update now card, also under Settings → Versions. The device needs File transfers permission and the signing key must match. See Install on Android. A signature mismatch is not a reason to uninstall and lose drafts.

Updating to 0.3.0

0.3.0 has a new phone app. Update the computer first; it then offers the new app to each paired phone.

  1. On the computer, download ophio-0.3.0-x86_64-linux.tar.gz, check it against SHA256SUMS, and run ophio update ophio-0.3.0-x86_64-linux.tar.gz. 0.3.0 doesn’t change the computer’s database format, so the update doesn’t need to back up or convert your data. Keeping your own protected backup is still wise.
  2. When the computer is running 0.3.0, tap Update now on the phone, under Settings → Versions. If Android asks, turn on Allow from this source for Øphio and come back. This happens if you turned that permission off after the last update.
  3. If the first try just after allowing installs fails, tap Try again.

Installing ophio-0.3.0-arm64.apk from the release by hand works too. It is signed with the same release key as 0.2.0, so Android keeps the pairings and settings. If Android says the signature doesn’t match, stop: never uninstall the app to get past it.

Agent updates now offer three choices, and the default is Tell me when there’s an update. A computer that had automatic agent updates on keeps them; one that had them off, or never chose, is now told about updates instead. See Keep Claude Code and Codex up to date.

The final Android and Linux files passed update, phone self-update, rollback and update-again checks on an Android 15 emulator and an Ubuntu 24.04.5 virtual machine, using stand-in agents rather than real Claude Code or Codex conversations. Pairings and the history that was checked survived, but not every setting was checked. They weren’t tested on physical phones.

While the phone and the computer run different versions

Most of what is new needs both ends on 0.3.0. Each end leaves out what the other can’t do rather than failing.

With a 0.2.0 phone and a 0.3.0 computer:

  • Chats can’t show attached files, and a suggested-work card can’t be started as work linked to its chat.
  • The phone can’t set up or change a project’s checks. Checks already approved still run after each task, and the task stays Working, with its Stop button, until they finish.
  • Settings → Agent apps shows the old on-off switch, without the new Tell me or Don’t check choices.
  • A notice about a new agent version may open a screen with nothing useful on it. Update the phone.

With a 0.3.0 phone and a 0.2.0 computer:

  • The phone hides what the computer can’t do: switching agents in a chat, attaching files, suggested-work sets and starting them automatically, checks, and the three agent-update choices. Settings → Agent apps shows the computer’s old switch.
  • Tasks that are Watching say so without the newer explanation of what they are waiting for.
  • Review drafts and Run all cards kept from a 0.3.0 computer can lose their link to the chat, so no summary comes back to it. Check the task itself for its result.

The chat list across all projects and split view on a tablet or unfolded foldable are part of the phone app alone, and work with either computer version.

Updating from 0.1 to 0.2.0

This section describes the move from 0.1.x to 0.2.0. 0.2.0 was the first release with a new phone app since 0.1.0. Update the computer first; it then offers the new app to each paired phone. The Android questions in step 3 come from the 0.1.0 app’s first self-update.

  1. On the computer, download ophio-0.2.0-x86_64-linux.tar.gz, check it against SHA256SUMS, and run ophio update ophio-0.2.0-x86_64-linux.tar.gz. Paired phones, settings and history stay as they are. The computer’s database format is the same as in 0.1.1, so the update doesn’t need to back up or convert your data.
  2. When the computer is running 0.2.0, the phone shows an “Øphio update ready” notification and Settings leads with an Update now card. Tap Update now.
  3. This is the first time the phone app updates itself, so Android asks more than the 0.1.0 app’s screen says:
    • Android says Øphio isn’t allowed to install unknown apps from this source. Tap Settings, turn on Allow from this source for Øphio, and go back. The exact words vary between Android versions and phone makers.
    • If the app then says the update was cancelled, tap Try again.
    • If you installed the app from your browser, Android may also ask “Do you want to update this app?”. Tap Update.
  4. The app closes while it installs and keeps its pairings, history and settings. Open it again from the “Øphio updated” notification, or from the app drawer if notifications are off.

The phone needs the File transfers permission to download the update; setup’s recommended Everything includes it. A phone paired with fewer permissions says “This device needs the File transfers permission to download the update”. Give it with ophio devices allow "<device name>" transfers on the computer, or install the app by hand. Installing ophio-0.2.0-arm64.apk from the release by hand works too and keeps the pairings, because it is signed with the same key as the 0.1.0 app. Later updates ask less: the permission stays on, and the 0.2.0 app asks for it before it starts an update rather than part way through.

Your notification settings carry over to 0.2.0’s notification types the first time it runs, and finished tasks no longer alert unless you turn them on. Notifications describes what carried over.

Find out about new versions

Once a day, Ophio on the computer asks GitHub whether a newer Øphio has been released. When one has, your paired phones get one notification, such as “Øphio 0.3.0 is available”, and Settings → Versions shows the new version, a What’s new button that opens its release page, and how to update that computer. On the computer, ophio update with nothing after it says the same. Nothing is downloaded or installed until you update.

  • What is sent. One ordinary web request to GitHub, without signing in and without cookies. A GitHub account you gave Ophio is never used for it. The request doesn’t include Ophio’s version, the computer’s name or anything about you or your projects. As with any web request, GitHub sees the computer’s internet address.
  • How often. The first check comes a few minutes after Ophio starts, then once a day. Restarting doesn’t make it check sooner. A check that gets no answer, for example while offline, is tried again about six hours later.
  • Who is told. Phones and tablets with the Tasks permission get the notification, once per new version per computer. Dismissing it on one phone clears it on the others. Each computer checks for itself, so with two computers you may be told twice. The notification type is New Øphio versions in Settings → Notifications, Silent by default.

The check is on by default in the public download. Settings → Versions → Check for new versions of Øphio turns it off or on for that computer, for every phone paired with it; changing it needs Manage access. Turned off, the computer sends no requests and any notice about a newer version clears. Builds made from the source with OPHIO_PERSONAL_SIGNING=1 start with the check off.

A computer still on 0.2.0 or earlier doesn’t check, and a phone app from before 0.3.0 isn’t sent the notice.

Compatibility and new features

A connection requires a protocol supported by both sides. Versions need not have identical numbers. An incompatible connection disables remote actions and preserves local drafts, Inbox items and downloads. Update the side named by the error.

A compatible older companion can still lack a new feature. An update-required message is separate from a permission denial. Updating does not grant device access. Closed-app alerts, launchers and other negotiated features may need a companion update.

When the versions can’t work together, the phone says An update is needed and offers Check updates, which opens Settings → Versions, instead of retrying the same connection. Older computers may not report which versions they support; then compare the two packages from their original source.

For what works with one end on 0.2.0 and the other on 0.3.0, see While the phone and the computer run different versions. Between 0.1.x and 0.2.0: the 0.1.0 phone app works with a 0.2.0 computer, and the 0.2.0 app works with a 0.1.1 computer. Both pairings were tried before release: the 0.1.0 app connected to a 0.2.0 computer, ran a task through an approval and was offered the update, and the 0.2.0 app stayed attached while the computer went back to 0.1.1 and updated again. The features new in 0.2.0 need both sides updated: computer names shared between devices, signing agents in from the phone and the “isn’t signed in” notice, each project’s notification choices by type, Switch to Work, and each GitHub task’s own merge choice. Until a computer is updated, the 0.2.0 app leaves out what that computer can’t do yet and says to update it where that matters.

Pending commands recovered after restart require review and are never automatically sent again. If an old stored command cannot be decoded, its unknown outcome must be reconciled against what actually happened. Do not retry with a new request identifier before checking.

Keep Claude Code and Codex up to date

Ophio can keep its own copies of Claude Code and Codex at their makers’ newest releases. One setting, in ophio setup’s Agents step and under Settings → Agent apps → Agent updates, offers three choices:

  • Update automatically checks every six hours and installs updates into Ophio’s own copies.
  • Tell me when there’s an update checks every six hours without installing. This is the default.
  • Don’t check stops scheduled checks and updates. Existing copies stay in use.

Check now checks straight away, and Update now beside an agent installs its newest release once, whichever choice is set. Changing the setting needs Manage access and an online computer. Computers whose old switch was on stay on Update automatically; an old off switch, or no choice, becomes Tell me when there’s an update. A computer still on 0.2.0 shows its old on-off switch, Keep Claude Code and Codex up to date, even on a 0.3.0 phone.

An update downloads the agent’s program for this computer from the npm registry, where Anthropic and OpenAI publish them, checks it against the published checksum and starts it once with --version. Only a copy that passes all three is used, from the next task on. If an update fails, the copy already in use stays, and the card says why. Tasks already running keep the version they started with. The card shows each copy’s version and when it was last checked.

Tasks and terminals Ophio starts use its copies. Ophio does not replace the Claude Code or Codex installed on the computer or change their accounts, settings or history. Claude Code’s own updater is off for Ophio’s copy. The copies live in the agents/ folder of Ophio’s data directory and take up to about 1.5 GB; none of the three choices removes them.

When an update brings new models, Ophio tells you quietly. Plain new versions don’t send a notification until the computer has been behind for fourteen days. These notices have their own type, Agent updates and new models, in Settings → Notifications. Choosing an agent covers model choice. This is independent of the app and database rollback below.

Database migrations

Before each schema migration the computer saves a SQLite backup beside its database, including committed WAL pages. A failed migration transaction does not leave a half-applied schema. Protect these backups because they contain sensitive records.

A database backup does not undo agent file edits, commands, delivered transfers or external actions.

Rollback

The updater keeps one earlier version, on Linux, a Mac and Windows. ophio update --rollback restores those programs, but does not undo a database migration, file edits or external actions. Check the schema and backups before rolling back across a migration.

Going back across a database migration needs the steps below. Read the full procedure first:

  1. Stop Ophio and confirm it is no longer running.
  2. Preserve the current database, its WAL/SHM files, configuration and migration backups together in protected storage.
  3. Reinstall the older package. Restore a backup from before the first migration it cannot read, using the original database filename. Never leave a newer WAL beside an older database.
  4. Start and check identity, grants and records before reconnecting devices. Keep backups until recovery is verified.

Older versions refuse newer schemas rather than downgrade them. Restoring loses later records and restores older pairing and revocation records. It does not roll back Android, phone drafts, downloads, native sign-ins or external work.

Going back from 0.3.0 to 0.2.0

0.3.0 doesn’t change the database format, so ophio update --rollback restores the computer’s previous version. It doesn’t put the 0.2.0 app back on the phone or undo anything agents did in your projects. The phone keeps the 0.3.0 app, which works with a 0.2.0 computer as described above.

Tasks, chats, history and finished setup stay. Ophio’s own copies of Claude Code and Codex stay and stay in use. What changes:

  • Automatic agent updates start again. 0.2.0 has only an on-off switch, so it checks for agent updates as soon as it starts and every six hours after, and installs them, even if you chose Tell me or Don’t check. To stop that on 0.2.0, turn its switch off, knowing that this removes Ophio’s copies and sends tasks back to the computer’s own Claude Code and Codex.
  • The three-way choice is lost. 0.2.0’s first check rewrites the saved setting, so when you update to 0.3.0 again it is Update automatically, unless you turned the switch off on 0.2.0. Choose again in Settings → Agent apps if you want something else.
  • There is no earlier agent version to fall back to until a successful agent update records one, because 0.2.0 removes that record.
  • A failed agent update can remove a copy. 0.2.0 doesn’t keep the working copy when an update fails.
  • Checks don’t run. Tasks finish without the project’s checks; they run again once you update to 0.3.0.
  • Some records show as unknown. 0.2.0 keeps records of things only 0.3.0 does, never repeats them and lists their outcome as unknown. If you know they finished, there is nothing to do.

After going back, and again after updating to 0.3.0, check that the phone is still paired, that tasks show the results you expect and that the agent update setting is the one you want. Rollback and updating again were checked with the final Linux archive and an Android emulator; this isn’t a physical-phone result.

Going back from 0.2.0 to 0.1.1

0.2.0 doesn’t change the database, so ophio update --rollback is all going back to 0.1.1 needs. Tasks, chats and history stay as they are. The phone keeps the 0.2.0 app, which works with a 0.1.1 computer and leaves out what it can’t do.

Before going back, check pull requests you chose to merge yourself. 0.1.1 doesn’t know a task’s own When its checks pass choice. In a project with Merge once checks pass on, it merges every task’s pull request once its checks pass, including those set to Leave it for me. Merge or close them first, or turn the project’s switch off.

Notification choices don’t go back with it, because 0.1.1 doesn’t know about notification types:

  • On 0.1.1, the computer alerts about every topic again, including finished tasks and any you had turned off before updating, until you turn them off again in 0.1.1’s settings. Muted projects stay muted.
  • Your 0.2.0 choices are kept and come back when you update to 0.2.0 again, unless you change notification settings while on 0.1.1. Saving them there replaces the 0.2.0 choices with 0.1.1’s switches, which the next update carries over again.

Other things 0.1.1 doesn’t know about:

  • Phones show the computer’s own hostname again. The name you chose comes back when you update to 0.2.0 again.
  • The bell on a task has no effect, and a task’s own merge choice and bell are lost when 0.1.1 changes that task.
  • A task looking into a problem report gets only its one-line first message if it starts a new session on 0.1.1, so finish or archive those first.
  • If an agent was signed out, the phone’s notice about it can’t be cleared on 0.1.1. It stays in the task list without its Sign in again and Not now buttons, which come back when you update to 0.2.0 again.
  • 0.1.1 can’t read the records of some things only 0.2.0 does: renaming the computer, the bell, Switch to Work, Look into it, a task’s merge choice and signing an agent in from the phone. When 0.1.1 first starts it keeps those records, never repeats them and lists their outcome as unknown. If you know they finished, there is nothing to do.

Going back to 0.1.1 and updating again was tried before release with a 0.2.0 phone attached.

Earlier companion installs

The earlier program was named companion. On Linux, the new installer and ophio service install handle its managed service. On Windows, stop companion.exe yourself before any ophio.exe command; modern commands cannot reach the old process.

Ophio can rename earlier configuration and data folders. It never merges into or replaces an existing destination. A failed rename is reported and the old folder remains in use. Fix the cause rather than deleting either folder.

The current Android app has a different app ID from the earlier app. It installs alongside it and must be paired as a new device. Revoke the earlier device before removing the old app. Follow the package reference for rollback to the earlier program.

Stars on GitHub help people find Øphio. If you like it, consider starring it. Star on GitHub