sourcecode 1.27.0__py3-none-any.whl → 1.28.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.
- sourcecode/__init__.py +1 -1
- sourcecode/prepare_context.py +3 -2
- {sourcecode-1.27.0.dist-info → sourcecode-1.28.0.dist-info}/METADATA +3 -3
- {sourcecode-1.27.0.dist-info → sourcecode-1.28.0.dist-info}/RECORD +7 -7
- {sourcecode-1.27.0.dist-info → sourcecode-1.28.0.dist-info}/WHEEL +0 -0
- {sourcecode-1.27.0.dist-info → sourcecode-1.28.0.dist-info}/entry_points.txt +0 -0
- {sourcecode-1.27.0.dist-info → sourcecode-1.28.0.dist-info}/licenses/LICENSE +0 -0
sourcecode/__init__.py
CHANGED
sourcecode/prepare_context.py
CHANGED
|
@@ -2309,10 +2309,11 @@ class TaskContextBuilder:
|
|
|
2309
2309
|
r = subprocess.run(
|
|
2310
2310
|
["git", "branch", "-a", "--format=%(refname:short)"],
|
|
2311
2311
|
cwd=str(self.root),
|
|
2312
|
-
capture_output=True, text=True,
|
|
2312
|
+
capture_output=True, text=True,
|
|
2313
|
+
encoding="utf-8", errors="replace", timeout=5,
|
|
2313
2314
|
)
|
|
2314
2315
|
if r.returncode == 0:
|
|
2315
|
-
all_refs = [b.strip() for b in r.stdout.splitlines() if b.strip()]
|
|
2316
|
+
all_refs = [b.strip() for b in (r.stdout or "").splitlines() if b.strip()]
|
|
2316
2317
|
branches = [b for b in all_refs if "HEAD" not in b][:10]
|
|
2317
2318
|
ref_lower = invalid_ref.lower()
|
|
2318
2319
|
if ref_lower == "master" and any(b.rstrip("/").endswith("main") for b in all_refs):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sourcecode
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.28.0
|
|
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
|
**Compressed AI-ready context for Java/Spring enterprise codebases.**
|
|
223
223
|
|
|
224
|
-

|
|
225
225
|

|
|
226
226
|
|
|
227
227
|
---
|
|
@@ -255,7 +255,7 @@ pipx install sourcecode
|
|
|
255
255
|
|
|
256
256
|
```bash
|
|
257
257
|
sourcecode version
|
|
258
|
-
# sourcecode 1.
|
|
258
|
+
# sourcecode 1.28.0
|
|
259
259
|
```
|
|
260
260
|
|
|
261
261
|
---
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sourcecode/__init__.py,sha256=
|
|
1
|
+
sourcecode/__init__.py,sha256=3x3ggja8yI1ruQ2kQv4TUDWkkzQNoGoAeTJj9npxRRk,103
|
|
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
|
|
@@ -20,7 +20,7 @@ sourcecode/file_classifier.py,sha256=48ly5Z6exkzBy8lNy1AkdP4-oJqIA1zT3LZfffuTyDo
|
|
|
20
20
|
sourcecode/git_analyzer.py,sha256=_pCg2V4d2aa17k9hayTzpexAj8syvyk4y9NYNvvgOAI,12802
|
|
21
21
|
sourcecode/graph_analyzer.py,sha256=iUK-7pSV-cvGqqD2hENdYmhnm0wcXFEyK-xnu5ul8OU,62515
|
|
22
22
|
sourcecode/metrics_analyzer.py,sha256=m0ENgtqKeBL17kUIK3fmGkgo7UfXBNHxCMj0H_Y5K7c,22750
|
|
23
|
-
sourcecode/prepare_context.py,sha256=
|
|
23
|
+
sourcecode/prepare_context.py,sha256=5iwOsq6H4WtyTeRmzlkNZup-8R2I1wc396afjuh0HxI,111997
|
|
24
24
|
sourcecode/progress.py,sha256=qn30sWaHOkjTgXsSBmiPkz7Rsbwc5oSlIe6JNEMYp_k,3149
|
|
25
25
|
sourcecode/ranking_engine.py,sha256=virVglafZufioHpZpwktjMvUiL0TZELWQCQnQNV8dFo,9360
|
|
26
26
|
sourcecode/redactor.py,sha256=xuGcadGEHaPw4qZXlMDvzMCsr4VOkdp3oBQptHyJk8c,2884
|
|
@@ -61,8 +61,8 @@ sourcecode/telemetry/consent.py,sha256=wLMvGNJeSSyZoNkQXpoUioY6mMv4Qdvuw7S9jAEWn
|
|
|
61
61
|
sourcecode/telemetry/events.py,sha256=oEvvulfsv5GIDWG2174gSS6tNB95w38AIYiYeifGKlE,2294
|
|
62
62
|
sourcecode/telemetry/filters.py,sha256=Asa71oRl7q3Wt_FMwuufIZJFzSYdgRNKS8LHCIyFeYE,4805
|
|
63
63
|
sourcecode/telemetry/transport.py,sha256=KJeIPCPWMdmbCP3ySGs2iUlia34U6vWne2dZsUezesw,1560
|
|
64
|
-
sourcecode-1.
|
|
65
|
-
sourcecode-1.
|
|
66
|
-
sourcecode-1.
|
|
67
|
-
sourcecode-1.
|
|
68
|
-
sourcecode-1.
|
|
64
|
+
sourcecode-1.28.0.dist-info/METADATA,sha256=6U_sJqilesXL6hWI7OSWgzJAkFWWxL3vwUUhTFzaQ0k,23417
|
|
65
|
+
sourcecode-1.28.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
66
|
+
sourcecode-1.28.0.dist-info/entry_points.txt,sha256=ex3F9rmbXeyDIoFQHtkEqTsKSaJow8F0LrVu8XfIktQ,57
|
|
67
|
+
sourcecode-1.28.0.dist-info/licenses/LICENSE,sha256=7DdHrU9Z_3e7dSvq4ISijZNjnuHo5NIHNiHDouMQ9JU,10491
|
|
68
|
+
sourcecode-1.28.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|