xiaozhi-client 1.6.0-beta.1 → 1.6.0-beta.2

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.
package/docs/CLI.md CHANGED
@@ -187,3 +187,9 @@ node bin/xiaozhi --help
187
187
  # 或者使用src中的文件
188
188
  node src/cli.js --help
189
189
  ```
190
+
191
+ ## 环境变量
192
+
193
+ - `MCP_SERVER_PROXY_PATH`: 指定 `mcpServerProxy.js` 文件的完整路径,主要用于测试环境
194
+ - `XIAOZHI_CONFIG_DIR`: 指定配置文件目录,默认为当前工作目录
195
+ - `XIAOZHI_DAEMON`: 标记进程是否以守护进程模式运行
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaozhi-client",
3
- "version": "1.6.0-beta.1",
3
+ "version": "1.6.0-beta.2",
4
4
  "description": "小智 AI 客户端 命令行工具",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
@@ -84,7 +84,7 @@
84
84
  "lint": "biome lint --write .",
85
85
  "type:check": "tsc --noEmit",
86
86
  "check": "biome check .",
87
- "check:write": "biome check --write .",
87
+ "check:fix": "biome check --write --unsafe .",
88
88
  "check:all": "pnpm check && pnpm type:check && pnpm spell:check && pnpm duplicate:check",
89
89
  "spell:check": "cspell \"src/**/*.ts\" \"*.md\" \"*.json\"",
90
90
  "duplicate:check": "jscpd src/",