code-context-engine 0.4.2__py3-none-any.whl → 0.4.4__py3-none-any.whl
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.
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/METADATA +1 -1
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/RECORD +9 -9
- context_engine/__init__.py +3 -1
- context_engine/cli.py +4 -4
- context_engine/dashboard/server.py +2 -1
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/WHEEL +0 -0
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/entry_points.txt +0 -0
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/licenses/LICENSE +0 -0
- {code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-context-engine
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Index your codebase. AI searches instead of re-reading files. Save 70%+ on tokens. Works with Claude Code, Cursor, VS Code, Gemini CLI, and Codex.
|
|
5
5
|
Author-email: Fazle Elahee <felahee@gmail.com>, Raj <rajkumar.sakti@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
code_context_engine-0.4.
|
|
2
|
-
context_engine/__init__.py,sha256=
|
|
3
|
-
context_engine/cli.py,sha256=
|
|
1
|
+
code_context_engine-0.4.4.dist-info/licenses/LICENSE,sha256=vLbw0GGCVJSIRppMus7Oq0PyMDhDXz-dfvz2rPpWtjQ,1069
|
|
2
|
+
context_engine/__init__.py,sha256=qThGxB7xfZi5M9jDpUno0MKBp7KKrEOdH1hG4wHMuLc,193
|
|
3
|
+
context_engine/cli.py,sha256=KcOO3WSbo8joKcSPJlKKhpVFsnLDIffKmqTLx5PGs14,113198
|
|
4
4
|
context_engine/cli_style.py,sha256=a3l3Smq1gIN2asbNalFUz0i_5x7Tmkp_wEhyGMoo8a4,2460
|
|
5
5
|
context_engine/config.py,sha256=FU8Hn8-9KCLGhjImsMbmV9WGNZyWp_qOtWW4BxI-URQ,7202
|
|
6
6
|
context_engine/editors.py,sha256=LT_WdYwyB1EeH1xsB6DDtJlbGMKXOTIVSOWXOOfXh1U,8970
|
|
@@ -19,7 +19,7 @@ context_engine/compression/prompts.py,sha256=jZnpqhr77uI9R3S0vm3Dj17JYy03AXq24E6
|
|
|
19
19
|
context_engine/compression/quality.py,sha256=F6fyxDdWjq-Hgtw4xFIaE4BqPoJw1W1EQSn3RXDgdHc,1676
|
|
20
20
|
context_engine/dashboard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
context_engine/dashboard/_page.py,sha256=EdFBGlrL-6j3XVpi-TViFJjUHzMvTorH4CDos8w-oMI,70579
|
|
22
|
-
context_engine/dashboard/server.py,sha256=
|
|
22
|
+
context_engine/dashboard/server.py,sha256=N-QVaDCUL1h70QUgKrIy6QhQIedasf0KYHcV5LACZ0U,17437
|
|
23
23
|
context_engine/indexer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
context_engine/indexer/chunker.py,sha256=f0n7gJughdHP1fmMd1sbHAxLmVlCnIq6scHOeGFmBS8,6503
|
|
25
25
|
context_engine/indexer/embedder.py,sha256=jHCybuliTtVyHWJYokA8XfznaDX4I_OZH-_RGA4YDQc,5580
|
|
@@ -56,8 +56,8 @@ context_engine/storage/graph_store.py,sha256=mftuJFvlkFeBlzMsQorY5YS4l5wsDUxCMw5
|
|
|
56
56
|
context_engine/storage/local_backend.py,sha256=5MVoAn6Jkiltho-9BjClisLkyXMkSZZc2Z_h3N7Vfcg,4200
|
|
57
57
|
context_engine/storage/remote_backend.py,sha256=u77lnGIvqrL3PwInjT6nfRgyNn6oVxW92KUK66oWrvI,5504
|
|
58
58
|
context_engine/storage/vector_store.py,sha256=tA0ol_v5B2KRNMt2hE2kI4qnYe_AoYP_HSp1MvzcsFU,14704
|
|
59
|
-
code_context_engine-0.4.
|
|
60
|
-
code_context_engine-0.4.
|
|
61
|
-
code_context_engine-0.4.
|
|
62
|
-
code_context_engine-0.4.
|
|
63
|
-
code_context_engine-0.4.
|
|
59
|
+
code_context_engine-0.4.4.dist-info/METADATA,sha256=CHQ_RdzQCryh6CJi_bUjrPtY2KPxdiZPC5GOuovwTsM,17592
|
|
60
|
+
code_context_engine-0.4.4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
61
|
+
code_context_engine-0.4.4.dist-info/entry_points.txt,sha256=DQuRWUuVFM7nPcXtDmJzlem7QA0IboD_4N8AnTtDD9Q,144
|
|
62
|
+
code_context_engine-0.4.4.dist-info/top_level.txt,sha256=X1-RUqb61WXBjy3JjsW2oXwfvqk2ydXKDNidxmw4CZ4,15
|
|
63
|
+
code_context_engine-0.4.4.dist-info/RECORD,,
|
context_engine/__init__.py
CHANGED
context_engine/cli.py
CHANGED
|
@@ -828,8 +828,8 @@ def status(ctx: click.Context, output_json: bool, oneline: bool) -> None:
|
|
|
828
828
|
served = stats.get("served_tokens", 0)
|
|
829
829
|
queries = stats.get("queries", 0)
|
|
830
830
|
baseline = max(full, raw) if full > 0 else raw
|
|
831
|
-
saved = max(0, baseline - served)
|
|
832
|
-
pct = int(saved / baseline * 100) if baseline > 0 else 0
|
|
831
|
+
saved = max(0, baseline - served) if queries > 0 else 0
|
|
832
|
+
pct = int(saved / baseline * 100) if baseline > 0 and queries > 0 else 0
|
|
833
833
|
lines.append(f" {dim('Queries:')} {value(f'{queries:,}')}")
|
|
834
834
|
lines.append(f" {dim('Full codebase:')} {value(f'{baseline:,}')} {dim('tokens')}")
|
|
835
835
|
lines.append(f" {dim('Served:')} {value(f'{served:,}')} {dim('tokens')}")
|
|
@@ -1249,8 +1249,8 @@ def _run_savings_report(config, *, as_json: bool = False, all_projects: bool = F
|
|
|
1249
1249
|
baseline = max(full_file, raw) if full_file > 0 else raw
|
|
1250
1250
|
served = served_legacy
|
|
1251
1251
|
|
|
1252
|
-
tokens_saved = max(0, baseline - served)
|
|
1253
|
-
saved_pct = int(tokens_saved / baseline * 100) if baseline > 0 else 0
|
|
1252
|
+
tokens_saved = max(0, baseline - served) if queries > 0 else 0
|
|
1253
|
+
saved_pct = int(tokens_saved / baseline * 100) if baseline > 0 and queries > 0 else 0
|
|
1254
1254
|
|
|
1255
1255
|
q_label = "query" if queries == 1 else "queries"
|
|
1256
1256
|
|
|
@@ -142,8 +142,9 @@ def create_app(config: Config, project_dir: Path) -> FastAPI:
|
|
|
142
142
|
|
|
143
143
|
full_file = stats.get("full_file_tokens", 0)
|
|
144
144
|
served = stats.get("served_tokens", 0)
|
|
145
|
+
queries = stats.get("queries", 0)
|
|
145
146
|
baseline = full_file if full_file > 0 else stats.get("raw_tokens", 0)
|
|
146
|
-
saved_pct = max(0, int((1 - served / baseline) * 100)) if baseline > 0 else 0
|
|
147
|
+
saved_pct = max(0, int((1 - served / baseline) * 100)) if baseline > 0 and queries > 0 else 0
|
|
147
148
|
|
|
148
149
|
output_level = state.get("output_level", config.output_compression)
|
|
149
150
|
|
|
File without changes
|
{code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{code_context_engine-0.4.2.dist-info → code_context_engine-0.4.4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|