chore: deep cleanup — remove all ClawSuite/OpenClaw bloat, dead screens, workspace daemon, gateway UI
Deleted: - 30+ stale .md files (specs, audits, roadmaps) - docs/archive/ directory - data/specs/, data/agent-hub-architecture-report.md - workspace-daemon/ (entire ClawSuite orchestration daemon) - release/ (Electron builds) - Screens: activity, costs, cron, tasks, gateway (kept approvals stub) - Components: gateway-setup-wizard, openclaw-update-notifier, update-notifier, compaction-notifier, fallback-banner, exec-approval-toast, gateway-restart-overlay - API routes: gateway/*, cloud/*, cron/*, browser/*, debug/*, events/*, workspace/* (orchestration), cli-agents, system-metrics, diagnostics, etc. - Server: debug-analyzer, activity-stream, activity-events, workspace-proxy, exec-approval-store, browser-monitor, gateway-stream, cron - Stores: mission-store, mission-event-store - Hooks: use-agent-view, use-task-reminders Stubbed (preserves chat functionality): - approvals-store (no-op, chat-screen imports it) - use-research-card (no-op) - research-card component (returns null) - gateway-restart-overlay (passthrough) Rebranded: - CONTRIBUTING.md, docker-compose.yml, vite.config.ts, test-redaction.ts - Env vars: HERMES_WORKSPACE_DIR with OPENCLAW fallback 213 files changed, -56,503 lines. tsc clean.
This commit is contained in:
@@ -208,9 +208,8 @@ const config = defineConfig(({ mode, command }) => {
|
||||
|
||||
// Allow access from Tailscale, LAN, or custom domains via env var
|
||||
// e.g. HERMES_ALLOWED_HOSTS=my-server.tail1234.ts.net,192.168.1.50
|
||||
// Keep CLAWSUITE_ALLOWED_HOSTS as a compatibility fallback for older deployments.
|
||||
const _allowedHosts: string[] | true = (env.HERMES_ALLOWED_HOSTS || env.CLAWSUITE_ALLOWED_HOSTS)?.trim()
|
||||
? (env.HERMES_ALLOWED_HOSTS || env.CLAWSUITE_ALLOWED_HOSTS)!.split(',')
|
||||
const _allowedHosts: string[] | true = (env.HERMES_ALLOWED_HOSTS)?.trim()
|
||||
? (env.HERMES_ALLOWED_HOSTS)!.split(',')
|
||||
.map((h) => h.trim())
|
||||
.filter(Boolean)
|
||||
: []
|
||||
|
||||
Reference in New Issue
Block a user