Commit Graph

7 Commits

Author SHA1 Message Date
posimai e5f9c30d1e fix: handle destroyed logStream in pty, update kiosk URL to https:3333 2026-03-31 13:37:38 +09:00
posimai af8707644f feat(station): add disk, load average, alert banner to system monitor
server.js: /api/health now includes disk usage (df -B1 /) and load_avg
(os.loadavg) + cpu_count. station.html: disk bar, load average chips
with warn/crit coloring vs cpu count, alert banner highlights issues.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:02:55 +09:00
posimai 6c138981a7 fix(posimai-dev): accurate cpu_pct via 100ms dual-sample diff
Single snapshot returns lifetime average (near 0 on idle systems).
Two samples 100ms apart gives real-time cpu usage per core, then averaged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 07:50:16 +09:00
posimai c09d5defd3 feat(posimai-dev): add /api/health endpoint with CORS
Returns cpu_pct, mem_used_mb, mem_total_mb, uptime_s, active_sessions, hostname, node_version, platform, timestamp.
Enables Atlas and other Tailscale-accessible clients to pull realtime Ubuntu PC metrics.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 07:48:01 +09:00
posimai 1a00108255 feat(posimai-dev): add sessions viewer, chat bar, Claude button, session logging
- sessions.html: ANSI-stripped log viewer with card list, clickable to expand
- index.html: chat input bar (mobile-friendly), Claude 開始 button, session badge, glassmorphism header
- server.js: session logging to ~/posimai-dev-sessions/, auto-cd to posimai-project, sessions REST API

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 00:42:16 +09:00
posimai f38b76a9e9 feat: auto-detect Tailscale cert for HTTPS 2026-03-30 23:45:25 +09:00
posimai 6f58397f89 feat: add posimai-dev — self-hosted terminal portal with xterm.js 2026-03-30 23:23:28 +09:00