feat: integrate og-memory-graph plugin (Outline Graph memory graph)#411
Open
chenbys4 wants to merge 1 commit into
Open
feat: integrate og-memory-graph plugin (Outline Graph memory graph)#411chenbys4 wants to merge 1 commit into
chenbys4 wants to merge 1 commit into
Conversation
Add og-memory-graph as a pluggable memory-graph service: - og-memory-graph/: OG Framework A (agents/core/pipeline/storage) + FastAPI server + React embed page + PilotDeck plugin package - ui/MainAreaV2.tsx: surface enabled plugin tabs in the top bar (generic plugin capability, not og-specific) Plugin is self-contained under og-memory-graph/; PilotDeck source has only one change (MainAreaV2 plugin tabs). See INTEGRATION.md for setup. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
This PR integrates og-memory-graph — an Outline Graph (OG) memory-graph service — into PilotDeck as a self-contained, pluggable add-on. It turns a workspace's memory (
.mdfiles underProject/andFeedback/) into a knowledge graph and a polished report, viewable from a new top-bar tab.What's included
1.
og-memory-graph/(new subdirectory — self-contained service)A standalone Python FastAPI service + PilotDeck plugin package. Independent of the PilotDeck main process.
og/— Framework A: 19 LLM agents, OutlineGraph data structure (9 node types / 14 edge types), pipeline (build → curate → balanced → polish), storage (GraphStore + ChromaDB/BM25 vector store)server/— FastAPI: embed page + REST API (/api/pd/*, graph/report endpoints)frontend/— React embed page (rendered in an iframe)plugins/og-memory-graph/— PilotDeck plugin package:manifest.json— PilotDeck plugin manifest (slot: tab)server.js— Node process spawned by PilotDeck; manages og6 lifecycle (healthcheck-first, spawns uvicorn only if not running) and exposes/configindex.js— front-end bundle;mount()fetches/configvia rpc and renders an iframe to the og6 embed pageREADME.md,.env.template,pyproject.toml,.gitignore2.
ui/src/components/app-shell/MainAreaV2.tsx(the only PilotDeck source change)Surface enabled plugin tabs in the V2 top bar. Currently plugin tabs (
plugin:<name>) are not shown in the staticTABSlist. This appends enabled plugins as top-bar tabs — a generic plugin capability, not specific to og-memory-graph.3.
INTEGRATION.mdSetup instructions (install og service, deploy plugin package, run).
How it works
server.js(per the existing plugin-server protocol — Node process reporting{ready, port}on stdout).server.jshealthchecks the og6 FastAPI service; if not running, it spawnsuvicorn. Reuses a running instance if present.index.jscalls/configvia PilotDeck's rpc proxy, then renders an iframe pointing to og6's/embed/memory-graph.pd-*cluster to sync memory changes incrementally (with cross-process mutex + auto-rebuild after 5 syncs).Setup (for reviewers)
Launch PilotDeck → a "og-memory-graph" tab appears → select a project → the graph/report loads.
Notes
og-memory-graph/subdirectory is fully self-contained; no other PilotDeck source files are modified..env.templatehas placeholders only;config.jsonuses<placeholder>paths).frontend/dist/is gitignored — reviewers runnpm run buildto generate it.Checklist
og-memory-graph/INTEGRATION.mddocuments setup