klapcontext 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {klapcontext-0.3.2/src/klapcontext.egg-info → klapcontext-0.3.3}/PKG-INFO +1 -1
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/__init__.py +1 -1
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/portal.py +5 -5
- {klapcontext-0.3.2 → klapcontext-0.3.3/src/klapcontext.egg-info}/PKG-INFO +1 -1
- {klapcontext-0.3.2 → klapcontext-0.3.3}/tests/test_klapcontext.py +2 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/LICENSE +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/README.md +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/pyproject.toml +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/setup.cfg +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/__init__.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/capabilities.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/compiler.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/impact.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/intents.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/models.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/planner.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/verification.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent/workflows.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/agent_context.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/cli.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/context_builder.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/detector.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/evidence.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/__init__.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/base.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/fastapi.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/generic_php.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/laravel.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/frameworks/node.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/git.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/graphify.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/__init__.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/base.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/code_intelligence.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/graphify.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/javascript_intelligence.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/python_intelligence.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/semantic.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/system.py +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext.egg-info/SOURCES.txt +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext.egg-info/dependency_links.txt +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext.egg-info/entry_points.txt +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext.egg-info/requires.txt +0 -0
- {klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext.egg-info/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ def system_map(interactions: dict) -> str:
|
|
|
43
43
|
if edge.get("source") in points and edge.get("target") in points
|
|
44
44
|
)
|
|
45
45
|
boxes = "".join(
|
|
46
|
-
f"<g class='map-node'><rect x='{points[node['name']][0] - 65}' y='{points[node['name']][1] - 24}' width='130' height='48' rx='8'/>"
|
|
46
|
+
f"<g class='map-node' tabindex='0' role='button' data-node='{e(node['name'])}' data-kind='{e(node.get('type', 'componente'))}'><rect x='{points[node['name']][0] - 65}' y='{points[node['name']][1] - 24}' width='130' height='48' rx='8'/>"
|
|
47
47
|
f"<text x='{points[node['name']][0]}' y='{points[node['name']][1] - 2}'>{e(node['name'])[:18]}</text>"
|
|
48
48
|
f"<text class='map-kind' x='{points[node['name']][0]}' y='{points[node['name']][1] + 13}'>{e(node.get('type', 'componente'))[:18]}</text></g>"
|
|
49
49
|
for node in nodes
|
|
@@ -113,10 +113,10 @@ def render(context: dict, agent_text: str, graphify_files: list[str]) -> str:
|
|
|
113
113
|
</section>
|
|
114
114
|
<section class='map-card' aria-label='Mapa de interacción del sistema'><header><div><span class='icon'>⌘</span><div><h2>Mapa del sistema</h2><p>Componentes, relaciones y puntos de entrada en una sola lectura.</p></div></div><button class='outline' data-go='tecnico'>Explorar evidencia <span>→</span></button></header>{system_map(system.get('system_interactions', {}))}</section>
|
|
115
115
|
<section class='quick-grid'>
|
|
116
|
-
<article><b>{len(points)}</b><span>Puntos de entrada</span><small>CLI, HTTP, archivos o scheduler</small></article>
|
|
117
|
-
<article><b>{len(flows)}</b><span>Flujos principales</span><small>Procesos y secuencias detectadas</small></article>
|
|
118
|
-
<article><b>{len(evidence)}</b><span>Hechos confirmados</span><small>Con respaldo en el código</small></article>
|
|
119
|
-
<article class='attention'><b>{len(unknowns)}</b><span>
|
|
116
|
+
<article data-go='entradas'><b>{len(points)}</b><span>Puntos de entrada</span><small>CLI, HTTP, archivos o scheduler</small></article>
|
|
117
|
+
<article data-go='flujos'><b>{len(flows)}</b><span>Flujos principales</span><small>Procesos y secuencias detectadas</small></article>
|
|
118
|
+
<article data-go='evidencia'><b>{len(evidence)}</b><span>Hechos confirmados</span><small>Con respaldo en el código</small></article>
|
|
119
|
+
<article class='attention' data-go='evidencia'><b>{len(unknowns)}</b><span>Pendientes de validar</span><small>Aspectos con evidencia insuficiente</small></article>
|
|
120
120
|
</section>
|
|
121
121
|
<section class='dashboard-bottom'><div class='compact-panel'><header><h2>Cómo se ejecuta</h2><button class='text-button' data-go='entradas'>Ver entradas →</button></header><div class='surfaces'>{surface_cards}</div></div>
|
|
122
122
|
<div class='compact-panel'><header><h2>Lectura recomendada</h2><button class='text-button' data-go='flujos'>Ver flujos →</button></header><ul class='start-list'>{start_rows}</ul></div></section>
|
|
@@ -71,6 +71,8 @@ def test_portal_has_dashboard_and_real_views(tmp_path):
|
|
|
71
71
|
assert "data-view='flujos'" in page
|
|
72
72
|
assert "data-go='evidencia'" in page
|
|
73
73
|
assert "Copiar contexto" in page
|
|
74
|
+
assert "data-go='entradas'" in page
|
|
75
|
+
assert "data-node=" in page or "map-empty" in page
|
|
74
76
|
|
|
75
77
|
|
|
76
78
|
def test_cli_and_portal_ignore_scalar_stack_metadata(tmp_path, monkeypatch, capsys):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{klapcontext-0.3.2 → klapcontext-0.3.3}/src/klapcontext/providers/javascript_intelligence.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|