{"nodes": [{"id": "home_jmax_hermes_dify_bridge_bridge_py", "label": "bridge.py", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L1"}, {"id": "hermes_dify_bridge_bridge_load_map", "label": "load_map()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L173"}, {"id": "hermes_dify_bridge_bridge_save_map", "label": "save_map()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L180"}, {"id": "hermes_dify_bridge_bridge_get_latest_session_id", "label": "get_latest_session_id()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L184"}, {"id": "hermes_dify_bridge_bridge_run_hermes", "label": "run_hermes()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L197"}, {"id": "hermes_dify_bridge_bridge_chatrequest", "label": "ChatRequest", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L220"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "hermes_dify_bridge_bridge_health", "label": "health()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L226"}, {"id": "hermes_dify_bridge_bridge_chat", "label": "chat()", "file_type": "code", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L231"}], "edges": [{"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L1", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "re", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L1", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L1", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "asyncio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L1", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "pathlib", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L2", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L3", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "fastapi_responses", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L4", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "fastapi_staticfiles", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L5", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L6", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_load_map", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L173", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_save_map", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L180", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_get_latest_session_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L184", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_run_hermes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L197", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_chatrequest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L220", "weight": 1.0}, {"source": "hermes_dify_bridge_bridge_chatrequest", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L220", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L226", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "hermes_dify_bridge_bridge_chat", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L231", "weight": 1.0}, {"source": "home_jmax_hermes_dify_bridge_bridge_py", "target": "uvicorn", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L255", "weight": 1.0}, {"source": "hermes_dify_bridge_bridge_chat", "target": "hermes_dify_bridge_bridge_load_map", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L232", "weight": 1.0}, {"source": "hermes_dify_bridge_bridge_chat", "target": "hermes_dify_bridge_bridge_run_hermes", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L236", "weight": 1.0}, {"source": "hermes_dify_bridge_bridge_chat", "target": "hermes_dify_bridge_bridge_get_latest_session_id", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L239", "weight": 1.0}, {"source": "hermes_dify_bridge_bridge_chat", "target": "hermes_dify_bridge_bridge_save_map", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L242", "weight": 1.0}], "raw_calls": [{"caller_nid": "hermes_dify_bridge_bridge_load_map", "callee": "loads", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L175"}, {"caller_nid": "hermes_dify_bridge_bridge_load_map", "callee": "read_text", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L175"}, {"caller_nid": "hermes_dify_bridge_bridge_load_map", "callee": "exists", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L175"}, {"caller_nid": "hermes_dify_bridge_bridge_save_map", "callee": "write_text", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L181"}, {"caller_nid": "hermes_dify_bridge_bridge_save_map", "callee": "dumps", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L181"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "create_subprocess_exec", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L185"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "str", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L189"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "home", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L189"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "wait_for", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L191"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "communicate", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L191"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "decode", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L192"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "search", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L193"}, {"caller_nid": "hermes_dify_bridge_bridge_get_latest_session_id", "callee": "group", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L194"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "create_subprocess_exec", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L203"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "str", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L207"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "home", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L207"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "wait_for", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L209"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "communicate", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L209"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "decode", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L210"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "splitlines", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L211"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "match", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L212"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "strip", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L213"}, {"caller_nid": "hermes_dify_bridge_bridge_run_hermes", "callee": "join", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L213"}, {"caller_nid": "hermes_dify_bridge_bridge_chat", "callee": "get", "is_member_call": true, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L233"}, {"caller_nid": "hermes_dify_bridge_bridge_chat", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L245"}, {"caller_nid": "hermes_dify_bridge_bridge_chat", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L247"}, {"caller_nid": "hermes_dify_bridge_bridge_chat", "callee": "str", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L247"}, {"caller_nid": "hermes_dify_bridge_bridge_chat", "callee": "HTTPException", "is_member_call": false, "source_file": "/home/jmax/hermes-dify-bridge/bridge.py", "source_location": "L250"}]}