gizzi files works with the Files drive: the folders on each of your Allternit computers (Inbox, Shared, Agent Output, Downloads, Meetings, Scans, Memory Drive, Code, Models and folders you added). It uses the same Files protocol as the web app, the phone apps and Finder or Explorer, so a change made here shows everywhere.
The Files drive is in preview and is off by default. It is turned on per account with the
files_drive flag, which gizzi reads from your account (flags.files_drive on GET /api/v1/me/flags) with the same sign-in it uses for other cloud calls: ALLTERNIT_API_TOKEN, or this machine’s pairing from gizzi login. The answer is kept for 10 minutes in ~/.allternit/state/files-drive-flag.json. If gizzi can’t read it (signed out, offline), the drive counts as off. ALLTERNIT_FILES_DRIVE=1 turns it on regardless, for development.The TUI checks the saved answer when it builds its command list and refreshes it in the background each time it starts, so after the flag is turned on, /files appears in the next session.While it is off:- every
gizzi filescommand printsFiles drive is not on for this account yetand exits with code 2. With--jsonit prints{"error":{"code":"flag_off","message":"Files drive is not on for this account yet","flag":"files_drive"}}. - the TUI
/filescommand is hidden./context filesstill works.
feature_disabled.Paths
A path iscomputer:Folder/sub/file.
"Cloud computer":Inbox/lease.pdfnames a file on the computer called Cloud computer. Quote names with spaces.Inbox/lease.pdf(no computer part) means--computer, or this machine when its Allternit runtime is running, or your only computer.:Inbox/is the same default computer, written so thatcpcan tell it from a local path.- The first folder can be any of the computer’s folders:
Inbox/x.pdfandAllternit/Inbox/x.pdfare the same file.
gizzi computers ls lists the computer names and ids.
Asleep computers and waking
Cloud computers sleep when idle. Files is built so that looking never costs anything:- Browsing never wakes a computer.
ls,searchby name,versionsandtrash lson a sleeping computer answer from the list it saved before it slept, and say so:asleep · saved list from 2:14 PM · browsing is free. - Content asks first.
cat,get,putand content search need the computer awake. In a terminal, gizzi asks:Cloud computer is asleep. Wake it? About 40 seconds, billed at your plan's awake rate. [y/N/always]. Answeralwaysto set the computer’s wake setting to auto. --wakeanswers yes without asking. With--json, gizzi never asks: it prints thewake_consent_requirederror so a script can decide.gizzi files wake-setting "Cloud computer" ask|auto|neverchanges the setting.neverrefuses every wake from Files.gizzi files wake "Cloud computer"wakes it on purpose (it asks;--yesskips the question).
Commands
Every command takes--json and --computer (-c).
Conflicts
Every change carries the version gizzi last saw. When the file changed somewhere else in between, nothing is overwritten: the upload lands next to it asname (conflict device YYYY-MM-DD HHmm).ext, using this machine’s local time, and gizzi prints the new name. --on-conflict fail refuses instead; --on-conflict replace only settles a name clash and never overwrites a newer file.
Big files
Files up to 4 MB go in one request. Bigger files are cut into pieces of up to 4 MB with the same chunker every Allternit client uses, so a piece the computer already has is not sent again. Big uploads use theallternit-files-mount helper (see below).
The mount helper
gizzi files mount and uploads over 4 MB run allternit-files-mount, which is installed next to gizzi on macOS and Linux:
gizzi also looks in
/opt/Allternit Desktop/resources/bin (the Linux .deb), ~/.allternit/bin and your PATH. ALLTERNIT_FILES_MOUNT_BIN points it at another copy. Windows has no mount helper: Explorer shows the drive through Allternit Desktop.
Share roles
Guests never wake your computer unless you pass
--guest-wake, which bills the awake time to you. A file dropped on a sleeping computer waits in your own storage and lands in Inbox the next time it wakes.
Mount the drive as a folder
- Linux mounts with FUSE through
fusermount3(packagefuse3). No kernel driver is installed; the mount runs as you. - Without FUSE, or on macOS and Windows,
gizzi files mount --webdavserves the drive at a local address such asdav://127.0.0.1:47830/…. Open it in GNOME Files, KDE Dolphin,davfs2or rclone. The address holds a secret and only answers on this machine; don’t share it. On macOS and Windows the Finder and Explorer locations from Allternit Desktop are the better fit. - When mounting a cloud computer, gizzi asks once whether opening a file may wake it. Browsing the mount never does. Without a yes, opening a file on a sleeping computer fails with “host is down”.
--read-onlymounts without write access. Saving a file that changed elsewhere writes a conflict copy, as above.- The main folders can’t be renamed or removed from a mount. Deleting a file moves it to the trash.
~/.allternit/logs/files-mount-<computer>.log.
How gizzi reaches a computer
The relay needs an Allternit API key with the compute scope in
ALLTERNIT_API_TOKEN (Settings, API keys), as gizzi run --on does. The protocol is documented in the Files drive API.
In the TUI: /files
/files browses the same drive inside a session, without waking anything:
Changes and downloads are
gizzi files commands; /files names the one to run. The list of files read into the session, which /files used to show, is now /context files.