Phase 0: turn Supermarket into a Dockerized local web app

Replace the old Go TUI with a web app (port 8470) that runs in a
container as a CoreDesktop sibling:

- cmd/supermarket server with htmx web UI: dashboard, company profile,
  inventory (partners/competitors), AI and credential settings, and a
  Core & Hermes page
- SQLite storage and a secrets store under ~/.local/share/supermarket
- AI providers (Anthropic, OpenAI-compatible) behind one interface
- MCP server and a Hermes bridge to the Federated Core MCP hub
- Import of the old Coremarketing TUI's state
- install.sh / update.sh / lib.sh, Dockerfile, compose.yaml, the
  bin/supermarket launcher and hermes/setup.sh

Posting is not wired back up yet; that comes in Phase 1. See PLAN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 08:38:09 -07:00
co-authored by Claude Opus 5.5
parent 4d304cd65b
commit d039484a4a
68 changed files with 6288 additions and 2914 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strconv"
"time"
"coremarketing/internal/models"
"supermarket/internal/models"
)
const apiBase = "https://www.googleapis.com/youtube/v3"