@@ -39,6 +39,7 @@ async function noteProviderPrimer(prompter: WizardPrompter): Promise<void> {
3939 "DM security: default is pairing; unknown DMs get a pairing code." ,
4040 "Approve with: clawdbot pairing approve --provider <provider> <code>" ,
4141 'Public DMs require dmPolicy="open" + allowFrom=["*"].' ,
42+ "Docs: https://docs.clawd.bot/start/pairing" ,
4243 "" ,
4344 "WhatsApp: links via WhatsApp Web (scan QR), stores creds for future sends." ,
4445 "WhatsApp: dedicated second number recommended; primary number OK (self-chat)." ,
@@ -59,6 +60,7 @@ async function noteTelegramTokenHelp(prompter: WizardPrompter): Promise<void> {
5960 "2) Run /newbot (or /mybots)" ,
6061 "3) Copy the token (looks like 123456:ABC...)" ,
6162 "Tip: you can also set TELEGRAM_BOT_TOKEN in your env." ,
63+ "Docs: https://docs.clawd.bot/telegram" ,
6264 ] . join ( "\n" ) ,
6365 "Telegram bot token" ,
6466 ) ;
@@ -71,6 +73,7 @@ async function noteDiscordTokenHelp(prompter: WizardPrompter): Promise<void> {
7173 "2) Bot → Add Bot → Reset Token → copy token" ,
7274 "3) OAuth2 → URL Generator → scope 'bot' → invite to your server" ,
7375 "Tip: enable Message Content Intent if you need message text." ,
76+ "Docs: https://docs.clawd.bot/discord" ,
7477 ] . join ( "\n" ) ,
7578 "Discord bot token" ,
7679 ) ;
@@ -158,6 +161,7 @@ async function noteSlackTokenHelp(
158161 "4) Enable Event Subscriptions (socket) for message events" ,
159162 "5) App Home → enable the Messages tab for DMs" ,
160163 "Tip: set SLACK_BOT_TOKEN + SLACK_APP_TOKEN in your env." ,
164+ "Docs: https://docs.clawd.bot/slack" ,
161165 "" ,
162166 "Manifest (JSON):" ,
163167 manifest ,
@@ -298,6 +302,7 @@ async function maybeConfigureDmPolicies(params: {
298302 "Default: pairing (unknown DMs get a pairing code)." ,
299303 `Approve: clawdbot pairing approve --provider ${ params . provider } <code>` ,
300304 `Public DMs: ${ params . policyKey } ="open" + ${ params . allowFromKey } includes "*".` ,
305+ "Docs: https://docs.clawd.bot/start/pairing" ,
301306 ] . join ( "\n" ) ,
302307 `${ params . label } DM access` ,
303308 ) ;
@@ -383,6 +388,7 @@ async function promptWhatsAppAllowFrom(
383388 "- disabled: ignore WhatsApp DMs" ,
384389 "" ,
385390 `Current: dmPolicy=${ existingPolicy } , allowFrom=${ existingLabel } ` ,
391+ "Docs: https://docs.clawd.bot/whatsapp" ,
386392 ] . join ( "\n" ) ,
387393 "WhatsApp DM access" ,
388394 ) ;
@@ -551,6 +557,7 @@ export async function setupProviders(
551557 [
552558 "Scan the QR with WhatsApp on your phone." ,
553559 `Credentials are stored under ${ WA_WEB_AUTH_DIR } / for future runs.` ,
560+ "Docs: https://docs.clawd.bot/whatsapp" ,
554561 ] . join ( "\n" ) ,
555562 "WhatsApp linking" ,
556563 ) ;
@@ -566,6 +573,10 @@ export async function setupProviders(
566573 await loginWeb ( false , "web" ) ;
567574 } catch ( err ) {
568575 runtime . error ( `WhatsApp login failed: ${ String ( err ) } ` ) ;
576+ await prompter . note (
577+ "Docs: https://docs.clawd.bot/whatsapp" ,
578+ "WhatsApp help" ,
579+ ) ;
569580 }
570581 } else if ( ! whatsappLinked ) {
571582 await prompter . note (
@@ -864,6 +875,7 @@ export async function setupProviders(
864875 'Link device with: signal-cli link -n "Clawdbot"' ,
865876 "Scan QR in Signal → Linked Devices" ,
866877 "Then run: clawdbot gateway call providers.status --params '{\"probe\":true}'" ,
878+ "Docs: https://docs.clawd.bot/signal" ,
867879 ] . join ( "\n" ) ,
868880 "Signal next steps" ,
869881 ) ;
@@ -902,6 +914,7 @@ export async function setupProviders(
902914 "Ensure Clawdbot has Full Disk Access to Messages DB." ,
903915 "Grant Automation permission for Messages when prompted." ,
904916 "List chats with: imsg chats --limit 20" ,
917+ "Docs: https://docs.clawd.bot/imessage" ,
905918 ] . join ( "\n" ) ,
906919 "iMessage next steps" ,
907920 ) ;
0 commit comments