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
+1 -3
View File
@@ -31,7 +31,6 @@ describe('studio MCP autoinject', () => {
beforeEach(() => {
vi.resetModules()
vi.clearAllMocks()
delete process.env.HERMES_DESKTOP
delete process.env.HERMES_AGENT_NODE
delete process.env.AUTH_TOKEN
delete process.env.HERMES_WEB_UI_DISABLE_MCP_AUTOINJECT
@@ -206,8 +205,7 @@ describe('studio MCP autoinject', () => {
expect(updated.data.mcp_servers['hermes-studio-use'].args).toEqual([join(process.cwd(), 'bin/hermes-ui-mcp.mjs'), 'use'])
})
it('uses the desktop runtime node for bundled MCP servers when available', async () => {
process.env.HERMES_DESKTOP = 'true'
it('uses the runtime node override for bundled MCP servers when available', async () => {
process.env.HERMES_AGENT_NODE = '/runtime/node'
const { injectBundledMcpServer } = await import('../../packages/server/src/services/hermes/studio-mcp-autoinject')