Phase 004: remove the desktop shell, website tooling, and bundled hermes CLI

- Drop all desktop/Electron branches, scripts, and UI (title bar, pets,
  desktop bridge); LAN endpoint kind is now web/custom only
- Replace the bundled hermes CLI with user-side installation: add
  GET /api/hermes/cli-status plus a HermesMissingView onboarding guide
- Remove the version-management UI (snapshots handled by git) and prune
  dead website/mcu/claude scripts and lockfile entries
This commit is contained in:
2026-10-16 15:33:56 +08:00
parent 8c1ddf415f
commit 4701bf0ad0
49 changed files with 354 additions and 2403 deletions
+12 -4
View File
@@ -18,7 +18,6 @@ export default {
tooManyAttempts: '登录失败次数过多,请稍后重试',
lockResetHint: '如果这是你的服务器,可以执行以下命令清除登录锁定:',
defaultLoginResetHint: '如需重置默认 admin 密码,可以执行:',
desktopLockResetHint: '登录失败次数过多。请打开系统托盘菜单,选择“重置登录”来重置密码。',
sessionExpired: '登录已过期,请重新登录',
accessDenied: '你没有权限访问该资源',
passwordMismatch: '两次密码不一致',
@@ -47,6 +46,17 @@ export default {
defaultCredentialLater: '稍后提醒',
},
// hermes CLI 缺失引导
hermesMissing: {
title: '未检测到 hermes CLI',
intro: 'hermes-ui 不再内置 hermes CLI,请先在运行本服务的机器上安装:',
installCmd: 'pip install hermes-agent',
envIntro: '或者设置环境变量指定可执行文件路径:',
envCmd: 'HERMES_BIN=/path/to/hermes',
restartHint: '安装完成后请重启本服务。',
retry: '重新检测',
},
users: {
title: '账户管理',
description: '创建用户、分配角色,并控制普通管理员可访问的配置。',
@@ -236,7 +246,6 @@ export default {
nodeVersionWarning: '检测到 Node.js v{version},请升级到23以上版本。',
changelog: '更新日志',
noChangelog: '暂无更新日志',
versionManagement: '版本管理',
updateAvailableLabel: '(有新版)',
dockerUpdateTitle: 'Docker 升级',
dockerUpdateGuide: '当前运行在 Docker 环境中,请拉取最新镜像并重建容器来升级:',
@@ -407,7 +416,6 @@ export default {
},
endpoint: {
web: 'Web 端',
desktop: '桌面端',
custom: '自定义',
},
},
@@ -2347,7 +2355,7 @@ export default {
// 更新日志
changelog: {
new_0_6_29_9: '项目更名为 hermes-ui:移除 Electron 桌面端、营销官网与 ESP32 固件,只保留 Web 与服务端',
new_0_6_29_9: '项目更名为 hermes-ui:移除桌面端、营销官网与 ESP32 固件,只保留 Web 与服务端',
new_0_6_29_10: '界面品牌文案统一为 hermes-ui,语言包收敛为简体中文与 English 两项',
},
}