AI-powered hardware inventory management for homelab environments
Find a file
Mikkel Georgsen 0190e8583c feat(06-lab-advisor-02): AdvisorHandler SSE streaming + router wiring
- internal/advisor/handler.go: StreamChat (SSE, token-by-token),
  GetConversations, GetConversation; body limited to 64KB, message
  truncated to 8000 chars (T-06-02-03); API key never echoed (T-06-02-02)
- internal/api/router.go: /api/advisor/{chat,conversations,conversations/{id}}
  with nil-guard returning 503 when DB not configured
- internal/config/config.go: Tier3 defaults + HWLAB_AI_TIER3_* env bindings
- cmd/hwlab/main.go: store init from HWLAB_DATABASE_URL, RunMigrations,
  InventoryContextBuilder, AdvisorHandler wired into NewRouter
2026-04-10 07:36:16 +00:00
.planning docs(06-01): complete PostgreSQL store package plan 2026-04-10 07:31:59 +00:00
cmd/hwlab feat(06-lab-advisor-02): AdvisorHandler SSE streaming + router wiring 2026-04-10 07:36:16 +00:00
internal feat(06-lab-advisor-02): AdvisorHandler SSE streaming + router wiring 2026-04-10 07:36:16 +00:00
scripts feat(01-03): add location hierarchy provisioning and provision CLI script 2026-04-10 05:22:02 +00:00
web docs(05): phase 5 verification + human UAT (hardware blocked) + vitest deps 2026-04-10 07:23:20 +00:00
.env.example chore: add environment config 2026-04-10 00:48:19 +00:00
.gitignore feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
ai_config.json feat(02-01): AI package foundation — types, interface, mock, prompts, config extension 2026-04-10 05:45:13 +00:00
assets.go feat(01-foundation-01): Go module init, chi server, go:embed SPA scaffold 2026-04-10 01:17:03 +00:00
CLAUDE.md docs: create roadmap (7 phases) 2026-04-10 00:04:27 +00:00
config.json feat(01-foundation-01): viper config loader and SPA fallback fix 2026-04-10 01:27:54 +00:00
go.mod feat(06-01): add pgx/v5 store with connection pool and migrations 2026-04-10 07:31:08 +00:00
go.sum feat(06-01): add pgx/v5 store with connection pool and migrations 2026-04-10 07:31:08 +00:00
Makefile feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00