Skip to content

feat: support onboarding individual plugins with existing config - #337

Merged
frostming merged 2 commits into
mainfrom
feat/plugin-onboarding
Oct 1, 2026
Merged

frostming merged 2 commits into
mainfrom
feat/plugin-onboarding

Conversation

@frostming

Copy link
Copy Markdown
Collaborator

Support bub onboard <plugin_name> to configure only the named registered plugin while preserving the rest of the existing configuration. Running bub onboard without a name still runs all onboarding hooks.

Onboarding now starts from a deep copy of the loaded config data, so hooks can use existing values as defaults and fields they do not update are retained. Targeted onboarding skips the gateway installation prompt. Unknown plugins and plugins without an onboard_config hook fail without saving and report the available names. English and Chinese CLI docs describe both behaviors.

Validation: 115 related tests passed; Ruff lint/format, mypy, and diff checks passed. Tests cover config preservation, nested-copy isolation, retaining an existing API key, plugin selection, and rejecting invalid plugin names without writing the file.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bub 6aec11a Commit Preview URL

Branch Preview URL
Oct 01 2026, 08:54 AM

…ctly

Signed-off-by: Frost Ming <me@frostming.com>
@frostming
frostming merged commit b5ebf7b into main Oct 1, 2026
6 checks passed
@frostming
frostming deleted the feat/plugin-onboarding branch October 1, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant