java-codebase-rag 0.3.0__tar.gz → 0.3.1__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.
- {java_codebase_rag-0.3.0/java_codebase_rag.egg-info → java_codebase_rag-0.3.1}/PKG-INFO +1 -1
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/pipeline.py +10 -3
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1/java_codebase_rag.egg-info}/PKG-INFO +1 -1
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/pyproject.toml +1 -1
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_java_codebase_rag_cli.py +1 -1
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/LICENSE +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/README.md +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/ast_java.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/brownfield_events.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/build_ast_graph.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/chunk_heuristics.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/graph_enrich.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/index_common.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/__init__.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/cli.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/cli_format.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/cli_progress.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag/config.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/SOURCES.txt +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/dependency_links.txt +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/entry_points.txt +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/requires.txt +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/top_level.txt +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_index_flow_lancedb.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_index_v1_common.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_ontology.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/kuzu_queries.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/mcp_hints.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/mcp_v2.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/path_filtering.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/pr_analysis.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/search_lancedb.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/server.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/setup.cfg +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_agent_skills_static.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_assign_endpoint_client_extraction.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_ast_graph_build.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_ast_java_calls.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_ast_java_capabilities.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_bank_chat_brownfield_integration.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_brownfield_clients.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_brownfield_events.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_brownfield_overrides.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_brownfield_routes.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_edge_matching.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_edges_e2e.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_graph_receiver_resolution.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_graph_smoke_roundtrip.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_invariant.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_cli_progress_stdout_invariant.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_cli_quiet_parity.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_client_hint_recovery.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_client_node_extraction.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_client_role_rename.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_cross_service_resolution_flag.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_edge_navigation_doc.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_feign_not_exposer.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_graph_enrich.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_kuzu_queries.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_lancedb_e2e.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_mcp_hints.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_mcp_tools.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_mcp_v2.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_mcp_v2_compose.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_meta_chain_core.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_outgoing_call_extraction.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_packaging_metadata.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_path_filtering.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_pr_analysis.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_resolve_routes_messaging_layer_c.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_route_extraction.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_schema_consistency.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_search_lancedb.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_search_lancedb_capability.py +0 -0
- {java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_string_value_atoms.py +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
from __future__ import annotations
|
|
3
3
|
|
|
4
4
|
import os
|
|
5
|
+
import shutil
|
|
5
6
|
import subprocess
|
|
6
7
|
import sys
|
|
7
8
|
import threading
|
|
@@ -19,7 +20,13 @@ def bundle_dir() -> Path:
|
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
def cocoindex_bin() -> Path:
|
|
22
|
-
|
|
23
|
+
candidate = Path(sys.executable).parent / "cocoindex"
|
|
24
|
+
if candidate.is_file():
|
|
25
|
+
return candidate
|
|
26
|
+
found = shutil.which("cocoindex")
|
|
27
|
+
if found:
|
|
28
|
+
return Path(found)
|
|
29
|
+
return candidate
|
|
23
30
|
|
|
24
31
|
|
|
25
32
|
class _LineFilter:
|
|
@@ -110,7 +117,7 @@ def run_cocoindex_update(
|
|
|
110
117
|
args=[str(exe)],
|
|
111
118
|
returncode=127,
|
|
112
119
|
stdout="",
|
|
113
|
-
stderr=f"cocoindex not found
|
|
120
|
+
stderr=f"cocoindex not found: {exe}",
|
|
114
121
|
)
|
|
115
122
|
bd = bundle_dir()
|
|
116
123
|
flow = bd / "java_index_flow_lancedb.py"
|
|
@@ -172,7 +179,7 @@ def run_cocoindex_drop(env: dict[str, str], *, quiet: bool) -> subprocess.Comple
|
|
|
172
179
|
args=[str(exe)],
|
|
173
180
|
returncode=127,
|
|
174
181
|
stdout="",
|
|
175
|
-
stderr=f"cocoindex not found
|
|
182
|
+
stderr=f"cocoindex not found: {exe}",
|
|
176
183
|
)
|
|
177
184
|
bd = bundle_dir()
|
|
178
185
|
cmd = [str(exe), "drop", COCOINDEX_TARGET, "-f"]
|
|
@@ -784,7 +784,7 @@ def test_reprocess_vectors_only_setup_failure_returns_exit_2_without_phase(
|
|
|
784
784
|
args=["/nonexistent/cocoindex"],
|
|
785
785
|
returncode=127,
|
|
786
786
|
stdout="",
|
|
787
|
-
stderr="cocoindex not found
|
|
787
|
+
stderr="cocoindex not found",
|
|
788
788
|
)
|
|
789
789
|
|
|
790
790
|
monkeypatch.setattr(cli_mod, "run_cocoindex_update", fake_coco)
|
|
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
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/java_codebase_rag.egg-info/top_level.txt
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_assign_endpoint_client_extraction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_bank_chat_brownfield_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_graph_receiver_resolution.py
RENAMED
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_call_graph_smoke_roundtrip.py
RENAMED
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_cli_progress_stdout_invariant.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_cross_service_resolution_flag.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{java_codebase_rag-0.3.0 → java_codebase_rag-0.3.1}/tests/test_resolve_routes_messaging_layer_c.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|