Commit Graph

8 Commits

Author SHA1 Message Date
Vadim Sobinin
6bd6a6c8c8 feat(proxy): add optional auth for dashboard and API
Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-15 00:23:15 +03:00
Vadim Sobinin
f8df3ae14b fix(proxy): redirect root to dashboard
Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-14 23:57:15 +03:00
Vadim Sobinin
92bc332e7e fix(proxy): support PocketBase v0.23+ _superusers auth
UpSnap uses PocketBase which moved admins to _superusers collection
in v0.23+. Try _superusers first, fallback to users.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-10 16:12:15 +03:00
Vadim Sobinin
420d75a3b7 feat(proxy): add service CRUD with persistent storage
ServiceManager with JSON file persistence replaces static env var config.
CRUD API endpoints (POST/PUT/DELETE /api/services) with WebSocket broadcast.
Dashboard: add/edit/delete services via modal form.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-10 16:05:44 +03:00
Vadim Sobinin
59add2a549 feat(web): add 5s polling and real-time idle timer countdown
- Add 5-second polling interval to refresh all dashboard data
- IdleTimer now counts down every second client-side
- Timer turns orange when < 60 seconds remain
- ServiceList shows target URL, health status, and last check time
- Unhealthy services now show red dot instead of gray

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-10 15:28:49 +03:00
Vadim Sobinin
21f7f04be8 fix: copy tsconfig.base.json in Dockerfiles for build stage 2026-02-10 13:56:20 +03:00
Vadim Sobinin
6dc17411c6 fix: copy all workspace package.json files in Dockerfiles for yarn lockfile consistency 2026-02-10 13:53:52 +03:00
Vadim Sobinin
852e01df39 feat: initial SleepGuard implementation
Wake-on-demand proxy + agent system with SvelteKit dashboard.
Monorepo: shared types, proxy (Hono + http-proxy), agent (monitors + locks), web (SvelteKit SPA).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-10 13:46:51 +03:00