Menú de la documentación

Referencia del manifiesto de app

A space’s own app is declared by a TOML manifest named <id>.ivy-app.toml, anywhere in the space outside hidden folders, such as crm/crm.ivy-app.toml. Its id is the file name’s unless the manifest sets id, and an app with processes, tools or [[ui]] is made of the manifest’s folder unless it sets root. Ids are unique in a space: while two manifests have the same id, neither is an app.

This page lists every field of the manifest; it is generated from the same schema Ivy checks the manifest with. Ivy also checks what the manifest names: its page, its templates and its root must be files and folders of the space; a missing default file (open) is only a warning. How a page app’s page gets the file it opens, saves it and loads the files under its root with window.ivy.asset is in Write a page app.

Collections

An app reaches the space’s collections it declares in [[collections]], each with access = "read" or "write"; write needs the app’s own access = "write". A page app calls them through window.ivy.records (schema, query, get, create, update, delete, comment and subscribe) as the person viewing, and its processes through the SDK’s records with their app token. Each instance makes up to 20 writes and 100 reads a second. Declaring a collection changes what is approved, and a collection the space doesn’t have is the problem collection_missing.

Checking a manifest

The assistant sees a manifest’s problems whenever it saves one. To check a manifest in your own editor, use the JSON Schema at /schemas/app-manifest.schema.json on your Ivy address, for example with #:schema https://<your Ivy address>/schemas/app-manifest.schema.json as the first line for editors that use Taplo.

File fields

A *.ivy-app.toml file anywhere in the space.

Field Type Required Default Description
access one of read, write no write Who may use a space-owned app: read apps any member, write apps only the space’s editors and admins.
assistant object, see assistant no Short instructions for the built-in assistant: when to start the app and how to help with it. Its prompt lists the space’s apps with their description and these.
collections list of object, see collections no [] The space’s collections the app reaches, at most 20. Declaring one is part of what is approved.
creates list of object, see creates no []
description object, see assistant yes Text shown to people, in every locale Ivy offers.
egress list of text no [] The hosts its processes reach through the egress proxy, on HTTPS, or host:port for a port the installation’s proxy opens to apps, such as IMAP’s 993.
environment text no The sandbox environment its processes need (runtime in older manifests).
fallback one of builtin no What runs a page app where pages can’t: an installation without the sandboxed preview origin, or a visitor who can’t read the space. builtin: The host’s own viewer of the same id. Only an always-on space declares one.
frontend one of builtin, page, port, terminal, none yes builtin: The host’s own viewer of the same id, compiled into the web app. Only an always-on space declares one. page: An HTML page of the version (page), run in the sandboxed preview origin. port: A web app served by the one process that declares a port. terminal: A shell in the sandbox the app runs in. none: No frontend: only processes, tools or UI resources.
id text no Lowercase letters, digits and hyphens, unique in the space; the file name before .ivy-app.toml when absent.
name object, see assistant yes Text shown to people, in every locale Ivy offers.
open text no The file a page app opens when it is opened by itself, from the Apps tab or by the assistant, such as data/crm.crm-data: a path relative to root, else to the manifest’s folder, outside hidden folders, of an extension the app opens. It is the app’s data: editing, moving or deleting it needs no new approval, and while it is missing the app still opens the files it opens.
opens list of object, see opens no []
page text no The page of a page frontend: an .html file of the space, outside .ivy/.
processes list of object, see processes no []
root text no The folder the app is made of, outside .ivy/. The manifest’s own folder when absent and the app has processes, tools or [[ui]].
runs list of object, see runs no []
scratch list of text no [] Paths under /workspace that are never written back.
secrets list of object, see secrets no []
services list of object, see services no []
share object, see share no
shareable true or false no false
tools list of object, see tools no []
ui list of object, see ui no []

assistant

Text shown to people, in every locale Ivy offers.

Field Type Required Default Description
de text yes
el text no
en text yes
es text yes
fr text yes
hu text no
it text yes

collections

A collection of the space the app reads, or reads and writes, through window.ivy.records and its processes’ app token.

Field Type Required Default Description
access one of read, write no read write needs the app’s own access = "write".
name text yes The collection’s name in the space.

creates

A kind of file the app adds to the “New file” menu.

Field Type Required Default Description
extension text yes
icon text yes A Material Symbols name.
template text no A file of the version outside .ivy/ whose bytes are the new file’s content; absent for an empty file.

opens

Files an app opens: by extension, else by MIME type (type/subtype, or type/*).

Field Type Required Default Description
default true or false no Opens these files before the apps of Ivy Core, unless the space or the person chose another app.
edits true or false yes
extensions list of text no []
mime_types list of text no []

processes

Field Type Required Default Description
command list of text yes The program and its arguments, run in the app’s root without a shell.
id text yes
mcp true or false no false It speaks MCP over stdio and serves the app’s tools.
port whole number no The port a port frontend, or the service naming this process, is served from.
ready started or socket or port: whole number no started When the supervisor counts a process as ready. started: As soon as it runs. socket: Once it connects to the app socket and reports ready. port:: Once it listens on this port.
restart one of never, on-failure no never

runs

Files an app runs, by extension: the server picks a run’s runtime by extension.

Field Type Required Default Description
extensions list of text yes
runner one of python, javascript, typescript, sql, r yes The web app’s own code runners.

secrets

A secret the app’s processes ask Ivy for while they run; its value is never in a version.

Field Type Required Default Description
kind one of google_oauth, microsoft_oauth yes How Ivy gets the secret: a Google or Microsoft sign-in in Ivy’s own UI, never a page’s.
name text yes
optional true or false no The app starts without it, and its process asks whether the person signed in; without it a start waits for the sign-in.
per one of person yes Whose secret it is: each person who uses the app keeps their own.
scopes list of text yes The OAuth scopes the sign-in asks for.

services

A WebSocket a process serves for Ivy’s own clients, reached through the app gateway.

Field Type Required Default Description
kind one of speech-to-text yes What a service offers Ivy’s own clients (session-apps-processes.md §2 “Services”). speech-to-text: Dictation for the chat composer: a WebSocket that takes 16 kHz mono 16-bit little-endian PCM as binary messages and answers {"partial": "…"} and {"final": "…"} text messages, with the language as the lang query parameter.
path text yes The path the WebSocket opens, starting with /.
process text yes The id of the process that serves it, on its port.

share

Field Type Required Default Description
files list of text yes The folders or globs a share of the app copies.

tools

A tool the app’s MCP process serves, offered to agents as <app>__<name>.

Field Type Required Default Description
description text yes For the model, in English.
input_schema text yes Its JSON Schema, a path relative to the app’s root.
name text yes

ui

A static MCP Apps UI resource, ui://<app>/<name>.

Field Type Required Default Description
name text yes
page text yes An HTML file, a path relative to the app’s root.

Example

id = "kanban"
access = "write"
frontend = "page"
page = "apps/kanban/index.html"

[name]
de = "Kanban"
en = "Kanban"
es = "Kanban"
fr = "Kanban"
it = "Kanban"

[description]
de = "Zeigt Aufgabenlisten als Board."
en = "Shows task lists as a board."
es = "Muestra las listas de tareas como un tablero."
fr = "Affiche les listes de tâches sous forme de tableau."
it = "Mostra gli elenchi di attività come una bacheca."

[[collections]]
access = "write"
name = "tasks"

[[creates]]
extension = "kanban.json"
icon = "view_kanban"

[[opens]]
edits = true
extensions = ["kanban.json"]