// CONTENTS Part 06 · Apps and UI

// PART 06

App catalog and deep links

Chapter 25 / 56 2 min read English Part 06 of 14

The app catalog is code, not configuration: botserver/src/apps/registry/ (entries.rs, entries_extra.rs, mod.rs::all_apps()) defines every launcher entry the suite renders, and the .product profile decides which of them are visible on a given deployment.

The catalog entry

An AppDefinition/AppSpec carries the fields the launcher and the __ui_plan__ planner need:

Field Example (Chat)
id "chat"
title "Chat"
category "ai"
url /suite/partials/chat.html
description "Conversational AI assistant with suggestions, tools and memory."
keywords "conversation assistant ai bot"
icon inline SVG path

Registry facts you can rely on:

  • entries.rs + entries_extra.rs define roughly 70 app ids together — from chat, drive, mail, calendar through vibe, designer, approvals, events to widgets like clock-widget (kind = Widget, hosted in widget surfaces rather than the start menu).
  • Visibility is driven by .product files (apps=chat,drive selects launcher entries; suite_default_app=chat opens one on load), exposed at GET /api/product.
  • Special kinds exist: widgets (widget_app_always), always-visible apps (app_always), and preview apps deliberately not listed by any profile (e.g. the office event stream and approvals entries per #2503).
  • Vibe is launcher-first: its toolwindows (Database, Terminal, Browser, Editor, Canvas) are panes inside the Vibe window, not separate desktop applications; dynamic tiles (bot-*, vibeapp-*) are appended by the catalog.

A deep link is the desktop route that makes the shell load an app’s HTML via HTMX:

URL What loads
/chat/<bot> chat inside the desktop shell
/drive Drive as a window inside the shell
/tasks, /social, … the matching app

Rules the shell enforces:

  • Never link to the HTML file directly. /suite/drive/drive.html without the desktop shell has no bootstrap: no module chain, no window manager, no security context — a broken empty page.
  • Bot context comes from the host, not a query param. On https://{bot}.{platform}/drive the shell derives the bot from the Host header; a ?bot= parameter on another bot’s host is ignored.
  • Subdirectory app assets must use absolute paths (/suite/<app>/<app>.css) because HTMX injection resolves relative paths against the desktop page, not the app’s directory.

Where the catalog is consumed

Consumer Use
Suite launcher / desktop shell renders entries, resolves deep links
GET /api/apps/catalog serves the catalog to clients
ui_automation_instructions() advertises apps to the planner for __ui_plan__
Install endpoints POST /api/apps/install (counts), /api/apps/install/stats

Adding an entry

Add an AppSpec in entries.rs or entries_extra.rs (the ownership guard tests in the registry crate keep the two files consistent), ship the app’s HTML under botui/ui/suite/<app>/, and — if the app should be visible by default — list it in the relevant .product profile. The maturity of the page title (GA / PREVIEW) and the requires declarations (registry/requires.rs) decide when the launcher may show it.

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move