Skip to main content
Version: v1 (Current)

Creating an App

Create an App for a reusable attendee page. Apps are backed by PluginPage records, so APIs and schemas may still use “page” or “plugin page.” Themes, Widgets, Tiles and Experience Plans are separate resource types.

Prerequisites​

Sign in with a verified platform account, select the owning team and confirm permission to create and manage plugin pages. Team membership alone does not grant every operation. The Apps screen exposes creation according to page-create permission; editing, forking and planning use the app's management policy.

Team AI credits are required for new planning and conversation turns. Creating a blank app for manual development does not itself require planning credits. A workstation SSH key is needed only for local SSH cloning/pushing; hosted editing does not require it.

Find and inspect an existing app​

The Apps list searches name, slug and description, orders by latest update and paginates results. Ordinary accounts stay within the selected team; a super admin can explicitly request a wider list. Opening an App still checks its owning team and view permission. A visible card does not grant management or ownership of another person's active session.

Overview combines app identity/current-version information with the five highest-numbered version rows across the App and, when a repository exists, the five most recently created builds. These are summaries rather than full per-variant release/build histories. The version badge follows is_published; also inspect publication timestamp and editability before treating an old row as a writable draft. Repository collaborators are repository-associated administrators, not a list of attendee users or every account allowed by platform policy.

Opening an App tab as a manager loads the shared default-variant header context, which can ensure/create a missing editable draft. Even Overview can therefore create draft state. Read-only viewers select an existing visible version instead. Merely opening a tab does not build, publish or install that draft.

Settings' title switcher is URL-bound to its selected variant/version. Other tabs load their own context: Code has a source branch picker, Build works with recorded build branches and Publish selects a variant independently. Recheck the relevant branch/variant/build/version after navigation instead of assuming one header selection governs every operation. See configuration save boundaries, Code and builds and publication.

Create a blank app​

  1. Open Developer Hub → Apps and the new-app dialog.
  2. Select Blank — empty repo with the standard scaffold. From starter template (coming soon) is disabled.
  3. Enter the name, optional short description, description, icon and color. Short descriptions support up to 160 characters.
  4. Choose Create empty app to open the overview, or Start planning with the agent to open planning. Narrow-screen labels shorten to Create and Plan.
  5. Confirm the app appears in the current team and wait for repository initialization before starting a coding preview.

The server generates a globally unique slug from the name. The dialog does not collect a slug, and a supplied slug does not replace the generated value. Blank creation accepts names up to 255 characters and descriptions up to 5,000.

Choosing planning creates the blank app first, then navigates to planning. It does not immediately generate code or start a build. If planning cannot start because credits or the service are unavailable, retain the created app and resolve the problem before trying again.

Understand repository readiness​

App creation and repository setup have different outcomes. The platform creates an app and initial draft version; its creation observer attempts to establish the default main variant and managed Gitea repository. Blank setup normally provisions the standard scaffold and CI defaults in the background.

Successful app creation does not guarantee those setup steps succeeded. Disabled or unavailable repository services can leave an app without a repository. Pending, initializing and failed repositories block preview startup. Check setup state before cloning or starting a hosted session.

For failed or stuck setup, use the repository initialization controls available in your hub or contact the platform team with the app slug and initialization state. Preserve existing source before repair. Jobs coordinate retries with a per-repository lock; retrying does not resolve missing credentials, a missing source or an outage.

The default variant uses main as its trunk. Hosted sessions use a separate working branch from the selected variant's trunk. App creation does not also create an installed portal page.

Plan before generating​

Describe the audience, journey, data sources, project configuration, permissions and observable acceptance criteria. Choose the intended variant, refine the saved document, approve it, then choose Generate code now.

The coding session executes the approved plan. Draft, fallback and refinement states require more planning. Check open pull requests against the selected trunk before generation because this handoff skips the ordinary preview-start warning. See AI planning for validation, credits, ownership and recovery.

Fork a published app​

Choose Clone an existing app or create a variant in the source dialog, then select an eligible source and its offered published version. Choose both before Next, then enter a name and select Fork app.

The source must belong to the selected team and be manageable by you. The release must have a successful build from the app's initialized repository with a verified 40-character source commit. A public listing, published flag or copied bundle alone does not establish eligibility. Build and publish a source-backed release when a legacy version cannot be forked.

The current Apps list supplies its eligible current published version; it is not a browser of every historical release. Fork names support up to 100 characters, with the same 5,000-character description and 160-character short-description limits.

A fork creates a separate private app and repository. Its job fetches and verifies the exact commit that produced the selected published build, then pushes it to the new main trunk. Later movement of the source branch does not change that commit. The ordinary push preserves later fork work by failing rather than force-overwriting it.

Features and selected identity/metadata carry over, and repository branch-protection flags are inherited. Setup seeds or adopts a numbered main draft without replacing an existing built draft or published version. Existing installations of the original app remain attached to the original.

Wait for repository initialization before coding. Resolve a missing source repository or unverifiable commit before retrying. For an edition inside the original app, use its variant controls; the source dialog's fork action always creates another app. See variants and releases.

Configure identity and the draft version​

