Commit Graph

85 Commits

Author SHA1 Message Date
posimai 759915eb01 feat: add deploy-dev.sh — scp + restart bypasses Syncthing lag 2026-04-02 19:34:51 +09:00
posimai f2ef81fb7b fix: proxy VPS health via /api/vps-health to avoid browser cert errors 2026-04-02 19:28:19 +09:00
posimai 5cbf66d613 feat: add VPS panel (5-column layout), real-time VPS metrics from api.soar-enrich.com 2026-04-02 19:20:05 +09:00
posimai 8d9f4e22b0 feat: extend /health endpoint with OS metrics for Station cockpit 2026-04-02 19:18:14 +09:00
posimai 465c943e0a feat: Phase 1 cockpit — net I/O, CPU temp, Gitea commit, keyboard shortcuts, CRIT aurora shift
server.js: add net delta (rx/tx KB/s), CPU temp, /api/gitea-commit proxy.
station-b: net/temp in Ubuntu PC panel, ecosystem bar with latest Gitea
commit, CRIT aurora hue shift (gradual 3s transition to red, then back),
keyboard shortcuts R=refresh B=Design-A F=fullscreen.
station-a: same additions except canvas CRIT effect.
2026-04-02 16:45:45 +09:00
posimai f726b4b9af fix: rebuild station-b from station.html base, only canvas background differs 2026-04-02 14:14:50 +09:00
posimai 70c983f1e7 fix: remove binary footer tape from station-b, restore bottom flex row 2026-04-02 14:09:39 +09:00
posimai a30beab925 fix: revert station to a91e83b baseline, restore layout integrity
station.html: reverted to last known-good state (a91e83b), with only
two minimal changes: bit-0 color tweak and Design B link in footer.
Binary footer tape removed as it caused #bottom height expansion that
crushed #middle grid row.
station-b.html: restore service-grid to auto-fill, reduce app padding
to give #middle more room.
2026-04-02 14:02:00 +09:00
posimai 790bdd6a9b fix: service-grid repeat(3) fixed columns, clock weight/color explicit
service-grid: auto-fill was creating 6 columns at wide viewports (1920px+)
putting all cards in one row. Changed to repeat(3,1fr) for always 3-column
2-row layout regardless of screen width.
station.html clock: font-weight 300→400, explicit color:var(--text) to
ensure visibility against dark background.
2026-04-02 11:33:58 +09:00
posimai c2c70b35e5 fix: restore service-grid auto-fill columns, station-b header backdrop
Both station.html and station-b.html: restore .service-grid to
display:grid with repeat(auto-fill,minmax(168px,1fr)) — the multi-column
layout that was incorrectly changed to flex-column in the previous fix.
station-b.html: add dark backdrop-filter panel to #top so clock and
hostname text are readable over the binary rain canvas background.
2026-04-02 11:20:21 +09:00
posimai 9a37540857 fix: service-grid flex layout and station-b forEach arrow syntax error
station.html: revert .service-grid to flex-column (was accidentally set
to grid auto-fill causing horizontal card layout and missing clock).
station-b.html: add missing => in cols.forEach callback that crashed
the entire script, preventing data load and canvas aurora animation.
2026-04-02 10:20:53 +09:00
posimai b355e23b63 feat: station full-width binary footer, colored 0, Design B binary curtain aurora 2026-04-02 09:36:08 +09:00
posimai 1aede6418d fix: add /station and /sessions route aliases 2026-04-01 14:59:04 +09:00
posimai a91e83bf5c fix: restrict session API to Tailscale network, clarify uptime label 2026-04-01 07:57:27 +09:00
posimai 34f5acbbc9 fix: resolve loadAvg is not defined ReferenceError in updateStream 2026-03-31 22:13:01 +09:00
posimai 0113a5d777 feat: binary bars, sparkline, full-metrics binary ticker
- CPU/MEM/DISK bars replaced with 20-cell binary bars (1=filled, 0=empty)
- Service cards: latency bar removed, mini sparkline with gradient area added
- Footer ticker: all metrics as binary tape (CPU/MEM/DISK/LOAD/UP/SESSION/TIME/IP/HOST)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 22:03:13 +09:00
posimai df1a41560b feat: add binary representation of CPU/MEM/DISK metrics under progress bars
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 21:48:09 +09:00
posimai eb2d8877c5 fix: atlas mixed-content, station footer URL, service card uptime+latency bar
- atlas: skip http:// health_url from https context
- station: dashboard footer link → posimai.soar-enrich.com
- station: service cards add uptime %, latency bar, updateLatencyBar fn

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 21:42:58 +09:00
posimai 0bd747ebd2 chore: increase station font sizes for HDMI monitor readability
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 21:32:47 +09:00
posimai 15b87f3722 fix: proxy HTTP health checks via server to avoid mixed-content block
- Add /api/check?url= endpoint to server.js for server-side HTTP checks
- Gitea and Syncthing use proxy:true to route through this endpoint
- Fixes Gitea/Syncthing showing DOWN due to https→http mixed content

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 21:24:13 +09:00
posimai 4ba31525cb docs: update Chronicle data sources, add Ubuntu PC to architecture 2026-03-31 14:15:26 +09:00
posimai e2a87de0e0 docs: refactor strategic-roadmap with critical review corrections and positioning 2026-03-31 13:59:30 +09:00
posimai e5f9c30d1e fix: handle destroyed logStream in pty, update kiosk URL to https:3333 2026-03-31 13:37:38 +09:00
posimai 991b8f59d8 feat: add kiosk setup script for Ubuntu PC 2026-03-31 13:11:06 +09:00
posimai 94fcdc3072 fix: Atlas surface colors to navy theme, widen station Vitals panel, update docs username to mai 2026-03-31 12:48:18 +09:00
posimai b121872c19 feat(station): donut rings, sparklines, glass panels, service history dots
Redesign with glassmorphism panels (backdrop-filter blur+saturate).
Ring charts for CPU/mem/disk with glow filter and smooth transition.
Sparkline history (20 samples) for CPU and Load Average.
Service cards now show 5-sample history dots.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 12:07:53 +09:00
posimai dfa00ff58b docs: add 2026 strategic roadmap (Chronicle & Storefront plans) 2026-03-31 11:57:55 +09:00
posimai ca765544ce feat(station): binary stream panel with real metrics encoded as bits
New right-column panel: each metric (CPU, memory, disk, load, uptime,
sessions, unix timestamp) shown as actual binary bits + human value +
mini bar. Rotates through rows every 4s. IP scrolls as binary ticker.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:09:04 +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 7ca153546d feat(station): add posimai-station fullscreen kiosk dashboard
Real-time system monitor for Ubuntu PC HDMI display.
Polls /api/health every 30s for CPU/memory/uptime metrics,
checks all service endpoints, Aurora design with JetBrains Mono clock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 09:31:44 +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 f57125c5b6 fix(posimai-dev): aurora visibility, scrollbar styling
- Force xterm-viewport/screen/canvas to transparent so container aurora shows through
- theme.background: 'transparent' (was rgba with 0 alpha — some renderers ignored it)
- Scrollbar: 5px, violet 40% opacity, thin Firefox fallback via scrollbar-color

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 07:26:06 +09:00
posimai 57fd704497 fix(posimai-dev): dot status indicator, /todo command, hide text badge
- Header dot: grey→green(pulse) on connect, red on disconnect — replaces text badge
- /morning renamed to /todo (今日のタスク)
- Status text badge hidden (dot carries the signal now)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 01:13:59 +09:00
posimai 28b787b0df feat(posimai-dev): slash commands, quick chips, input history, paste fix, voice toggle
- /morning /status /commit /deploy /fix /explain /test /ls — popup with keyboard nav
- Quick chips row: tap to send preset prompts (朝の確認/状況確認/コミット/デプロイ/エラー修正)
- Input history: ArrowUp/Down navigates previous messages (bash-style)
- Paste fix: submitChat keeps focus on chat input so Ctrl+V works immediately
- Right-click on terminal: paste clipboard to shell
- Voice auto-send toggle in settings panel (persisted to localStorage)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 01:04:47 +09:00
posimai d7f38faa59 feat(posimai-dev): voice input, bigger Claude icon, aurora bg, session in settings
- Web Speech API mic button (ja-JP, pulses red while listening, hidden if unsupported)
- Claude bot icon 15px → 20px, button 32px → 36px
- Aurora gradient opacity 7% → 14% (visible through transparent xterm canvas)
- Session ID moved to settings panel (hidden in chat bar)
- Removed chat input placeholder

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 00:55:12 +09:00
posimai 170dfaa7e0 fix(posimai-dev): icon-only Claude btn, slim scrollbar, move session badge to chat bar
- Claude 開始 → bot icon only (32x32, same style as settings btn)
- xterm-viewport scrollbar: 4px, translucent violet, rounded
- session badge moved from header to chat bar left edge (mobile-friendly)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 00:48:41 +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 7d6f40e2b7 fix: systemd service — correct node path to /usr/bin/node 2026-03-31 00:28:52 +09:00
posimai b61831d3a2 feat: posimai-dev — aurora terminal, systemd service, atlas sync, master-architecture update 2026-03-31 00:25:44 +09:00
posimai f38b76a9e9 feat: auto-detect Tailscale cert for HTTPS 2026-03-30 23:45:25 +09:00
posimai 8f5c205edd fix: settings panel layout — テーマ as section header 2026-03-30 23:29:39 +09:00
posimai 6f58397f89 feat: add posimai-dev — self-hosted terminal portal with xterm.js 2026-03-30 23:23:28 +09:00
posimai 29c8bb9c9e fix: correct stale references in LEARNINGS.md 2026-03-29 22:57:33 +09:00
posimai 83c159a989 chore: remove stale Synology-era docs and temp patch files 2026-03-29 22:56:28 +09:00
posimai c677924972 docs: restore disaster recovery guide, add to CLAUDE.md and AGENTS.md 2026-03-29 22:30:39 +09:00
posimai b945508314 docs: refactor and slim down AI rule files to reduce token consumption 2026-03-29 22:16:29 +09:00
posimai 19379f0cdc docs: update architecture to 2026 self-hosted auth paradigm, dropping Supabase auth migration 2026-03-29 21:51:20 +09:00
posimai cc8c1cc01d chore: add atlas accent color, fix VPS URL, add atlas/brief/veil to table 2026-03-29 21:26:12 +09:00
posimai 02d6a15b39 docs: add architecture freshness rule + full rewrite of master-architecture.md
- CLAUDE.md/AGENTS.md: add sync rule for docs/master-architecture.md on infra changes
- master-architecture.md: full rewrite (2026-03-11→2026-03-28, 9 apps→23 apps,
  Synology-centric→VPS+Supabase Auth confirmed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 07:31:55 +09:00