Commit Graph

4 Commits

Author SHA1 Message Date
Mortdecai 05fcb7f2f2 feat: POST /log from the page + load state.json on page open
- Browser can record entries (e.g. meter readings) into session.md/jsonl;
  broadcast to other open clients. Log feed renders as text, not HTML.
- Page loads state.json on open instead of only localStorage, so a new
  device (or one that missed the WS push) shows current content.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 16:28:36 -04:00
Mortdecai 65622501fe fix: block path traversal in static handler
The LAN-bound HTTP server joined the raw URL path onto the project dir,
so /../../.ssh/id_ed25519 (and %2e%2e variants) served any file the
user could read. Resolve and require the path stay inside the project.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 16:28:36 -04:00
Mortdecai 4f34684e53 feat: MCP server with persistence — reattach to running servers on restart
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 07:33:27 -04:00
Mortdecai 16815ed6bb feat: project management module — create, log, read, list, server persistence
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 07:30:24 -04:00