sourcecode 1.30.19__py3-none-any.whl → 1.30.20__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.
sourcecode/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """sourcecode — Deterministic codebase context maps for AI coding agents."""
2
2
 
3
- __version__ = "1.30.19"
3
+ __version__ = "1.30.20"
sourcecode/cli.py CHANGED
@@ -1723,8 +1723,16 @@ def prepare_context_cmd(
1723
1723
  import time as _time
1724
1724
 
1725
1725
  builder = TaskContextBuilder(target)
1726
+ _progress = Progress()
1727
+ _phase = f"analyzing ({task})"
1728
+ if since:
1729
+ _phase += f" since {since}"
1730
+ _progress.start(_phase)
1726
1731
  _t0 = _time.perf_counter()
1727
- output = builder.build(task, since=since, symptom=symptom)
1732
+ try:
1733
+ output = builder.build(task, since=since, symptom=symptom)
1734
+ finally:
1735
+ _progress.finish()
1728
1736
  _t_total = (_time.perf_counter() - _t0) * 1000
1729
1737
 
1730
1738
  if debug_perf:
@@ -2105,7 +2113,15 @@ def repo_ir_cmd(
2105
2113
  )
2106
2114
  return
2107
2115
 
2108
- ir = build_repo_ir(file_list, root, since=since)
2116
+ _ir_phase = f"extracting IR ({len(file_list)} files)"
2117
+ if since:
2118
+ _ir_phase += f" since {since}"
2119
+ _ir_progress = Progress()
2120
+ _ir_progress.start(_ir_phase)
2121
+ try:
2122
+ ir = build_repo_ir(file_list, root, since=since)
2123
+ finally:
2124
+ _ir_progress.finish()
2109
2125
  ir = apply_ir_size_limits(
2110
2126
  ir,
2111
2127
  max_nodes=max_nodes,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sourcecode
3
- Version: 1.30.19
3
+ Version: 1.30.20
4
4
  Summary: Deterministic codebase context for AI coding agents
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -221,7 +221,7 @@ Description-Content-Type: text/markdown
221
221
 
222
222
  **Deterministic, behavior-aware codebase context for AI agents and PR review.**
223
223
 
224
- ![Version](https://img.shields.io/badge/version-1.30.19-blue)
224
+ ![Version](https://img.shields.io/badge/version-1.30.20-blue)
225
225
  ![Python](https://img.shields.io/badge/python-3.10%2B-green)
226
226
 
227
227
  ---
@@ -257,7 +257,7 @@ pipx install sourcecode
257
257
 
258
258
  ```bash
259
259
  sourcecode version
260
- # sourcecode 1.30.19
260
+ # sourcecode 1.30.20
261
261
  ```
262
262
 
263
263
  ---
@@ -1,10 +1,10 @@
1
- sourcecode/__init__.py,sha256=INKPCnhh5ICq3yZ7MYdKW9iFC8jUinfGzMfJk94LSC0,104
1
+ sourcecode/__init__.py,sha256=obFFs7NMOkPvm06_OsHlVRwYG2d208XKidVw6XJGvvQ,104
2
2
  sourcecode/adaptive_scanner.py,sha256=RTNExwWPXzjgLaRueT7UuxkPj5ZEToWjGbx1j0LSZ9E,10250
3
3
  sourcecode/architecture_analyzer.py,sha256=MyBa0Hf5HmkudZQDLKrjcWDKETXETXl0mQX1swtTwAA,39091
4
4
  sourcecode/architecture_summary.py,sha256=z34_6v7cSwy98cof2UVciGho7SCrZ93tiqMmq5WNzRQ,20405
5
5
  sourcecode/ast_extractor.py,sha256=XgrZg2DcWcUm9r87cRG3KGO7IK2TIL_N-CvhSbUmmh4,49901
6
6
  sourcecode/classifier.py,sha256=pYve2J1LqtYssU3lYLMDz18PT-CjN5c18QYE7R_IG1Q,7507
7
- sourcecode/cli.py,sha256=an8qIJRnWekBUSyaLod6pD7VyU56V38EotFHDnXlNs8,87996
7
+ sourcecode/cli.py,sha256=aCax2JkxhsdI-o-kkFR9Sl8-ar6gqZNPEBWgEl2onUU,88436
8
8
  sourcecode/code_notes_analyzer.py,sha256=y1MJBnPZHYp4i6cQCXUb9ATIyifS_qMQWjw_8lPkpsU,9215
9
9
  sourcecode/confidence_analyzer.py,sha256=xw_Jv8pAd0wd8t2vvQlorw8Ih0rSF3YCoFS8K-_4aXg,15762
10
10
  sourcecode/context_scorer.py,sha256=QpChSpsmaAYz91rXA4Ue5xzQmNz_ZboZN09YOHScq1U,14679
@@ -64,8 +64,8 @@ sourcecode/telemetry/consent.py,sha256=wLMvGNJeSSyZoNkQXpoUioY6mMv4Qdvuw7S9jAEWn
64
64
  sourcecode/telemetry/events.py,sha256=oEvvulfsv5GIDWG2174gSS6tNB95w38AIYiYeifGKlE,2294
65
65
  sourcecode/telemetry/filters.py,sha256=Asa71oRl7q3Wt_FMwuufIZJFzSYdgRNKS8LHCIyFeYE,4805
66
66
  sourcecode/telemetry/transport.py,sha256=KJeIPCPWMdmbCP3ySGs2iUlia34U6vWne2dZsUezesw,1560
67
- sourcecode-1.30.19.dist-info/METADATA,sha256=MNkVBrHuR2xR9onBA950wqcFlHu13VRcjAjRQKsqlAo,28956
68
- sourcecode-1.30.19.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
69
- sourcecode-1.30.19.dist-info/entry_points.txt,sha256=ex3F9rmbXeyDIoFQHtkEqTsKSaJow8F0LrVu8XfIktQ,57
70
- sourcecode-1.30.19.dist-info/licenses/LICENSE,sha256=7DdHrU9Z_3e7dSvq4ISijZNjnuHo5NIHNiHDouMQ9JU,10491
71
- sourcecode-1.30.19.dist-info/RECORD,,
67
+ sourcecode-1.30.20.dist-info/METADATA,sha256=ONVOFIIxCCYPrwIs2HgP_S1TG3uaUjr7hrOLUKgp-zo,28956
68
+ sourcecode-1.30.20.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
69
+ sourcecode-1.30.20.dist-info/entry_points.txt,sha256=ex3F9rmbXeyDIoFQHtkEqTsKSaJow8F0LrVu8XfIktQ,57
70
+ sourcecode-1.30.20.dist-info/licenses/LICENSE,sha256=7DdHrU9Z_3e7dSvq4ISijZNjnuHo5NIHNiHDouMQ9JU,10491
71
+ sourcecode-1.30.20.dist-info/RECORD,,