Some checks failed
plugin-tests / test (push) Failing after 6s
Per sot/03-PROTOCOLS/CORTEX-OS-UMBRELLA-VIZ-PRD.md. Living-graph panel
inside hermes-webui consuming curator-maintained graph/umbrella.json
(UI-stable v1.0 schema emitted by curator-planb sweep.py v0.2).
routes/umbrella.py — 3 endpoints:
GET /umbrella → redirect to static panel HTML
GET /api/umbrella → graph/umbrella.json contents
GET /api/umbrella/doc?path=X → markdown body for a node's source_path
(path-traversal guarded; 50KB cap)
static/umbrella.{html,css,js} — Cytoscape.js v3.30.2 (CDN) render:
- 8 node types: doc/profile/skill/mcp_server/sovereign_api/cortex_tool/
external_dep/credential — each gets distinct color + shape
- 5 edge types: depends_on/governs/consumes/produces/supersedes
- filter chips (toggle node type visibility)
- layout switcher (force/tier/concentric)
- search (dim non-matching nodes)
- click node → side panel w/ frontmatter + markdown body + in/out edges
- edge-list buttons jump between connected nodes
Plan B brand-aligned dark theme; DESIGN.md 8-property subset
(backgroundColor/textColor/typography/rounded/padding/size/height/width).
svrnty_nav.js bundled (sidebar nav integration — non-umbrella scope).
CONNECTION-MAP.md regenerated via scripts/ast-connection-map.py.
plugin.py route-list extended w/ "umbrella" + injects umbrella assets via
the standard static dir registration.
Module import: ✓ (python3 -c "import routes.umbrella" clean).
Graph artifact verified: 81 nodes / 120 edges live in graph/umbrella.json.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3.5 KiB
3.5 KiB
CONNECTION MAP — svrnty-hermes-webui-plugin → nesquena/hermes-webui
Upstream version: v0.51.118
Plugin version: 0.4.0
Total dependencies: 30 (24 public API · 0 forced internal · 6 frontend)
Auto-generated by
scripts/ast-connection-map.py. Do not hand-edit. To change a justification, edit the# CONNECTION:comment above the relevant import and re-run the script.
Public API dependencies (via loader-provided api)
| Plugin location | Upstream symbol | Snippet |
|---|---|---|
plugin.py:29 |
api.logger |
log = api.logger("svrnty.plugin") |
plugin.py:34 |
api.register_static |
api.register_static(STATIC_PREFIX, str(STATIC_DIR)) |
plugin.py:35 |
api.inject_stylesheet |
api.inject_stylesheet(f"/plugins/{STATIC_PREFIX}/app.css") |
plugin.py:36 |
api.inject_script |
api.inject_script(f"/plugins/{STATIC_PREFIX}/app.js") |
plugin.py:39 |
api.inject_script |
api.inject_script(f"/plugins/{STATIC_PREFIX}/svrnty_nav.js") |
plugin.py:42 |
api.inject_stylesheet |
api.inject_stylesheet(f"/plugins/{STATIC_PREFIX}/adwright.css") |
plugin.py:43 |
api.inject_script |
api.inject_script(f"/plugins/{STATIC_PREFIX}/adwright.js") |
plugin.py:45 |
api.inject_stylesheet |
api.inject_stylesheet(f"/plugins/{STATIC_PREFIX}/bte.css") |
plugin.py:46 |
api.inject_script |
api.inject_script(f"/plugins/{STATIC_PREFIX}/bte.js") |
routes/adwright.py:68 |
api.logger |
log = api.logger("svrnty.routes.adwright") |
routes/adwright.py:69 |
api.register_route |
api.register_route( |
routes/adwright.py:71 |
api.register_route |
api.register_route( |
routes/bte_proxy.py:40 |
api.logger |
log = api.logger("svrnty.routes.bte_proxy") |
routes/bte_proxy.py:41 |
api.register_route |
api.register_route("/api/bte/proxy", "GET", _handle_proxy) |
routes/bte_proxy.py:42 |
api.register_route |
api.register_route("/api/bte/proxy", "POST", _handle_proxy) |
routes/transcribe.py:37 |
api.logger |
log = api.logger("svrnty.routes.transcribe") |
routes/transcribe.py:38 |
api.register_route |
api.register_route("/api/transcribe", "POST", _handle_transcribe) |
routes/transcribe.py:39 |
api.register_audio_attachment_processor |
api.register_audio_attachment_processor(_transcribe_audio_attachments) |
routes/umbrella.py:30 |
api.logger |
log = api.logger("svrnty.routes.umbrella") |
routes/umbrella.py:31 |
api.register_route |
api.register_route("/umbrella", "GET", _handle_panel_html) |
routes/umbrella.py:32 |
api.register_route |
api.register_route("/api/umbrella", "GET", _handle_graph_json) |
routes/umbrella.py:33 |
api.register_route |
api.register_route("/api/umbrella/doc", "GET", _handle_doc_body) |
routes/vault_status.py:19 |
api.logger |
log = api.logger("svrnty.routes.vault_status") |
routes/vault_status.py:20 |
api.register_route |
api.register_route("/api/vault/status", "GET", _handle_vault_status) |
Forced internal dependencies (Rule 2 escape hatch)
Each row requires a # CONNECTION: <reason> comment in source.
None. Plugin uses only the public API. ✓
Frontend dependencies (static/.js → /api/ URLs)
| File | Line | URL |
|---|---|---|
static/bte.js |
330 | /api/command/requestPhotoshoot |
static/bte.js |
369 | /api/query/assetGrid |
static/bte.js |
483 | /api/command/rateAsset |
static/adwright.js |
484 | /api/adwright/provision-creds |
static/umbrella.js |
41 | /api/umbrella |
static/app.js |
165 | /api/vault/status |