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:
@@ -18,7 +18,6 @@ export default {
|
||||
tooManyAttempts: 'Too many failed attempts, please try again later',
|
||||
lockResetHint: 'If this is your server, clear the login lock with:',
|
||||
defaultLoginResetHint: 'To reset the default admin password, run:',
|
||||
desktopLockResetHint: 'Too many failed login attempts. Open the system tray menu and choose Reset Login to reset the password.',
|
||||
sessionExpired: 'Login expired. Please sign in again.',
|
||||
accessDenied: 'You do not have permission to access this resource.',
|
||||
passwordMismatch: 'Passwords do not match',
|
||||
@@ -47,6 +46,17 @@ export default {
|
||||
defaultCredentialLater: 'Remind me later',
|
||||
},
|
||||
|
||||
// hermes CLI missing guide
|
||||
hermesMissing: {
|
||||
title: 'Hermes CLI not detected',
|
||||
intro: 'hermes-ui no longer bundles the hermes CLI. Install it on the machine running this service first:',
|
||||
installCmd: 'pip install hermes-agent',
|
||||
envIntro: 'Or point HERMES_BIN at the executable:',
|
||||
envCmd: 'HERMES_BIN=/path/to/hermes',
|
||||
restartHint: 'Restart this service after installing.',
|
||||
retry: 'Re-check',
|
||||
},
|
||||
|
||||
users: {
|
||||
title: 'Account Management',
|
||||
description: 'Create users, assign roles, and control which profiles regular admins can access.',
|
||||
@@ -236,7 +246,6 @@ export default {
|
||||
nodeVersionWarning: 'Detected Node.js v{version}. Please upgrade to version 23 or later.',
|
||||
changelog: 'Changelog',
|
||||
noChangelog: 'No changelog available',
|
||||
versionManagement: 'Version Management',
|
||||
updateAvailableLabel: '(New version)',
|
||||
dockerUpdateTitle: 'Docker Update',
|
||||
dockerUpdateGuide: 'In Docker environment, please pull the latest image and recreate the container to upgrade:',
|
||||
@@ -407,7 +416,6 @@ export default {
|
||||
},
|
||||
endpoint: {
|
||||
web: 'Web',
|
||||
desktop: 'Desktop',
|
||||
custom: 'Custom',
|
||||
},
|
||||
},
|
||||
@@ -1216,7 +1224,7 @@ export default {
|
||||
|
||||
petdex: {
|
||||
title: 'Petdex Pets',
|
||||
subtitle: 'Browse the public petdex catalog used by Hermes desktop pets.',
|
||||
subtitle: 'Browse the public petdex catalog used by Hermes pets.',
|
||||
refresh: 'Refresh',
|
||||
adopt: 'Adopt',
|
||||
active: 'Active',
|
||||
@@ -1615,7 +1623,7 @@ export default {
|
||||
themeDark: 'Dark',
|
||||
themeSystem: 'System',
|
||||
chatInputHeight: 'Chat input height',
|
||||
chatInputHeightHint: 'Default desktop chat input height in pixels. Mobile keeps auto height.'
|
||||
chatInputHeightHint: 'Default chat input height in pixels on wide screens. Mobile keeps auto height.'
|
||||
},
|
||||
agent: {
|
||||
maxTurns: 'Max Turns',
|
||||
@@ -2345,7 +2353,7 @@ export default {
|
||||
|
||||
// Changelog
|
||||
changelog: {
|
||||
new_0_6_29_9: 'The project is now hermes-ui: the Electron desktop app, marketing site, and ESP32 firmware are removed, leaving only the web client and server',
|
||||
new_0_6_29_9: 'The project is now hermes-ui: the legacy app shell, marketing site, and ESP32 firmware are removed, leaving only the web client and server',
|
||||
new_0_6_29_10: 'UI branding is unified under hermes-ui, and locales are consolidated to Simplified Chinese and English',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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 两项',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user