The manifest
Every app has a manifest.json at its root. It names the app, says which files the app can read and change, where it can be opened from, and which jobs it can start. Folio refuses a manifest with a field it doesn't know.
An example
Image Editor's manifest, shortened:
{
"format": "planar.application/mini-v1",
"id": "frame-generator",
"name": "Image Editor",
"version": "0.2.0",
"icon": "icon.svg",
"runtime": {
"frontend": "index.html",
"worker": "backend/worker.py",
"env": { "FAL_KEY": "secret" },
"parametersContract": "backend-parameters.json"
},
"domain": {
"package": "visual-production",
"version": "2.1.0",
"slots": [
{ "slotId": "cut-card", "mount": "/board", "operations": ["read"] },
{ "slotId": "cut-grounding-rig", "mount": "/board", "operations": ["read", "modify"] }
]
},
"selection": { "kind": "directory", "traversal": "recursive", "acceptedExtensions": [".json", ".png"] },
"launchLocations": [
{ "kind": "directory", "pathPattern": "/storyboards/sb_*/cuts/cut_*", "rootParents": 2 }
],
"jobs": [ … ]
}The fields
| Field | What it holds |
|---|---|
format |
Always planar.application/mini-v1 |
id |
The app's id: lowercase letters, digits and single dashes, starting with a letter |
name |
The name people see, one line |
version |
Three numbers, such as 0.2.0 |
icon |
An .svg file at the app's root |
runtime |
How the app runs (below) |
domain |
The files the app can touch, by the slots of its domain (below) |
filesystem |
Folders the app can touch directly, at most 10 (below) |
selection |
What a person can open the app on: files with given extensions, or a folder |
launchLocations |
Where the app shows up in Open with: path patterns for folders or files |
jobs |
The background jobs the app can start (below) |
runtime
frontend: the app's page, an.htmlfile.worker: a Python file underbackend/that runs the app's jobs. Without one, the app can't declare jobs,envorparametersContract.env: environment variables for the worker. A value issecret,urlorstring, and names are capitals, digits and underscores. A secret's value comes from the server, never from the manifest.parametersContract: a JSON file that describes each job's parameters, one entry per job.
What an app can touch
An app reads and changes only what its manifest names. domain.slots names files by the slots of the workspace's data model. Each slot gets one or more operations: read, create or modify. Folio refuses a slot the domain doesn't have, and an operation the slot doesn't allow. See App permissions.
filesystem binds folders directly, each at a mount inside the app. A binding's source is the app's own folder, a workspace input, a slot, or the folder the app was opened on; its mode is read_only or read_write. A read_write binding names the exact paths it writes. The app's own folder is always at /app.
jobs
Each job has an id, a handler in the worker, its inputs and its outputs (a file name and a media type each), and a timeoutSeconds from 1 to 3,600. outputLayout says where results land: in a folder of the job's own (the default), beside the input, or at a path the app chooses. See Tasks and jobs.
Registering an app
An app in the workspace goes live only when it is registered. Files in its folder alone are not an app. Registering checks the app and records exactly which version of each of its files it runs.
- On main, an app that passes the checks is accepted. An accepted app never changes: to change it, make a copy with a new id.
- On a branch, an app whose checks don't all pass yet is a draft. The app's chip says "· Draft".

