xiaozhi-esp32-server/main/manager-web
lapy 583c5304a2 fix(web): restore merge-dropped API signatures and lost methods
The rebase-merge silently dropped parameter lists and const bindings
from several API methods, so calling them threw ReferenceError at
runtime (e.g. 'request is not defined' when opening a role, which
broke tag/plugin loading):

- agent.js: restore getAgentSnapshots/getAgentSnapshot/restoreAgentSnapshot/
  deleteAgentSnapshot (deleted by the merge but still used by
  AgentSnapshotDialog) and repair getAgentTags signature + request binding
- model.js: restore onTerminalFailure/retryCount/retryStartedAt params and
  const request bindings on getModelNames/getLlmModelCodeList/getModelVoices;
  restore getRAGModels used by KnowledgeBaseDialog
- device.js: restore dropped failCallback params on five methods
- admin.js: restore failCallback param on addParam (guarded call)
- register/retrievePassword: log the response object instead of the
  nonexistent 'error' identifier in the captcha else-branch

Verified with an AST no-undef scan (acorn+eslint-scope) across all
.vue/.js sources and an Api.* cross-reference against module exports.
agentSnapshotApi regression tests pass (7/7).
2026-10-13 11:11:51 +01:00
..
public fix(web): generator bundle resolves its route under the console mount path 2026-10-12 14:25:20 +01:00
scripts test: add i18n duplicate key check 2026-07-09 15:25:36 +08:00
src fix(web): restore merge-dropped API signatures and lost methods 2026-10-13 11:11:51 +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 fix(web): repair merge-corrupted views and restore build 2026-10-11 18:54:32 +01:00
package.json fix(web): repair merge-corrupted views and restore build 2026-10-11 18:54:32 +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.