fix patch hub feat/phase-2g-bundle
AI Agent git-import/068377df · 113 days ago · Apr 5, 2026 · Diff

fix(hub): add POST /api/v1/memory/consolidate + GET status to self-hosted server

Consolidate Now in the Hub UI was returning 404 on localhost because the endpoint only existed in hub/bridge/server.mjs (hosted path), not in hub/server.mjs (self-hosted path).

- POST /api/v1/memory/consolidate: runs consolidation inline using config.daemon.llm settings (api_key from env or config); tracks cost; returns topics, total_events, verify, discover, cost_usd, pass_id - GET /api/v1/memory/consolidate/status: returns daemon config state (enabled, interval_minutes, cost_cap) for the dashboard card

sha256:f280a4d7b374d2246bc9787f4589918a32b9c778e93a7da49413a8e23a2d37ad sha
sha256:b2c1eaabcdf0f7fb1c5a55fbe4e0a766ebe6240e16c9a466bf125951c92534e2 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:f280a4d7b374d2246bc9787f4589918a32b9c778e93a7da49413a8e23a2d37ad --body "your comment"