xiaozhi-esp32-server/main/manager-web
lapy a2bf0fce7d fix(web): repair duplicate-key watchers that emptied the model edit form
ModelEditDialog.vue had two dialogVisible handlers inside its watch
block (leftover from the 2026-10-11 rebase merge). The later, trivial
one ($emit only) clobbered the earlier one that also called
loadModelData()/resetForm(), so opening the model edit dialog never
fetched or populated the config. Collapsing them restores population.

Upgrading integrity-check.js to parse the export-default object and its
watch/computed/methods/data maps for duplicate keys surfaced two more
from the same merge:

- home.vue: a dead handleSearch(regex) clobbered the live handleSearch
  (which reads this.search and hits Api.agent.searchAgent). HeaderBar no
  longer emits @search, so the old regex variant was unreachable.
- KnowledgeBaseManagement.vue: a second formatFileSize shadowed the
  first; keeping upstream's (which the template's file.size uses).

integrity-check.js now catches nested duplicate option keys, not just
top-level ones. Full rebase gate green.
2026-10-13 17:46:35 +01:00
..
public fix(web): generator bundle resolves its route under the console mount path 2026-10-12 14:25:20 +01:00
scripts fix(web): repair duplicate-key watchers that emptied the model edit form 2026-10-13 17:46:35 +01:00
src fix(web): repair duplicate-key watchers that emptied the model edit form 2026-10-13 17:46:35 +01:00
tests 加日期格式化工具测试,24 例 2026-09-02 22:24:36 +08:00
.env feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
.env.development feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
.env.production feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
.npmrc perf(构建): ⚡ 优化构建时间:首次构建提升 50%,二次构建提升 30% 2025-04-01 00:38:32 +08:00
babel.config.js feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
jest.config.js feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
jsconfig.json update:格式化代码 2025-04-05 20:19:28 +08:00
package-lock.json chore(westernization): add rebase-verification tooling and docs 2026-10-13 11:35:11 +01:00
package.json chore(westernization): add rebase-verification tooling and docs 2026-10-13 11:35:11 +01:00
pnpm-lock.yaml feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
README.md feat(manager-web): westernize admin UI, i18n, generator bundle, and plugin harness 2026-04-25 17:05:13 +01:00
vitest.config.js 加 featureManager 单元测试,7 例 2026-09-02 22:24:36 +08:00
vue.config.js chore(westernization): translate remaining Han text across code, UI and docs 2026-10-11 17:58:15 +01:00

This document is a development document. If you need to deploy Xiaozhi server, click here to view deployment tutorial

xiaozhi

Project setup

For development, use a code editor and select the manager-web folder as the project directory when importing the project

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.