Open Settings and use the v… badge with the chevron beside the app title. In its popover, choose a Variant, then a Version labeled draft rather than published.

If no draft is listed, open Settings for that variant without a version number: remove the final numeric segment from its Settings URL, leaving …/settings/<variant>. For an account with manage permission, the server selects its latest draft or creates one from selected configuration of its latest published version. This draft is not a verified new build; continue with the draft and release workflow. Read-only accounts cannot create a draft this way. A published selection makes the Settings interface read-only, including its identity fields.

ScopeExamples
App identityName, descriptions, icon, color, required features and system tags
Selected draft versionSettings schema, dependencies, navigation/configuration flags, data-store injection, README and form-template flag
Project installationInstalled version, concrete resource bindings and project-specific settings

The editor passes the selected version ID; legacy callers without it fall back to the app's current version. The server rejects version-configuration writes to a published version. Select an editable draft for those changes.

App identity is app-wide; select an editable draft to change it through this Settings interface. Changing identity does not rewrite a published version’s configuration. Ordinary management writes cannot make an app public or a global default; those fields are stripped without super-admin authority. Required features control availability and are distinct from attendee/API permissions.

Author configuration schemas project admins can fill in, declare dependencies and align selector identifiers with their declarations. Add usage documentation, screenshots and assets, then validate real resource selections. See app configuration and permissions and dependencies.

Legacy App-version REST updates​

The registered legacy update endpoint is PUT or PATCH /api/v1/plugin-page-versions/{plugin_page_version}. Its member is the numeric version-row ID, not the App slug, display version number, variant or branch. It is outside the project-scoped and External App plugin-token route groups. Use the intended authorized management context; the base policy maps update to manage_plugin_pages. An External App Plugin API token is not a substitute. The controller disables project scoping, so verify actual team/row authorization rather than inferring it from a project URL.

This is a different path from the Developer Hub Settings workflow described above. The legacy controller/request has no explicit published-version refusal in the reviewed update method, model boot or observer. Do not use that enforcement gap to edit a release: select an App-owned editable draft through the supported Hub workflow and verify publication timestamp/flag before a legacy integration targets its row. The Settings server's published-write rejection must not be assumed to guard every API route.

The selected JSON fields are notes, style, body_template and javascript (nullable strings), plus dependencies, settings and navigation_flags (nullable arrays/objects). Omitted keys are preserved; a supplied array/JSON value replaces that whole attribute, rather than recursively merging it. These array rules do not validate a complete dependency/settings/navigation schema. Validate the declaration through the supported editor and actual installation workflow before relying on it.

A synthetic notes-only update is:

{
"notes": "Documentation integration draft check"
}

This request is narrower than the model's update catalog. Icon, README, form-template/data-store/configuration flags, manifest/bundle/build fields, version/branch/variant and publication controls are not selected JSON update keys here; copying them from another endpoint does not make them writable. The request also contains file_name/style_file_name wildcard file rules, but file transfer, processing and binary replacement are separate acceptance work. Use the supported Hub asset/build workflow rather than treating this JSON example as an upload contract.

The route registration exposes update only, so do not invent a matching standalone GET or publish operation for this path. Inspect the returned data and reload the intended draft in the Hub. There is no dedicated version resource in the reviewed source; model-based output is not a certified private-field/nested contract. A successful update does not build a bundle, publish, advance current release, install into a project or verify an attendee-facing result. Observer cache invalidation can follow persistence; an error afterward does not prove rollback. No compare-and-swap or idempotent receipt is added by this updater, and outer Orion transactions are disabled.

Before accepting automation, test allowed/denied management callers, team ownership, correct draft-row identity, supplied null/replacement behavior, rejected/ignored keys, publication enforcement, persistence/cache failures and a real supported build/install journey in an authorized environment. Isolated request/updater checks do not establish those outcomes. For CI-managed desktop/mobile External Apps, use the separate version and asset API, whose token, version-number and published-guard contracts differ.

Develop, publish and install​

Use hosted sessions or local tools, commit source, review it in Code and build the intended production/trunk branch. Publish a verified release in Publish, then install that version in a project.

Verify the installed portal with representative attendees: allowed/denied groups, guest/signed-in behavior, read/write permissions, configuration, empty states, mobile layout and API failures. A developer preview alone does not establish the installation contract.

Troubleshooting​

SymptomNext step
New-app control missing or write deniedCheck selected team, verification and page-create/manage permissions
Dialog remains open with errorsCorrect indicated fields; inspect saved state before resubmitting after a lost connection
App exists but planning will not startOpen that app, check credits/service state and follow planning recovery
Repository missing or not readyInspect initialization; repair/retry through available controls or platform support
Source unavailable for forkingConfirm same-team management, current published release, initialized repository and successful source-backed build
Fork copy failsPreserve the new app, resolve source readiness and retry setup; retain later fork work
Version settings save rejectedSelect an app-owned draft instead of a published or foreign version
Preview already activeReturn to or resolve the app's existing session, including another variant's session

Creating, generating source, building, publishing and installing are separate milestones. Track each so another developer can see what is ready and what needs verification.