xiaozhi-client 1.9.4-beta.3 → 1.9.4-beta.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaozhi-client",
3
- "version": "1.9.4-beta.3",
3
+ "version": "1.9.4-beta.4",
4
4
  "description": "小智 AI 客户端 命令行工具",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "ai"
16
16
  ],
17
17
  "type": "module",
18
- "main": "dist/backend/cli.js",
18
+ "main": "dist/cli/index.js",
19
19
  "files": [
20
20
  "dist",
21
21
  "templates",
@@ -34,16 +34,16 @@
34
34
  "build": "nx reset && pnpm run clean:dist && nx run-many -t build --exclude=docs --parallel=false",
35
35
  "test": "nx run-many -t test",
36
36
  "test:coverage": "nx run-many -t test:coverage --parallel=false",
37
- "lint": "nx run-many -t lint",
38
- "lint:fix": "nx run-many -t lint:fix",
37
+ "lint": "nx run-many -t lint --output-style=stream",
38
+ "lint:fix": "nx run-many -t lint:fix --output-style=stream",
39
39
  "type-check": "nx run-many -t type-check",
40
- "format": "biome format --write --config-path=config/biome.json .",
41
- "check:all": "pnpm run lint && pnpm run type-check && pnpm run spell:check && pnpm run duplicate:check",
42
- "spell:check": "cspell --config config/cspell.json .",
40
+ "format": "biome format --write .",
41
+ "check:all": "pnpm run lint && pnpm run type-check && pnpm run check:spell && pnpm run duplicate:check",
42
+ "check:spell": "cspell .",
43
43
  "duplicate:check": "jscpd apps/backend/",
44
44
  "docker:update-version": "node docker/scripts/update-version.js",
45
- "release": "npx release-it --config config/release-it.json",
46
- "release:dry": "npx release-it --config config/release-it.json --dry-run",
45
+ "release": "npx release-it",
46
+ "release:dry": "npx release-it --dry-run",
47
47
  "dev": "nx run-many -t build --exclude=docs --parallel=false && concurrently \"nx run backend:dev\" \"nx run cli:dev\" \"nx run frontend:dev\" --prefix \"[{name}]\" --names \"BACKEND,CLI,FRONTEND\"",
48
48
  "dev:cli": "nx run cli:dev",
49
49
  "dev:docs": "nx run docs:dev",
@@ -57,21 +57,18 @@
57
57
  "@coze/api": "^1.3.9",
58
58
  "@hono/node-server": "^1.17.1",
59
59
  "@modelcontextprotocol/sdk": "^1.24.0",
60
- "@types/express": "^5.0.3",
61
60
  "ajv": "^8.17.1",
62
61
  "chalk": "^5.6.0",
63
62
  "cli-table3": "^0.6.5",
64
- "commander": "^14.0.0",
65
63
  "comment-json": "^4.2.5",
64
+ "commander": "^14.0.0",
65
+ "consola": "^3.4.2",
66
66
  "dayjs": "^1.11.13",
67
67
  "dotenv": "^17.2.1",
68
68
  "eventsource": "^4.0.0",
69
69
  "express": "^5.1.0",
70
70
  "hono": "^4.10.3",
71
- "json5": "^2.2.3",
72
- "jsonc-parser": "^3.3.1",
73
71
  "node-cache": "^5.1.2",
74
- "node-fetch": "2",
75
72
  "ora": "^8.2.0",
76
73
  "pino": "^8.0.0",
77
74
  "pino-pretty": "^13.1.1",
@@ -85,11 +82,7 @@
85
82
  "@nx/vitest": "^22.3.3",
86
83
  "@nx/workspace": "^22.3.3",
87
84
  "@release-it/conventional-changelog": "^10.0.1",
88
- "@types/node": "^24.3.0",
89
- "@types/node-fetch": "^2.6.12",
90
85
  "@types/semver": "^7.7.1",
91
- "@types/supertest": "^6.0.3",
92
- "@types/ws": "^8.18.1",
93
86
  "@vitest/coverage-v8": "^3.2.4",
94
87
  "concurrently": "^9.2.1",
95
88
  "conventional-changelog-cli": "^5.0.0",
@@ -99,13 +92,11 @@
99
92
  "esbuild": "^0.25.9",
100
93
  "execa": "^9.6.0",
101
94
  "glob": "^11.0.3",
102
- "happy-dom": "^20.0.2",
103
95
  "jscpd": "^4.0.5",
104
96
  "nx": "^22.3.3",
105
97
  "release-it": "^19.0.4",
106
98
  "rimraf": "^6.1.2",
107
99
  "semver": "^7.7.2",
108
- "supertest": "^7.1.4",
109
100
  "ts-node": "^10.9.2",
110
101
  "tsup": "^8.5.0",
111
102
  "tsx": "^4.20.5",