From e42d86afa9ea027dad9879ccb36999b7999751ba Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 15 Mar 2026 17:06:31 -0700 Subject: [PATCH] docs: document richer setup wizard prompts --- docs/tools/plugin.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tools/plugin.md b/docs/tools/plugin.md index 983c69f0a12..e29c50e2948 100644 --- a/docs/tools/plugin.md +++ b/docs/tools/plugin.md @@ -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: