546aeeed70
Adds the team_model graph layer (the "it learned" view) and its visualization,
per docs/graph.md. Demo-backed first; built on origin/main conventions.
- shared: PodGraph / node / edge / metric types + GraphNodeDoc / GraphEdgeDoc
- backend/src/graph: demo graph data; Mongo store (loadPodGraph w/ demo
fallback, seedGraph, reachFrom via $graphLookup); graph:seed script
- backend/src/server.ts: additive GET /api/pods/:id/graph + /graph/reach/:node
- frontend: dark-Bauhaus GraphView + fetch helper, reachable from a
"Team memory" toggle in App.tsx
- docs/graph.md: spec (data model, $graphLookup, API, demo-first plan)
Demo-backed: the route serves a grounded demo graph when team_model has no
graph yet; graph:seed writes team_model + graph_nodes/graph_edges so the
$graphLookup traversal is real. Swap loadPodGraph to live team_model later.
Known follow-ups before merge: branch is based on 65a0791; origin/main is now
at 1294b84, so this needs a rebase + App.tsx conflict resolution (teammate
rewrote App.tsx with live room view / one-click join).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
906 B
JSON
36 lines
906 B
JSON
{
|
|
"name": "@podman/backend",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"dev:server": "tsx watch src/server.ts",
|
|
"dev:agent": "tsx watch src/agent.ts",
|
|
"graph:seed": "tsx src/graph/seed.ts",
|
|
"start": "node dist/server.js",
|
|
"build": "tsc -p tsconfig.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@google/genai": "^2.10.0",
|
|
"@livekit/rtc-node": "^0.13.29",
|
|
"@podman/shared": "workspace:*",
|
|
"cors": "^2.8.6",
|
|
"dotenv": "^17.4.2",
|
|
"express": "^5.2.1",
|
|
"livekit-server-sdk": "^2.15.5",
|
|
"mongodb": "^7.4.0",
|
|
"octokit": "^5.0.5",
|
|
"sharp": "^0.35.2",
|
|
"ws": "^8.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@types/ws": "^8.18.1",
|
|
"tsx": "^4.22.4"
|
|
}
|
|
}
|