Utilities
Session restore and migration
Reopen last session's windows; bring data an older version left up to date.
Can AIObox reopen the windows I had open?
Yes. While AIObox runs, it saves each profile's provider windows within seconds of a change (one opened, moved, navigated or closed), not only when it quits: the page, App or Browser window with its address bar, size and place. So Restore offers the windows each Chrome had when it went, never an older layout, and a profile whose last window you closed while its Chrome kept running is not offered again. At the next start a banner on the Profiles page offers Restore windows or Not now; Utilities › Session has Restore for each profile. It never reopens anything by itself.
- A profile whose browser is already open keeps its own windows and is not restored again.
- Browser-internal pages are not saved. A window saved on a screen that is gone keeps its size, not its place.
- The saved session is
~/.aki/aiobox/session.json. A Chrome that quits or crashes keeps what was saved just before.
What is Migration?
Utilities › Migration lists every step that brings data an older AIObox left into the form this version reads, says what is left and why, and runs it. Today there are three steps:
- Move custom providers into the provider list: each site you added becomes one of your providers. One on a built-in provider's address joins that provider, and a macro with the same name is kept beside the one already there under a new name.
- Convert saved usage readings to the new form, in place. A reading it cannot convert stays as it was, with a note, until AIObox reads that usage again.
- Name the provider of older chat pauses. When it cannot tell which provider a pause belongs to, nothing is dropped: the item waits and says why.
When does it run?
By itself at start and before a profile opens, for whatever is free to move, and on Migrate or Migrate all. Nothing is overwritten, and every action is recorded in ~/.aki/aiobox/migrations/journal.jsonl. A gold dot on Utilities means something is left. A folder of macros that no provider uses is shown as a note and left as it is.
Can I undo it?
Undo is for going back to an older AIObox. It puts usage readings and chat pauses back as they were, for each file that still holds what the step wrote; then quit and open the older version. This version cannot read what Undo puts back, so it migrates again at its next start. Moving custom providers has no Undo.
What about a profile in the old folder?
A profile still in the folder AIObox used before 0.8.0 is no longer moved. Opening it says what to do: quit AIObox and any Chrome using it, move that folder, keeping its name, into the current profiles folder, then open AIObox again. Nothing in it is lost.