// PART 06
App catalog and deep links
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.rsdefine roughly 70 app ids together — fromchat,drive,mail,calendarthroughvibe,designer,approvals,eventsto widgets likeclock-widget(kind = Widget, hosted in widget surfaces rather than the start menu).- Visibility is driven by
.productfiles (apps=chat,driveselects launcher entries;suite_default_app=chatopens one on load), exposed atGET /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.
Deep links
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.htmlwithout 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}/drivethe shell derives the bot from theHostheader; 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.