llama-github 0.4.2__tar.gz → 0.4.3__tar.gz

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 (48) hide show
  1. {llama_github-0.4.2 → llama_github-0.4.3}/CHANGELOG.md +7 -0
  2. {llama_github-0.4.2/llama_github.egg-info → llama_github-0.4.3}/PKG-INFO +2 -2
  3. {llama_github-0.4.2 → llama_github-0.4.3}/README.md +1 -1
  4. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/data_retrieval/github_entities.py +32 -8
  5. llama_github-0.4.3/llama_github/version.py +1 -0
  6. {llama_github-0.4.2 → llama_github-0.4.3/llama_github.egg-info}/PKG-INFO +2 -2
  7. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_data_retrieval.py +4 -0
  8. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_distribution_contents.py +3 -3
  9. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_minimal_imports.py +1 -1
  10. llama_github-0.4.2/llama_github/version.py +0 -1
  11. {llama_github-0.4.2 → llama_github-0.4.3}/LICENSE +0 -0
  12. {llama_github-0.4.2 → llama_github-0.4.3}/MANIFEST.in +0 -0
  13. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/__init__.py +0 -0
  14. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/config/__init__.py +0 -0
  15. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/config/config.json +0 -0
  16. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/config/config.py +0 -0
  17. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/data_retrieval/__init__.py +0 -0
  18. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/data_retrieval/github_api.py +0 -0
  19. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/github_integration/__init__.py +0 -0
  20. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/github_integration/github_auth_manager.py +0 -0
  21. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/github_rag.py +0 -0
  22. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/llm_integration/__init__.py +0 -0
  23. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/llm_integration/initial_load.py +0 -0
  24. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/llm_integration/llm_handler.py +0 -0
  25. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/logger.py +0 -0
  26. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/rag_processing/__init__.py +0 -0
  27. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/rag_processing/rag_processor.py +0 -0
  28. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github/utils.py +0 -0
  29. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github.egg-info/SOURCES.txt +0 -0
  30. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github.egg-info/dependency_links.txt +0 -0
  31. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github.egg-info/requires.txt +0 -0
  32. {llama_github-0.4.2 → llama_github-0.4.3}/llama_github.egg-info/top_level.txt +0 -0
  33. {llama_github-0.4.2 → llama_github-0.4.3}/pyproject.toml +0 -0
  34. {llama_github-0.4.2 → llama_github-0.4.3}/pytest.ini +0 -0
  35. {llama_github-0.4.2 → llama_github-0.4.3}/scripts/__init__.py +0 -0
  36. {llama_github-0.4.2 → llama_github-0.4.3}/scripts/verify_distribution_contents.py +0 -0
  37. {llama_github-0.4.2 → llama_github-0.4.3}/setup.cfg +0 -0
  38. {llama_github-0.4.2 → llama_github-0.4.3}/setup.py +0 -0
  39. {llama_github-0.4.2 → llama_github-0.4.3}/tests/__init__.py +0 -0
  40. {llama_github-0.4.2 → llama_github-0.4.3}/tests/conftest.py +0 -0
  41. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_github_auth_manager.py +0 -0
  42. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_github_rag.py +0 -0
  43. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_initial_load.py +0 -0
  44. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_llm_handler.py +0 -0
  45. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_logger.py +0 -0
  46. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_logging_privacy.py +0 -0
  47. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_rag_processor.py +0 -0
  48. {llama_github-0.4.2 → llama_github-0.4.3}/tests/test_utils.py +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.3] - 2026-07-15
9
+
10
+ ### Fixed
11
+ - Aligned the `dependency_lock` opt-in with the complete standard lockfile family used by bounded review planning, including `go.sum`, `gradle.lockfile`, `packages.lock.json`, and ecosystem peers
12
+ - Aligned the `ci_config` opt-in with the existing bounded CI path family, including AppVeyor configuration
13
+
8
14
  ## [0.4.2] - 2026-07-15
9
15
 
10
16
  ### Added
@@ -192,6 +198,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
192
198
  - Integration with LLM for processing and generating responses
193
199
 
194
200
  [0.1.4]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.3...v0.1.4
