Ecosystem & Reference π‘ BETA
This chapter indexes the platform comparisons and migration guides, the CLI and component references, and the generated database and version material.
Overview
| Area | Pages in this chapter |
|---|---|
| Comparison and migration | Overview, Comparison matrix, platform guides |
| Reference | CLI, Components, generated versions |
| Data | Schema, tables, relationships |
| Contribute | Setup, pull requests, community |
Configuration File
Product branding and the visible app list are read from a product file before the UI renders. The source of truth is botserver/crates/botcore/src/product/load.rs and the shipped .product* files.
File Location
| File | Loaded when |
|---|---|
botserver/.product |
Default product |
botserver/.product.desktop-local |
--features desktop-local |
botserver/.product.gblite |
--features gblite (government edition) |
botserver/.product.matrix |
Matrix-specific build |
Configuration Format
The file is a flat key=value text file. Lines beginning with # are comments. The loader accepts empty values and trims whitespace around keys.
name
The product name shown in the shell. The government edition sets name=General Bots.
apps
Comma-separated list of always-visible app ids. .product.gblite sets apps=chat,drive; .product.desktop-local lists the broader desktop set.
preview_apps
Apps revealed only while Preview mode is on. The government edition sets an empty list; the desktop-local file lists the preview tier. This key is read by ProductConfig::is_preview_app in botcore/src/product/load.rs.
Stability classification
| Tier | Source |
|---|---|
| Always visible | apps= in the product file |
| Preview only | preview_apps= |
| Hidden / refused | hidden_apps= |
The launcher split is registered in botserver/src/apps/registry/ (launcher_visibility); the product lists mirror it.
theme
Default visual theme. The shipped product files use theme=sentient. Visual tokens come from DESIGN-SYSTEM.md, and themes may change only the accent.
logo
Optional logo override. The published docs header uses the canonical logo.svg copied to src/assets/gb-logo.svg.
favicon
Optional favicon field in ProductConfig; no external asset is fetched at runtime.
primary_color
Optional colour field in ProductConfig. UI colour must still come from the --id-* accent tokens; no ad-hoc colour is introduced.
support_email
Optional support address in ProductConfig. No address is published in this chapter.
docs_url
Optional documentation URL in ProductConfig. The published site is served by Caddy in the proxy container.
copyright
Optional copyright text; the loader substitutes the year. The project is MIT and the copyright holder is General Bots.
API Integration
The product configuration is exposed to the shell through the /api/product endpoint implemented in botcore / botserver; the desktop sidecar polls it before showing the window.
Product Configuration Endpoint
GET /api/product returns the product fields the shell needs, including the app list, no_security and suite_default_app (root AGENTS.md, Sidecar Lifecycle).
App-Gated APIs
The suite shell refuses an app listed in hidden_apps. An app not in the registry cannot be made visible by a product file.
UI Integration
The shell reads the product response before it renders the launcher and decides whether to skip the auth gate.
JavaScript Access
The suite reads product fields from /api/product; no secret is sent to the browser.
Conditional App Rendering
The launcher renders the intersection of registered apps and the product lists. Research stays hidden in the government edition.
Examples
| Product file | Visible apps | Security |
|---|---|---|
.product.gblite |
chat, drive | no_security=false |
.product.desktop-local |
broader desktop set | no_security=false |
Example 1: Simple Chat Bot
Set apps=chat and leave the other apps hidden in a dedicated product file.
Example 2: Internal Tools Platform
Use the desktop-local list, which includes task, calendar and mail apps, and enable the launcher.
Example 3: Customer Service Platform
Use the full platform channel support; the government edition is Chat and Drive only.
Example 4: Full Suite
The desktop-local file mirrors the registry launcher tiers, including preview_apps and hidden_apps.
Reloading Configuration
The product file is read at server start. A change requires a restart of botserver; Drive config.csv changes do not (DriveMonitor reloads them on ETag change).
Environment Variable Override
Deployment paths can be overridden with environment variables such as BOTSERVER_STACK_PATH and BOTSERVER_INSTALLERS_PATH. Only VAULT_* variables belong in .env.
Best Practices
- Keep the product file in the repository; do not hand-edit a deployed copy.
- Mirror registry tiers instead of inventing app ids.
- Never put a credential in a product file.
- Verify
/api/productafter a restart.
Troubleshooting
| Symptom | Check |
|---|---|
| Apps not hiding | Registry launcher_visibility and hidden_apps |
| API returns 403 | Session and auth gate state |
| Branding not updating | Server was not restarted after the file change |
Apps Not Hiding
An app in preview_apps appears only in Preview mode; hidden_apps wins over both lists.
API Returns 403
Check the session and no_security field; the government edition requires sign-in.
Branding Not Updating
Restart botserver after editing the product file and compare the /api/product response.
Related Documentation
Authority: botserver/crates/botcore/src/product/load.rs, the shipped .product* files, root AGENTS.md and DESIGN-SYSTEM.md.
Limits
- Only fields parsed in
botcore/src/product/load.rsare accepted; an unknown key is ignored. - No colour, font or shadow outside the
--id-*tokens is introduced by a product file. - A 200 from the docs host can be the fallback page; compare titles or checksums.
- Generated pages and the navigation file are not edited by hand.