From 443ee26af3f45272df545af2d4ccccaa1feaea0b Mon Sep 17 00:00:00 2001 From: CLAWDINATOR Bot Date: Sun, 1 Feb 2026 18:51:44 +0000 Subject: [PATCH] chore: oxfmt fixes --- docker-compose.yml | 2 +- docs/channels/telegram.md | 2 ++ docs/concepts/model-providers.md | 4 ++-- docs/docs.json | 20 +++----------------- docs/providers/moonshot.md | 4 ++-- docs/start/onboarding.md | 1 + docs/web/control-ui.md | 1 + skills/canvas/SKILL.md | 1 + 8 files changed, 13 insertions(+), 22 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9ebda909a6..b25b8bf11f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: "--bind", "${OPENCLAW_GATEWAY_BIND:-lan}", "--port", - "18789" + "18789", ] openclaw-cli: diff --git a/docs/channels/telegram.md b/docs/channels/telegram.md index 0f30480d19..45f6d30f4b 100644 --- a/docs/channels/telegram.md +++ b/docs/channels/telegram.md @@ -10,6 +10,7 @@ title: "Telegram" Status: production-ready for bot DMs + groups via grammY. Long-polling by default; webhook optional. ## Quick setup (beginner) + 1. Create a bot with **@BotFather** ([direct link](https://t.me/BotFather)). Confirm the handle is exactly `@BotFather`, then copy the token. 2. Set the token: - Env: `TELEGRAM_BOT_TOKEN=...` @@ -41,6 +42,7 @@ Minimal config: ## Setup (fast path) ### 1) Create a bot token (BotFather) + 1. Open Telegram and chat with **@BotFather** ([direct link](https://t.me/BotFather)). Confirm the handle is exactly `@BotFather`. 2. Run `/newbot`, then follow the prompts (name + username ending in `bot`). 3. Copy the token and store it safely. diff --git a/docs/concepts/model-providers.md b/docs/concepts/model-providers.md index 6d402a312c..99bf022592 100644 --- a/docs/concepts/model-providers.md +++ b/docs/concepts/model-providers.md @@ -134,13 +134,13 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider: - Auth: `MOONSHOT_API_KEY` - Example model: `moonshot/kimi-k2.5` - Kimi K2 model IDs: - {/* moonshot-kimi-k2-model-refs:start */} + {/_ moonshot-kimi-k2-model-refs:start _/} - `moonshot/kimi-k2.5` - `moonshot/kimi-k2-0905-preview` - `moonshot/kimi-k2-turbo-preview` - `moonshot/kimi-k2-thinking` - `moonshot/kimi-k2-thinking-turbo` - {/* moonshot-kimi-k2-model-refs:end */} + {/_ moonshot-kimi-k2-model-refs:end _/} ```json5 { diff --git a/docs/docs.json b/docs/docs.json index 6f41e33dfd..a2b0df45e0 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -865,11 +865,7 @@ }, { "group": "Help", - "pages": [ - "help/index", - "help/troubleshooting", - "help/faq" - ] + "pages": ["help/index", "help/troubleshooting", "help/faq"] }, { "group": "Install & Updates", @@ -1002,13 +998,7 @@ }, { "group": "Web & Interfaces", - "pages": [ - "web/index", - "web/control-ui", - "web/dashboard", - "web/webchat", - "tui" - ] + "pages": ["web/index", "web/control-ui", "web/dashboard", "web/webchat", "tui"] }, { "group": "Channels", @@ -1171,11 +1161,7 @@ "groups": [ { "group": "开始", - "pages": [ - "zh-CN/index", - "zh-CN/start/getting-started", - "zh-CN/start/wizard" - ] + "pages": ["zh-CN/index", "zh-CN/start/getting-started", "zh-CN/start/wizard"] } ] } diff --git a/docs/providers/moonshot.md b/docs/providers/moonshot.md index 31271f7c14..0a10af674a 100644 --- a/docs/providers/moonshot.md +++ b/docs/providers/moonshot.md @@ -14,14 +14,14 @@ provider and set the default model to `moonshot/kimi-k2.5`, or use Kimi Coding with `kimi-coding/k2p5`. Current Kimi K2 model IDs: -{/* moonshot-kimi-k2-ids:start */} +{/_ moonshot-kimi-k2-ids:start _/} - `kimi-k2.5` - `kimi-k2-0905-preview` - `kimi-k2-turbo-preview` - `kimi-k2-thinking` - `kimi-k2-thinking-turbo` -{/* moonshot-kimi-k2-ids:end */} + {/_ moonshot-kimi-k2-ids:end _/} ```bash openclaw onboard --auth-choice moonshot-api-key diff --git a/docs/start/onboarding.md b/docs/start/onboarding.md index b40ed1ea6b..a76cb43bdf 100644 --- a/docs/start/onboarding.md +++ b/docs/start/onboarding.md @@ -24,6 +24,7 @@ wizard, and let the agent bootstrap itself. 8. Ready ## 1) Welcome + security notice + Read the security notice displayed and decide accordingly. ## 2) Local vs Remote diff --git a/docs/web/control-ui.md b/docs/web/control-ui.md index 2a68921c29..dcef4c1c12 100644 --- a/docs/web/control-ui.md +++ b/docs/web/control-ui.md @@ -54,6 +54,7 @@ you revoke it with `openclaw devices revoke --device --role `. See [Devices CLI](/cli/devices) for token rotation and revocation. **Notes:** + - Local connections (`127.0.0.1`) are auto-approved. - Remote connections (LAN, Tailnet, etc.) require explicit approval. - Each browser profile generates a unique device ID, so switching browsers or diff --git a/skills/canvas/SKILL.md b/skills/canvas/SKILL.md index 2fb074033d..dc4cef3c80 100644 --- a/skills/canvas/SKILL.md +++ b/skills/canvas/SKILL.md @@ -110,6 +110,7 @@ cat ~/.openclaw/openclaw.json | jq '.gateway.bind' ``` Then construct the URL: + - **loopback**: `http://127.0.0.1:18793/__openclaw__/canvas/.html` - **lan/tailnet/auto**: `http://:18793/__openclaw__/canvas/.html`