tai42-tools-github 1.4.0__tar.gz → 2.0.0__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 (23) hide show
  1. {tai42_tools_github-1.4.0/src/tai42_tools_github.egg-info → tai42_tools_github-2.0.0}/PKG-INFO +1 -1
  2. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/pyproject.toml +1 -1
  3. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/_internal/tools/github_client.py +4 -4
  4. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/tai-plugin.yml +1 -1
  5. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0/src/tai42_tools_github.egg-info}/PKG-INFO +1 -1
  6. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/LICENSE +0 -0
  7. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/MANIFEST.in +0 -0
  8. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/NOTICE +0 -0
  9. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/README.md +0 -0
  10. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/setup.cfg +0 -0
  11. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/__init__.py +0 -0
  12. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/_internal/__init__.py +0 -0
  13. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/_internal/tools/__init__.py +0 -0
  14. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/docs/index.mdx +0 -0
  15. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/py.typed +0 -0
  16. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/tools/__init__.py +0 -0
  17. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/tools/create_github_webhook.py +0 -0
  18. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/tools/delete_github_webhook.py +0 -0
  19. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github/tools/list_github_webhooks.py +0 -0
  20. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github.egg-info/SOURCES.txt +0 -0
  21. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github.egg-info/dependency_links.txt +0 -0
  22. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github.egg-info/requires.txt +0 -0
  23. {tai42_tools_github-1.4.0 → tai42_tools_github-2.0.0}/src/tai42_tools_github.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tai42-tools-github
3
- Version: 1.4.0
3
+ Version: 2.0.0
4
4
  Summary: GitHub provisioning tools for the TAI ecosystem: manifest-loaded repository-webhook setup tools that create a repository webhook, list a repository's webhooks with Link-header pagination, and delete a repository webhook — the provider-side counterpart to the runtime signature verifier.
5
5
  Author-email: tai42 <oss@tai42.ai>
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "tai42-tools-github"
7
- version = "1.4.0"
7
+ version = "2.0.0"
8
8
  description = "GitHub provisioning tools for the TAI ecosystem: manifest-loaded repository-webhook setup tools that create a repository webhook, list a repository's webhooks with Link-header pagination, and delete a repository webhook — the provider-side counterpart to the runtime signature verifier."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13"
@@ -72,10 +72,10 @@ def github_tools_settings() -> GithubToolsSettings:
72
72
  def _token() -> str:
73
73
  """The configured GitHub token, revealed.
74
74
 
75
- Missing and EMPTY are the same failure and both raise naming ``TOOLS_GITHUB_TOKEN``: an empty
76
- env var parses to ``SecretStr("")`` (not ``None``), so a plain ``is None`` test would send
77
- ``Authorization: Bearer`` with no credential. This is the module's only read path for the value,
78
- so the error is identical on every path.
75
+ Missing and EMPTY are the same failure and both raise naming ``TOOLS_GITHUB_TOKEN``: the
76
+ settings layer reads an empty env var as unset, and the empty-value check refuses an empty
77
+ token from any other source, so ``Authorization: Bearer`` with no credential is never sent.
78
+ This is the module's only read path for the value, so the error is identical on every path.
79
79
  """
80
80
  token = github_tools_settings().token
81
81
  if not (token and token.get_secret_value()):
@@ -2,7 +2,7 @@ spec_version: 1
2
2
  namespace: tai42
3
3
  name: tools-github
4
4
  package: tai42-tools-github
5
- version: 1.4.0
5
+ version: 2.0.0
6
6
  description: >-
7
7
  GitHub provisioning tools for the TAI ecosystem: manifest-loaded
8
8
  repository-webhook setup tools that create a repository webhook, list a
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tai42-tools-github
3
- Version: 1.4.0
3
+ Version: 2.0.0
4
4
  Summary: GitHub provisioning tools for the TAI ecosystem: manifest-loaded repository-webhook setup tools that create a repository webhook, list a repository's webhooks with Link-header pagination, and delete a repository webhook — the provider-side counterpart to the runtime signature verifier.
5
5
  Author-email: tai42 <oss@tai42.ai>
6
6
  License-Expression: Apache-2.0