Devices and safety
Packaging and sharing
Folders, .tailapp and .tailapp.json files, install links and the Directory.
A card travels in one of three forms. All of them open through the same check and the same approval sheet: nothing is trusted because it came from a file, a link or the Directory.
| Form | What it is | Good for |
|---|---|---|
| app.json | The document on its own, with any scripts inline. | Writing by hand, pasting, a card with no files |
| <id>.tailapp | The card’s folder zipped, with a manifest that lists every file’s SHA-256. | Export, email, AirDrop, the Directory |
| <id>.tailapp.json | The same in one JSON file: the manifest, the app and a files map. | A web page, a gist, a chat message |
The .tailapp.json format
{
"tailapp": 2,
"manifest": { … },
"app": { "schema": "tailapps/v0", "app": "disk-space", … },
"files": {
"scripts/disk.sh": "df -h / | tail -1",
"assets/logo.png": { "base64": "iVBORw0…" }
}
}
The files map is the same one agents send with create_app. A file whose hash differs from the manifest is refused.
Export a card
- On the Mac: the card’s ⋯ › Export… writes a
.tailapp, and ⋯ › Export as JSON… a.tailapp.json. Settings has Export All. - An agent:
export_app. The command line:tailapps exportis on the way. - Never in an export: settings, state, grants, keys, Connection values, picked folders or buckets. Only the names of the Connections a card needs, so the person can add their own. Exports are scanned for keys and refused if they hold one.
Install a card
- Press
⌘Oin TailApps’ Apps window and pick the file (the file itself, not its folder). - Double-click a .tailapp, use Open With › TailApps for a .json, or drop the file on TailApps’ icon in the macOS Dock.
- From the Directory: Open in TailApps on a card’s page. Install links (
tailapps://install?url=…) only download over HTTPS from the Directory’s own hosts. - From an agent: create_app, or the Directory’s MCP server’s install_link.
- On the iPhone: add a card from your Mac’s list, once both are signed in.
Opening a card whose id is already installed asks Update (with what changes) or Install as a Copy, which asks for a short name and installs it under a new id.
Publish to the Directory
- Sign in on the site and open Upload a card. Upload a card
- Upload a
.tailapp, a.tailapp.jsonor a plainapp.json(at most 5 MB). It’s checked straight away against the schema, for keys and for missing scripts, with every problem listed. - We review it. Once approved, the version is signed and public, with its permissions in plain words on its page.
- Upload again to publish a new version; it’s reviewed the same way.
Before you upload
- Pick an id that’s yours: ids are unique across the Directory.
- Write a description that says what it does and what it needs (a computer, a Connection, a sign-in).
- Ask only for the permissions you use, and keep settings optional where you can.
- Check it on the Mac and the iPhone: the validator’s targets tell you which buttons show Needs a Mac.