codebase-index 1.6.0__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.
Files changed (64) hide show
  1. codebase_index/__init__.py +7 -0
  2. codebase_index/__main__.py +3 -0
  3. codebase_index/cli.py +916 -0
  4. codebase_index/config.py +110 -0
  5. codebase_index/discovery/__init__.py +10 -0
  6. codebase_index/discovery/classify.py +151 -0
  7. codebase_index/discovery/ignore.py +58 -0
  8. codebase_index/discovery/walker.py +75 -0
  9. codebase_index/doctor.py +138 -0
  10. codebase_index/embeddings/__init__.py +2 -0
  11. codebase_index/embeddings/backend.py +67 -0
  12. codebase_index/embeddings/external.py +56 -0
  13. codebase_index/embeddings/local.py +41 -0
  14. codebase_index/embeddings/noop.py +15 -0
  15. codebase_index/graph/__init__.py +8 -0
  16. codebase_index/graph/analysis.py +468 -0
  17. codebase_index/graph/builder.py +160 -0
  18. codebase_index/graph/expand.py +136 -0
  19. codebase_index/graph/export.py +381 -0
  20. codebase_index/graph/navigate.py +201 -0
  21. codebase_index/indexer/__init__.py +8 -0
  22. codebase_index/indexer/doc_chunks.py +202 -0
  23. codebase_index/indexer/freshness.py +109 -0
  24. codebase_index/indexer/pipeline.py +423 -0
  25. codebase_index/mcp/__init__.py +2 -0
  26. codebase_index/mcp/server.py +354 -0
  27. codebase_index/models.py +145 -0
  28. codebase_index/output/__init__.py +6 -0
  29. codebase_index/output/json.py +13 -0
  30. codebase_index/output/markdown.py +316 -0
  31. codebase_index/output/redact.py +31 -0
  32. codebase_index/parsers/__init__.py +9 -0
  33. codebase_index/parsers/base.py +47 -0
  34. codebase_index/parsers/languages.py +290 -0
  35. codebase_index/parsers/line_chunker.py +39 -0
  36. codebase_index/parsers/symbol_chunks.py +62 -0
  37. codebase_index/parsers/treesitter.py +439 -0
  38. codebase_index/retrieval/__init__.py +9 -0
  39. codebase_index/retrieval/budget.py +82 -0
  40. codebase_index/retrieval/fusion.py +62 -0
  41. codebase_index/retrieval/intent.py +56 -0
  42. codebase_index/retrieval/pipeline.py +207 -0
  43. codebase_index/retrieval/rerank.py +69 -0
  44. codebase_index/retrieval/searchers.py +291 -0
  45. codebase_index/retrieval/skeleton.py +251 -0
  46. codebase_index/retrieval/types.py +79 -0
  47. codebase_index/scaffold.py +399 -0
  48. codebase_index/service.py +158 -0
  49. codebase_index/skill_template/SKILL.md +198 -0
  50. codebase_index/skill_template/examples/hooks/settings.json +16 -0
  51. codebase_index/skill_template/scripts/cbx +25 -0
  52. codebase_index/skill_template/scripts/cbx.ps1 +25 -0
  53. codebase_index/skill_update.py +150 -0
  54. codebase_index/storage/__init__.py +8 -0
  55. codebase_index/storage/db.py +116 -0
  56. codebase_index/storage/repo.py +701 -0
  57. codebase_index/storage/schema.sql +125 -0
  58. codebase_index/watch/__init__.py +5 -0
  59. codebase_index/watch/watcher.py +93 -0
  60. codebase_index-1.6.0.dist-info/METADATA +748 -0
  61. codebase_index-1.6.0.dist-info/RECORD +64 -0
  62. codebase_index-1.6.0.dist-info/WHEEL +4 -0
  63. codebase_index-1.6.0.dist-info/entry_points.txt +4 -0
  64. codebase_index-1.6.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,64 @@
