tensor-grep 1.63.2__tar.gz → 1.63.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.
Potentially problematic release.
This version of tensor-grep might be problematic. Click here for more details.
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/PKG-INFO +1 -1
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/pyproject.toml +2 -1
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/Cargo.lock +1 -1
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/Cargo.toml +2 -1
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/orient_capsule.py +18 -1
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/LICENSE +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/NOTICE +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/README.md +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/deny.toml +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/rust-toolchain.toml +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/backend_ast.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/backend_ast_workflow.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/backend_cpu.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/bin/tg_search_fast.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/cli.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/crossover.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/editor_plane.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/gpu_native.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/index.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/lib.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/main.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/mmap_arrow.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/native_search.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/python_sidecar.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/rg_passthrough.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/routing.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/src/runtime_paths.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_ast_backend.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_ast_cache.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_ast_grep_embed.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_ast_rewrite.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_audit_manifest_symlink_unix.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native_error_handling.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native_graphs.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native_integration.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native_long_lines.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_gpu_native_streams.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_index.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_mmap_arrow.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_native_search.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_output.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_public_native_cli_parity.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_python_bootstrap.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_release_profile.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_replace.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_resident_worker.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_routing.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_runtime_path_resolution.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_schema_compat.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_search.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_search_golden.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_sidecar_ipc.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_smart_routing.rs +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/__main__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/ast_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/ast_wrapper_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/base.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/cpu_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/cudf_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/cybert_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/ripgrep_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/rust_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/stringzilla_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/backends/torch_backend.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/_index_lock.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/agent_capsule.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/apply_policy.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/ast_workflows.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/audit_manifest.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/bootstrap.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/checkpoint_store.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/commands.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/docs_coverage.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/dogfood.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/evidence_receipt.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/base.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/csv_fmt.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/json_fmt.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/ripgrep_fmt.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/formatters/table_fmt.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/inventory.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/lang_go.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/lang_registry.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/lsp_external_provider.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/lsp_provider_setup.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/lsp_server.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/main.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/mcp_server.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/progress.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/repo_map.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/rg_contract.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/rule_packs.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/runtime_paths.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/scan_guardrails.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/session_daemon.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/session_store.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/cli/subprocess_policy.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/config.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/hardware/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/hardware/device_detect.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/hardware/device_inventory.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/hardware/memory_manager.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/observability.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/pipeline.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/query_analyzer.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/registration_check.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/reranker.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/result.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_bm25.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_chunker.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_dense.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_fusion.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_late.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_lexical.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/retrieval_scoring.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/core/semantic_index.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/__init__.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/base.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/directory_scanner.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/reader_cudf.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/reader_dstorage.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/reader_fallback.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/io/reader_kvikio.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/perf_guard.py +0 -0
- {tensor_grep-1.63.2 → tensor_grep-1.63.3}/src/tensor_grep/sidecar.py +0 -0
|
@@ -483,11 +483,12 @@ version_variables = [
|
|
|
483
483
|
|
|
484
484
|
|
|
485
485
|
|
|
486
|
+
|
|
486
487
|
|
|
487
488
|
|
|
488
489
|
[project]
|
|
489
490
|
name = "tensor-grep"
|
|
490
|
-
version = "1.63.
|
|
491
|
+
version = "1.63.3"
|
|
491
492
|
description = "High-performance grep-compatible CLI with Rust, GPU, and AST/NLP routing"
|
|
492
493
|
readme = { file = "rust_core/README.md", content-type = "text/markdown" }
|
|
493
494
|
requires-python = ">=3.11"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "tensor_grep_rs"
|
|
3
|
-
version = "1.63.
|
|
3
|
+
version = "1.63.3"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
description = "Rust core engine for tensor-grep"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -391,6 +391,7 @@ path = "src/bin/tg_search_fast.rs"
|
|
|
391
391
|
|
|
392
392
|
|
|
393
393
|
|
|
394
|
+
|
|
394
395
|
|
|
395
396
|
|
|
396
397
|
[dev-dependencies]
|
|
@@ -194,10 +194,27 @@ def _detect_vendored_subtrees(rm: dict[str, Any]) -> dict[str, dict[str, Any]]:
|
|
|
194
194
|
_code_files, _resolved_imports, reverse_importers = _code_files_and_import_graph(rm)
|
|
195
195
|
code_file_set = set(_code_files)
|
|
196
196
|
|
|
197
|
+
# Precompute each code file's path-parts relative to root ONCE, on the SAME lexical basis the
|
|
198
|
+
# candidate_dirs scan above used (`Path(f).relative_to(root)`; root is already resolved). Subtree
|
|
199
|
+
# membership is then a cheap tuple-prefix test -- NO per-(subtree, file) filesystem resolve. The
|
|
200
|
+
# old `_path_is_relative_to(Path(f), abs_dir)` did two `.resolve()` (realpath) syscalls per pair,
|
|
201
|
+
# i.e. O(subtrees x files) realpath calls: ~15% of `tg agent` wall on an 872-file repo and
|
|
202
|
+
# pathological on WSL 9p mounts (profile 2026-07-11). A file not lexically under root never
|
|
203
|
+
# contributed a candidate dir, so it cannot belong to any detected subtree -- skipping it here is
|
|
204
|
+
# consistent with how the subtrees were found.
|
|
205
|
+
code_rel_parts: list[tuple[str, tuple[str, ...]]] = []
|
|
206
|
+
for f in code_file_set:
|
|
207
|
+
try:
|
|
208
|
+
code_rel_parts.append((f, Path(f).relative_to(root).parts))
|
|
209
|
+
except ValueError:
|
|
210
|
+
continue
|
|
211
|
+
|
|
197
212
|
result: dict[str, dict[str, Any]] = {}
|
|
198
213
|
for rel_dir in subtree_rel_roots:
|
|
199
214
|
abs_dir = root / rel_dir
|
|
200
|
-
|
|
215
|
+
prefix = rel_dir.parts
|
|
216
|
+
depth = len(prefix)
|
|
217
|
+
tree_files = {f for f, parts in code_rel_parts if parts[:depth] == prefix}
|
|
201
218
|
if not tree_files:
|
|
202
219
|
continue
|
|
203
220
|
# An import-island needs POSITIVE evidence of an internally-cohesive-but-externally-isolated
|
|
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
|
{tensor_grep-1.63.2 → tensor_grep-1.63.3}/rust_core/tests/test_audit_manifest_symlink_unix.rs
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
|
|
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
|
|
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
|
|
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
|