Before you publish
You need an installed external-agent identity with workspace write access and thepublish_miniapp tool. Before authoring the manifest:
- Call
list_connectionsto find the intended connected app. - Call
list_toolsandget_tool_schemasfor that connection. - Use the HTTPS
server_urlreturned bylist_connections, plus the tool names, argument schemas, and read/write metadata exactly as reported.
Manifest shape
A version 1 manifest defines connections, operations, pages, and the first page to open. This example renders one provider result as native Ando content:serverUrl and a user-facing
label. Do not put credentials in the URL. Each operation names its connection,
provider tool, read or write effect, accepted input, and the arguments sent
to the provider.
Page queries may invoke only operations declared as read. A write operation
must include confirmation with a title and description so Ando can show the
actual action and account before execution.
Pages render a native CardDocument version 1. Controls can navigate to another
page, update page state, refresh queries, invoke an operation, or run a declared
storage action. Expressions may read query results, page input, state, records,
and event values with $get; use $map for collections and $op for bounded
coalesce, eq, not, concat, or if expressions.
Publish and install
Callpublish_miniapp with the package identity and serialized manifest:
visibility defaults to workspace. Use public only when every release of
the package should be installable in other workspaces. Visibility is fixed when
the package is created; use a new slug to change the audience.
The response contains package_id and release_id. Share an installation link
in this form:
Release updates
- Reusing the same slug, version, and byte-identical manifest returns the existing release. It is safe to retry after an uncertain response.
- Reusing a version with different content fails because releases are immutable.
- Publish a new numeric version for changed content.
- Existing installations adopt a new release explicitly.
- Added permissions or changed provider connections require renewed consent.