1
+ codebase_index/__init__.py,sha256=VbeHzsDC-8zsHbnsIqV3Xu0VSV3DWQ5PFLmsMzMx72w,240
2
+ codebase_index/__main__.py,sha256=wcCrL4PjG51r5wVKqJhcoJPTLfHW0wNbD31DrUN0MWI,28
3
+ codebase_index/cli.py,sha256=LFPiVLmFJqrnbVftwbAZ8To770dhrKharGCNKfdxS8k,33910
4
+ codebase_index/config.py,sha256=y7SknnGEp0vc5xM4N8LO_GAxi42x2IL8sRGYFWowrdY,3661
5
+ codebase_index/doctor.py,sha256=bbCxYRkcXWFsqkBKBbw4G62QtYkFgsa6Rnh_LOlfC98,4561
6
+ codebase_index/models.py,sha256=I7utn69BVgUoAyivWt525NBkccm58wQm9FMpe4pRiEI,4204
7
+ codebase_index/scaffold.py,sha256=ZCv5vNJornLDzxxVM9-bPsk7uFQ6kTOaFwldhNyB1BM,14159
8
+ codebase_index/service.py,sha256=5-bsd5MmRGU9GKul2guy31ccsZhzHBoeG7rLeHHdH3Q,5474
9
+ codebase_index/skill_update.py,sha256=h8h_sDBXFklw5BSYbj4tuLp4O297nZWSXvEXsf7hiD8,4763
10
+ codebase_index/discovery/__init__.py,sha256=ktlylA5XvkPsDtPDjaw8E4PVByedhfNY186B7T0bUmk,518
11
+ codebase_index/discovery/classify.py,sha256=JnLuCjF1IV64PbyIi4gdl6hgJgRnuIceSvVBYOkFPpA,4366
12
+ codebase_index/discovery/ignore.py,sha256=Zb9nqCylrFfj9SdW-4gGuR5QZUU-YoVGU63sZCAHlQE,1578
13
+ codebase_index/discovery/walker.py,sha256=kAvCTydNQK7N2IELGPIg5BY7EQcpNmowyiRisOOeOR8,2025
14
+ codebase_index/embeddings/__init__.py,sha256=PX6EU4E8ehTFq4TRl8z3THX0YSAtIcRqZesKtZtTcvE,155
15
+ codebase_index/embeddings/backend.py,sha256=a1khOpgJ1m1eKnFwlZSm5ORO3gD-PrESuMLup8PHfLE,2348
16
+ codebase_index/embeddings/external.py,sha256=4bKUCf8eWldRt9eLiq73ac2BYczSWh4t1A7wH6auEpc,1877
17
+ codebase_index/embeddings/local.py,sha256=nUipSgrykSIAiCQbtfkhGZxpflxS3rDeaCO20OSF-zI,1505
18
+ codebase_index/embeddings/noop.py,sha256=jDjwP-xwVPWwYz8orzeHUnae2Nf84bGrqTL4xhfpgP0,408
19
+ codebase_index/graph/__init__.py,sha256=cB8af0UI5x-0wpxRg60yvBL8-TISCi9Pozs6A4kMkc4,468
20
+ codebase_index/graph/analysis.py,sha256=c8qEbbGpmaqFaQNJSbKDB9IBeSzNiLw1RLKi6pr32qk,18047
21
+ codebase_index/graph/builder.py,sha256=vqwC-JsQ32RjGiEIkpA_xpkvW0x41IJUHYwBgKlyaUM,6433
22
+ codebase_index/graph/expand.py,sha256=KwSSri1IYf-hjDYOaieiCZ5O9TaHKDiSpGn2yUZGRRo,4978
23
+ codebase_index/graph/export.py,sha256=CGOkVsZsIumVxUZyAO-TD-5St6y_sDg8iF0XzKfD0yU,16693
24
+ codebase_index/graph/navigate.py,sha256=TLM3PLB2hHE0UjND-8DGTqT5KPXEtmKi_rzqKcygmxs,7947
25
+ codebase_index/indexer/__init__.py,sha256=3CIz9VcITl_TQdQ6sU1vqsTtd0LFov6PButuTTn3cGE,482
26
+ codebase_index/indexer/doc_chunks.py,sha256=dl3UhkIhXT-DrT9uFIoDd5g_k-PgDAIhLllvMpF8afE,6913
27
+ codebase_index/indexer/freshness.py,sha256=YCm-PC-iHJD2G19NXwBMwhUDLG3sgA4V7V6PyGwFvRE,3710
28
+ codebase_index/indexer/pipeline.py,sha256=zvDQMOe3Kel9hwLs-Y01WrLW-M__0Jwu291dqGk9KFE,14740
29
+ codebase_index/mcp/__init__.py,sha256=VFDpRGma92kpIgbCdf8DbdBmyTDihTqZ2vlUsEtiN_g,39
30
+ codebase_index/mcp/server.py,sha256=oKdgfZ2euk2X88dYBZnIlR5YCvSuOna_fNn8oZiZ1zU,11776
31
+ codebase_index/output/__init__.py,sha256=LuXNBP0Yd7cFInW74T4WUYlmU9X2QCfrdTeN34tmZXM,350
32
+ codebase_index/output/json.py,sha256=uKSqNmMIUdTYtuVR9LQCdUcfdgiu2wICJlnizBoTVkc,346
33
+ codebase_index/output/markdown.py,sha256=xgDSHBokW_E1JNqzSevixrUHvIBTn0eob49JBhVQBdo,12038
34
+ codebase_index/output/redact.py,sha256=VlQ39Urjnh0cHlUUDGXIAfjYM8pu_Jj1_9DwofY6DYs,930
35
+ codebase_index/parsers/__init__.py,sha256=wcnTvcwtrfwsIgZG_7GG6Y_2cQJRU5A-wP-vWiTMHvI,494
36
+ codebase_index/parsers/base.py,sha256=O5GxnPLpmjLMJiWyRKMasJO5yp5HP8FRK7s0Qs56Ztc,940
37
+ codebase_index/parsers/languages.py,sha256=gDwt7wH5IdroKBS-ohLT7Cd_2VU-FQj5KlL2nKF7w5w,9891
38
+ codebase_index/parsers/line_chunker.py,sha256=drvaY5aj55GRT7uX41ChVkq5gpuEyOb2dytrFP4fepo,1035
39
+ codebase_index/parsers/symbol_chunks.py,sha256=91bNshN-xDVkbqVRU2GrGCJ0F1HK5tjamLk-kRg1a2g,1901
40
+ codebase_index/parsers/treesitter.py,sha256=PAJAE33VhaPdoZYJEJhIFBdSsGznN_i4YL7iC7XVn4w,15426
41
+ codebase_index/retrieval/__init__.py,sha256=76cdJBWPpqkU-sag6_HmYNEzgaue4O3qRlAROqiy1_I,593
42
+ codebase_index/retrieval/budget.py,sha256=zeSdptWsi5Dy-y7I1CsW-2Gdar9GQ7OKmtw6ofPNIBU,2738
43
+ codebase_index/retrieval/fusion.py,sha256=gbCAf8RbvYXCqzOy6zz1yJ_jWbas70RaAmS2stBD1Lc,2574
44
+ codebase_index/retrieval/intent.py,sha256=-VuWuKn17jmA_gZdI0hCbXbyW5Nqna6hMvOrzV7pJmc,2993
45
+ codebase_index/retrieval/pipeline.py,sha256=6qde6I97gmU2IFKugvRIPTqSRP7r2y55j_e7JRD0ON8,7067
46
+ codebase_index/retrieval/rerank.py,sha256=6NW2TitmuTnJAfc_N26ekLWHAVEobjHyhpVKNwATazU,2972
47
+ codebase_index/retrieval/searchers.py,sha256=BU_9dJqJlarMEPj_k3OnCl_RQp82MHyi78RzGIyBzMU,11020
48
+ codebase_index/retrieval/skeleton.py,sha256=smpIhNB8vfuaqf_50QGg0Ln4wP1KUJ2r2kemIIUm9_Y,8845
49
+ codebase_index/retrieval/types.py,sha256=7pBIPjFR2WzLZRHCfWSWm6ov71nwSTflZdniNFTbGFo,2376
50
+ codebase_index/skill_template/SKILL.md,sha256=noBs13C1scQM5TiLDjRDRyV2L-NZjWig17nm4Wpu5Eg,10729
51
+ codebase_index/skill_template/examples/hooks/settings.json,sha256=JPzFH51M8uTJZs3xh9qNRZPOIPIjrlKOr7Hhs3IlPr4,290
52
+ codebase_index/skill_template/scripts/cbx,sha256=Z8PY1rYMZXgkkbrnXl8LFC68IG6mEnxze-rSTUt2pfA,797
53
+ codebase_index/skill_template/scripts/cbx.ps1,sha256=CNfu3Xr03MhA236IyRs0v9ImfwQnEL57LxzdPckUsAo,884
54
+ codebase_index/storage/__init__.py,sha256=KBsRFladZrQ9Wtux0cAGbMX6obRska5_sfmyA8NITrw,391
55
+ codebase_index/storage/db.py,sha256=Pn2NslsfGmKHYYA1bddRL5_e740q4NPQApSXNbAc9JM,4189
56
+ codebase_index/storage/repo.py,sha256=2mPsuwwUZH4T1C6ObNaFWZmMNJj7KhkXERT9GysKYgo,24692
57
+ codebase_index/storage/schema.sql,sha256=DYDFtZu30hlGaWjX3OAz2hIjiwWdahfcCyPkB61ecoQ,5348
58
+ codebase_index/watch/__init__.py,sha256=Mc--hdTGZlf7s7UrtZ8zAf35EGvxBY9paXcuVVzA-j4,242
59
+ codebase_index/watch/watcher.py,sha256=f895qNBZkC6fCbEUWnxdpTH0Gy4RfFdg_hxLWJ9HZlc,3135
60
+ codebase_index-1.6.0.dist-info/METADATA,sha256=lMHH9epulAl2l80ArhVIhw2r13fWe8it8mcKZDAw_iQ,32089
61
+ codebase_index-1.6.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
62
+ codebase_index-1.6.0.dist-info/entry_points.txt,sha256=0UAH5H-m1dvx9a7aKnIA4G2r6Nf4U93i-5p_Fm3XUXo,138
63
+ codebase_index-1.6.0.dist-info/licenses/LICENSE,sha256=UkoUuqQfpFu4eib8UkTVAraPFC44A7pAIS7Jb23fNu8,1084
64
+ codebase_index-1.6.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.30.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ cbx = codebase_index.cli:app
3
+ codebase-index = codebase_index.cli:app
4
+ codebase-index-mcp = codebase_index.mcp.server:run
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 codebase-index contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.