xiaozhi-client 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,68 @@
1
+ # 项目架构
2
+
3
+ ```mermaid
4
+ graph TB
5
+ subgraph ProjectComponents["🏗️ xiaozhi-client"]
6
+ Core["🔧 核心服务<br/>(Core Service)<br/>MCP Server/Client"]
7
+ Web["🌐 Web管理界面<br/>(Supervisor)"]
8
+ CLI["💻 命令行工具<br/>(CLI)"]
9
+ end
10
+
11
+ subgraph Hardware["📱 硬件设备"]
12
+ ESP32["🎙️ xiaozhi-esp32<br/>(语音互动设备)"]
13
+ end
14
+
15
+ subgraph MCPClients["💼 MCP客户端"]
16
+ Cursor["Cursor"]
17
+ Cherry["Cherry Studio"]
18
+ OtherClient["其他客户端"]
19
+ end
20
+
21
+ subgraph External["☁️ 外部服务"]
22
+ XiaozhiMe["🌐 xiaozhi.me<br/>(原有服务端)"]
23
+ end
24
+
25
+ subgraph MCPServices["🔌 MCP服务集群"]
26
+ direction LR
27
+ MCP1["🏠 Local MCP<br/>(本地服务)"]
28
+ MCP2["🌍 Remote MCP<br/>(远程服务)"]
29
+ MCP3["🤖 ModelScope MCP<br/>(模型服务)"]
30
+ MCPn["⚡ Other MCP<br/>(其他服务)"]
31
+ end
32
+
33
+ %% 新的MCP客户端连接 (重要)
34
+ Cursor ==>|"MCP协议"| Core
35
+ Cherry ==>|"MCP协议"| Core
36
+ OtherClient ==>|"MCP协议"| Core
37
+
38
+ %% ESP32连接链路
39
+ ESP32 -.->|"直连"| Core
40
+ ESP32 -->|"原有链路"| XiaozhiMe
41
+ XiaozhiMe --> Core
42
+
43
+ %% Core Service到MCP服务
44
+ Core ==> MCP1
45
+ Core ==> MCP2
46
+ Core ==> MCP3
47
+ Core ==> MCPn
48
+
49
+ %% 项目内部管理连接
50
+ Web -.-> Core
51
+ CLI -.-> Core
52
+
53
+ %% 样式定义
54
+ classDef coreComponent stroke:#2980b9,stroke-width:3px,fill:#ebf3fd,color:#2c3e50
55
+ classDef hardware stroke:#e74c3c,stroke-width:2px,fill:#fdedec,color:#2c3e50
56
+ classDef external stroke:#8e44ad,stroke-width:2px,fill:#f4ecf7,color:#2c3e50
57
+ classDef mcp stroke:#27ae60,stroke-width:2px,fill:#eafaf1,color:#2c3e50
58
+ classDef mcpClient stroke:#f39c12,stroke-width:2px,fill:#fef9e7,color:#2c3e50
59
+ classDef primaryFlow stroke:#27ae60,stroke-width:4px
60
+ classDef secondaryFlow stroke:#95a5a6,stroke-width:2px
61
+
62
+ class Core,Web,CLI coreComponent
63
+ class ESP32 hardware
64
+ class XiaozhiMe external
65
+ class MCP1,MCP2,MCP3,MCPn mcp
66
+ class Cursor,Cherry,OtherClient mcpClient
67
+
68
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaozhi-client",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "小智 AI 客户端 命令行工具",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
@@ -73,7 +73,7 @@
73
73
  "@semantic-release/release-notes-generator": "^14.0.3",
74
74
  "@types/eventsource": "^3.0.0",
75
75
  "@types/node": "^24.0.1",
76
- "@types/node-fetch": "2",
76
+ "@types/node-fetch": "^2.6.12",
77
77
  "@types/omelette": "^0.4.5",
78
78
  "@types/ws": "^8.18.1",
79
79
  "@vitest/coverage-v8": "^3.2.3",
@@ -87,5 +87,10 @@
87
87
  "tsup": "^8.5.0",
88
88
  "typescript": "^5.8.3",
89
89
  "vitest": "^3.2.3"
90
+ },
91
+ "pnpm": {
92
+ "overrides": {
93
+ "form-data": "^4.0.4"
94
+ }
90
95
  }
91
96
  }