201
+ [0.4.3]: https://github.com/JetXu-LLM/llama-github/compare/v0.4.2...v0.4.3
195
202
  [0.4.2]: https://github.com/JetXu-LLM/llama-github/compare/v0.4.1...v0.4.2
196
203
  [0.4.1]: https://github.com/JetXu-LLM/llama-github/compare/v0.4.0...v0.4.1
197
204
  [0.1.3]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.2...v0.1.3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-github
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: GitHub retrieval and context generation utilities for coding assistants and AI developer workflows.
5
5
  Author-email: Jet Xu <Voldemort.xu@foxmail.com>
6
6
  License-Expression: Apache-2.0
@@ -61,7 +61,7 @@ pip install llama-github
61
61
 
62
62
  Current maintained runtime target: Python `3.10` through `3.14`.
63
63
 
64
- Version `0.4.2` keeps the existing high-level API while allowing retrieval-only
64
+ Version `0.4.3` keeps the existing high-level API while allowing retrieval-only
65
65
  integrations to import GitHub and diff helpers without loading the ML/RAG dependency
66
66
  stack. Built-in Jina models are pinned to immutable revisions; custom remote-code
67
67
  models should provide their own immutable revision. Pull-request retrieval now keeps
@@ -18,7 +18,7 @@ pip install llama-github
18
18
 
19
19
  Current maintained runtime target: Python `3.10` through `3.14`.
20
20
 
21
- Version `0.4.2` keeps the existing high-level API while allowing retrieval-only
21
+ Version `0.4.3` keeps the existing high-level API while allowing retrieval-only
22
22
  integrations to import GitHub and diff helpers without loading the ML/RAG dependency
23
23
  stack. Built-in Jina models are pinned to immutable revisions; custom remote-code
24
24
  models should provide their own immutable revision. Pull-request retrieval now keeps
@@ -32,6 +32,32 @@ __all__ = [
32
32
  DEFAULT_RELATED_ISSUE_MAX_HITS = 20
33
33
  BOUNDED_TEXT_SOURCE_MAX_BYTES = 2 * 1024 * 1024
34
34
 
35
+ _DEPENDENCY_LOCK_BASENAMES = frozenset(
36
+ {
37
+ "package-lock.json",
38
+ "npm-shrinkwrap.json",
39
+ "pnpm-lock.yaml",
40
+ "pnpm-lock.yml",
41
+ "yarn.lock",
42
+ "bun.lock",
43
+ "bun.lockb",
44
+ "uv.lock",
45
+ "poetry.lock",
46
+ "pipfile.lock",
47
+ "go.sum",
48
+ "cargo.lock",
49
+ "gradle.lockfile",
50
+ "gemfile.lock",
51
+ "composer.lock",
52
+ "pubspec.lock",
53
+ "mix.lock",
54
+ "flake.lock",
55
+ "renv.lock",
56
+ "package.resolved",
57
+ "packages.lock.json",
58
+ }
59
+ )
60
+
35
61
 
36
62
  class BoundedTextReadOutcome(str, Enum):
37
63
  """Truthful terminal outcome for one bounded repository text read."""
@@ -98,15 +124,11 @@ def _bounded_text_policy_class(file_path: str) -> Optional[str]:
98
124
 
99
125
  if (
100
126
  basename.endswith(".lock")
127
+ or basename.endswith(".lockfile")
101
128
  or basename.endswith(".lock.json")
102
- or basename in {
103
- "package-lock.json",
104
- "npm-shrinkwrap.json",
105
- "pnpm-lock.yaml",
106
- "pnpm-lock.yml",
107
- "yarn.lock",
108
- "uv.lock",
109
- }
129
+ or basename.endswith("-lock.json")
130
+ or basename.endswith("_lock.json")
131
+ or basename in _DEPENDENCY_LOCK_BASENAMES
110
132
  ):
111
133
  return BoundedTextReadOptIn.DEPENDENCY_LOCK.value
112
134
 
@@ -126,6 +148,8 @@ def _bounded_text_policy_class(file_path: str) -> Optional[str]:
126
148
  "bitbucket-pipelines.yml",
127
149
  "bitbucket-pipelines.yaml",
128
150
  "jenkinsfile",
151
+ "appveyor.yml",
152
+ "appveyor.yaml",
129
153
  }
