mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-07-12 19:00:58 +08:00
e40d43a43b
- askNumberOwnership is now the first prompt: dedicated number (recommended), personal number, or back to channel selection; the personal path shows an interception screen (self-chat-only consequences + Telegram / dedicated number / /add-whatsapp-cloud alternatives) defaulting to '← Pick a different channel' via the existing BACK_TO_CHANNEL_SELECTION sentinel - dedicated path keeps askChatPhone reframed around the operator's personal number; entering the bot's own number routes through the same interception screen and flips to shared mode - shared path skips askChatPhone (chat number = bot number), optionally asks for an @<AgentName>-only self-chat engage pattern passed to init-first-agent --engage-pattern, and ends with self-chat-only completion copy pointing at /manage-channels - writeAssistantHasOwnNumber generalized to writeEnvVar(key, value); both modes persist ASSISTANT_NAME (fixes the 'Andy' outbound-prefix mismatch) and ASSISTANT_HAS_OWN_NUMBER so mode switches on re-run don't go stale; WhatsApp option in setup:auto gains a 'best with a dedicated number' hint Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkDAnLGWJUqjgJNXpyqGZ