hermes-github-app-plugin 0.1.0__tar.gz → 0.1.1__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.
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/PKG-INFO +3 -3
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/README.md +2 -2
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/pyproject.toml +2 -2
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/tests/test_plugin.py +10 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/.github/workflows/cd.yaml +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/.github/workflows/ci.yaml +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/.gitignore +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/LICENSE +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/plugin.yaml +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/skills/github-app-workflow/SKILL.md +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/__init__.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/auth.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/cli.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/config.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/py.typed +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/schemas.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/skills/github-app-workflow/SKILL.md +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/src/hermes_github_app_plugin/tools.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/tests/test_auth.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/tests/test_cli.py +0 -0
- {hermes_github_app_plugin-0.1.0 → hermes_github_app_plugin-0.1.1}/tests/test_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hermes-github-app-plugin
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Hermes plugin for per-agent GitHub App identity, gh/git wrappers, and GitHub App-aware tools.
|
|
5
5
|
Author: Hermes GitHub App Plugin Contributors
|
|
6
6
|
License: MIT
|
|
@@ -127,8 +127,8 @@ Before the first release, configure PyPI Trusted Publishing for this repository
|
|
|
127
127
|
Release example:
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
|
-
git tag 0.1.
|
|
131
|
-
git push origin 0.1.
|
|
130
|
+
git tag 0.1.1
|
|
131
|
+
git push origin 0.1.1
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
Tags like `v0.1.0`, `0.1`, or `0.1.0rc1` will not publish.
|
|
@@ -108,8 +108,8 @@ Before the first release, configure PyPI Trusted Publishing for this repository
|
|
|
108
108
|
Release example:
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
git tag 0.1.
|
|
112
|
-
git push origin 0.1.
|
|
111
|
+
git tag 0.1.1
|
|
112
|
+
git push origin 0.1.1
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Tags like `v0.1.0`, `0.1`, or `0.1.0rc1` will not publish.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hermes-github-app-plugin"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "Hermes plugin for per-agent GitHub App identity, gh/git wrappers, and GitHub App-aware tools."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -26,7 +26,7 @@ dev = [
|
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.entry-points."hermes_agent.plugins"]
|
|
29
|
-
github-app = "hermes_github_app_plugin
|
|
29
|
+
github-app = "hermes_github_app_plugin"
|
|
30
30
|
|
|
31
31
|
[project.scripts]
|
|
32
32
|
gh-app = "hermes_github_app_plugin.cli:gh_app_main"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from importlib.metadata import entry_points
|
|
5
6
|
from pathlib import Path
|
|
6
7
|
from typing import Any
|
|
7
8
|
|
|
@@ -33,3 +34,12 @@ def test_register_adds_tools_cli_and_skill() -> None:
|
|
|
33
34
|
assert "github_app_create_pr" in ctx.tools
|
|
34
35
|
assert ctx.cli_commands == ["hermes-github-app"]
|
|
35
36
|
assert ctx.skills[0][0] == "github-app-workflow"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def test_plugin_entry_point_loads_module_with_register() -> None:
|
|
40
|
+
matches = [ep for ep in entry_points(group="hermes_agent.plugins") if ep.name == "github-app"]
|
|
41
|
+
|
|
42
|
+
assert len(matches) == 1
|
|
43
|
+
loaded = matches[0].load()
|
|
44
|
+
assert loaded.__name__ == "hermes_github_app_plugin"
|
|
45
|
+
assert loaded.register is register
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|