130
154
  ):
131
155
  return BoundedTextReadOptIn.CI_CONFIG.value
@@ -0,0 +1 @@
1
+ __version__ = "0.4.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llama-github
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: GitHub retrieval and context generation utilities for coding assistants and AI developer workflows.
5
5
  Author-email: Jet Xu <Voldemort.xu@foxmail.com>
6
6
  License-Expression: Apache-2.0
@@ -61,7 +61,7 @@ pip install llama-github
61
61
 
62
62
  Current maintained runtime target: Python `3.10` through `3.14`.
63
63
 
64
- Version `0.4.2` keeps the existing high-level API while allowing retrieval-only
64
+ Version `0.4.3` keeps the existing high-level API while allowing retrieval-only
65
65
  integrations to import GitHub and diff helpers without loading the ML/RAG dependency
66
66
  stack. Built-in Jina models are pinned to immutable revisions; custom remote-code
67
67
  models should provide their own immutable revision. Pull-request retrieval now keeps
@@ -73,11 +73,15 @@ class TestRepository:
73
73
  ("path", "opt_in", "expected_policy"),
74
74
  [
75
75
  ("uv.lock", BoundedTextReadOptIn.DEPENDENCY_LOCK, "dependency_lock"),
76
+ ("go.sum", BoundedTextReadOptIn.DEPENDENCY_LOCK, "dependency_lock"),
77
+ ("gradle.lockfile", BoundedTextReadOptIn.DEPENDENCY_LOCK, "dependency_lock"),
78
+ ("packages.lock.json", BoundedTextReadOptIn.DEPENDENCY_LOCK, "dependency_lock"),
76
79
  (
77
80
  ".github/workflows/test.yml",
78
81
  BoundedTextReadOptIn.CI_CONFIG,
79
82
  "ci_config",
80
83
  ),
84
+ ("appveyor.yml", BoundedTextReadOptIn.CI_CONFIG, "ci_config"),
81
85
  ],
82
86
  )
83
87
  def test_bounded_text_read_allows_only_exact_high_intent_opt_in(
@@ -16,20 +16,20 @@ def _write_wheel(path: Path, *, extra_files=()) -> None:
16
16
  with zipfile.ZipFile(path, "w") as archive:
17
17
  for name in sorted(expected_package_files(ROOT)):
18
18
  archive.writestr(name, b"")
19
- archive.writestr("llama_github-0.4.2.dist-info/METADATA", b"")
19
+ archive.writestr("llama_github-0.4.3.dist-info/METADATA", b"")
20
20
  for name in extra_files:
21
21
  archive.writestr(name, b"")
22
22
 
23
23
 
24
24
  def test_wheel_content_verifier_accepts_exact_source_package(tmp_path):
25
- wheel = tmp_path / "llama_github-0.4.2-py3-none-any.whl"
25
+ wheel = tmp_path / "llama_github-0.4.3-py3-none-any.whl"
26
26
  _write_wheel(wheel)
27
27
 
28
28
  verify_wheel(wheel, source_root=ROOT)
29
29
 
30
30
 
31
31
  def test_wheel_content_verifier_rejects_stale_duplicate_module(tmp_path):
32
- wheel = tmp_path / "llama_github-0.4.2-py3-none-any.whl"
32
+ wheel = tmp_path / "llama_github-0.4.3-py3-none-any.whl"
33
33
  _write_wheel(
34
34
  wheel,
35
35
  extra_files=("llama_github/data_retrieval/github_entities 2.py",),
@@ -22,7 +22,7 @@ def test_retrieval_imports_do_not_load_heavy_rag_dependencies():
22
22
  assert callable(Repository.get_ci_status_with_status)
23
23
  assert callable(Repository.read_text_file_bounded)
24
24
  assert BoundedTextReadResult.__name__ == "BoundedTextReadResult"
25
- assert llama_github.__version__ == "0.4.2"
25
+ assert llama_github.__version__ == "0.4.3"
26
26
  """
27
27
  )
28
28
 
@@ -1 +0,0 @@
1
- __version__ = "0.4.2"
File without changes
File without changes
File without changes
File without changes
File without changes