diff --git a/main/FIRMWARE_DICTIONARY_SETUP.md b/main/FIRMWARE_DICTIONARY_SETUP.md
new file mode 100644
index 000000000..0be24028e
--- /dev/null
+++ b/main/FIRMWARE_DICTIONARY_SETUP.md
@@ -0,0 +1,92 @@
+# Firmware Dictionary Setup Guide
+
+## Adding Firmware Types to Dictionary Management
+
+To properly display firmware information for your devices, you need to add the following dictionary entries in the web dashboard:
+
+### Step 1: Access Dictionary Management
+1. Login to your web dashboard
+2. Navigate to **Dictionary Management** section
+
+### Step 2: Find or Create FIRMWARE_TYPE Dictionary Type
+1. Look for "FIRMWARE_TYPE" in the left panel
+2. If it doesn't exist, click "Add Dictionary Type" and create:
+ - Dictionary Type Name: `Firmware Type`
+ - Dictionary Type Code: `FIRMWARE_TYPE`
+
+### Step 3: Add Device Model Entries
+Click on FIRMWARE_TYPE and add the following dictionary data entries:
+
+#### Entry 1: DOIT AI Kit
+- **Dictionary Label**: `DOIT AI-01 Kit`
+- **Dictionary Value**: `doit-ai-01-kit`
+- **Sort**: `1`
+
+#### Entry 2: ESP32 Generic
+- **Dictionary Label**: `ESP32 Generic`
+- **Dictionary Value**: `esp32-generic`
+- **Sort**: `2`
+
+#### Entry 3: ESP32-S3 DevKit
+- **Dictionary Label**: `ESP32-S3 DevKit`
+- **Dictionary Value**: `esp32s3-devkit`
+- **Sort**: `3`
+
+#### Entry 4: XIAO ESP32S3
+- **Dictionary Label**: `XIAO ESP32S3`
+- **Dictionary Value**: `xiao-esp32s3`
+- **Sort**: `4`
+
+#### Entry 5: M5Stack Core
+- **Dictionary Label**: `M5Stack Core`
+- **Dictionary Value**: `m5stack-core`
+- **Sort**: `5`
+
+## Current Device Information from Logs
+
+Your connected device is reporting:
+- **Device Name**: doit-ai-01-kit
+- **Firmware Version**: 1.7.6
+- **Protocol Version**: 2024-11-05
+- **MAC Address**: 68:25:DD:BB:4D:44
+
+## Firmware Management Display
+
+After adding these dictionary entries, the Firmware Management and Device Management pages will properly display:
+- Device model names (instead of raw codes)
+- Firmware versions
+- Device capabilities
+
+## Verification Steps
+
+1. After adding dictionary entries, go to **Device Management**
+2. You should see "DOIT AI-01 Kit" instead of "doit-ai-01-kit"
+3. The firmware version "1.7.6" should be displayed in the table
+4. In **Firmware Management**, you can now add OTA updates for these device types
+
+## Backend Integration
+
+The system is already configured to:
+1. Log firmware details when devices connect via MCP protocol
+2. Store firmware version in the database (appVersion field)
+3. Display firmware info in Device Management table
+
+The enhanced logging shows:
+```
+============================================================
+DEVICE CONNECTED - Firmware Details:
+ Device Name: doit-ai-01-kit
+ Firmware Version: 1.7.6
+ Protocol Version: 2024-11-05
+ Device ID: 68_25_dd_bb_4d_44
+ MAC Address: 68:25:DD:BB:4D:44
+ Capabilities: ['tools']
+============================================================
+```
+
+## Next Steps
+
+1. Add the dictionary entries as described above
+2. Verify device display in Device Management
+3. Upload firmware files in Firmware Management for OTA updates
+4. Configure auto-update settings per device if needed
\ No newline at end of file
diff --git a/main/manager-mobile/README.md b/main/manager-mobile/README.md
index 3a4f33a38..2b7e7fef2 100644
--- a/main/manager-mobile/README.md
+++ b/main/manager-mobile/README.md
@@ -1,51 +1,51 @@
-## 智控台移动版(manager-mobile)
-基于 uni-app v3 + Vue 3 + Vite 的跨端移动管理端,支持 App(Android & iOS)和微信小程序。
+## Smart Control Panel Mobile (manager-mobile)
+Cross-platform mobile management application based on uni-app v3 + Vue 3 + Vite, supporting App (Android & iOS) and WeChat Mini Program.
-### 平台兼容性
+### Platform Compatibility
-| H5 | iOS | Android | 微信小程序 |
-| -- | --- | ------- | ---------- |
-| √ | √ | √ | √ |
+| H5 | iOS | Android | WeChat Mini Program |
+| -- | --- | ------- | ------------------- |
+| √ | √ | √ | √ |
-提示:不同 UI 组件在不同平台的适配度略有差异,请以对应组件库文档为准。
+Note: Different UI components may have slight compatibility differences across platforms. Please refer to the respective component library documentation.
-### 开发环境要求
+### Development Environment Requirements
- Node >= 18
-- pnpm >= 7.30(建议使用项目中声明的 `pnpm@10.x`)
-- 可选:HBuilderX(App 调试/打包)、微信开发者工具(微信小程序)
+- pnpm >= 7.30 (recommended to use `pnpm@10.x` as declared in the project)
+- Optional: HBuilderX (for App debugging/packaging), WeChat Developer Tools (for WeChat Mini Program)
-### 快速开始
-1) 配置环境变量
- - 复制 `env/.env.example` 为 `env/.env.development`
- - 根据实际情况修改配置项(特别是 `VITE_SERVER_BASEURL`、`VITE_UNI_APPID`、`VITE_WX_APPID`)
+### Quick Start
+1) Configure environment variables
+ - Copy `env/.env.example` to `env/.env.development`
+ - Modify configuration items according to your needs (especially `VITE_SERVER_BASEURL`, `VITE_UNI_APPID`, `VITE_WX_APPID`)
-2) 安装依赖
+2) Install dependencies
```bash
pnpm i
```
-3) 本地开发(热更新)
-- h5: `pnpm dev:h5`,然后观察启动日志显示的ip端口号
-- 微信小程序:`pnpm dev:mp` 或 `pnpm dev:mp-weixin`,然后用微信开发者工具导入 `dist/dev/mp-weixin`
-- App:用 HBuilderX 导入 `manager-mobile`,然后参考下面的教程就能运行了
+3) Local development (hot reload)
+- H5: `pnpm dev:h5`, then check the IP and port displayed in the startup logs
+- WeChat Mini Program: `pnpm dev:mp` or `pnpm dev:mp-weixin`, then import `dist/dev/mp-weixin` in WeChat Developer Tools
+- App: Import `manager-mobile` in HBuilderX, then follow the tutorial below to run
-### 环境变量与配置
-项目使用自定义 `env` 目录存放环境文件,按 Vite 规范命名:`.env.development`、`.env.production` 等。
+### Environment Variables and Configuration
+The project uses a custom `env` directory for environment files, named according to Vite conventions: `.env.development`, `.env.production`, etc.
-关键变量(部分):
-- VITE_APP_TITLE:应用名称(写入 `manifest.config.ts`)
-- VITE_UNI_APPID:uni-app 应用 appid(App)
-- VITE_WX_APPID:微信小程序 appid(mp-weixin)
-- VITE_FALLBACK_LOCALE:默认语言,如 `zh-Hans`
-- VITE_SERVER_BASEURL:服务端基础地址(HTTP 请求 baseURL)
-- VITE_DELETE_CONSOLE:构建时是否移除 console(`true`/`false`)
-- VITE_SHOW_SOURCEMAP:是否生成 sourcemap(默认关闭)
-- VITE_LOGIN_URL:未登录跳转的登录页路径(路由拦截器使用)
+Key variables (partial):
+- VITE_APP_TITLE: Application name (written to `manifest.config.ts`)
+- VITE_UNI_APPID: uni-app application appid (App)
+- VITE_WX_APPID: WeChat Mini Program appid (mp-weixin)
+- VITE_FALLBACK_LOCALE: Default language, e.g., `zh-Hans`
+- VITE_SERVER_BASEURL: Server base URL (HTTP request baseURL)
+- VITE_DELETE_CONSOLE: Whether to remove console during build (`true`/`false`)
+- VITE_SHOW_SOURCEMAP: Whether to generate sourcemap (disabled by default)
+- VITE_LOGIN_URL: Login page path for redirect when not logged in (used by route interceptor)
-示例(`env/.env.development`):
+Example (`env/.env.development`):
```env
-VITE_APP_TITLE=小智
+VITE_APP_TITLE=XiaoZhi
VITE_FALLBACK_LOCALE=zh-Hans
VITE_UNI_APPID=
VITE_WX_APPID=
@@ -57,114 +57,114 @@ VITE_SHOW_SOURCEMAP=false
VITE_LOGIN_URL=/pages/login/index
```
-说明:
-- `manifest.config.ts` 会从 `env` 读取标题、appid、语言等配置。
+Note:
+- `manifest.config.ts` reads title, appid, language and other configurations from `env`.
-### 重要注意事项
-⚠️ **部署前必须修改的配置项:**
+### Important Notes
+⚠️ **Configuration items that must be modified before deployment:**
-1. **应用 ID 配置**
- - `VITE_UNI_APPID`:需要在 [DCloud 开发者中心](https://dev.dcloud.net.cn/) 创建应用并获取 AppID
- - `VITE_WX_APPID`:需要在 [微信公众平台](https://mp.weixin.qq.com/) 注册小程序并获取 AppID
+1. **Application ID Configuration**
+ - `VITE_UNI_APPID`: Need to create an application in [DCloud Developer Center](https://dev.dcloud.net.cn/) and obtain AppID
+ - `VITE_WX_APPID`: Need to register a Mini Program in [WeChat Public Platform](https://mp.weixin.qq.com/) and obtain AppID
-2. **服务端地址**
- - `VITE_SERVER_BASEURL`:修改为您的实际服务端地址
+2. **Server Address**
+ - `VITE_SERVER_BASEURL`: Modify to your actual server address
-3. **应用信息**
- - `VITE_APP_TITLE`:修改为您的应用名称
- - 更新 `src/static/logo.png` 等图标资源
+3. **Application Information**
+ - `VITE_APP_TITLE`: Modify to your application name
+ - Update icon resources like `src/static/logo.png`
-4. **其他配置**
- - 检查 `manifest.config.ts` 中的应用配置信息
- - 根据需要修改 `src/layouts/fg-tabbar/tabbarList.ts` 中的 tabbar 配置
+4. **Other Configurations**
+ - Check application configuration in `manifest.config.ts`
+ - Modify tabbar configuration in `src/layouts/fg-tabbar/tabbarList.ts` as needed
-### 详细操作指南
+### Detailed Operation Guide
-#### 1. 获取 uni-app AppID
-
-- 复制生成的 AppID 到环境变量 `VITE_UNI_APPID` 中
+#### 1. Get uni-app AppID
+
+- Copy the generated AppID to environment variable `VITE_UNI_APPID`
-#### 2. 本地运行步骤
-
+#### 2. Local Run Steps
+
-**App 本地调试:**
-1. 用 HBuilderX 导入 `manager-mobile` 目录
-2. 重新识别项目
-3. 连接手机或使用模拟器进行真机调试
+**App Local Debugging:**
+1. Import `manager-mobile` directory in HBuilderX
+2. Re-identify the project
+3. Connect phone or use emulator for real device debugging
-**项目识别问题解决:**
-
+**Project Recognition Issue Resolution:**
+
-如果 HBuilderX 无法正确识别项目类型:
-- 在项目根目录右键选择"重新识别项目类型"
-- 确保项目被识别为 "uni-app" 项目
+If HBuilderX cannot correctly identify the project type:
+- Right-click in project root directory and select "Re-identify Project Type"
+- Ensure the project is recognized as a "uni-app" project
-### 路由与鉴权
-- 在 `src/main.ts` 中注册了路由拦截插件 `routeInterceptor`。
-- 黑名单拦截:仅对配置为需要登录的页面进行校验(来源 `@/utils` 的 `getNeedLoginPages`)。
-- 登录判断:基于用户信息(`pinia` 的 `useUserStore`),未登录将跳转到 `VITE_LOGIN_URL`,并附带重定向回原页面的参数。
+### Routing and Authentication
+- Route interceptor plugin `routeInterceptor` is registered in `src/main.ts`.
+- Blacklist interception: Only validates pages configured as requiring login (from `getNeedLoginPages` in `@/utils`).
+- Login check: Based on user information (`useUserStore` from `pinia`), redirects to `VITE_LOGIN_URL` when not logged in, with redirect parameter to return to original page.
-### 网络请求
-- 基于 `alova` + `@alova/adapter-uniapp`,统一在 `src/http/request/alova.ts` 创建实例。
-- `baseURL` 读取环境配置(`getEnvBaseUrl`),可通过 `method.config.meta.domain` 动态切换域名。
-- 认证:默认从本地 `token`(`uni.getStorageSync('token')`)注入 `Authorization` 头,缺失则重定向登录。
-- 响应:统一处理 `statusCode !== 200` 的 HTTP 错误与业务 `code !== 0` 的错误;`401` 会清除 token 并跳转登录。
+### Network Requests
+- Based on `alova` + `@alova/adapter-uniapp`, instance created uniformly in `src/http/request/alova.ts`.
+- `baseURL` reads environment configuration (`getEnvBaseUrl`), can dynamically switch domains via `method.config.meta.domain`.
+- Authentication: Defaults to injecting `Authorization` header from local `token` (`uni.getStorageSync('token')`), redirects to login if missing.
+- Response: Unified handling of HTTP errors with `statusCode !== 200` and business errors with `code !== 0`; `401` clears token and redirects to login.
-### 构建与发布
+### Build and Release
-**微信小程序:**
-1. 确保已配置正确的 `VITE_WX_APPID`
-2. 运行 `pnpm build:mp`,产物在 `dist/build/mp-weixin`
-3. 用微信开发者工具导入项目目录,并上传代码
-4. 在微信公众平台提交审核
+**WeChat Mini Program:**
+1. Ensure correct `VITE_WX_APPID` is configured
+2. Run `pnpm build:mp`, output in `dist/build/mp-weixin`
+3. Import project directory in WeChat Developer Tools and upload code
+4. Submit for review in WeChat Public Platform
-**Android & iOS App:**
+**Android & iOS App:**
-#### 3. App 打包发行步骤
+#### 3. App Packaging and Release Steps
-**步骤一:准备打包**
-
+**Step 1: Prepare for Packaging**
+
-1. 确保已配置正确的 `VITE_UNI_APPID`
-2. 运行 `pnpm build:app`,产物在 `dist/build/app`
-3. 用 HBuilderX 导入项目目录
-4. 在 HBuilderX 中点击"发行" → "原生App-云打包"
+1. Ensure correct `VITE_UNI_APPID` is configured
+2. Run `pnpm build:app`, output in `dist/build/app`
+3. Import project directory in HBuilderX
+4. Click "Release" → "Native App-Cloud Packaging" in HBuilderX
-**步骤二:配置打包参数**
-
+**Step 2: Configure Packaging Parameters**
+
-1. **应用图标和启动图**:上传应用图标和启动页面图片
-2. **应用版本号**:设置版本号和版本名称
-3. **签名证书**:
- - Android:上传 keystore 证书文件
- - iOS:配置开发者证书和描述文件
-4. **包名配置**:设置应用的包名(Bundle ID)
-5. **打包类型**:选择测试包或正式包
-6. 点击"打包"开始云打包流程
+1. **App Icon and Launch Screen**: Upload app icon and launch screen images
+2. **App Version Number**: Set version number and version name
+3. **Signing Certificate**:
+ - Android: Upload keystore certificate file
+ - iOS: Configure developer certificate and provisioning profile
+4. **Package Name Configuration**: Set app package name (Bundle ID)
+5. **Package Type**: Choose test package or release package
+6. Click "Package" to start cloud packaging process
-**发布到应用商店:**
-- **Android**:将生成的 APK 文件上传到各大 Android 应用市场
-- **iOS**:将生成的 IPA 文件通过 App Store Connect 上传到 App Store(需要 Apple 开发者账号)
+**Publish to App Stores:**
+- **Android**: Upload generated APK file to various Android app markets
+- **iOS**: Upload generated IPA file to App Store via App Store Connect (requires Apple Developer account)
-### 约定与工程化
-- 页面与分包:由 `@uni-helper/vite-plugin-uni-pages` 与 `pages.config.ts` 统一生成;tabbar 配置在 `src/layouts/fg-tabbar/tabbarList.ts`。
-- 组件与 hooks 自动导入:见 `vite.config.ts` 中 `unplugin-auto-import` 与 `@uni-helper/vite-plugin-uni-components`。
-- 样式:使用 UnoCSS 与 `src/style/index.scss`。
-- 状态管理:`pinia` + `pinia-plugin-persistedstate`。
-- 代码规范:内置 `eslint`、`husky`、`lint-staged`,提交前自动格式化(`lint-staged`)。
+### Conventions and Engineering
+- Pages and subpackages: Generated uniformly by `@uni-helper/vite-plugin-uni-pages` and `pages.config.ts`; tabbar configuration in `src/layouts/fg-tabbar/tabbarList.ts`.
+- Auto-import of components and hooks: See `unplugin-auto-import` and `@uni-helper/vite-plugin-uni-components` in `vite.config.ts`.
+- Styling: Uses UnoCSS and `src/style/index.scss`.
+- State management: `pinia` + `pinia-plugin-persistedstate`.
+- Code standards: Built-in `eslint`, `husky`, `lint-staged`, auto-format before commit (`lint-staged`).
-### 常用脚本
+### Common Scripts
```bash
-# 开发
-pnpm dev:mp # 等价 dev:mp-weixin
+# Development
+pnpm dev:mp # Equivalent to dev:mp-weixin
-# 构建
-pnpm build:mp # 等价 build:mp-weixin
+# Build
+pnpm build:mp # Equivalent to build:mp-weixin
-# 其他
+# Others
pnpm type-check
pnpm lint && pnpm lint:fix
```
### License
-MIT
+MIT
\ No newline at end of file
diff --git a/main/manager-web/src/components/AddDeviceDialog.vue b/main/manager-web/src/components/AddDeviceDialog.vue
index b273a8dcb..d7052fef2 100644
--- a/main/manager-web/src/components/AddDeviceDialog.vue
+++ b/main/manager-web/src/components/AddDeviceDialog.vue
@@ -6,24 +6,24 @@
style="width: 40px;height: 40px;border-radius: 50%;background: #5778ff;display: flex;align-items: center;justify-content: center;">
- 添加设备
+ Add Device
- 添加智能体
+ Add Agent