feat(console): local web console — status, memories, KG graph, context, dedup, budget, Postgres switch - #5
Merged
Merged
Conversation
…gres backend switch - memmesh console: single-binary web UI served from the REST API, opens browser - embedded SPA (crates/server/src/ui/index.html) with MemMesh logo - REST endpoints: /stats, GET /memory (list), /config (get/put), /logs, /consolidate - unified log file (~/.memmesh/logs/memmesh.log) tailed by the console - selectable storage backend via [database] config; generic run<S: Storage> dispatch - /database (get/put), /database/test, /database/copy for SQLite->Postgres switch + data copy
- Graph tab: force-directed KG of entities + typed edges (zero-LLM extractor), hover-highlight, legend by entity type; GET /graph (edges deduped on read) - /graph/rebuild: backfill the graph from all stored memories (idempotent) - Context tab: shows the exact claude-context block injected for a query - Memories: provenance line (source, confidence, learned date, supersession)
… sync - Status: dashboard breakdowns (scope/type/status bars), embedding coverage, behavior-pattern count, and an LLM budget card (GET/PUT /budget) - Duplicates: review inbox — dry-run candidates with content, per-pair merge (supersede) or merge-all; requires embeddings for cosine matching - Playground: side-by-side retrieval comparison (query/k) over /memory - Sync: SaaS sync status + run + project bindings (GET /sync, POST /sync/run, GET /bindings); managed connectors flagged as roadmap, not faked - endpoints: /budget, /sync, /sync/run, /bindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
memmesh console— a local, single-binary web UI served from the REST API (opens the browser, tails a unified log). Everything is embedded in the Rust binary; no new runtime.What's included
crates/server/src/ui/index.html) with the MemMesh logoclaude-contextblock injected for a query~/.memmesh/config.toml(validated); storage backend switch (SQLite ⇄ Postgres) with test-connection + one-time data copyEngine changes
[database]config section;main.rsselects backend and dispatches through a genericrun<S: Storage>(works identically on SQLite/Postgres)~/.memmesh/logs/memmesh.log(stderr + rolling file), tailed by the console/stats,GET /memory(list),/config(get/put),/graph(+/graph/rebuild),/consolidate,/budget,/sync(+/sync/run),/bindings,/database(+/database/test,/database/copy),/logsScope notes
Verification