Curate default bundled packages to core set of 8

Previously all 23 bundled .pkg archives auto-installed on first boot.
Now only the curated default set installs: notes, chat-core, workflow-chat,
dashboard, and 4 demo workflows. Other packages still ship in the image
and can be enabled via BUNDLED_PACKAGES env var (or "*" for all).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 18:29:28 +00:00
parent 8092f00fbe
commit 0a6879b6ae
3 changed files with 72 additions and 21 deletions

View File

@@ -63,11 +63,13 @@ type Config struct {
MTLSAutoActivate bool // auto-activate new users (default true)
MTLSDefaultTeam string // team ID for auto-provisioned users (optional)
// Bundled packages (v0.3.8)
// Bundled packages (v0.3.8, curated v0.5.4)
// SKIP_BUNDLED_PACKAGES: set true to disable auto-install of bundled packages on first run.
// BUNDLED_PACKAGES_DIR: directory containing pre-built .pkg archives (default /app/bundled-packages).
// BUNDLED_PACKAGES: comma-separated allowlist of package IDs to install (empty = all).
// e.g. "tasks,schedules,hello-dashboard" installs only those three.
// BUNDLED_PACKAGES: controls which bundled packages are auto-installed:
// empty → curated default set (notes, chat-core, workflow-chat, dashboard, demo workflows)
// "*" → install all .pkg archives found in the directory
// "a,b" → comma-separated allowlist of specific package IDs
SkipBundledPackages bool
BundledPackagesDir string
BundledPackages string