Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
docs: require explicit channel login command
Xubin Renbef88a5ea18b
diff --git a/README.md b/README.mdindex 89fd8972f..7d476e27a 100644--- a/README.md+++ b/README.md@@ -172,7 +172,7 @@ nanobot --version```bashrm -rf ~/.nanobot/bridge-nanobot channels login+nanobot channels login whatsapp```## π Quick Start@@ -462,7 +462,7 @@ Requires **Node.js β₯18**.**1. Link device**```bash-nanobot channels login+nanobot channels login whatsapp# Scan QR with WhatsApp β Settings β Linked Devices```@@ -483,7 +483,7 @@ nanobot channels login```bash# Terminal 1-nanobot channels login+nanobot channels login whatsapp# Terminal 2nanobot gateway@@ -491,7 +491,7 @@ nanobot gateway> WhatsApp bridge updates are not applied automatically for existing installations.> After upgrading nanobot, rebuild the local bridge with:-> `rm -rf ~/.nanobot/bridge && nanobot channels login`+> `rm -rf ~/.nanobot/bridge && nanobot channels login whatsapp`</details>@@ -1467,7 +1467,7 @@ nanobot gateway --config ~/.nanobot-telegram/config.json --workspace /tmp/nanobo| `nanobot gateway` | Start the gateway || `nanobot status` | Show status || `nanobot provider login openai-codex` | OAuth login for providers |-| `nanobot channels login` | Link WhatsApp (scan QR) |+| `nanobot channels login <channel>` | Authenticate a channel interactively || `nanobot channels status` | Show channel status |Interactive mode exits: `exit`, `quit`, `/exit`, `/quit`, `:q`, or `Ctrl+D`.diff --git a/tests/test_commands.py b/tests/test_commands.pyindex 7d2c17867..5d4c2bcdc 100644--- a/tests/test_commands.py+++ b/tests/test_commands.py@@ -616,3 +616,9 @@ def test_gateway_cli_port_overrides_configured_port(monkeypatch, tmp_path: Path)assert isinstance(result.exception, _StopGatewayError)assert "port 18792" in result.stdout+++def test_channels_login_requires_channel_name() -> None:+ result = runner.invoke(app, ["channels", "login"])++ assert result.exit_code == 2