refactor: remove web dashboard, Android app and Glasses UI

WEB_DASHBOARD_ENABLED defaulted to false and was never set, so nothing
served the dashboard. Remove the server/routes, apps/dashboard,
apps/android, the dashboard-only settings modules (settings-store,
settings-store-moa, room-skill-settings, runtime-inventory,
codex-live-status, settings-effort), WEB_DASHBOARD_* config, the
web-dashboard-only startup mode, dashboard/android scripts and the
react/vite/playwright dependencies.

The Codex account refresh loop in settings-store is dropped with it: it
refreshed account index 0 through the shared ~/.codex/auth.json instead
of the isolated ~/.codex-accounts/0 used by the reviewer.

Host evidence loses the dashboard_dist / android_debug_apk artifact
kinds. The Discord status dashboard is unchanged. Room skill overrides
are still read from the DB by agent-runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codex
2026-10-01 18:47:55 +09:00
parent f1abe037e9
commit 1c0fbaf26a
136 changed files with 35 additions and 30445 deletions

View File

@@ -12,15 +12,9 @@
],
"scripts": {
"build": "tsc",
"dashboard:dev": "vite --config apps/dashboard/vite.config.ts",
"dashboard:build": "vite build --config apps/dashboard/vite.config.ts",
"dashboard:preview": "vite preview --config apps/dashboard/vite.config.ts",
"dashboard:ux": "bun scripts/dashboard-ux.ts",
"android:build": "cd apps/android && ./gradlew assembleDebug",
"android:install": "cd apps/android && ./gradlew installDebug",
"install:runners": "bun install --frozen-lockfile",
"build:runners": "bun run install:runners && bun run --cwd runners/shared build && bun run --cwd runners/agent-runner build && bun run --cwd runners/codex-runner build",
"build:all": "bun run build && bun run dashboard:build && bun run build:runners",
"build:all": "bun run build && bun run build:runners",
"build:runtime": "bun run build:all",
"verify:dist": "bash scripts/check-dist-fresh.sh",
"deploy": "git pull --ff-only && bun install --frozen-lockfile && bun run build:all && bun run verify:dist && bun setup/index.ts --step migrate-room-registrations && systemctl --user restart ejclaw",
@@ -28,13 +22,13 @@
"dev": "bun --watch src/index.ts",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"typecheck:all": "bun run install:runners && bunx tsc --noEmit -p tsconfig.check.json && bunx tsc --noEmit -p apps/dashboard/tsconfig.json && bunx tsc --noEmit -p runners/shared/tsconfig.json && bunx tsc --noEmit -p runners/agent-runner/tsconfig.json && bunx tsc --noEmit -p runners/codex-runner/tsconfig.json",
"lint": "eslint \"{src,setup,scripts,apps/dashboard/src,runners}/**/*.{ts,tsx,js,jsx}\" \"vitest*.ts\" --quiet",
"lint:report": "eslint \"{src,setup,scripts,apps/dashboard/src,runners}/**/*.{ts,tsx,js,jsx}\" \"vitest*.ts\"",
"typecheck:all": "bun run install:runners && bunx tsc --noEmit -p tsconfig.check.json && bunx tsc --noEmit -p runners/shared/tsconfig.json && bunx tsc --noEmit -p runners/agent-runner/tsconfig.json && bunx tsc --noEmit -p runners/codex-runner/tsconfig.json",
"lint": "eslint \"{src,setup,scripts,runners}/**/*.{ts,tsx,js,jsx}\" \"vitest*.ts\" --quiet",
"lint:report": "eslint \"{src,setup,scripts,runners}/**/*.{ts,tsx,js,jsx}\" \"vitest*.ts\"",
"lint:complexity": "bun scripts/check-code-quality.ts",
"quality:check": "bun run lint && bun run lint:complexity",
"format:fix": "prettier --write \"{src,setup,shared,test,scripts,apps}/**/*.{ts,tsx,js,jsx,css,html}\" \"runners/**/*.{ts,js}\" \"vitest*.ts\" \"eslint.config.js\"",
"format:check": "prettier --check \"{src,setup,shared,test,scripts,apps}/**/*.{ts,tsx,js,jsx,css,html}\" \"runners/**/*.{ts,js}\" \"vitest*.ts\" \"eslint.config.js\"",
"format:fix": "prettier --write \"{src,setup,shared,test,scripts}/**/*.{ts,tsx,js,jsx}\" \"runners/**/*.{ts,js}\" \"vitest*.ts\" \"eslint.config.js\"",
"format:check": "prettier --check \"{src,setup,shared,test,scripts}/**/*.{ts,tsx,js,jsx}\" \"runners/**/*.{ts,js}\" \"vitest*.ts\" \"eslint.config.js\"",
"check": "bun run format:check && bun run quality:check && bun run typecheck:all && bun run test && bun run build:all",
"prepare": "husky",
"setup": "bun setup/index.ts"
@@ -44,35 +38,24 @@
"cron-parser": "^5.6.1",
"discord.js": "^14.26.4",
"ejclaw-runners-shared": "workspace:*",
"lucide-react": "^1.11.0",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"yaml": "^2.9.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.3",
"@eslint/js": "^10.0.1",
"@types/better-sqlite3": "^7.6.13",
"@types/bun": "^1.3.11",
"@types/node": "^22.10.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.9",
"better-sqlite3": "^12.8.0",
"eslint": "^10.2.1",
"globals": "^17.5.0",
"husky": "^9.1.7",
"playwright": "^1.59.1",
"prettier": "^3.8.1",
"typescript": "^5.7.0",
"typescript-eslint": "^8.59.0",
"vite": "^8.1.3",
"vitest": "^4.1.9"
},
"engines": {