Manifest v1
manifest_version is optional for v1. If it is omitted, the SDK treats the
manifest as version 1.
Fields
The TinyCloud App Kit schema also accepts a descriptive top-level
resources
object for app packaging. The JS SDK manifest composer does not currently read
that object when it builds sign-in capabilities; declare runtime authority in
permissions, defaults, and secrets instead.
Permission entries
Each permission entry names a service, optional space, path, and action list. The SDK expands short actions such asget, put, and read into full TinyCloud
ability URNs when it builds the recap.
spaceinherits from the manifest when omittedspacedefaults toapplicationspathis app-relative unless you setskipPrefix: trueskipPrefix: truetells the SDK not to prepend the manifestapp_idexpirycan override the manifest expiry for one permissiondescriptionis user-facing context and does not change authority- encryption permissions use raw network URNs as the path value
Default tiers
Whendefaults is enabled, the SDK starts from a standard permission set for
the app prefix. Higher tiers add more capabilities:
- standard: KV read/write/delete/list/metadata and SQL read/write
- admin: standard plus SQL schema
- all: admin plus DuckDB read/write
tinycloud.capabilities/read separately for each requested
space so capability introspection stays space-scoped.
Composition rules
capabilityRequesttakes precedence overmanifestincludeAccountRegistryPermissionsdefaults totrue- manifest composition can add account-registry writes
- owned encryption networks can request
tinycloud.encryption/network.createwhen the manifest asks fortinycloud.encryption/decrypt
