Skip to content
App manifest

App manifest

Every App package contains a static manifest.json. The Host reads it during install and update to discover the package’s identity, modules, requested capabilities, kinds, and event handlers. It is declarative metadata; it is not executable configuration. The exact JSON schema is TBD.

Known manifest information

Information Known behavior
Package identity Reverse-DNS package id and package version. The package id is distinct from the per-Instance install id and the human-facing display name.
Modules Client Wasm and server Wasm are independently optional; a package may be UI-only, headless, or dual. The manifest identifies the module paths.
Capabilities Static allowlist of Host capability ids, with a localized rationale for each and optional suggested configuration parameters. Missing capabilities are denied by default.
Kinds Allowlist of kinds the App may use or create. Custom kind schemas use JSON Schema; schema documents ship in the package and custom kinds register at install/update.
Server handlers Named handlers the Host may deliver events to, such as UI actions, schedules, or capability callbacks. Runtime registration can create concrete resources only within the declared capability allowlist.
Migration When a kind version changes or an event shape breaks, the manifest carries an App-authored migration plan. Without a required plan, the Host refuses dual-generation update.
Capability-specific declarations A capability may define additional manifest data. For example, notify declares stable notification categories with localized labels and optional suggested importance.

Manifest changes that widen the capability allowlist, change kind declarations, or change named handlers are App updates. New or widened capabilities require admin review and consent before they become effective; accounts may tighten settings but cannot widen them.

TBD

  • Normative JSON Schema, manifest format version, required versus optional fields, and unknown-field handling.
  • Exact syntax and validation rules for ids, versions, localization keys, rationale text, and optional suggested parameters.
  • Exact shape of module declarations, kind permissions, and the mapping between kind IDs/versions and packaged JSON Schemas.
  • Complete list of capability-specific manifest sections and their compatibility rules.
  • Host compatibility declarations and how compatibility is checked during update.
  • Migration-plan schema, including step types, ordering, and validation.
  • How the manifest is signed or bound to the package digest by repository metadata.

This page captures decisions from App package, schemas, App install, update, and uninstall, Capabilities, and Notifications. It is an inventory of known fields, not a complete schema.