docs: document richer setup wizard prompts

This commit is contained in:
Peter Steinberger
2026-03-15 17:06:31 -07:00
parent 1f37203f88
commit e42d86afa9

View File

@@ -1428,10 +1428,13 @@ Wizard precedence:
`plugin.setupWizard` is best for channels that fit the shared pattern:
- one account picker driven by `plugin.config.listAccountIds`
- optional preflight/prepare step before prompting (for example installer/bootstrap work)
- optional env-shortcut prompt for bundled credential sets (for example paired bot/app tokens)
- one or more credential prompts, with each step either writing through `plugin.setup.applyAccountConfig` or a channel-owned partial patch
- optional non-secret text prompts (for example CLI paths, base URLs, account ids)
- optional channel/group access allowlist prompts resolved by the host
- optional DM allowlist resolution (for example `@username` -> numeric id)
- optional completion note after setup finishes
`plugin.onboarding` hooks still return the same values as before: