{"id":484450,"date":"2026-06-22T01:29:33","date_gmt":"2026-06-22T01:29:33","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=484450"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=484450","title":{"rendered":"graphlens: \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0432 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u2014 Python, TypeScript, Go \u0438 Rust \u0432 \u043e\u0434\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041b\u044e\u0431\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u00ab\u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0443\u043f\u0438\u0440\u0430\u043b\u0441\u044f \u0432 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0441\u0442\u0435\u043d.<\/p>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u2014 <strong>\u0446\u0438\u043a\u043b \u00abgrep \u2192 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u2192 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u2192 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043f\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0443 \u2192 \u0441\u043d\u043e\u0432\u0430 grep\u00bb<\/strong>. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u0438 \u0443 \u043d\u0435\u0433\u043e \u043d\u0435\u0442 \u043d\u0438 \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e <code>process_order<\/code>, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u0432 <a href=\"http:\/\/services.py\" rel=\"noopener noreferrer nofollow\"><code>services.py<\/code><\/a> \u2014 \u044d\u0442\u043e <em>\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439<\/em> <code>process_order<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437 <a href=\"http:\/\/api.py\" rel=\"noopener noreferrer nofollow\"><code>api.py<\/code><\/a>, \u0430 \u043d\u0435 \u043e\u0434\u043d\u043e\u0444\u0430\u043c\u0438\u043b\u0435\u0446 \u0438\u0437 <code>tests\/<\/code>. \u041a\u043e\u0433\u0434\u0430 \u044d\u0442\u0438\u043c \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f LLM-\u0430\u0433\u0435\u043d\u0442, \u043e\u043d \u0435\u0449\u0451 \u0438 \u0441\u0436\u0438\u0433\u0430\u0435\u0442 \u043d\u0430 \u044d\u0442\u043e\u043c \u0442\u043e\u043d\u043d\u0443 \u0442\u043e\u043a\u0435\u043d\u043e\u0432.<\/p>\n<p>\u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0435\u043d\u0430 \u2014 <strong>\u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c<\/strong>. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 Python, \u043d\u043e \u0441\u043b\u0435\u043f\u043d\u0435\u0442 \u0432 \u0442\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043a\u043e\u0433\u0434\u0430 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043d\u0430 TypeScript \u0434\u0451\u0440\u0433\u0430\u0435\u0442 \u0440\u0443\u0447\u043a\u0443 FastAPI \u043d\u0430 Python. \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u043b\u0438\u0433\u043b\u043e\u0442\u043d\u044b. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u043e\u043a\u0440\u0443\u0433 \u043d\u0438\u0445 \u2014 \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435\u0442.<\/p>\n<p><a href=\"https:\/\/github.com\/Neko1313\/graphlens\" rel=\"noopener noreferrer nofollow\"><strong>graphlens<\/strong><\/a> \u2014 \u044d\u0442\u043e open-source \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a (MIT), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0439\u0442\u0438 \u043e\u0431\u0435 \u0441\u0442\u0435\u043d\u044b. \u041e\u043d \u043f\u0430\u0440\u0441\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0432 \u043e\u0431\u0449\u0438\u0439 <strong>\u0433\u0440\u0430\u0444-IR<\/strong> \u0438 \u043e\u0442\u0434\u0430\u0451\u0442 \u044d\u0442\u043e\u0442 \u0433\u0440\u0430\u0444 \u0432\u0430\u043c \u2014 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0441 \u043d\u0438\u043c \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435: \u0430\u043d\u0430\u043b\u0438\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e, \u043f\u043e\u0438\u0441\u043a \u043c\u0451\u0440\u0442\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u043f\u043e\u0434\u0430\u0447\u0443 \u0442\u043e\u0447\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 LLM-\u0430\u0433\u0435\u043d\u0442\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u0430\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442.<\/p>\n<pre><code>Repository \u2192 Language Adapter \u2192 GraphLens (IR) \u2192 Graph Backend<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0421\u043b\u043e\u0439<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044c<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Language Adapter<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041f\u0430\u0440\u0441\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 <code>GraphLens<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>GraphLens<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0443\u0437\u043b\u044b + \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u2014 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>Graph Backend<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0425\u0440\u0430\u043d\u0438\u0442 \u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0433\u0440\u0430\u0444 (Neo4j, in-memory, \u0432\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435: <strong>\u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u2014 \u0447\u0438\u0441\u0442\u044b\u0435 \u043f\u0440\u043e\u0434\u044e\u0441\u0435\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>. \u041e\u043d\u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u0438\u0448\u0443\u0442 \u0432 \u0431\u0430\u0437\u0443, \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0447\u0442\u0435\u043d\u0438\u044f, \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u044e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440. \u0413\u0440\u0430\u0444 \u2014 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0445\u043e\u0434. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0441\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u041f\u0435\u0440\u0432\u044b\u0439 \u0433\u0440\u0430\u0444 \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434<\/h3>\n<pre><code class=\"bash\">pip install \"graphlens-cli[python]\"graphlens analyze .\/my-project<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<pre><code>graphlens \u00b7 my-project  nodes:      1240  relations:  3981  resolver:   oknodes by kind        relations by kind  FUNCTION    410       CONTAINS    980  METHOD      265       DECLARES    870  CLASS        98       CALLS       640  MODULE       54       REFERENCES  410<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438\u0437 Python:<\/p>\n<pre><code class=\"python\">from pathlib import Pathfrom graphlens import adapter_registryadapter = adapter_registry.load(\"python\")()graph = adapter.analyze(Path(\".\/my-project\"))print(len(graph.nodes), \"\u0443\u0437\u043b\u043e\u0432,\", len(graph.relations), \"\u0441\u0432\u044f\u0437\u0435\u0439\")fn = graph.nodes_by_name(\"process_order\")[0]print(\"\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437:\", [n.name for n in graph.callers(fn.id)])<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0451\u0431\u0440\u0430 \u0433\u0440\u0430\u0444\u0430 \u2014 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435, \u0430 \u043d\u0435 \u0434\u043e\u0433\u0430\u0434\u043a\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438<\/h3>\n<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043b\u0451\u0433\u043a\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u00ab\u043a\u043e\u0434 \u2192 \u0433\u0440\u0430\u0444\u00bb \u0440\u0435\u0437\u043e\u043b\u0432\u044f\u0442 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438: \u0432\u0438\u0434\u0438\u043c \u0432\u044b\u0437\u043e\u0432 <code>save()<\/code> \u2014 \u0440\u0438\u0441\u0443\u0435\u043c \u0440\u0435\u0431\u0440\u043e \u043a\u043e \u0432\u0441\u0435\u043c\u0443, \u0447\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <code>save<\/code>. \u0411\u044b\u0441\u0442\u0440\u043e \u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u043e \u2014 \u0432 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u0435 \u0442\u0430\u043a\u0438\u0445 <code>save<\/code> \u043e\u0431\u044b\u0447\u043d\u043e \u0441 \u0434\u0435\u0441\u044f\u0442\u043e\u043a.<\/p>\n<p>graphlens \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430 \u0434\u0432\u0430 \u044d\u0442\u0430\u043f\u0430:<\/p>\n<ol>\n<li>\n<p><strong>Tree-sitter<\/strong> \u043f\u0430\u0440\u0441\u0438\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e (CST), \u0434\u0430\u0451\u0442 \u0442\u043e\u0447\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 1-based \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0441\u043f\u0430\u043d\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 <em>use-site<\/em> \u043e\u043d \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u043a\u0430\u043a <strong>occurrence<\/strong> \u0441 \u0440\u043e\u043b\u044c\u044e (\u0432\u044b\u0437\u043e\u0432 \/ \u0447\u0442\u0435\u043d\u0438\u0435 \/ \u0437\u0430\u043f\u0438\u0441\u044c \/ \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f \/ \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441).<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u0442\u0435\u043c <strong>type-aware \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440<\/strong>, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0439 \u0434\u043b\u044f \u044f\u0437\u044b\u043a\u0430, \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 <code>definition_at(file, line, col)<\/code> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e occurrence. \u0420\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u0440\u0435\u0431\u0440\u043e\u043c \u043a <em>\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443<\/em> \u0443\u0437\u043b\u0443-\u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<\/ol>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u042f\u0437\u044b\u043a<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0420\u0435\u0437\u043e\u043b\u0432\u0435\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0414\u0432\u0438\u0436\u043e\u043a<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Python<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>TyResolver<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><a href=\"https:\/\/github.com\/astral-sh\/ty\" rel=\"noopener noreferrer nofollow\"><code>ty<\/code><\/a> (Astral, \u043d\u0430 Rust) \u0447\u0435\u0440\u0435\u0437 LSP<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">TypeScript<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>TsResolver<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">TypeScript Compiler API (Node-\u0441\u0443\u0431\u043f\u0440\u043e\u0446\u0435\u0441\u0441)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Go<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>GoplsResolver<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><a href=\"https:\/\/pkg.go.dev\/golang.org\/x\/tools\/gopls\" rel=\"noopener noreferrer nofollow\"><code>gopls<\/code><\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">Rust<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>RustAnalyzerResolver<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><a href=\"https:\/\/rust-analyzer.github.io\/\" rel=\"noopener noreferrer nofollow\"><code>rust-analyzer<\/code><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0431\u0440\u043e <code>CALLS<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, <code>HAS_TYPE<\/code> \u2014 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, <code>INHERITS_FROM<\/code> \u2014 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441. \u042d\u0442\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u00ab\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e\u00bb \u0438 \u00ab\u0441\u0432\u044f\u0437\u0430\u043d\u043e\u00bb.<\/p>\n<h4>\u0427\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u044b\u0445 \u0441\u0431\u043e\u0435\u0432<\/h4>\n<p>\u0422\u0438\u043f\u043e\u0432\u043e\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u2014 \u0442\u0443\u043b\u0447\u0435\u0439\u043d \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0444\u0430\u0439\u043b \u043d\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0442\u0438\u043f\u043e\u0432. \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u0438\u0445\u043e\u0439 \u0432\u044b\u0434\u0430\u0447\u0438 \u043d\u0430\u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430 graphlens \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<pre><code class=\"python\">from graphlens import RESOLVER_STATUS_KEYgraph.metadata[RESOLVER_STATUS_KEY]   # 'ok' | 'degraded' | 'unavailable'<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0421\u0442\u0430\u0442\u0443\u0441<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>ok<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">type-aware \u0441\u043b\u043e\u0439 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0434\u043e \u043a\u043e\u043d\u0446\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>degraded<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f, \u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0443\u043f\u0430\u043b\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>unavailable<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u0442 \u0442\u0443\u043b\u0447\u0435\u0439\u043d\u0430)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412 CI \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <code>--strict<\/code> \u2014 \u0438 \u043b\u044e\u0431\u043e\u0439 \u0441\u0442\u0430\u0442\u0443\u0441, \u043a\u0440\u043e\u043c\u0435 <code>ok<\/code>, \u0440\u043e\u043d\u044f\u0435\u0442 \u0441\u0431\u043e\u0440\u043a\u0443. \u0422\u0430\u043a \u0430\u0433\u0435\u043d\u0442 \u0438\u043b\u0438 \u0434\u0430\u0448\u0431\u043e\u0440\u0434 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0433\u0440\u0430\u0444, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043d\u0435\u043f\u043e\u043b\u043e\u043d.<\/p>\n<h3>\u041c\u043e\u0434\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430<\/h3>\n<p><strong>\u0423\u0437\u043b\u044b<\/strong> (<code>PROJECT<\/code>, <code>MODULE<\/code>, <code>FILE<\/code>, <code>CLASS<\/code>, <code>METHOD<\/code>, <code>FUNCTION<\/code>, <code>PARAMETER<\/code>, <code>VARIABLE<\/code>, <code>ATTRIBUTE<\/code>, <code>TYPE_ALIAS<\/code>, <code>IMPORT<\/code>, <code>DEPENDENCY<\/code>, <code>EXTERNAL_SYMBOL<\/code>, <code>BOUNDARY<\/code>) \u2014 \u044d\u0442\u043e frozen-dataclass\u2019\u044b \u0441 id, \u0432\u0438\u0434\u043e\u043c (kind), \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u043f\u0443\u0442\u0451\u043c \u043a \u0444\u0430\u0439\u043b\u0443, \u0441\u043f\u0430\u043d\u043e\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p><strong>\u0421\u0432\u044f\u0437\u0438<\/strong> \u2014 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0412\u0438\u0434<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0421\u043c\u044b\u0441\u043b<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>CONTAINS<\/code> \/ <code>DECLARES<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u0430\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>IMPORTS<\/code> \/ <code>RESOLVES_TO<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0438 \u043a\u0443\u0434\u0430 \u043e\u043d\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>CALLS<\/code> \/ <code>REFERENCES<\/code> \/ <code>INHERITS_FROM<\/code> \/ <code>HAS_TYPE<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 type-aware \u0440\u0451\u0431\u0440\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>DEPENDS_ON<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c-\u043f\u0430\u043a\u0435\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>EXPOSES<\/code> \/ <code>CONSUMES<\/code> \/ <code>COMMUNICATES_WITH<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u043c\u0435\u0436\u044a\u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430 (<code>CONTAINS<\/code>, <code>DECLARES<\/code>, <code>IMPORTS<\/code>, <code>DEPENDS_ON<\/code>) \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u0441\u0435\u0433\u0434\u0430. \u0420\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 (<code>CALLS<\/code>, <code>REFERENCES<\/code>, <code>INHERITS_FROM<\/code>, <code>HAS_TYPE<\/code>) \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043e\u0442 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430, \u0438 \u0438\u0445 \u043f\u043e\u043b\u043d\u043e\u0442\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430.<\/p>\n<h4>\u0414\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 ID<\/h4>\n<p>ID \u0443\u0437\u043b\u0430 \u2014 \u044d\u0442\u043e SHA-256 \u043e\u0442 <code>project::kind::qualified_name<\/code>:<\/p>\n<pre><code class=\"python\">from graphlens import make_node_idmake_node_id(\"my-project\", \"my.module.func\", \"FUNCTION\")# \u2192 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 id \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043a\u0430\u043d\u0435, \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 ID \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u0438, \u0430 \u043d\u0435 \u043e\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u0451\u0442 \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435 ID. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u043c\u0438 <code>graph.diff(other)<\/code> \u0438 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444 \u0432 CI.<\/p>\n<h3>\u0424\u0438\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443 \u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432: \u043c\u0435\u0436\u044a\u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b<\/h3>\n<p>\u041c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0447\u0430\u0441\u0442\u044c. \u0410\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u044d\u043c\u0438\u0442\u044f\u0442 \u044f\u0437\u044b\u043a\u043e-\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0443\u0437\u043b\u044b <code><strong>BOUNDARY<\/strong><\/code> \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u2014 HTTP-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0442\u043e\u043f\u0438\u043a\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439, gRPC-\u043c\u0435\u0442\u043e\u0434\u044b, Temporal-\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441 \u0440\u0435\u0431\u0440\u043e\u043c <code>EXPOSES<\/code> (\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440) \u0438\u043b\u0438 <code>CONSUMES<\/code> (\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c).<\/p>\n<p>ID \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u2014 \u044d\u0442\u043e <code>make_boundary_id(mechanism, key)<\/code>, \u0438 \u0432 \u043d\u0451\u043c <em>\u043d\u0435\u0442 \u043d\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0438 \u044f\u0437\u044b\u043a\u0430<\/em>. HTTP-\u043f\u0443\u0442\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u0430\u043a, \u0447\u0442\u043e <code>\/users\/1<\/code>, <code>\/users\/{user_id}<\/code> (FastAPI), <code>&lt;int:id&gt;<\/code> (Flask) \u0438 <code>:id<\/code> (Express) \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u044e\u0447 <code>GET \/users\/{}<\/code>.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u043c\u0430\u0440\u0448\u0440\u0443\u0442 FastAPI \u043d\u0430 Python \u0438 <code>fetch<\/code> \u043d\u0430 TypeScript \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u0443 \u0434\u0430\u044e\u0442 <strong>\u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439<\/strong> boundary-ID. \u0421\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0432\u0430 \u0433\u0440\u0430\u0444\u0430, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <code>graphlens-link<\/code> \u2014 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0451\u0431\u0440\u0430 <code>COMMUNICATES_WITH<\/code>, \u043f\u0435\u0440\u0435\u0448\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u044f\u0437\u044b\u043a\u043e\u0432\u0443\u044e \u0433\u0440\u0430\u043d\u0438\u0446\u0443:<\/p>\n<pre><code class=\"python\">from graphlens import adapter_registryfrom graphlens_link import link_graphpy = adapter_registry.load(\"python\")().analyze(python_project)ts = adapter_registry.load(\"typescript\")().analyze(typescript_project)merged = pymerged.merge(ts, allow_shared=True)   # \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 BOUNDARY-\u0443\u0437\u043b\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442result = link_graph(merged)           # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0451\u0431\u0440\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c \u2192 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440print(result.relations_added, \"\u0440\u0451\u0431\u0435\u0440 COMMUNICATES_WITH \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e\")<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u00ab\u043a\u0430\u043a\u0438\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0430 \u0431\u044c\u044e\u0442 \u0432 \u044d\u0442\u043e\u0442 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442?\u00bb \u2014 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<h3>\u041f\u044f\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p><strong>\u041a\u0430\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/strong> \u2014 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c <code>GraphLens<\/code>, \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c: callers, callees, references, \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438 (neighbors), \u0434\u0438\u0444\u0444\u044b, round-trip \u0432 JSON, \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u0433\u0440\u0430\u0444\u043e\u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432.<\/p>\n<p><strong>\u0418\u0437 CLI<\/strong> \u2014 \u043f\u044f\u0442\u044c \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438:<\/p>\n<pre><code class=\"bash\">graphlens analyze .\/repo --output graph.json   # \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044fgraphlens query process_order -g graph.json --op callersgraphlens visualize .\/repo                      # \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 HTML \u043d\u0430 vis.jsgraphlens neo4j .\/repo --uri bolt:\/\/localhost:7687graphlens mcp --graph graph.json                # \u043e\u0442\u0434\u0430\u0442\u044c \u0430\u0433\u0435\u043d\u0442\u0430\u043c<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>\u0412 CI<\/strong> \u2014 <code>--strict<\/code> \u043f\u043b\u044e\u0441 Docker-\u043e\u0431\u0440\u0430\u0437 (<code>ghcr.io\/neko1313\/graphlens<\/code>) \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430\u043c\u0438 \u0438 \u0442\u0443\u043b\u0447\u0435\u0439\u043d\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438. \u0418\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 push, \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0433\u0440\u0430\u0444 \u043a\u0430\u043a \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442, \u0440\u043e\u043d\u044f\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443 \u043d\u0430 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0432\u0448\u0435\u043c \u0433\u0440\u0430\u0444\u0435.<\/p>\n<p><strong>LLM-\u0430\u0433\u0435\u043d\u0442\u0430\u043c \u0447\u0435\u0440\u0435\u0437 MCP<\/strong> \u2014 <code>graphlens mcp<\/code> \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u043a\u0430\u043a \u043d\u0430\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 Model Context Protocol (<code>stats<\/code>, <code>find<\/code>, <code>callers<\/code>, <code>callees<\/code>, <code>references<\/code>, <code>neighbors<\/code>, <code>boundaries<\/code>, <code>communicates_with<\/code>). \u0412\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u0430\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b \u0432 \u043f\u0440\u043e\u043c\u043f\u0442 \u0430\u0433\u0435\u043d\u0442 \u0437\u0430\u0434\u0430\u0451\u0442 \u0442\u043e\u0447\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430, \u0430 \u043d\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u043d\u0430\u0443\u0433\u0430\u0434. \u042d\u0442\u043e \u043f\u0440\u044f\u043c\u043e\u0439 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0431\u043e\u043b\u044c \u00ab\u0430\u0433\u0435\u043d\u0442 \u0436\u0436\u0451\u0442 \u0442\u043e\u043a\u0435\u043d\u044b, \u0431\u0435\u0433\u0430\u044f grep\u2019\u043e\u043c \u043f\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e\u00bb.<\/p>\n<p><strong>\u041a\u0430\u043a \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 Neo4j<\/strong> \u2014 \u043f\u0440\u044f\u043c\u043e \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0411\u0414 \u0447\u0435\u0440\u0435\u0437 <code>UNWIND \u2026 MERGE<\/code> (\u0431\u0435\u0437 APOC), \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<h3>\u041f\u043b\u0430\u0433\u0438\u043d\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430: \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u00ab\u0434\u0438\u0430\u043b\u0435\u043a\u0442\u043e\u0432 SQLAlchemy\u00bb<\/h3>\n<p>\u042f\u0434\u0440\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0430\u0434\u0430\u043f\u0442\u0435\u0440. \u041a\u0430\u0436\u0434\u044b\u0439 \u044f\u0437\u044b\u043a \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0435\u0431\u044f \u0447\u0435\u0440\u0435\u0437 Python entry points:<\/p>\n<pre><code>[project.entry-points.\"graphlens.adapters\"]python = \"graphlens_python:PythonAdapter\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0435\u0441\u0442\u0440, \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"python\">adapter_registry.available()        # ['python', 'typescript', ...]adapter = adapter_registry.load(\"python\")()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u2014 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442 <code>LanguageAdapter<\/code>. \u042f\u0434\u0440\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u0427\u0435\u043c graphlens \u0441\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f<\/h3>\n<p>\u041e\u0431\u043b\u0430\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0443\u0437\u043a\u0430\u044f, \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u044d\u0442\u043e \u044f\u0432\u043d\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442. graphlens \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0433\u0440\u0430\u0444-IR \u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041e\u043d <strong>\u043d\u0435<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u0445\u0440\u0430\u043d\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438 \u043d\u0435 \u0432\u043b\u0430\u0434\u0435\u0435\u0442 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u044d\u043a\u0435\u043d\u0434\u044b \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439);<\/p>\n<\/li>\n<li>\n<p>\u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 (\u0441\u043a\u0430\u043d \u2014 \u0447\u0438\u0441\u0442\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0442 \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432; \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 ID <em>\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442<\/em> \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u0434);<\/p>\n<\/li>\n<li>\n<p>\u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438, \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u0438\u043b\u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438 (\u0433\u0440\u0430\u0444 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0438 type-aware, \u0430 \u043d\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441);<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 UI \u0438\u043b\u0438 runtime \u0434\u043b\u044f \u0430\u0433\u0435\u043d\u0442\u0430 (<code>visualize<\/code> \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 HTML, <code>mcp<\/code> \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u2014 \u043d\u0438 \u0442\u043e, \u043d\u0438 \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u043e\u043b\u0433\u043e\u0436\u0438\u0432\u0443\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441).<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u0441\u0451 \u044d\u0442\u043e \u2014 \u0437\u0430\u0434\u0430\u0447\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 <em>\u043f\u043e\u0432\u0435\u0440\u0445<\/em> graphlens. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u043c.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u00ab\u0432\u0441\u0451-\u0432-\u043e\u0434\u043d\u043e\u043c\u00bb \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 (\u0432\u0440\u043e\u0434\u0435 codegraph), \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0441\u043b\u043e\u0435: graphlens \u2014 \u044d\u0442\u043e \u0434\u0432\u0438\u0436\u043e\u043a \u0438 \u0442\u043e\u0447\u043d\u0430\u044f \u043c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430 \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430\u043c\u0438, \u0430 \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c \u0438 file-watcher\u2019\u043e\u043c. \u041d\u0430 \u0442\u0430\u043a\u043e\u043c \u0434\u0432\u0438\u0436\u043a\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b.<\/p>\n<h3>\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438<\/h3>\n<p>\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e Docker-\u043e\u0431\u0440\u0430\u0437\u0430 (\u043e\u0434\u0438\u043d \u0445\u043e\u043b\u043e\u0434\u043d\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u043e):<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u041f\u0440\u043e\u0435\u043a\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u042f\u0437\u044b\u043a<\/p>\n<\/th>\n<th>\n<p align=\"left\">LOC<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0423\u0437\u043b\u043e\u0432<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412\u0440\u0435\u043c\u044f<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">apache\/superset<\/p>\n<\/td>\n<td>\n<p align=\"left\">python<\/p>\n<\/td>\n<td>\n<p align=\"left\">399 519<\/p>\n<\/td>\n<td>\n<p align=\"left\">156 251<\/p>\n<\/td>\n<td>\n<p align=\"left\">148.7s<\/p>\n<\/td>\n<td>\n<p align=\"left\">84%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">colinhacks\/zod<\/p>\n<\/td>\n<td>\n<p align=\"left\">typescript<\/p>\n<\/td>\n<td>\n<p align=\"left\">74 194<\/p>\n<\/td>\n<td>\n<p align=\"left\">8 741<\/p>\n<\/td>\n<td>\n<p align=\"left\">19.0s<\/p>\n<\/td>\n<td>\n<p align=\"left\">91%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">gin-gonic\/gin<\/p>\n<\/td>\n<td>\n<p align=\"left\">go<\/p>\n<\/td>\n<td>\n<p align=\"left\">23 672<\/p>\n<\/td>\n<td>\n<p align=\"left\">7 227<\/p>\n<\/td>\n<td>\n<p align=\"left\">13.9s<\/p>\n<\/td>\n<td>\n<p align=\"left\">100%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">gohugoio\/hugo<\/p>\n<\/td>\n<td>\n<p align=\"left\">go<\/p>\n<\/td>\n<td>\n<p align=\"left\">224 821<\/p>\n<\/td>\n<td>\n<p align=\"left\">34 809<\/p>\n<\/td>\n<td>\n<p align=\"left\">112.7s<\/p>\n<\/td>\n<td>\n<p align=\"left\">99%<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">BurntSushi\/ripgrep<\/p>\n<\/td>\n<td>\n<p align=\"left\">rust<\/p>\n<\/td>\n<td>\n<p align=\"left\">50 275<\/p>\n<\/td>\n<td>\n<p align=\"left\">9 612<\/p>\n<\/td>\n<td>\n<p align=\"left\">113.1s<\/p>\n<\/td>\n<td>\n<p align=\"left\">99%<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c<\/h3>\n<pre><code class=\"bash\">pip install \"graphlens-cli[python]\"graphlens analyze . --output graph.jsongraphlens visualize .<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<ul>\n<li>\n<p><strong>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439:<\/strong> <a href=\"https:\/\/github.com\/Neko1313\/graphlens\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/Neko1313\/graphlens<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f:<\/strong> <a href=\"https:\/\/Neko1313.github.io\/graphlens\/\" rel=\"noopener noreferrer nofollow\">https:\/\/Neko1313.github.io\/graphlens\/<\/a><\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f:<\/strong> Python 3.13+. \u0422\u0443\u043b\u0447\u0435\u0439\u043d\u044b \u0434\u043b\u044f Python (<code>ty<\/code>) \u0438 TypeScript (Node) \u0441\u0442\u0430\u0432\u044f\u0442\u0441\u044f \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e; \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b Go \u0438 Rust \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Docker-\u043e\u0431\u0440\u0430\u0437.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0434\u0438\u043d\u0443\u044e, \u0442\u043e\u0447\u043d\u0443\u044e, \u044f\u0437\u044b\u043a\u043e-\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0442\u043e\u0433\u043e, \u00ab\u043a\u0430\u043a \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u044d\u0442\u0430 \u043a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430\u00bb, \u2014 graphlens \u043e\u0442\u0434\u0430\u0451\u0442 \u0440\u043e\u0432\u043d\u043e \u044d\u0442\u043e. \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438, issue \u0438 \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0448\u0435\u043d\u0430\u043c \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u043e\u0432.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1050204\/\">https:\/\/habr.com\/ru\/articles\/1050204\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041b\u044e\u0431\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u00ab\u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0443\u043f\u0438\u0440\u0430\u043b\u0441\u044f \u0432 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0441\u0442\u0435\u043d.\u041f\u0435\u0440\u0432\u0430\u044f \u2014 \u0446\u0438\u043a\u043b \u00abgrep \u2192 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u2192 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u2192 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043f\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0443 \u2192 \u0441\u043d\u043e\u0432\u0430 grep\u00bb. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u0438 \u0443 \u043d\u0435\u0433\u043e \u043d\u0435\u0442 \u043d\u0438 \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e process_order, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u0432 services.py \u2014 \u044d\u0442\u043e \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 process_order, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437 api.py, \u0430 \u043d\u0435 \u043e\u0434\u043d\u043e\u0444\u0430\u043c\u0438\u043b\u0435\u0446 \u0438\u0437 tests\/. \u041a\u043e\u0433\u0434\u0430 \u044d\u0442\u0438\u043c \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f LLM-\u0430\u0433\u0435\u043d\u0442, \u043e\u043d \u0435\u0449\u0451 \u0438 \u0441\u0436\u0438\u0433\u0430\u0435\u0442 \u043d\u0430 \u044d\u0442\u043e\u043c \u0442\u043e\u043d\u043d\u0443 \u0442\u043e\u043a\u0435\u043d\u043e\u0432.\u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0435\u043d\u0430 \u2014 \u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 Python, \u043d\u043e \u0441\u043b\u0435\u043f\u043d\u0435\u0442 \u0432 \u0442\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043a\u043e\u0433\u0434\u0430 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043d\u0430 TypeScript \u0434\u0451\u0440\u0433\u0430\u0435\u0442 \u0440\u0443\u0447\u043a\u0443 FastAPI \u043d\u0430 Python. \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u043b\u0438\u0433\u043b\u043e\u0442\u043d\u044b. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u043e\u043a\u0440\u0443\u0433 \u043d\u0438\u0445 \u2014 \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435\u0442.graphlens \u2014 \u044d\u0442\u043e open-source \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a (MIT), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0439\u0442\u0438 \u043e\u0431\u0435 \u0441\u0442\u0435\u043d\u044b. \u041e\u043d \u043f\u0430\u0440\u0441\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0432 \u043e\u0431\u0449\u0438\u0439 \u0433\u0440\u0430\u0444-IR \u0438 \u043e\u0442\u0434\u0430\u0451\u0442 \u044d\u0442\u043e\u0442 \u0433\u0440\u0430\u0444 \u0432\u0430\u043c \u2014 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0441 \u043d\u0438\u043c \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435: \u0430\u043d\u0430\u043b\u0438\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e, \u043f\u043e\u0438\u0441\u043a \u043c\u0451\u0440\u0442\u0432\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0438\u043b\u0438 \u043f\u043e\u0434\u0430\u0447\u0443 \u0442\u043e\u0447\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u043e\u0432 LLM-\u0430\u0433\u0435\u043d\u0442\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u0430\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442.Repository \u2192 Language Adapter \u2192 GraphLens (IR) \u2192 Graph Backend\u0421\u043b\u043e\u0439\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u044cLanguage Adapter\u041f\u0430\u0440\u0441\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 GraphLensGraphLens\u0422\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0443\u0437\u043b\u044b + \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0432\u044f\u0437\u0438 \u2014 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435Graph Backend\u0425\u0440\u0430\u043d\u0438\u0442 \u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0433\u0440\u0430\u0444 (Neo4j, in-memory, \u0432\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439)\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435: \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u2014 \u0447\u0438\u0441\u0442\u044b\u0435 \u043f\u0440\u043e\u0434\u044e\u0441\u0435\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445. \u041e\u043d\u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u0438\u0448\u0443\u0442 \u0432 \u0431\u0430\u0437\u0443, \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0447\u0442\u0435\u043d\u0438\u044f, \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u044e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440. \u0413\u0440\u0430\u0444 \u2014 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0445\u043e\u0434. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0441\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f.\u041f\u0435\u0440\u0432\u044b\u0439 \u0433\u0440\u0430\u0444 \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434pip install &#171;graphlens-cli[python]&#187;graphlens analyze .\/my-projectgraphlens \u00b7 my-project  nodes:      1240  relations:  3981  resolver:   oknodes by kind        relations by kind  FUNCTION    410       CONTAINS    980  METHOD      265       DECLARES    870  CLASS        98       CALLS       640  MODULE       54       REFERENCES  410\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438\u0437 Python:from pathlib import Pathfrom graphlens import adapter_registryadapter = adapter_registry.load(&#171;python&#187;)()graph = adapter.analyze(Path(&#171;.\/my-project&#187;))print(len(graph.nodes), &#171;\u0443\u0437\u043b\u043e\u0432,&#187;, len(graph.relations), &#171;\u0441\u0432\u044f\u0437\u0435\u0439&#187;)fn = graph.nodes_by_name(&#171;process_order&#187;)[0]print(&#171;\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437:&#187;, [n.name for n in graph.callers(fn.id)])\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0451\u0431\u0440\u0430 \u0433\u0440\u0430\u0444\u0430 \u2014 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435, \u0430 \u043d\u0435 \u0434\u043e\u0433\u0430\u0434\u043a\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043b\u0451\u0433\u043a\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u00ab\u043a\u043e\u0434 \u2192 \u0433\u0440\u0430\u0444\u00bb \u0440\u0435\u0437\u043e\u043b\u0432\u044f\u0442 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0438: \u0432\u0438\u0434\u0438\u043c \u0432\u044b\u0437\u043e\u0432 save() \u2014 \u0440\u0438\u0441\u0443\u0435\u043c \u0440\u0435\u0431\u0440\u043e \u043a\u043e \u0432\u0441\u0435\u043c\u0443, \u0447\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f save. \u0411\u044b\u0441\u0442\u0440\u043e \u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u043e \u2014 \u0432 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u0435 \u0442\u0430\u043a\u0438\u0445 save \u043e\u0431\u044b\u0447\u043d\u043e \u0441 \u0434\u0435\u0441\u044f\u0442\u043e\u043a.graphlens \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430 \u0434\u0432\u0430 \u044d\u0442\u0430\u043f\u0430:Tree-sitter \u043f\u0430\u0440\u0441\u0438\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e (CST), \u0434\u0430\u0451\u0442 \u0442\u043e\u0447\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0438 1-based \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0441\u043f\u0430\u043d\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 use-site \u043e\u043d \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u043a\u0430\u043a occurrence \u0441 \u0440\u043e\u043b\u044c\u044e (\u0432\u044b\u0437\u043e\u0432 \/ \u0447\u0442\u0435\u043d\u0438\u0435 \/ \u0437\u0430\u043f\u0438\u0441\u044c \/ \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f \/ \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441).\u0417\u0430\u0442\u0435\u043c type-aware \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0439 \u0434\u043b\u044f \u044f\u0437\u044b\u043a\u0430, \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 definition_at(file, line, col) \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e occurrence. \u0420\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u0440\u0435\u0431\u0440\u043e\u043c \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0443\u0437\u043b\u0443-\u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0438.\u042f\u0437\u044b\u043a\u0420\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0414\u0432\u0438\u0436\u043e\u043aPythonTyResolverty (Astral, \u043d\u0430 Rust) \u0447\u0435\u0440\u0435\u0437 LSPTypeScriptTsResolverTypeScript Compiler API (Node-\u0441\u0443\u0431\u043f\u0440\u043e\u0446\u0435\u0441\u0441)GoGoplsResolvergoplsRustRustAnalyzerResolverrust-analyzer\u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0431\u0440\u043e CALLS \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, HAS_TYPE \u2014 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, INHERITS_FROM \u2014 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441. \u042d\u0442\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u00ab\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e\u00bb \u0438 \u00ab\u0441\u0432\u044f\u0437\u0430\u043d\u043e\u00bb.\u0427\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u044b\u0445 \u0441\u0431\u043e\u0435\u0432\u0422\u0438\u043f\u043e\u0432\u043e\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u2014 \u0442\u0443\u043b\u0447\u0435\u0439\u043d \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0444\u0430\u0439\u043b \u043d\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0442\u0438\u043f\u043e\u0432. \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u0438\u0445\u043e\u0439 \u0432\u044b\u0434\u0430\u0447\u0438 \u043d\u0430\u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430 graphlens \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:from graphlens import RESOLVER_STATUS_KEYgraph.metadata[RESOLVER_STATUS_KEY]   # &#8216;ok&#8217; | &#8216;degraded&#8217; | &#8216;unavailable&#8217;\u0421\u0442\u0430\u0442\u0443\u0441\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435oktype-aware \u0441\u043b\u043e\u0439 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0434\u043e \u043a\u043e\u043d\u0446\u0430degraded\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f, \u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0443\u043f\u0430\u043b\u0430unavailable\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u043b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u0442 \u0442\u0443\u043b\u0447\u0435\u0439\u043d\u0430)\u0412 CI \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f &#8212;strict \u2014 \u0438 \u043b\u044e\u0431\u043e\u0439 \u0441\u0442\u0430\u0442\u0443\u0441, \u043a\u0440\u043e\u043c\u0435 ok, \u0440\u043e\u043d\u044f\u0435\u0442 \u0441\u0431\u043e\u0440\u043a\u0443. \u0422\u0430\u043a \u0430\u0433\u0435\u043d\u0442 \u0438\u043b\u0438 \u0434\u0430\u0448\u0431\u043e\u0440\u0434 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0433\u0440\u0430\u0444, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043d\u0435\u043f\u043e\u043b\u043e\u043d.\u041c\u043e\u0434\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430\u0423\u0437\u043b\u044b (PROJECT, MODULE, FILE, CLASS, METHOD, FUNCTION, PARAMETER, VARIABLE, ATTRIBUTE, TYPE_ALIAS, IMPORT, DEPENDENCY, EXTERNAL_SYMBOL, BOUNDARY) \u2014 \u044d\u0442\u043e frozen-dataclass\u2019\u044b \u0441 id, \u0432\u0438\u0434\u043e\u043c (kind), \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u043f\u0443\u0442\u0451\u043c \u043a \u0444\u0430\u0439\u043b\u0443, \u0441\u043f\u0430\u043d\u043e\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438.\u0421\u0432\u044f\u0437\u0438 \u2014 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430:\u0412\u0438\u0434\u0421\u043c\u044b\u0441\u043bCONTAINS \/ DECLARES\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u0430\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044fIMPORTS \/ RESOLVES_TO\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0438 \u043a\u0443\u0434\u0430 \u043e\u043d\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044fCALLS \/ REFERENCES \/ INHERITS_FROM \/ HAS_TYPE\u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 type-aware \u0440\u0451\u0431\u0440\u0430DEPENDS_ON\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c-\u043f\u0430\u043a\u0435\u0442EXPOSES \/ CONSUMES \/ COMMUNICATES_WITH\u043c\u0435\u0436\u044a\u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430 (CONTAINS, DECLARES, IMPORTS, DEPENDS_ON) \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u0441\u0435\u0433\u0434\u0430. \u0420\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 (CALLS, REFERENCES, INHERITS_FROM, HAS_TYPE) \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043e\u0442 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430, \u0438 \u0438\u0445 \u043f\u043e\u043b\u043d\u043e\u0442\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0430.\u0414\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 IDID \u0443\u0437\u043b\u0430 \u2014 \u044d\u0442\u043e SHA-256 \u043e\u0442 project::kind::qualified_name:from graphlens import make_node_idmake_node_id(&#171;my-project&#187;, &#171;my.module.func&#187;, &#171;FUNCTION&#187;)# \u2192 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 id \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u043a\u0430\u043d\u0435, \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 ID \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u0438, \u0430 \u043d\u0435 \u043e\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u0451\u0442 \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435 ID. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u043c\u0438 graph.diff(other) \u0438 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u0440\u0430\u0444 \u0432 CI.\u0424\u0438\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443 \u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432: \u043c\u0435\u0436\u044a\u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b\u041c\u043e\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0447\u0430\u0441\u0442\u044c. \u0410\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u044d\u043c\u0438\u0442\u044f\u0442 \u044f\u0437\u044b\u043a\u043e-\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0443\u0437\u043b\u044b BOUNDARY \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u2014 HTTP-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0442\u043e\u043f\u0438\u043a\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u0435\u0439, gRPC-\u043c\u0435\u0442\u043e\u0434\u044b, Temporal-\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u2014 \u0441 \u0440\u0435\u0431\u0440\u043e\u043c EXPOSES (\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440) \u0438\u043b\u0438 CONSUMES (\u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c).ID \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u2014 \u044d\u0442\u043e make_boundary_id(mechanism, key), \u0438 \u0432 \u043d\u0451\u043c \u043d\u0435\u0442 \u043d\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0438 \u044f\u0437\u044b\u043a\u0430. HTTP-\u043f\u0443\u0442\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u0430\u043a, \u0447\u0442\u043e \/users\/1, \/users\/{user_id} (FastAPI), &lt;int:id&gt; (Flask) \u0438 :id (Express) \u0441\u0445\u043b\u043e\u043f\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u044e\u0447 GET \/users\/{}.\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: \u043c\u0430\u0440\u0448\u0440\u0443\u0442 FastAPI \u043d\u0430 Python \u0438 fetch \u043d\u0430 TypeScript \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u0443 \u0434\u0430\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 boundary-ID. \u0421\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0432\u0430 \u0433\u0440\u0430\u0444\u0430, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c graphlens-link \u2014 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0451\u0431\u0440\u0430 COMMUNICATES_WITH, \u043f\u0435\u0440\u0435\u0448\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u044f\u0437\u044b\u043a\u043e\u0432\u0443\u044e \u0433\u0440\u0430\u043d\u0438\u0446\u0443:from graphlens import adapter_registryfrom graphlens_link import link_graphpy = adapter_registry.load(&#171;python&#187;)().analyze(python_project)ts = adapter_registry.load(&#171;typescript&#187;)().analyze(typescript_project)merged = pymerged.merge(ts, allow_shared=True)   # \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 BOUNDARY-\u0443\u0437\u043b\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442result = link_graph(merged)           # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0451\u0431\u0440\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c \u2192 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440print(result.relations_added, &#171;\u0440\u0451\u0431\u0435\u0440 COMMUNICATES_WITH \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e&#187;)\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u00ab\u043a\u0430\u043a\u0438\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0430 \u0431\u044c\u044e\u0442 \u0432 \u044d\u0442\u043e\u0442 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442?\u00bb \u2014 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u043d\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c.\u041f\u044f\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f\u041a\u0430\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u2014 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0430\u0434\u0430\u043f\u0442\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c GraphLens, \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c: callers, callees, references, \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438 (neighbors), \u0434\u0438\u0444\u0444\u044b, round-trip \u0432 JSON, \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u0433\u0440\u0430\u0444\u043e\u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432.\u0418\u0437 CLI \u2014 \u043f\u044f\u0442\u044c \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438:graphlens analyze .\/repo &#8212;output graph.json   # \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044fgraphlens query process_order -g graph.json &#8212;op callersgraphlens visualize .\/repo                      # \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 HTML \u043d\u0430 vis.jsgraphlens neo4j .\/repo &#8212;uri bolt:\/\/localhost:7687graphlens mcp &#8212;graph graph.json                # \u043e\u0442\u0434\u0430\u0442\u044c \u0430\u0433\u0435\u043d\u0442\u0430\u043c\u0412 CI \u2014 &#8212;strict \u043f\u043b\u044e\u0441 Docker-\u043e\u0431\u0440\u0430\u0437 (ghcr.io\/neko1313\/graphlens) \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430\u043c\u0438 \u0438 \u0442\u0443\u043b\u0447\u0435\u0439\u043d\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438. \u0418\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 push, \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0433\u0440\u0430\u0444 \u043a\u0430\u043a \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442, \u0440\u043e\u043d\u044f\u0435\u043c \u0441\u0431\u043e\u0440\u043a\u0443 \u043d\u0430 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0432\u0448\u0435\u043c \u0433\u0440\u0430\u0444\u0435.LLM-\u0430\u0433\u0435\u043d\u0442\u0430\u043c \u0447\u0435\u0440\u0435\u0437 MCP \u2014 graphlens mcp \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444 \u043a\u0430\u043a \u043d\u0430\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 Model Context Protocol (stats, find, callers, callees, references, neighbors, boundaries, communicates_with). \u0412\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u0430\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b \u0432 \u043f\u0440\u043e\u043c\u043f\u0442 \u0430\u0433\u0435\u043d\u0442 \u0437\u0430\u0434\u0430\u0451\u0442 \u0442\u043e\u0447\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u2014 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 \u0440\u0451\u0431\u0440\u0430, \u0430 \u043d\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u043d\u0430\u0443\u0433\u0430\u0434. \u042d\u0442\u043e \u043f\u0440\u044f\u043c\u043e\u0439 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0431\u043e\u043b\u044c \u00ab\u0430\u0433\u0435\u043d\u0442 \u0436\u0436\u0451\u0442 \u0442\u043e\u043a\u0435\u043d\u044b, \u0431\u0435\u0433\u0430\u044f grep\u2019\u043e\u043c \u043f\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e\u00bb.\u041a\u0430\u043a \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 Neo4j \u2014 \u043f\u0440\u044f\u043c\u043e \u0432 \u0433\u0440\u0430\u0444\u043e\u0432\u0443\u044e \u0411\u0414 \u0447\u0435\u0440\u0435\u0437 UNWIND \u2026 MERGE (\u0431\u0435\u0437 APOC), \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e.\u041f\u043b\u0430\u0433\u0438\u043d\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430: \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u00ab\u0434\u0438\u0430\u043b\u0435\u043a\u0442\u043e\u0432 SQLAlchemy\u00bb\u042f\u0434\u0440\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0430\u0434\u0430\u043f\u0442\u0435\u0440. \u041a\u0430\u0436\u0434\u044b\u0439 \u044f\u0437\u044b\u043a \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u0435\u0431\u044f \u0447\u0435\u0440\u0435\u0437 Python entry points:[project.entry-points.&#187;graphlens.adapters&#187;]python = &#171;graphlens_python:PythonAdapter&#187;\u0412\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0435\u0441\u0442\u0440, \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u0438:adapter_registry.available()        # [&#8216;python&#8217;, &#8216;typescript&#8217;, &#8230;]adapter = adapter_registry.load(&#171;python&#187;)()\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u2014 \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442 \u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442 LanguageAdapter. \u042f\u0434\u0440\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.\u0427\u0435\u043c graphlens \u0441\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f\u041e\u0431\u043b\u0430\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0443\u0437\u043a\u0430\u044f, \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u044d\u0442\u043e \u044f\u0432\u043d\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442. graphlens \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0433\u0440\u0430\u0444-IR \u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041e\u043d \u043d\u0435:\u0445\u0440\u0430\u043d\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438 \u043d\u0435 \u0432\u043b\u0430\u0434\u0435\u0435\u0442 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0431\u044d\u043a\u0435\u043d\u0434\u044b \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043b\u043e\u0439);\u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 (\u0441\u043a\u0430\u043d \u2014 \u0447\u0438\u0441\u0442\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e\u0442 \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432; \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 ID \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u0434);\u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u0438, \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u0438\u043b\u0438 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0441\u0442\u0438 (\u0433\u0440\u0430\u0444 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0438 type-aware, \u0430 \u043d\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441);\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 UI \u0438\u043b\u0438 runtime \u0434\u043b\u044f \u0430\u0433\u0435\u043d\u0442\u0430 (visualize \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 HTML, mcp \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u2014 \u043d\u0438 \u0442\u043e, \u043d\u0438 \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u043e\u043b\u0433\u043e\u0436\u0438\u0432\u0443\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441).\u0412\u0441\u0451 \u044d\u0442\u043e \u2014 \u0437\u0430\u0434\u0430\u0447\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445 graphlens. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u043c.\u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u00ab\u0432\u0441\u0451-\u0432-\u043e\u0434\u043d\u043e\u043c\u00bb \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 (\u0432\u0440\u043e\u0434\u0435 codegraph), \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0441\u043b\u043e\u0435: graphlens \u2014 \u044d\u0442\u043e \u0434\u0432\u0438\u0436\u043e\u043a \u0438 \u0442\u043e\u0447\u043d\u0430\u044f \u043c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0433\u0440\u0430\u0444\u0430 \u0441 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430\u043c\u0438, \u0430 \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c \u0438 file-watcher\u2019\u043e\u043c. \u041d\u0430 \u0442\u0430\u043a\u043e\u043c \u0434\u0432\u0438\u0436\u043a\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b.\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438\u041f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e Docker-\u043e\u0431\u0440\u0430\u0437\u0430 (\u043e\u0434\u0438\u043d \u0445\u043e\u043b\u043e\u0434\u043d\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u043e\u0447\u043d\u043e):\u041f\u0440\u043e\u0435\u043a\u0442\u042f\u0437\u044b\u043aLOC\u0423\u0437\u043b\u043e\u0432\u0412\u0440\u0435\u043c\u044f\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043eapache\/supersetpython399 519156 251148.7s84%colinhacks\/zodtypescript74 1948 74119.0s91%gin-gonic\/gingo23 6727&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-484450","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/484450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=484450"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/484450\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=484450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=484450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=484450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}