aelsha-repolantern 1.0.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 (173) hide show
  1. aelsha_repolantern-1.0.0.dist-info/METADATA +112 -0
  2. aelsha_repolantern-1.0.0.dist-info/RECORD +173 -0
  3. aelsha_repolantern-1.0.0.dist-info/WHEEL +5 -0
  4. aelsha_repolantern-1.0.0.dist-info/entry_points.txt +2 -0
  5. aelsha_repolantern-1.0.0.dist-info/licenses/LICENSE +202 -0
  6. aelsha_repolantern-1.0.0.dist-info/licenses/NOTICE +24 -0
  7. aelsha_repolantern-1.0.0.dist-info/top_level.txt +1 -0
  8. repolantern/__init__.py +9 -0
  9. repolantern/agents/__init__.py +1 -0
  10. repolantern/agents/base.py +71 -0
  11. repolantern/agents/builtin.py +3 -0
  12. repolantern/agents/research.py +171 -0
  13. repolantern/agents/versions.py +123 -0
  14. repolantern/api/__init__.py +0 -0
  15. repolantern/api/a2a.py +191 -0
  16. repolantern/api/admin.py +465 -0
  17. repolantern/api/admin_query.py +390 -0
  18. repolantern/api/budget.py +99 -0
  19. repolantern/api/consent.py +59 -0
  20. repolantern/api/deps.py +193 -0
  21. repolantern/api/gate.py +101 -0
  22. repolantern/api/jobs.py +696 -0
  23. repolantern/api/leads.py +90 -0
  24. repolantern/api/marketing.py +85 -0
  25. repolantern/api/mcp.py +81 -0
  26. repolantern/api/meta.py +336 -0
  27. repolantern/api/schemas.py +172 -0
  28. repolantern/api/tokens.py +113 -0
  29. repolantern/boot.py +467 -0
  30. repolantern/business/__init__.py +0 -0
  31. repolantern/business/offers.py +152 -0
  32. repolantern/business/offers.yaml +47 -0
  33. repolantern/cli.py +293 -0
  34. repolantern/config.py +217 -0
  35. repolantern/db/__init__.py +0 -0
  36. repolantern/db/audit.py +144 -0
  37. repolantern/db/chunks.py +70 -0
  38. repolantern/db/lookup_cache.py +20 -0
  39. repolantern/db/retention.py +168 -0
  40. repolantern/db/schema.sql +369 -0
  41. repolantern/db/store.py +106 -0
  42. repolantern/evals/__init__.py +3 -0
  43. repolantern/evals/fixtures/clsx.json +18 -0
  44. repolantern/evals/fixtures/hello-world.json +17 -0
  45. repolantern/evals/fixtures/is-odd.json +13 -0
  46. repolantern/evals/fixtures/itsdangerous.json +30 -0
  47. repolantern/evals/fixtures/quote.json +17 -0
  48. repolantern/evals/golden/clsx.gpt-6-luna.beginner.md +444 -0
  49. repolantern/evals/golden/clsx.gpt-6-luna.senior.md +380 -0
  50. repolantern/evals/golden/hello-world.gemini-3.8-flash.beginner.md +194 -0
  51. repolantern/evals/golden/hello-world.gpt-6-luna.beginner.md +176 -0
  52. repolantern/evals/golden/is-odd.gemini-3.8-flash.beginner.md +297 -0
  53. repolantern/evals/golden/itsdangerous.gemini-3.5-flash-lite.beginner.md +393 -0
  54. repolantern/evals/golden/itsdangerous.gemini-3.8-flash.beginner.md +347 -0
  55. repolantern/evals/golden/itsdangerous.gpt-6-luna.architect.md +387 -0
  56. repolantern/evals/golden/itsdangerous.gpt-6-luna.beginner.md +466 -0
  57. repolantern/evals/golden/itsdangerous.gpt-6-luna.senior.md +397 -0
  58. repolantern/evals/golden/quote.gpt-6-luna.beginner.md +343 -0
  59. repolantern/evals/golden/quote.gpt-6-luna.senior.md +314 -0
  60. repolantern/evals/heldout.py +350 -0
  61. repolantern/evals/heldout2.py +456 -0
  62. repolantern/evals/history.jsonl +37 -0
  63. repolantern/evals/lab.py +117 -0
  64. repolantern/evals/live_injection.json +15 -0
  65. repolantern/evals/planted.py +68 -0
  66. repolantern/evals/scorecard.py +165 -0
  67. repolantern/evals/snapshots/clsx.bundle +0 -0
  68. repolantern/evals/snapshots/hello-world.bundle +0 -0
  69. repolantern/evals/snapshots/is-odd.bundle +0 -0
  70. repolantern/evals/snapshots/itsdangerous.bundle +0 -0
  71. repolantern/evals/snapshots/quote.bundle +0 -0
  72. repolantern/evals/snapshots.py +79 -0
  73. repolantern/evals/thresholds.json +11 -0
  74. repolantern/git/__init__.py +0 -0
  75. repolantern/git/credentials.py +102 -0
  76. repolantern/git/probe.py +65 -0
  77. repolantern/harness/__init__.py +0 -0
  78. repolantern/harness/deferred.py +127 -0
  79. repolantern/harness/events.py +68 -0
  80. repolantern/harness/graph.py +248 -0
  81. repolantern/harness/keepalive.py +100 -0
  82. repolantern/harness/reports.py +131 -0
  83. repolantern/harness/runner.py +610 -0
  84. repolantern/ingest/__init__.py +0 -0
  85. repolantern/ingest/chunking.py +133 -0
  86. repolantern/ingest/clone.py +274 -0
  87. repolantern/ingest/filters.py +49 -0
  88. repolantern/ingest/injection.py +77 -0
  89. repolantern/ingest/inventory.py +168 -0
  90. repolantern/ingest/secrets.py +147 -0
  91. repolantern/ingest/symbols.py +300 -0
  92. repolantern/llm/__init__.py +0 -0
  93. repolantern/llm/budget.py +24 -0
  94. repolantern/llm/catalogue.py +133 -0
  95. repolantern/llm/client.py +698 -0
  96. repolantern/llm/errors.py +363 -0
  97. repolantern/llm/fake.py +143 -0
  98. repolantern/llm/generation.py +161 -0
  99. repolantern/llm/jsonparse.py +59 -0
  100. repolantern/llm/model_listing.py +293 -0
  101. repolantern/llm/openrouter.py +176 -0
  102. repolantern/llm/price_catalogue.json +1 -0
  103. repolantern/llm/prices.json +55 -0
  104. repolantern/llm/pricing.py +237 -0
  105. repolantern/llm/providers.py +489 -0
  106. repolantern/llm/quota.py +273 -0
  107. repolantern/llm/quota_presets.json +31 -0
  108. repolantern/llm/registry.py +49 -0
  109. repolantern/main.py +322 -0
  110. repolantern/observability/__init__.py +1 -0
  111. repolantern/observability/cloud_run_auth.py +56 -0
  112. repolantern/observability/ledger_trace.py +64 -0
  113. repolantern/observability/live.py +75 -0
  114. repolantern/observability/otel.py +211 -0
  115. repolantern/observability/spans.py +46 -0
  116. repolantern/observability/wake.py +81 -0
  117. repolantern/pipeline/__init__.py +0 -0
  118. repolantern/pipeline/ask.py +74 -0
  119. repolantern/pipeline/assessment.py +471 -0
  120. repolantern/pipeline/citations.py +152 -0
  121. repolantern/pipeline/context.py +223 -0
  122. repolantern/pipeline/deterministic.py +283 -0
  123. repolantern/pipeline/evaluate.py +591 -0
  124. repolantern/pipeline/facts.py +299 -0
  125. repolantern/pipeline/licences.py +97 -0
  126. repolantern/pipeline/osv.py +71 -0
  127. repolantern/pipeline/prompts.py +260 -0
  128. repolantern/pipeline/section_context.py +159 -0
  129. repolantern/pipeline/skills.py +142 -0
  130. repolantern/pipeline/stages.py +1142 -0
  131. repolantern/registry.py +51 -0
  132. repolantern/render/__init__.py +0 -0
  133. repolantern/render/diagrams.py +147 -0
  134. repolantern/render/docx_render.py +520 -0
  135. repolantern/render/export.py +43 -0
  136. repolantern/render/export_skill.py +97 -0
  137. repolantern/render/export_skills/docx.yaml +16 -0
  138. repolantern/render/export_skills/drawio.yaml +9 -0
  139. repolantern/render/export_skills/html.yaml +12 -0
  140. repolantern/render/export_skills/md.yaml +12 -0
  141. repolantern/render/export_skills/pdf.yaml +17 -0
  142. repolantern/render/export_skills/pptx.yaml +39 -0
  143. repolantern/render/html.py +321 -0
  144. repolantern/render/ir.py +265 -0
  145. repolantern/render/markdown_export.py +30 -0
  146. repolantern/render/pdf.py +48 -0
  147. repolantern/render/pptx_render.py +588 -0
  148. repolantern/render/sources.py +62 -0
  149. repolantern/render/theme.py +128 -0
  150. repolantern/search/__init__.py +1 -0
  151. repolantern/search/base.py +93 -0
  152. repolantern/search/providers.py +3 -0
  153. repolantern/search/tavily.py +88 -0
  154. repolantern/security/__init__.py +0 -0
  155. repolantern/security/appcheck.py +65 -0
  156. repolantern/security/auth.py +106 -0
  157. repolantern/security/egress.py +136 -0
  158. repolantern/security/headers.py +211 -0
  159. repolantern/security/ratelimit.py +53 -0
  160. repolantern/security/redact.py +124 -0
  161. repolantern/security/subjects.py +84 -0
  162. repolantern/security/urls.py +185 -0
  163. repolantern/skills/__init__.py +0 -0
  164. repolantern/skills/architect/skill.yaml +90 -0
  165. repolantern/skills/beginner/skill.yaml +69 -0
  166. repolantern/skills/senior/skill.yaml +81 -0
  167. repolantern/storage/__init__.py +0 -0
  168. repolantern/storage/lease.py +196 -0
  169. repolantern/storage/objectstore.py +220 -0
  170. repolantern/tools/__init__.py +1 -0
  171. repolantern/tools/base.py +95 -0
  172. repolantern/tools/builtin.py +44 -0
  173. repolantern/tools/user.py +219 -0
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: aelsha-repolantern
3
+ Version: 1.0.0
4
+ Summary: AELSHA™ RepoLantern: turn any Git repository into clear documentation for beginners, senior engineers and architects, with your own LLM key.
5
+ Author: AELSHA INNOVATIONS OPC PRIVATE LIMITED
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://repolantern.aelsha.com
8
+ Project-URL: Documentation, https://repolantern.aelsha.com/docs
9
+ Keywords: documentation,llm,git,langgraph,fastapi,code-documentation,bring-your-own-key
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Framework :: FastAPI
15
+ Classifier: Topic :: Software Development :: Documentation
16
+ Classifier: Operating System :: OS Independent
17
+ Requires-Python: >=3.12
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ License-File: NOTICE
21
+ Requires-Dist: langchain==1.4.5
22
+ Requires-Dist: langchain-core==1.6.10
23
+ Requires-Dist: langchain-google-genai==4.4.2
24
+ Requires-Dist: langchain-anthropic==1.7.6
25
+ Requires-Dist: langchain-openai==1.7.2
26
+ Requires-Dist: langchain-text-splitters==1.1.3
27
+ Requires-Dist: langgraph==1.2.15
28
+ Requires-Dist: langgraph-checkpoint==4.3.0
29
+ Requires-Dist: langgraph-checkpoint-sqlite==3.1.2
30
+ Requires-Dist: aiosqlite==0.22.1
31
+ Requires-Dist: google-cloud-storage==3.17.0
32
+ Requires-Dist: fastapi==0.143.1
33
+ Requires-Dist: uvicorn[standard]==0.54.0
34
+ Requires-Dist: sse-starlette==3.5.0
35
+ Requires-Dist: pydantic==2.14.1
36
+ Requires-Dist: pydantic-settings==2.16.0
37
+ Requires-Dist: firebase-admin==7.7.0
38
+ Requires-Dist: google-auth==2.62.0
39
+ Requires-Dist: httpx==0.28.1
40
+ Requires-Dist: markdown-it-py==4.2.0
41
+ Requires-Dist: nh3==0.3.7
42
+ Requires-Dist: pyyaml==6.0.3
43
+ Requires-Dist: python-docx==1.2.0
44
+ Requires-Dist: python-pptx==1.0.2
45
+ Requires-Dist: weasyprint==70.0
46
+ Requires-Dist: pygments==2.21.0
47
+ Requires-Dist: lizard==1.24.1
48
+ Requires-Dist: pathspec==1.1.1
49
+ Requires-Dist: pillow==13.0.0
50
+ Requires-Dist: langchain-aws==1.8.2
51
+ Requires-Dist: boto3==1.43.114
52
+ Requires-Dist: botocore==1.43.114
53
+ Requires-Dist: mcp==2.3.0
54
+ Requires-Dist: a2a-sdk==1.2.2
55
+ Requires-Dist: opentelemetry-api==1.45.1
56
+ Requires-Dist: opentelemetry-sdk==1.45.1
57
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http==1.45.1
58
+ Requires-Dist: starlette==1.8.0
59
+ Requires-Dist: anyio==4.15.1
60
+ Requires-Dist: httpcore==1.0.9
61
+ Requires-Dist: cryptography==50.0.2
62
+ Dynamic: license-file
63
+
64
+ # AELSHA™ RepoLantern
65
+
66
+ **Understand an unfamiliar codebase before you change it.** RepoLantern turns any Git repository into a grounded
67
+ guide for beginners, senior engineers or architects. Every guide includes architecture diagrams and citations to exact
68
+ lines, and every file and code name in it is checked against the code. It runs with your own AI model key; the key is
69
+ never stored.
70
+
71
+ This package is the command-line tool. It runs the same pipeline as the web app at
72
+ [repolantern.aelsha.com](https://repolantern.aelsha.com), on your own machine.
73
+
74
+ ## Install
75
+
76
+ You need Python 3.12 or newer, git 2.50.1 or newer, Graphviz (diagrams) and Pango (PDF export):
77
+
78
+ | System | Command |
79
+ |---|---|
80
+ | macOS | `brew install git graphviz pango pipx` |
81
+ | Debian or Ubuntu | `sudo apt-get install git graphviz libpango-1.0-0 libpangoft2-1.0-0 pipx` |
82
+ | Windows | Use WSL (Ubuntu) and follow the Debian line |
83
+
84
+ ```
85
+ pipx install aelsha-repolantern
86
+ repolantern --version
87
+ ```
88
+
89
+ ## Run
90
+
91
+ Put your key in an environment variable, never on the command line:
92
+
93
+ ```
94
+ export OPENAI_API_KEY=...
95
+ repolantern run https://github.com/octocat/Hello-World --provider openai --model gpt-6-luna --cap 0.50
96
+ ```
97
+
98
+ The run continues only if the estimate's upper end is within `--cap` (US dollars). Otherwise it stops before spending
99
+ anything. The guide, an assessment and a cost report are written to `./out`.
100
+
101
+ RepoLantern works with Google Gemini, Vertex AI, Anthropic Claude, OpenAI, AWS Bedrock, Microsoft Foundry and any
102
+ OpenAI-compatible service, including free models on OpenRouter at $0. If a model's limit runs out, the run pauses;
103
+ `repolantern resume <job-id>` continues later on the same or another model, without paying twice for finished work.
104
+
105
+ ## Learn more
106
+
107
+ - [Command-line guide](https://repolantern.aelsha.com/docs/cli): every provider, option and output
108
+ - [Set up your AI provider](https://repolantern.aelsha.com/setup)
109
+ - [How every guide is checked](https://repolantern.aelsha.com/evals) and [security](https://repolantern.aelsha.com/security)
110
+ - Security reports: [security@aelsha.com](mailto:security@aelsha.com)
111
+
112
+ Built with AELSHA™ ASTRA by AELSHA INNOVATIONS OPC PRIVATE LIMITED. Licensed under the Apache License 2.0.
@@ -0,0 +1,173 @@
1
+ aelsha_repolantern-1.0.0.dist-info/licenses/LICENSE,sha256=er9g5rExVVgdmSdJgeAG6weMgS_NYJE88w7_m0lJnjw,11369
2
+ aelsha_repolantern-1.0.0.dist-info/licenses/NOTICE,sha256=WbbIxXzlK9PmwWIQ1XKQ0Z-hohe7X6UkW0PddyLouns,1664
3
+ repolantern/__init__.py,sha256=NXz2ARACETX4bJBVdFalChUfajfDXRBD2-DpUJkpaBI,402
4
+ repolantern/boot.py,sha256=kKwbkvuOk0X060AZwwqLAXaiOTjo1HBaBbZ10ioexLI,23387
5
+ repolantern/cli.py,sha256=FLiUjO8ddFTJLxBQYuS-E6zYYAgLj7GqKQ_hta8zBns,15882
6
+ repolantern/config.py,sha256=zDOUUlo-hEodhOuf1Zv507qL-VEdGj7X392X7goDUwE,11235
7
+ repolantern/main.py,sha256=cyc6p12HEBc5Mss8E1kAPeY0pNCnCM6n09P2N9c1i-U,17597
8
+ repolantern/registry.py,sha256=9wi2oI7hxunPHNvTRyC0ItS9UB1lmmxZZhhihN82e2k,1780
9
+ repolantern/agents/__init__.py,sha256=BcXVVHXCduek2bOkuD8TbMTva2Ab963eCasUayHbye0,89
10
+ repolantern/agents/base.py,sha256=eh3y5RcL6cWQO1qWoVJ3k02A-nNvIHR8fJ7XSGLhht4,2932
11
+ repolantern/agents/builtin.py,sha256=Gv-0FX0nvxJoFDDXI3QtUyTYjFMv-fHREgRbMfMd8SU,165
12
+ repolantern/agents/research.py,sha256=SsOih1BNBB5ZfhA4P5AkxiZPPiwxx6D2pVzHSG91fKM,8499
13
+ repolantern/agents/versions.py,sha256=d6CZ6uVx5ChcgB9ENLgVmhRDJ59ygk7vPQvKfT1wuw0,5774
14
+ repolantern/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ repolantern/api/a2a.py,sha256=_YHFAFnRNeINQQvc41aglMJx24PHbbucOC-3FC3clEo,9218
16
+ repolantern/api/admin.py,sha256=m7rEKkv8hKHzsdiDsGqetVGlTctCar4HxA7iWwVSK1k,25675
17
+ repolantern/api/admin_query.py,sha256=0QVVhELUS2ds7T2SnSV6cSSWrHDC0N27H1qJ6Ytu1qg,30166
18
+ repolantern/api/budget.py,sha256=9jBTnfhv4d5g-nQI2rsmKgbZh1gAHXWne1THTc6g9n4,5055
19
+ repolantern/api/consent.py,sha256=5O1-HBywOvQUtmbYUyauqI4aOlicW_XIHKqQXzDjdfI,3090
20
+ repolantern/api/deps.py,sha256=51_dZEaln-5OWcavJfkm9xK9PVVUPflgobxaRkyP7ec,9772
21
+ repolantern/api/gate.py,sha256=N-6G-BOiCrfrWzHj9PDiXpvxFLM71vi2TAS_wVS7Egw,4489
22
+ repolantern/api/jobs.py,sha256=qnXXMqQ1ORmfU9Fw3ly9pXz9Um0bGp_ccUFyyQd4K90,39945
23
+ repolantern/api/leads.py,sha256=BdxS2_1pj3GzAbE9Mk4xBHTYb-ru5nO3kt4LsgG3FCY,4723
24
+ repolantern/api/marketing.py,sha256=_u09q52WtBX-EBi0Oa4sVXWMZaHC7FE5pRiRDmmI21w,4962
25
+ repolantern/api/mcp.py,sha256=htBqs4vlMiq3JI4Ba_DKaZL7L0923wfZRhc_Xji4F50,4158
26
+ repolantern/api/meta.py,sha256=wuMKL1jsSLzu79xcJ9x5tckpAE6yYYM8hMZNaK1Up-Y,20474
27
+ repolantern/api/schemas.py,sha256=_0ntwFTHiQiKnM77ZqqXJ_0X8miNQWRW84mMyAPDeZY,8532
28
+ repolantern/api/tokens.py,sha256=SXjWdnuZ-900ejnBzdI94E1t_BtlchbM5o3vP0uxpV0,5316
29
+ repolantern/business/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ repolantern/business/offers.py,sha256=uTBTdDVrWnBHLwicdRZHz3IzSj3xUcuU2fx2J7Puw2w,5601
31
+ repolantern/business/offers.yaml,sha256=ZI-ea4lLW9BK_Z1w0E1qXvUk2QtrcR94SGrprOLA2CQ,2278
32
+ repolantern/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ repolantern/db/audit.py,sha256=NbtPtna8Qc5Z-MDw661DkR54GDAPTttFqK8o0jG3CFM,7246
34
+ repolantern/db/chunks.py,sha256=3CwvuNfj8nQ5CIjPUc9hnnf_iv_1ILfR49IRbOZ5h5Y,3173
35
+ repolantern/db/lookup_cache.py,sha256=3DczoVzxEjF238wPuerP9cD8BmbIukYoFiGWPX64Yps,959
36
+ repolantern/db/retention.py,sha256=IOzJ-EMWrW5flr35LjZVHMeu4PQoiW9UJusNBEDE4Yw,9222
37
+ repolantern/db/schema.sql,sha256=1SCQLj2RN9zZv9DL6OICs9MJQVyclvNUeBfBcFtTG8E,20215
38
+ repolantern/db/store.py,sha256=gk7wHy2PZu6Y_UFZF1MynR0dKrqAoWZ5b2KnMZ_IeZI,4204
39
+ repolantern/evals/__init__.py,sha256=w7WRALulWVRkRAqOaD9yCOFDaO8VnKp8uIWRiVieiL4,333
40
+ repolantern/evals/heldout.py,sha256=3CEVY53cXZsYQE4xskGatpat7V82ypbWXXCQInq4WJE,16856
41
+ repolantern/evals/heldout2.py,sha256=ylvi-Q5YuaTz4MtfYAJxnzypyE0129cUf6qTo0rSYVY,26325
42
+ repolantern/evals/history.jsonl,sha256=2uI2ig7tNVqQGvzzV2qYVqjifG0RrlvolzZmisnrTbs,8436
43
+ repolantern/evals/lab.py,sha256=jWdeCk17Bs6emUUJt8vsEUNZexYT1R6Vzq5P5PozmlM,5431
44
+ repolantern/evals/live_injection.json,sha256=gfONsO2Bysj70me-3CmeFsdYmM4Gx2zN8eVW-gWy0xA,1276
45
+ repolantern/evals/planted.py,sha256=HKTnwtuLug0dGNcQk0MBOmLb74h_43SeBxqYfKqoqcY,3403
46
+ repolantern/evals/scorecard.py,sha256=EiGZ1JeyVWkcFaRVvlCU6g43A4fRrvDcS7QnAIYDXzQ,8866
47
+ repolantern/evals/snapshots.py,sha256=pdYs-4gsy9bYu_9zekU0qsqCqaIamRTSygprCUGItu4,3081
48
+ repolantern/evals/thresholds.json,sha256=WzcvhHDtX-Gz9VRR67NFBlpFbk-UjOF3N2Xd5AIqYJ8,440
49
+ repolantern/evals/fixtures/clsx.json,sha256=6e5bPlf8edyavFdQOF8nOkRqRCj5IiwpJyQjFryVaV8,1310
50
+ repolantern/evals/fixtures/hello-world.json,sha256=XtRlIp4FrE9yr-Zp4LX5JyYxL-6iM_f8G_VYaIE_FlY,972
51
+ repolantern/evals/fixtures/is-odd.json,sha256=VLOjRpYJyeiUq3ZIIz4GZTa2dSsd5B5Xl5TABx7wZVY,628
52
+ repolantern/evals/fixtures/itsdangerous.json,sha256=ovQrO3fpm799OrvL1GsP8VV5jsSR1BSurFD8J4jc99k,2471
53
+ repolantern/evals/fixtures/quote.json,sha256=jnbw0EuHK1Eq_0B0DYkK2ZGXgY4FREWihCVPY-P5_to,1093
54
+ repolantern/evals/golden/clsx.gpt-6-luna.beginner.md,sha256=YaY7P9Jqj5H5w-wkLm6AvAthHC3HwgB5xVDqatt4pZs,36830
55
+ repolantern/evals/golden/clsx.gpt-6-luna.senior.md,sha256=wTVN-PVHo_Pfkc4xwGFbaPBxt10xpHSXVqtal_ssggw,38712
56
+ repolantern/evals/golden/hello-world.gemini-3.8-flash.beginner.md,sha256=uKn9TUNBEi1wrWWUPOUpLmHzR1OZ_BiPbaz_Ma1zOLw,8247
57
+ repolantern/evals/golden/hello-world.gpt-6-luna.beginner.md,sha256=FV4CiP6scgaQ9eWoVjNBvLQd3lqTbLtjjOyDoKnDNDw,6180
58
+ repolantern/evals/golden/is-odd.gemini-3.8-flash.beginner.md,sha256=OyMJSuhloW4GY4heng-X1fxVD_aNPIjUVFe7vAihEaI,24258
59
+ repolantern/evals/golden/itsdangerous.gemini-3.5-flash-lite.beginner.md,sha256=rvWpmeKZBkmzbFbDg88hIAjpk7mQm63sHriXgdvzkq4,44404
60
+ repolantern/evals/golden/itsdangerous.gemini-3.8-flash.beginner.md,sha256=wfrFwA3BencGWDGTWd-ASJeeulGnpxI6lb8hDxhLpzE,39823
61
+ repolantern/evals/golden/itsdangerous.gpt-6-luna.architect.md,sha256=gtZpLzeggft9CrwV9XG8H8-0_P2SJ_yFmLnIAmNPbic,61386
62
+ repolantern/evals/golden/itsdangerous.gpt-6-luna.beginner.md,sha256=JzIe72bF_l2wS-6VGSV8uHkS2FKU6FxouoQAfcp77Sc,57461
63
+ repolantern/evals/golden/itsdangerous.gpt-6-luna.senior.md,sha256=yr842sHwHkIsGWZ20x6YCXJ7Y1o0G-CShZIIddAn4v4,57811
64
+ repolantern/evals/golden/quote.gpt-6-luna.beginner.md,sha256=QQMVB1YhJsARkZRvDvtAcfDM_jBe-X4DMU4NyoFClNY,25576
65
+ repolantern/evals/golden/quote.gpt-6-luna.senior.md,sha256=Jbcacg_OLr-E03hwj7vCZM7nK07n9TwHOuLwATX4oyY,28338
66
+ repolantern/evals/snapshots/clsx.bundle,sha256=aER92_dVGGUNXa7kpZUoCQXrmqqYvTORdgjNrtxvzVM,28548
67
+ repolantern/evals/snapshots/hello-world.bundle,sha256=tbxVFKG6UEyxeldPvJIB2Cg-DbbOWUe4IPy8AAVtiFY,305
68
+ repolantern/evals/snapshots/is-odd.bundle,sha256=jNGvQG4bQlUKp_CkoXPepNWsAGm629mVC_fhs3Dsezo,5905
69
+ repolantern/evals/snapshots/itsdangerous.bundle,sha256=QHCPON4_J5WTyqiD7RNzAsAPjq7zqseBUVSWB_yM1t4,94591
70
+ repolantern/evals/snapshots/quote.bundle,sha256=PlhSQHppNhko4OgIczuqy-30w44FdQQAcRrZHpSoNHM,3562
71
+ repolantern/git/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
+ repolantern/git/credentials.py,sha256=gSOnUhx3xjruAmaJq2IuLtGEmQo9GdWd6RxmYjJV88c,4618
73
+ repolantern/git/probe.py,sha256=-Ye6s_uprp3UZVAPddsGmbn_nyoPHIbdJdWPxr1MG-E,2936
74
+ repolantern/harness/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ repolantern/harness/deferred.py,sha256=R_SMOgxh6Wnu3Tvhc9Kr2_5JGCdUmYxypIfzSanItMA,5660
76
+ repolantern/harness/events.py,sha256=n9078IIf7aQWNsJWUqvgEqQ12R_3xtpKlXXw1YWCMlY,2841
77
+ repolantern/harness/graph.py,sha256=8aJXf1Wdq5zo3EQwjeSUA4TdQiRGJb4Qii0kd_RqJc4,11770
78
+ repolantern/harness/keepalive.py,sha256=vIpU5aTXQ0jzV3qbRmMNDnQsQLiWKi8yOYS9DfJ5910,4577
79
+ repolantern/harness/reports.py,sha256=lab5SFBpXZP3_6xkr4vh3p2BR_Sooev4JaXMYcOTNDc,8807
80
+ repolantern/harness/runner.py,sha256=MAls_85coOKVQi9yMUgyaOak_weZ-K9-GZom7-cMJ3k,35110
81
+ repolantern/ingest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
+ repolantern/ingest/chunking.py,sha256=4Nf4lM5fgLy1EHGRkEnmVhJDxzEw6EpdzZnMzvnBX_s,5512
83
+ repolantern/ingest/clone.py,sha256=c6do3sLgA9fqFts7rHUgrgAgLXOoUlJgXc5vdEh1u6o,12199
84
+ repolantern/ingest/filters.py,sha256=xFJV_GO_4C7x0Jg54rtCyMFiW9KjH9lzsA_NG7jFINI,2081
85
+ repolantern/ingest/injection.py,sha256=YIV6-ifDX3WVWycYMZ8Ubvn2GB8jkaNU6dJlZmhBUiw,3332
86
+ repolantern/ingest/inventory.py,sha256=DsdRaG_qX5CEDWtJ79zBF48gBhx2fx34ltT785rYR5U,7356
87
+ repolantern/ingest/secrets.py,sha256=390OwjkQ2qj-DcO7ErKQ0gcy7HmOov9th1VlK7W5jdQ,7767
88
+ repolantern/ingest/symbols.py,sha256=UF6TYHA4woSJezlbSHkTDXN92xHDkAhIt0oyXaAHqkU,13582
89
+ repolantern/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
+ repolantern/llm/budget.py,sha256=ywwofbfMgimpGvNrvPPRU925SfryQvYVGfSM6CAaBWs,842
91
+ repolantern/llm/catalogue.py,sha256=0769HRQhu7g3zgf_FB0PRpyDYoZAGYI9w7257NGsZ1Q,6506
92
+ repolantern/llm/client.py,sha256=FkVMoAZSVKKGOYpjWR58mKMOMlnDlPcWR4P2c7NlF88,38321
93
+ repolantern/llm/errors.py,sha256=dht9OpJ8lrcPAaQS6KYL292HUvaG6tVt_s_Yfokum6g,16999
94
+ repolantern/llm/fake.py,sha256=lUEUm_Oz992J5zM3Sml-CZZdSqZJikMQhJbGPLPkIpU,7920
95
+ repolantern/llm/generation.py,sha256=-3CzhGRjU9jfQV6aLzNhEgRzIC9FHsz_OcqPCPzvA2A,9466
96
+ repolantern/llm/jsonparse.py,sha256=0gvwncl6S1h5IAqUO3U-3Am7pRm2GW55oHa_QndcoZc,1919
97
+ repolantern/llm/model_listing.py,sha256=ZkSCl0qDPWYlnjK-SfmC5zr5OxWfuT8yK3JQwD4G8-U,14807
98
+ repolantern/llm/openrouter.py,sha256=NqFfoGjm3QEt18pC7YJnbqv-F8Bv8g_i5ZCewGhH0sc,8349
99
+ repolantern/llm/price_catalogue.json,sha256=genv5BNGkPS2YMuZ-fkvCzMxKXdZsk-iL3f1oFnwqWc,163433
100
+ repolantern/llm/prices.json,sha256=JcMtkGYjwBx5w5P1Ai8FxQgmaCGv00H_OugglW0XVJw,4796
101
+ repolantern/llm/pricing.py,sha256=fSaSNWLEZjrHlF8YRxrX0au_BmGuHiR-VXmTYBCC75c,11560
102
+ repolantern/llm/providers.py,sha256=C_UUlIgUF4X2d_ti7_NqP6UmOX7zYznwJx32oqdeIu8,30476
103
+ repolantern/llm/quota.py,sha256=e4mSe0txIFwcm67zaSzoaCRrMBlFiW1v_kY_BKu8QdQ,13372
104
+ repolantern/llm/quota_presets.json,sha256=f8lzR8z4rENe6Peo7zH9rWeN7667f5lAG0cg2eFEoi0,2354
105
+ repolantern/llm/registry.py,sha256=BCNloGDeUsy604xa2mfV-b9cmE_NSWQTPYT_pBB2GTw,1996
106
+ repolantern/observability/__init__.py,sha256=zmk0COg8a0kFtnEuiuXZgj0ZPcQtvGkX2q4BYKYRxmU,108
107
+ repolantern/observability/cloud_run_auth.py,sha256=ClGxQnsWFgmEbvaMRQICAl9pYfNsTHVLpJQYR5JFKmU,2216
108
+ repolantern/observability/ledger_trace.py,sha256=GvphFTC5fPcEU6YHOQ2XJ1XDntcvdSZMp6ErM_z_a_o,3652
109
+ repolantern/observability/live.py,sha256=m91adMD8-mciUxJW7xAjYv4EovR6xwc4TuhZagu6lLk,3022
110
+ repolantern/observability/otel.py,sha256=6QDa1Wxb_wsU8I-WDXjhJnPfTXS7_I35pQb03UDaoCA,10768
111
+ repolantern/observability/spans.py,sha256=hO6jR3mWPv_y-exdaTQpnwDV8GiSR4EXnZFQGrAePjI,1724
112
+ repolantern/observability/wake.py,sha256=FryXZdIqRumnE8zM2MIcHMJDC2pOMv9Pvvd5Q0ge5BM,3754
113
+ repolantern/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
114
+ repolantern/pipeline/ask.py,sha256=YKbZcVPXYDkSgAdxL0lq-DSkdiXPwfIK6JOnR3iraTg,4074
115
+ repolantern/pipeline/assessment.py,sha256=F9REGXAojrmJ9tZjbBA-J5eyWT52k5-zuPDgBZxemtU,29418
116
+ repolantern/pipeline/citations.py,sha256=IYWxO7kn0YvRQOAEhl4zLHQNJ9ouh-T9PMzxYh0iLVk,6683
117
+ repolantern/pipeline/context.py,sha256=M9yzVhhlkTyt2T5zFmHYsFrQfQCYmaz2VlruJM4kgj4,10865
118
+ repolantern/pipeline/deterministic.py,sha256=ALDHgF3r48kFxgiaP468LMWjIlWF5YwhwXPr-OZgt30,15632
119
+ repolantern/pipeline/evaluate.py,sha256=QbSOhiwpnrhpLpX-itS8CIKSCTNDG9ueYJIt15J26dA,30296
120
+ repolantern/pipeline/facts.py,sha256=pbxUMwBRrnDzDiuCTRMKdZwjzz-1EDFP3JpWKFhwXRc,13471
121
+ repolantern/pipeline/licences.py,sha256=hxMyD5e9ErbXO_Q4G9hpDB5qgJYLpbzlmTmPZOjSnUg,4682
122
+ repolantern/pipeline/osv.py,sha256=uXkX1IjrY7oMs8FmBHIRWslKx2MHg8Z_YekKx0V4l-Y,3195
123
+ repolantern/pipeline/prompts.py,sha256=YGky901vzBVasYPdy0tywiEbew-jQxH3acI7PRW7dhs,13050
124
+ repolantern/pipeline/section_context.py,sha256=AVYdTpRL361ukhk_kCjpg00p0PZA_brBjVc7VMVDR9k,8395
125
+ repolantern/pipeline/skills.py,sha256=VBid_W6EP1WshTvZ1ocArdFMQaupLsO7m2ZrPNgcJxY,5731
126
+ repolantern/pipeline/stages.py,sha256=WXUvoqkcuIZ1bg4KqxbFh_Y0AG-Sp9JGkZmGF1EJklE,56787
127
+ repolantern/render/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
+ repolantern/render/diagrams.py,sha256=doWLReGyOTOngIHpWE5qbcwE3srz-VHB_XsYtZdNvtw,6575
129
+ repolantern/render/docx_render.py,sha256=7oQ0Mb_PUYxnkczJAhIpZg8hpFRXElmIyBeV7-HBPes,21422
130
+ repolantern/render/export.py,sha256=u5N8nh9TdEtXYY28cCrY_uQ4vw0K2trfajzJirwFMUE,1940
131
+ repolantern/render/export_skill.py,sha256=JQlY5Rnh_wHAMBECitDl7aohCT8yenGSm3fBWtaa0sg,4422
132
+ repolantern/render/html.py,sha256=4ALtwQUdJii7vV7TIMLBRAa7ZZv66dAxFglmmq8V4os,19236
133
+ repolantern/render/ir.py,sha256=0f58tdg1GKug34zHwtIW_5KGGbwAbUONlva6b_7ZgEk,7695
134
+ repolantern/render/markdown_export.py,sha256=cA7rpJ3kWyQz1V67wnVmL1qIybsq8Jwh0aDe7Fip7s8,1377
135
+ repolantern/render/pdf.py,sha256=R1lLBm_b8Xu5L35gAyqoqxsd8kQrIpVcPLLJXvC9pkw,1986
136
+ repolantern/render/pptx_render.py,sha256=0GbF_e0SKAPFciYNimDPjaW5Rqs5ua3NPlWiTu92J_g,28471
137
+ repolantern/render/sources.py,sha256=p_Ify8CwaApmQuAxDtO5fPOCZxxqFRv7aUnabqzkU_8,2507
138
+ repolantern/render/theme.py,sha256=RIzGM-P4llP82d60AT48qEjAmcnGHVV7fD4NgBp1mjw,4198
139
+ repolantern/render/export_skills/docx.yaml,sha256=5ypQvaD37YXT14pbpadaGYU8Sh2Ol7oZywibKjxy2Sc,458
140
+ repolantern/render/export_skills/drawio.yaml,sha256=MzthyHIBp0xcGBrsiIl9lJBhrSZThAkHx0GO-yEwcOM,258
141
+ repolantern/render/export_skills/html.yaml,sha256=d4mxOcmMLZGkLy0bLl1fVtl3rhTolByOaAUl8erI04k,320
142
+ repolantern/render/export_skills/md.yaml,sha256=GF_BxbZan83GrlrRM_AouLUP155iN7CUAKB3pL0lZr8,352
143
+ repolantern/render/export_skills/pdf.yaml,sha256=KYJ3KQZgsWh9VzzaUc9oaz8GI9Q6pv3D_iXKugqSI9k,481
144
+ repolantern/render/export_skills/pptx.yaml,sha256=L5y8hRoKObq7AXF47oj6sjvAFUTVjnUYBSLjqi7NFDw,1114
145
+ repolantern/search/__init__.py,sha256=q4phKtLB05heL9e75Rq8JxmwowJF0aa136gN6vWklAQ,79
146
+ repolantern/search/base.py,sha256=7Y5-buFqmQdqyu-V6XTnA9kF3R0Tn6VDEhJsLFOHvfg,3824
147
+ repolantern/search/providers.py,sha256=obAVt8vXWBNoca8_C_P5cOTXccdaXzD8x-lCP4HSuzE,172
148
+ repolantern/search/tavily.py,sha256=pFGI3z04KkP5-bpWqhtuiukCrNjsFaEv_2lpFPURrBo,4578
149
+ repolantern/security/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
150
+ repolantern/security/appcheck.py,sha256=AvXKRg4RZyse5NBZ9eBtd5ZsEn3uawqPv5EYC4TMmro,3019
151
+ repolantern/security/auth.py,sha256=g64PMkbs9yvhc12LC0U7PWWX1VVb4JaXldcXnPfbHQ8,5245
152
+ repolantern/security/egress.py,sha256=LnGlBVi8n_ehG-6z6W5sHxHldRF2bcXqMvGet_dRlp0,7102
153
+ repolantern/security/headers.py,sha256=smwO_3pq2bNZMi-ymNk21-L8YwUD1TkHe-dSgwdfYF8,10874
154
+ repolantern/security/ratelimit.py,sha256=qjAkkP-AtOcbH8OqmmZFxi9VPg-MnX-M3fF5Orj76go,2267
155
+ repolantern/security/redact.py,sha256=9-sDR42HWmkTTpSEi6gzSBkCuhdNZXq4lBhUllwB4As,5602
156
+ repolantern/security/subjects.py,sha256=KYhHybUDJ8wgn-iacHiUiD9jpzkoH0PEKHpqaVTKINo,3405
157
+ repolantern/security/urls.py,sha256=HbAJFxZhFdjjy23dLq_0LTq69D0oIJa2Iv_8Gi10SDM,7587
158
+ repolantern/skills/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
159
+ repolantern/skills/architect/skill.yaml,sha256=1llvfmF_rWrFg_LTH2fxbjdtp40RnFYH0e1BBIIIjcs,4009
160
+ repolantern/skills/beginner/skill.yaml,sha256=AGJZtEvBzLV7M_altHJG5g3ivA-pgGC5c13YcvGi5fM,2986
161
+ repolantern/skills/senior/skill.yaml,sha256=OZ7lRN4oxf2T9iDjRUAed6lVotte0pSBc-l_NdbVnhY,3454
162
+ repolantern/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
163
+ repolantern/storage/lease.py,sha256=4uhzg6rtDAgavqOMx0TGulGdK_o3sOXKuk1EoEQkTtc,9536
164
+ repolantern/storage/objectstore.py,sha256=2yOLz9cVth7R2FZrW8NqbmxsZU9whHqVuP5mlZqdUZg,9777
165
+ repolantern/tools/__init__.py,sha256=CEbpMOp0MUwX6tbURuY3LhJ9iDhZ636KEndBXxtU-mo,91
166
+ repolantern/tools/base.py,sha256=ZI7P_Vt7X0FOGIVNZ7I-3Fz_dHXmYLJDngs2pxLvtnM,3662
167
+ repolantern/tools/builtin.py,sha256=f2ZT0cZG0-vV2qCJa6oVllgg5D8Bm73KSBC8LlrPpCo,2733
168
+ repolantern/tools/user.py,sha256=eqZ-OVMJBd7uryGkFm5r_9Gm7JJqrmEJlxtgOrKjZJY,9920
169
+ aelsha_repolantern-1.0.0.dist-info/METADATA,sha256=n4siUNp12oYRSGpS4kldh445lK0hCwPx_8HyR4Dhlhk,4631
170
+ aelsha_repolantern-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
171
+ aelsha_repolantern-1.0.0.dist-info/entry_points.txt,sha256=g0hgbKb41vSTsyHmrhBG9QqLHnDaymjLTJG4LHK_KEE,53
172
+ aelsha_repolantern-1.0.0.dist-info/top_level.txt,sha256=JSy3VJWke6JcG9TgzmrXxkqH3cMj_gaOg3H2IIBvxTA,12
173
+ aelsha_repolantern-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ repolantern = repolantern.cli:main
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 AELSHA INNOVATIONS OPC PRIVATE LIMITED
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,24 @@
1
+ AELSHA™ RepoLantern
2
+ Copyright 2026 AELSHA INNOVATIONS OPC PRIVATE LIMITED
3
+
4
+ This product includes model price data from LiteLLM's model_prices_and_context_window.json
5
+ (https://github.com/BerriAI/litellm), MIT License, Copyright (c) 2023 Berri AI.
6
+ It is used only as an unverified fallback for models without a verified price, and is labelled as such.
7
+
8
+ The offline eval data in repolantern/evals/snapshots/ (used by the release gate and the admin eval lab) holds
9
+ frozen copies of these public repositories, each with its own licence file inside the snapshot:
10
+ - lukeed/clsx (https://github.com/lukeed/clsx, commit 925494cf31): MIT License,
11
+ Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com).
12
+ - jonschlinkert/is-odd (https://github.com/jonschlinkert/is-odd, commit a80ee0d831): MIT License,
13
+ Copyright (c) 2015-present, Jon Schlinkert.
14
+ - pallets/itsdangerous (https://github.com/pallets/itsdangerous, commit 672971d66a): BSD 3-Clause License,
15
+ Copyright 2011 Pallets.
16
+ - rsc/quote (https://github.com/rsc/quote, commit 5d9f230bcf): BSD 3-Clause License,
17
+ Copyright (c) 2009 The Go Authors. All rights reserved.
18
+ - octocat/Hello-World (https://github.com/octocat/Hello-World, commit 7fd1a60b01): no licence file; the repository
19
+ is GitHub's sample and its only file is a README containing the text "Hello World!".
20
+ The golden guides in repolantern/evals/golden/ were generated by RepoLantern from these repositories and quote
21
+ short excerpts of them.
22
+
23
+ AELSHA™, the AELSHA™ logo, AELSHA™ ASTRA and AELSHA™ RepoLantern are trademarks of
24
+ AELSHA INNOVATIONS OPC PRIVATE LIMITED and are not licensed under the Apache License (see TRADEMARKS.md).
@@ -0,0 +1 @@
1
+ repolantern
@@ -0,0 +1,9 @@
1
+ __version__ = "1.0.0"
2
+
3
+ # Brand strings (rename task, V5-7). Every user-facing surface takes them from here.
4
+ DISPLAY_NAME = "RepoLantern"
5
+ FULL_NAME = "AELSHA™ RepoLantern"
6
+ ATTRIBUTION = "Made with RepoLantern by AELSHA™"
7
+ BADGE_TEXT = "Docs by RepoLantern"
8
+ CANONICAL_URL = "https://repolantern.aelsha.com" # decision of 2026-10-16
9
+ TAGLINE = "Understand an unfamiliar codebase before you change it."
@@ -0,0 +1 @@
1
+ """Agents: modular units of work the graph runs after approval (ARCHITECTURE §31.4)."""
@@ -0,0 +1,71 @@
1
+ """Agents: modular work the graph runs after approval (ARCHITECTURE §31.4, SPEC S-37.3).
2
+
3
+ An agent is one module that registers an `Agent`. The graph's `agents` node runs every enabled agent for its hook.
4
+ Each agent's result is a checkpointed work unit, so a resume or a model swap never runs (or bills) it twice. An
5
+ agent that fails records why, and the guide carries on without it. `RL_AGENTS_DISABLED=research` turns one off.
6
+ """
7
+
8
+ import asyncio
9
+ import logging
10
+ import time
11
+ from collections.abc import Awaitable, Callable
12
+ from dataclasses import dataclass
13
+ from typing import Any, Literal
14
+
15
+ from repolantern.observability.spans import span
16
+ from repolantern.registry import Registry
17
+
18
+ log = logging.getLogger(__name__)
19
+
20
+ Hook = Literal["after_approval"]
21
+ UNIT_STAGE = "agent"
22
+
23
+
24
+ @dataclass(frozen=True)
25
+ class Agent:
26
+ id: str
27
+ title: str
28
+ description: str
29
+ hook: Hook
30
+ run: Callable[[Any], Awaitable[dict]] # async (RunContext) -> JSON-able result, stored as the agent's unit
31
+ enabled: Callable[[Any], bool] = lambda ctx: True
32
+ rerun: Callable[[Any, dict], bool] = lambda ctx, result: False # run again on resume despite a result
33
+
34
+
35
+ AGENTS: Registry[Agent] = Registry("agent")
36
+
37
+
38
+ def result_of(ctx, agent_id: str) -> dict | None:
39
+ return ctx.unit_get(UNIT_STAGE, agent_id)
40
+
41
+
42
+ async def run_agents(ctx, hook: Hook, only_reruns: bool = False) -> None:
43
+ """Run the enabled agents for `hook` concurrently; finished ones are skipped (checkpointed) unless they ask to run
44
+ again. `only_reruns`: a resume that continues past the agents node runs just those."""
45
+ todo = []
46
+ for a in AGENTS.enabled(ctx.settings.agents_disabled):
47
+ if a.hook != hook or not a.enabled(ctx):
48
+ continue
49
+ done = result_of(ctx, a.id)
50
+ if (done is None and not only_reruns) or (done is not None and a.rerun(ctx, done)):
51
+ todo.append(a)
52
+ if todo:
53
+ await asyncio.gather(*(_run_one(ctx, a) for a in todo))
54
+
55
+
56
+ async def _run_one(ctx, agent: Agent) -> None:
57
+ await ctx.emit("agent", id=agent.id, title=agent.title, state="started")
58
+ started = time.perf_counter()
59
+ with span(f"invoke_agent {agent.id}", {"gen_ai.operation.name": "invoke_agent", "gen_ai.agent.name": agent.id}):
60
+ try:
61
+ result = await agent.run(ctx)
62
+ state, summary = "done", str(result.get("summary", ""))[:160]
63
+ except asyncio.CancelledError:
64
+ raise
65
+ except Exception as e: # noqa: BLE001 - an agent never fails the guide (S-37.3)
66
+ log.warning("agent %s failed: %s", agent.id, type(e).__name__)
67
+ result = {"error": f"{agent.title} couldn't run this time ({type(e).__name__})"}
68
+ state, summary = "failed", result["error"]
69
+ ctx.unit_put(UNIT_STAGE, agent.id, result)
70
+ await ctx.emit("agent", id=agent.id, title=agent.title, state=state, summary=summary,
71
+ ms=int((time.perf_counter() - started) * 1000))
@@ -0,0 +1,3 @@
1
+ """Import every built-in agent so it registers. Adding an agent is one module plus one line here (§31.4)."""
2
+
3
+ from repolantern.agents import research # noqa: F401