Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(platform): smooth DM onboarding and Slack menu access
cyh6e7f7640b684
diff --git a/core/auth.py b/core/auth.pyindex 68c8c0ce6..2f117b2f1 100644--- a/core/auth.py+++ b/core/auth.py@@ -70,7 +70,7 @@ def check_auth("""Run the centralized authorization pipeline.Order of checks:- 1. DM bind gate — DM users must be bound (except ``/bind``)+ 1. DM bind gate — DM users must be bound (except ``bind`` / ``/bind``)2. Channel auth — channel messages must come from enabled channels3. Admin check — protected actions require admindiff --git a/core/handlers/command_handlers.py b/core/handlers/command_handlers.pyindex 91a4fe9a2..780957f23 100644--- a/core/handlers/command_handlers.py+++ b/core/handlers/command_handlers.py@@ -425,7 +425,7 @@ class CommandHandlers(BaseHandler):await self.im_client.send_message(channel_context, f"❌ {self._t('error.resumeFailed')}")async def handle_bind(self, context: MessageContext, args: str = ""):- """Handle /bind command - bind a user to this Vibe Remote instance via bind code.+ """Handle bind command - bind a user to this Vibe Remote instance via bind code.Only allowed in DM context. In channels, instructs the user to DM the bot."""diff --git a/docs/SLACK_SETUP.md b/docs/SLACK_SETUP.mdindex 287e1f0ee..771767d80 100644--- a/docs/SLACK_SETUP.md+++ b/docs/SLACK_SETUP.md@@ -134,7 +134,8 @@ From here you can:1. Invite bot to channel: `/invite @Vibe Remote`2. Type `@Vibe Remote /start` to open control panel-3. Start coding!+3. To use the bot in DM, send `bind <code>` with a bind code from the web UI (`/bind <code>` is also supported)+4. Start coding!**Tips:**- Each Slack thread = isolated sessiondiff --git a/docs/SLACK_SETUP_ZH.md b/docs/SLACK_SETUP_ZH.mdindex 1ae981544..2bcae8707 100644--- a/docs/SLACK_SETUP_ZH.md+++ b/docs/SLACK_SETUP_ZH.md@@ -134,7 +134,8 @@ vibe1. 邀请 bot 到频道:`/invite @Vibe Remote`2. 输入 `@Vibe Remote /start` 打开控制面板-3. 开始写代码!+3. 如果要在私聊中使用 bot,请把 Web UI 里的绑定码发给机器人:`bind <绑定码>`(也兼容 `/bind <绑定码>`)+4. 开始写代码!**技巧:**- 每个 Slack 线程 = 独立会话diff --git a/modules/im/base.py b/modules/im/base.pyindex 34e49edfe..b0e2fb3dc 100644--- a/modules/im/base.py+++ b/modules/im/base.py@@ -2,7 +2,7 @@import loggingfrom abc import ABC, abstractmethod-from typing import Optional, Callable, Dict, Any, List, Tuple+from typing import Optional, Callable, Dict, Any, List, Tuple, castfrom dataclasses import dataclasslogger = logging.getLogger(__name__)@@ -137,42 +137,72 @@ class BaseIMClient(ABC):return False@staticmethod- def extract_command_action(text: str) -> str:+ def extract_command_action(text: str, allow_plain_bind: bool = False) -> str:"""Extract command action name from slash command text.Examples:"/settings" -> "settings""/set_cwd /tmp" -> "set_cwd"+ "bind abc123" -> "bind" (when ``allow_plain_bind`` is True)"hello" -> """""- if not text or not text.startswith("/"):- return ""- parts = text.split(maxsplit=1)- return parts[0][1:] if parts and len(parts[0]) > 1 else ""+ parsed = BaseIMClient.parse_text_command(text, allow_plain_bind=allow_plain_bind)+ return parsed[0] if parsed else ""@staticmethod- def parse_text_command(text: str) -> Optional[Tuple[str, str]]:+ def parse_text_command(text: str, allow_plain_bind: bool = False) -> Optional[Tuple[str, str]]:"""Parse slash-style command text.Returns:(command, args) when ``text`` starts with ``/`` and contains anon-empty command; otherwise ``None``."""- if not text or not text.startswith("/"):+ if not text:return None- parts = text.split(maxsplit=1)- command = parts[0][1:] if parts and len(parts[0]) > 1 else ""- if not command:+ stripped = text.strip()+ if not stripped:return None++ parts = stripped.split(maxsplit=1)+ head = parts[0]args = parts[1] if len(parts) > 1 else ""- return command, args- async def dispatch_text_command(self, context: MessageContext, text: str) -> bool:+ if head.startswith("/"):+ command = head[1:]+ if not command:+ return None+ return command, args++ if allow_plain_bind and head == "bind":+ return "bind", args++ return None++ def should_allow_plain_bind(self, *, user_id: str, is_dm: bool, settings_manager: Any = None) -> bool:+ """Allow bare ``bind <code>`` only for unbound DM users.++ This keeps normal conversations unchanged for already-bound users while+ working around platforms like Slack that reserve leading ``/`` in DMs.+ """+ if not is_dm:+ return False++ manager = settings_manager or getattr(self, "settings_manager", None)+ if manager is None:+ return True++ try:+ return not manager.is_bound_user(user_id)+ except Exception:+ logger.debug("Falling back to disabled plain bind alias", exc_info=True)+ return False++ async def dispatch_text_command(self, context: MessageContext, text: str, allow_plain_bind: bool = False) -> bool:"""Dispatch slash-style text command if registered.Returns ``True`` if a matching command handler ran."""- parsed = self.parse_text_command(text)+ parsed = self.parse_text_command(text, allow_plain_bind=allow_plain_bind)if not parsed:return Falsecommand, args = parsed@@ -195,7 +225,12 @@ class BaseIMClient(ABC):"""Run centralized auth with shared action extraction logic."""from core.auth import check_auth- resolved_action = action or self.extract_command_action(text)+ allow_plain_bind = self.should_allow_plain_bind(+ user_id=user_id,+ is_dm=is_dm,+ settings_manager=settings_manager,+ )+ resolved_action = action or self.extract_command_action(text, allow_plain_bind=allow_plain_bind)return check_auth(user_id=user_id,channel_id=channel_id,@@ -215,10 +250,11 @@ class BaseIMClient(ABC):def _translate(key: str, **kwargs) -> str:translator = getattr(self, "_t", None)if callable(translator):+ typed_translator = cast(Callable[..., str], translator)try:- return translator(key, channel_id, **kwargs)+ return typed_translator(key, channel_id, **kwargs)except TypeError:- return translator(key, **kwargs)+ return typed_translator(key, **kwargs)from vibe.i18n import t as i18n_treturn i18n_t(key, "en", **kwargs)diff --git a/modules/im/discord.py b/modules/im/discord.pyindex 837270302..b1dbea892 100644--- a/modules/im/discord.py+++ b/modules/im/discord.py@@ -669,8 +669,14 @@ class DiscordBot(BaseIMClient):bot_id = str(self.client.user.id)content = content.replace(f"<@{bot_id}>", "").replace(f"<@!{bot_id}>", "").strip()+ allow_plain_bind = self.should_allow_plain_bind(+ user_id=str(message.author.id),+ is_dm=is_dm,+ settings_manager=self.settings_manager,+ )+# Handle slash-like commands in plain messages- if self.parse_text_command(content):+ if self.parse_text_command(content, allow_plain_bind=allow_plain_bind):command_context = MessageContext(user_id=str(message.author.id),channel_id=channel_id,@@ -679,7 +685,7 @@ class DiscordBot(BaseIMClient):platform_specific={"message": message, "is_dm": is_dm},files=files,)- if await self.dispatch_text_command(command_context, content):+ if await self.dispatch_text_command(command_context, content, allow_plain_bind=allow_plain_bind):returnif not content and not files:diff --git a/modules/im/feishu.py b/modules/im/feishu.pyindex e577ad882..b0b65bf44 100644--- a/modules/im/feishu.py+++ b/modules/im/feishu.py@@ -1430,7 +1430,15 @@ class FeishuBot(BaseIMClient):)# Handle commands (messages starting with /)- if await self.dispatch_text_command(context, text):+ if await self.dispatch_text_command(+ context,+ text,+ allow_plain_bind=self.should_allow_plain_bind(+ user_id=user_id,+ is_dm=is_p2p,+ settings_manager=self.settings_manager,+ ),+ ):return# Append shared contentdiff --git a/modules/im/slack.py b/modules/im/slack.pyindex 0291fe7e3..d842a6ff8 100644--- a/modules/im/slack.py+++ b/modules/im/slack.py@@ -891,15 +891,22 @@ class SlackBot(BaseIMClient):returnchannel_id = event.get("channel")+ is_dm = isinstance(channel_id, str) and channel_id.startswith("D")- # Check if this message contains a bot mention- # If it does, skip processing as it will be handled by app_mention event+ # Check if this message contains a bot mention.+ # In channels, app_mention will handle it. In DMs, Slack does not+ # emit app_mention, so we strip the mention and continue.text = (event.get("text") or "").strip()import re+ had_dm_mention_only = Falseif re.search(r"<@[\w]+>", text):- logger.info(f"Skipping message event with bot mention: '{text}'")- return+ if is_dm:+ text = re.sub(r"<@[\w]+>", "", text).strip()+ had_dm_mention_only = not text+ else:+ logger.info(f"Skipping message event with bot mention: '{text}'")+ return# Extract file attachments (slack_files already checked above)file_attachments = self._extract_file_attachments(slack_files) if slack_files else None@@ -914,7 +921,7 @@ class SlackBot(BaseIMClient):if not user_id:logger.debug("Ignoring Slack message without user id")return- if not text and not file_attachments and not has_shared_content:+ if not text and not file_attachments and not has_shared_content and not had_dm_mention_only:logger.debug("Ignoring Slack message with empty text and no files")return@@ -951,7 +958,6 @@ class SlackBot(BaseIMClient):logger.debug(f"No settings_manager, ignoring thread message: '{text}'")return- is_dm = channel_id.startswith("D")auth = self.check_authorization(user_id=user_id,channel_id=channel_id,@@ -986,14 +992,22 @@ class SlackBot(BaseIMClient):platform_specific={"team_id": payload.get("team_id"),"event": event,- "is_dm": channel_id.startswith("D"),+ "is_dm": is_dm,},files=file_attachments,)# Handle slash commands in regular messages (before appending shared content)# Use only the user's original text for command detection- if await self.dispatch_text_command(context, text):+ if await self.dispatch_text_command(+ context,+ text,+ allow_plain_bind=self.should_allow_plain_bind(+ user_id=user_id,+ is_dm=is_dm,+ settings_manager=self.settings_manager,+ ),+ ):return# Append shared content to user text (after command parsing)diff --git a/tests/test_im_base_auth.py b/tests/test_im_base_auth.pyindex d01dd05cf..3ca9ee8d4 100644--- a/tests/test_im_base_auth.py+++ b/tests/test_im_base_auth.py@@ -1,4 +1,5 @@import asyncio+from types import SimpleNamespacefrom modules.im import MessageContextfrom modules.im.base import BaseIMClient, BaseIMConfig@@ -38,9 +39,40 @@ class _IM(BaseIMClient):return text+class _Store:+ def __init__(self):+ self.settings = SimpleNamespace(channels={})++ def maybe_reload(self):+ return None++ def is_bound_user(self, user_id: str) -> bool:+ return False++ def has_any_admin(self) -> bool:+ return False++ def is_admin(self, user_id: str) -> bool:+ return False+++class _SettingsManager:+ def __init__(self, *, bound: bool):+ self._bound = bound+ self._store = _Store()++ def is_bound_user(self, user_id: str) -> bool:+ return self._bound++ def get_store(self):+ return self._store++def test_extract_command_action():assert BaseIMClient.extract_command_action("/settings") == "settings"assert BaseIMClient.extract_command_action("/set_cwd /tmp") == "set_cwd"+ assert BaseIMClient.extract_command_action("bind code") == ""+ assert BaseIMClient.extract_command_action("bind code", allow_plain_bind=True) == "bind"assert BaseIMClient.extract_command_action("hello") == ""assert BaseIMClient.extract_command_action("") == ""@@ -48,17 +80,21 @@ def test_extract_command_action():def test_parse_text_command():assert BaseIMClient.parse_text_command("/settings") == ("settings", "")assert BaseIMClient.parse_text_command("/set_cwd /tmp") == ("set_cwd", "/tmp")+ assert BaseIMClient.parse_text_command("bind code") is None+ assert BaseIMClient.parse_text_command("bind code", allow_plain_bind=True) == ("bind", "code")assert BaseIMClient.parse_text_command("hello") is Noneassert BaseIMClient.parse_text_command("/") is Nonedef test_check_authorization_uses_text_when_action_missing():im = _IM(_Cfg())+ manager = _SettingsManager(bound=False)result = im.check_authorization(user_id="U1",channel_id="D1",is_dm=True,- text="/bind code",+ text="bind code",+ settings_manager=manager,)assert result.allowed is True@@ -80,6 +116,33 @@ def test_dispatch_text_command_executes_handler():assert received == {"user": "U1", "args": "now"}+def test_dispatch_text_command_executes_plain_bind_when_enabled():+ im = _IM(_Cfg())+ received = {}++ async def _handler(context, args):+ received["user"] = context.user_id+ received["args"] = args++ im.on_command_callbacks = {"bind": _handler}+ context = MessageContext(user_id="U1", channel_id="D1", platform_specific={"is_dm": True})++ handled = asyncio.run(im.dispatch_text_command(context, "bind code", allow_plain_bind=True))++ assert handled is True+ assert received == {"user": "U1", "args": "code"}+++def test_dispatch_text_command_ignores_plain_bind_when_disabled():+ im = _IM(_Cfg())+ im.on_command_callbacks = {"bind": lambda *_args: None}+ context = MessageContext(user_id="U1", channel_id="D1")++ handled = asyncio.run(im.dispatch_text_command(context, "bind code", allow_plain_bind=False))++ assert handled is False++def test_dispatch_text_command_returns_false_for_unknown():im = _IM(_Cfg())context = MessageContext(user_id="U1", channel_id="C1")diff --git a/tests/test_slack_dm_mentions.py b/tests/test_slack_dm_mentions.pynew file mode 100644index 000000000..28e00a0ca--- /dev/null+++ b/tests/test_slack_dm_mentions.py@@ -0,0 +1,183 @@+import unittest+import sys+import types++from config.v2_config import SlackConfig+++def _install_slack_stubs() -> None:+ if "aiohttp" not in sys.modules:+ sys.modules["aiohttp"] = types.ModuleType("aiohttp")++ if "markdown_to_mrkdwn" not in sys.modules:+ markdown_mod = types.ModuleType("markdown_to_mrkdwn")++ class _SlackMarkdownConverter:+ def convert(self, text):+ return text++ markdown_mod.SlackMarkdownConverter = _SlackMarkdownConverter+ sys.modules["markdown_to_mrkdwn"] = markdown_mod++ if "slack_sdk" in sys.modules:+ pass++ slack_sdk = types.ModuleType("slack_sdk")+ web_mod = types.ModuleType("slack_sdk.web")+ web_async_mod = types.ModuleType("slack_sdk.web.async_client")+ socket_mode_mod = types.ModuleType("slack_sdk.socket_mode")+ socket_mode_aiohttp_mod = types.ModuleType("slack_sdk.socket_mode.aiohttp")+ socket_mode_request_mod = types.ModuleType("slack_sdk.socket_mode.request")+ socket_mode_response_mod = types.ModuleType("slack_sdk.socket_mode.response")+ errors_mod = types.ModuleType("slack_sdk.errors")++ class _AsyncWebClient:+ def __init__(self, *args, **kwargs):+ pass++ class _SocketModeClient:+ def __init__(self, *args, **kwargs):+ pass++ class _SocketModeRequest:+ pass++ class _SocketModeResponse:+ def __init__(self, *args, **kwargs):+ pass++ class _SlackApiError(Exception):+ pass++ web_async_mod.AsyncWebClient = _AsyncWebClient+ socket_mode_aiohttp_mod.SocketModeClient = _SocketModeClient+ socket_mode_request_mod.SocketModeRequest = _SocketModeRequest+ socket_mode_response_mod.SocketModeResponse = _SocketModeResponse+ errors_mod.SlackApiError = _SlackApiError++ if "slack_sdk" not in sys.modules:+ sys.modules["slack_sdk"] = slack_sdk+ sys.modules["slack_sdk.web"] = web_mod+ sys.modules["slack_sdk.web.async_client"] = web_async_mod+ sys.modules["slack_sdk.socket_mode"] = socket_mode_mod+ sys.modules["slack_sdk.socket_mode.aiohttp"] = socket_mode_aiohttp_mod+ sys.modules["slack_sdk.socket_mode.request"] = socket_mode_request_mod+ sys.modules["slack_sdk.socket_mode.response"] = socket_mode_response_mod+ sys.modules["slack_sdk.errors"] = errors_mod++ if "modules.agents.opencode.utils" not in sys.modules:+ agents_mod = types.ModuleType("modules.agents")+ opencode_mod = types.ModuleType("modules.agents.opencode")+ utils_mod = types.ModuleType("modules.agents.opencode.utils")++ def _empty_list(*args, **kwargs):+ return []++ def _none(*args, **kwargs):+ return None++ utils_mod.build_claude_reasoning_options = _empty_list+ utils_mod.build_opencode_model_option_items = _empty_list+ utils_mod.build_codex_reasoning_options = _empty_list+ utils_mod.build_reasoning_effort_options = _empty_list+ utils_mod.resolve_opencode_allowed_providers = _none+ utils_mod.resolve_opencode_provider_preferences = _none++ sys.modules["modules.agents"] = agents_mod+ sys.modules["modules.agents.opencode"] = opencode_mod+ sys.modules["modules.agents.opencode.utils"] = utils_mod+++_install_slack_stubs()++from modules.im.slack import SlackBot+++class SlackDmMentionTests(unittest.IsolatedAsyncioTestCase):+ async def test_dm_mention_only_falls_through_as_empty_message(self):+ slack = SlackBot(SlackConfig(bot_token="xoxb-test"))+ received = {}++ async def _on_message(context, text):+ received["channel_id"] = context.channel_id+ received["thread_id"] = context.thread_id+ received["text"] = text++ slack.register_callbacks(on_message=_on_message)++ payload = {+ "event_id": "evt-dm-mention-only",+ "team_id": "T1",+ "event": {+ "type": "message",+ "channel": "D123",+ "user": "U123",+ "text": "<@U_BOT>",+ "ts": "1710000000.000100",+ },+ }++ await slack._handle_event(payload)++ self.assertEqual(+ received,+ {+ "channel_id": "D123",+ "thread_id": "1710000000.000100",+ "text": "",+ },+ )++ async def test_dm_mention_with_text_strips_mention(self):+ slack = SlackBot(SlackConfig(bot_token="xoxb-test"))+ received = {}++ async def _on_message(context, text):+ received["text"] = text++ slack.register_callbacks(on_message=_on_message)++ payload = {+ "event_id": "evt-dm-mention-text",+ "team_id": "T1",+ "event": {+ "type": "message",+ "channel": "D123",+ "user": "U123",+ "text": "<@U_BOT> hello",+ "ts": "1710000000.000200",+ },+ }++ await slack._handle_event(payload)++ self.assertEqual(received, {"text": "hello"})++ async def test_channel_mention_still_waits_for_app_mention(self):+ slack = SlackBot(SlackConfig(bot_token="xoxb-test"))+ received = {"called": False}++ async def _on_message(_context, _text):+ received["called"] = True++ slack.register_callbacks(on_message=_on_message)++ payload = {+ "event_id": "evt-channel-mention",+ "team_id": "T1",+ "event": {+ "type": "message",+ "channel": "C123",+ "user": "U123",+ "text": "<@U_BOT>",+ "ts": "1710000000.000300",+ },+ }++ await slack._handle_event(payload)++ self.assertFalse(received["called"])+++if __name__ == "__main__":+ unittest.main()diff --git a/ui/src/components/steps/Summary.tsx b/ui/src/components/steps/Summary.tsxindex 921f3b815..85a76c7de 100644--- a/ui/src/components/steps/Summary.tsx+++ b/ui/src/components/steps/Summary.tsx@@ -35,7 +35,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {const copyBindCode = async () => {if (!bindCode) return;- const copied = await copyTextToClipboard(`/bind ${bindCode}`);+ const copied = await copyTextToClipboard(`bind ${bindCode}`);if (!copied) {showToast(t('common.copyFailed'), 'error');return;@@ -121,7 +121,7 @@ export const Summary: React.FC<SummaryProps> = ({ data, onBack }) => {</div></div><div className="flex items-center gap-2 bg-bg border border-border rounded-md p-3">- <code className="flex-1 text-sm font-mono text-text select-all">/bind {bindCode}</code>+ <code className="flex-1 text-sm font-mono text-text select-all">bind {bindCode}</code><buttononClick={copyBindCode}className="p-2 text-muted hover:text-text transition-colors rounded-md hover:bg-panel"diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex 6d83c0fe4..869183f21 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -338,7 +338,7 @@"goToDashboard": "Go to Dashboard","bindCodeTitle": "Your First Bind Code","bindCodeDesc": "Send this command to the bot in a DM to become the first admin:",- "bindCodeCommand": "/bind",+ "bindCodeCommand": "bind","bindCodeCopied": "Copied!"},"dashboard": {@@ -473,7 +473,7 @@"deleted": "Bind code deleted","noCodes": "No bind codes yet. Create one to get started.","usageTitle": "How to use a bind code",- "usageHint": "Share an active code with the user, then ask them to DM the bot with `/bind <code>`.",+ "usageHint": "Share an active code with the user, then ask them to DM the bot with `bind <code>`. `/bind <code>` still works too.","viewUnavailable": "Unavailable ({{count}})","unavailableTitle": "Unavailable Bind Codes","noAvailableCodes": "No active bind codes. Create a new code to start binding users.",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 8c977c67b..7659d2160 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -338,7 +338,7 @@"goToDashboard": "前往控制台","bindCodeTitle": "您的首个绑定码","bindCodeDesc": "在私聊中向机器人发送以下命令,成为第一个管理员:",- "bindCodeCommand": "/bind",+ "bindCodeCommand": "bind","bindCodeCopied": "已复制!"},"dashboard": {@@ -473,7 +473,7 @@"deleted": "绑定码已删除","noCodes": "暂无绑定码,创建一个开始使用。","usageTitle": "绑定码如何使用",- "usageHint": "把可用绑定码发给用户,并让用户私信机器人发送 `/bind <code>`。用户必须先完成绑定才可和bot私聊。仅管理员用户才可操作bot菜单进行设置。",+ "usageHint": "把可用绑定码发给用户,并让用户私信机器人发送 `bind <code>`。`/bind <code>` 也仍然可用。用户必须先完成绑定才可和bot私聊。仅管理员用户才可操作bot菜单进行设置。","viewUnavailable": "不可用({{count}})","unavailableTitle": "不可用的绑定码","noAvailableCodes": "暂无可用绑定码,请先创建新的绑定码。",diff --git a/vibe/i18n/en.json b/vibe/i18n/en.jsonindex 1acc56b5d..4030f5024 100644--- a/vibe/i18n/en.json+++ b/vibe/i18n/en.json@@ -249,9 +249,9 @@"successAdmin": "✅ Bind successful! Welcome, {name}. You are the first user and have been granted admin privileges.","alreadyBound": "You are already bound. No action needed.","invalidCode": "❌ Invalid or expired bind code. Please check and try again.",- "usage": "Usage: `/bind <code>`\n\nPlease enter the bind code provided by an admin.",- "dmOnly": "The `/bind` command can only be used in a direct message. Please DM the bot with `/bind <code>`.",- "dmNotBound": "🔒 You haven't bound your account yet.\nUse `/bind <code>` to get started.",+ "usage": "Usage: `bind <code>`\n\n`/bind <code>` also works. Please enter the bind code provided by an admin.",+ "dmOnly": "The bind command can only be used in a direct message. Please DM the bot with `bind <code>`.",+ "dmNotBound": "🔒 You haven't bound your account yet.\nUse `bind <code>` to get started. (`/bind <code>` is also supported.)","error": "❌ Bind failed: {error}"},"permission": {diff --git a/vibe/i18n/zh.json b/vibe/i18n/zh.jsonindex 605611b70..a43b82931 100644--- a/vibe/i18n/zh.json+++ b/vibe/i18n/zh.json@@ -249,9 +249,9 @@"successAdmin": "✅ 绑定成功!欢迎,{name}。你是第一个用户,已被自动授予管理员权限。","alreadyBound": "你已经绑定过了,无需再次操作。","invalidCode": "❌ 无效或已过期的绑定码,请检查后重试。",- "usage": "用法:`/bind <绑定码>`\n\n请输入管理员提供的绑定码。",- "dmOnly": "`/bind` 命令只能在私信中使用。请私聊机器人并发送 `/bind <绑定码>`。",- "dmNotBound": "🔒 你还未绑定账号。\n使用 `/bind <绑定码>` 开始使用。",+ "usage": "用法:`bind <绑定码>`\n\n也兼容 `/bind <绑定码>`。请输入管理员提供的绑定码。",+ "dmOnly": "绑定命令只能在私信中使用。请私聊机器人并发送 `bind <绑定码>`。",+ "dmNotBound": "🔒 你还未绑定账号。\n使用 `bind <绑定码>` 开始使用。(也兼容 `/bind <绑定码>`)","error": "❌ 绑定失败:{error}"},"permission": {