atbash-hermes-plugin 0.4.17__tar.gz → 0.4.17.dev2__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.
- {atbash_hermes_plugin-0.4.17/atbash_hermes_plugin.egg-info → atbash_hermes_plugin-0.4.17.dev2}/PKG-INFO +28 -7
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/README.md +26 -5
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin/__init__.py +1 -1
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2/atbash_hermes_plugin.egg-info}/PKG-INFO +28 -7
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin.egg-info/requires.txt +1 -1
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/plugin.yaml +1 -1
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/pyproject.toml +2 -2
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_release_contract.py +7 -3
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/LICENSE +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/MANIFEST.in +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin.egg-info/SOURCES.txt +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin.egg-info/dependency_links.txt +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin.egg-info/entry_points.txt +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin.egg-info/top_level.txt +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/setup.cfg +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_memory_poisoning.py +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_memory_write_fail_closed.py +0 -0
- {atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_pre_tool_call_verdicts.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.17
|
|
3
|
+
Version: 0.4.17.dev2
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk<1.0.0,>=0.
|
|
13
|
+
Requires-Dist: atbash-sdk<1.0.0,>=0.9.0.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
|
@@ -35,19 +35,40 @@ stopped before execution.
|
|
|
35
35
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
|
-
Install the plugin into the same Python environment that runs Hermes.
|
|
39
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
38
|
+
Install the plugin into the same Python environment that runs Hermes. If Hermes runs in a virtual environment (the common case), use that environment's Python directly — the plain `pip` command below only applies if Hermes runs in your default Python environment:
|
|
40
39
|
|
|
41
40
|
```bash
|
|
42
|
-
pip install
|
|
41
|
+
pip install atbash-hermes-plugin
|
|
43
42
|
```
|
|
44
43
|
|
|
45
|
-
|
|
44
|
+
For a virtual environment, install into that environment's Python:
|
|
46
45
|
|
|
47
46
|
```bash
|
|
48
|
-
/path/to/hermes/venv/bin/python -m pip install
|
|
47
|
+
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin
|
|
49
48
|
```
|
|
50
49
|
|
|
50
|
+
On most machines this is `~/.hermes/hermes-agent/venv/bin/python`. If you installed via `uv`:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
uv pip install --python /path/to/hermes/venv/bin/python atbash-hermes-plugin
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Update
|
|
57
|
+
|
|
58
|
+
To update an existing install, use the same path you used to install:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
/path/to/hermes/venv/bin/python -m pip install --upgrade atbash-hermes-plugin
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or with `uv`:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv pip install --python /path/to/hermes/venv/bin/python --upgrade atbash-hermes-plugin
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
> **Note:** `hermes plugins update atbash-hermes-plugin` does not work — Hermes's built-in update command only applies to plugins installed from git.
|
|
71
|
+
|
|
51
72
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
52
73
|
Trusted Publishing. See [the release process](docs/release.md).
|
|
53
74
|
|
|
@@ -17,19 +17,40 @@ stopped before execution.
|
|
|
17
17
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
|
-
Install the plugin into the same Python environment that runs Hermes.
|
|
21
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
20
|
+
Install the plugin into the same Python environment that runs Hermes. If Hermes runs in a virtual environment (the common case), use that environment's Python directly — the plain `pip` command below only applies if Hermes runs in your default Python environment:
|
|
22
21
|
|
|
23
22
|
```bash
|
|
24
|
-
pip install
|
|
23
|
+
pip install atbash-hermes-plugin
|
|
25
24
|
```
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
For a virtual environment, install into that environment's Python:
|
|
28
27
|
|
|
29
28
|
```bash
|
|
30
|
-
/path/to/hermes/venv/bin/python -m pip install
|
|
29
|
+
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin
|
|
31
30
|
```
|
|
32
31
|
|
|
32
|
+
On most machines this is `~/.hermes/hermes-agent/venv/bin/python`. If you installed via `uv`:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
uv pip install --python /path/to/hermes/venv/bin/python atbash-hermes-plugin
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Update
|
|
39
|
+
|
|
40
|
+
To update an existing install, use the same path you used to install:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
/path/to/hermes/venv/bin/python -m pip install --upgrade atbash-hermes-plugin
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Or with `uv`:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
uv pip install --python /path/to/hermes/venv/bin/python --upgrade atbash-hermes-plugin
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
> **Note:** `hermes plugins update atbash-hermes-plugin` does not work — Hermes's built-in update command only applies to plugins installed from git.
|
|
53
|
+
|
|
33
54
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
34
55
|
Trusted Publishing. See [the release process](docs/release.md).
|
|
35
56
|
|
{atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/atbash_hermes_plugin/__init__.py
RENAMED
|
@@ -848,7 +848,7 @@ class AtbashHermesGuard:
|
|
|
848
848
|
from atbash import Atbash # type: ignore
|
|
849
849
|
from atbash.types import ToolCallInput # type: ignore
|
|
850
850
|
except Exception:
|
|
851
|
-
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.
|
|
851
|
+
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.9.3.dev0") from e
|
|
852
852
|
|
|
853
853
|
self.ToolCallInput = ToolCallInput
|
|
854
854
|
judge_cfg = self._judge_config()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.4.17
|
|
3
|
+
Version: 0.4.17.dev2
|
|
4
4
|
Summary: Atbash safety plugin for Hermes Agent
|
|
5
5
|
Author: atbash
|
|
6
6
|
License-Expression: LicenseRef-Atbash-Proprietary
|
|
@@ -10,7 +10,7 @@ Keywords: atbash,hermes,hermes-agent,agent-safety,ai-safety,tool-guard,judge,pol
|
|
|
10
10
|
Requires-Python: <3.13,>=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk<1.0.0,>=0.
|
|
13
|
+
Requires-Dist: atbash-sdk<1.0.0,>=0.9.0.dev0
|
|
14
14
|
Requires-Dist: httpx<1,>=0.27
|
|
15
15
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.29
|
|
16
16
|
Requires-Dist: opentelemetry-sdk<2,>=1.29
|
|
@@ -35,19 +35,40 @@ stopped before execution.
|
|
|
35
35
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
|
-
Install the plugin into the same Python environment that runs Hermes.
|
|
39
|
-
This prerelease requires Python 3.10 through 3.12, matching `atbash-sdk==0.7.1.dev0`.
|
|
38
|
+
Install the plugin into the same Python environment that runs Hermes. If Hermes runs in a virtual environment (the common case), use that environment's Python directly — the plain `pip` command below only applies if Hermes runs in your default Python environment:
|
|
40
39
|
|
|
41
40
|
```bash
|
|
42
|
-
pip install
|
|
41
|
+
pip install atbash-hermes-plugin
|
|
43
42
|
```
|
|
44
43
|
|
|
45
|
-
|
|
44
|
+
For a virtual environment, install into that environment's Python:
|
|
46
45
|
|
|
47
46
|
```bash
|
|
48
|
-
/path/to/hermes/venv/bin/python -m pip install
|
|
47
|
+
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin
|
|
49
48
|
```
|
|
50
49
|
|
|
50
|
+
On most machines this is `~/.hermes/hermes-agent/venv/bin/python`. If you installed via `uv`:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
uv pip install --python /path/to/hermes/venv/bin/python atbash-hermes-plugin
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Update
|
|
57
|
+
|
|
58
|
+
To update an existing install, use the same path you used to install:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
/path/to/hermes/venv/bin/python -m pip install --upgrade atbash-hermes-plugin
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or with `uv`:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv pip install --python /path/to/hermes/venv/bin/python --upgrade atbash-hermes-plugin
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
> **Note:** `hermes plugins update atbash-hermes-plugin` does not work — Hermes's built-in update command only applies to plugins installed from git.
|
|
71
|
+
|
|
51
72
|
Maintainers: releases use clean staged source, live PyPI monotonic checks, and
|
|
52
73
|
Trusted Publishing. See [the release process](docs/release.md).
|
|
53
74
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "atbash-hermes-plugin"
|
|
7
|
-
version = "0.4.17"
|
|
7
|
+
version = "0.4.17.dev2"
|
|
8
8
|
description = "Atbash safety plugin for Hermes Agent"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9,<3.13"
|
|
@@ -24,7 +24,7 @@ keywords = [
|
|
|
24
24
|
"policy"
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"atbash-sdk>=0.
|
|
27
|
+
"atbash-sdk>=0.9.0.dev0,<1.0.0",
|
|
28
28
|
"httpx>=0.27,<1",
|
|
29
29
|
"opentelemetry-exporter-otlp-proto-http>=1.29,<2",
|
|
30
30
|
"opentelemetry-sdk>=1.29,<2",
|
{atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_release_contract.py
RENAMED
|
@@ -96,9 +96,13 @@ def test_staging_changes_both_manifests_only_in_the_copy(tmp_path: Path) -> None
|
|
|
96
96
|
|
|
97
97
|
def test_publish_workflow_fails_closed_outside_main() -> None:
|
|
98
98
|
workflow = (ROOT / ".github/workflows/publish.yml").read_text(encoding="utf-8")
|
|
99
|
-
|
|
100
|
-
assert
|
|
101
|
-
|
|
99
|
+
# latest channel must still be locked to main
|
|
100
|
+
assert 'test "$GITHUB_REF" = refs/heads/main' in workflow
|
|
101
|
+
# dev channel additionally allows the dev branch
|
|
102
|
+
assert 'test "$GITHUB_REF" = refs/heads/dev' in workflow
|
|
103
|
+
# the branch guard must appear before checkout
|
|
104
|
+
guard_pos = workflow.index('test "$GITHUB_REF" = refs/heads/main')
|
|
105
|
+
assert guard_pos < workflow.index("actions/checkout@")
|
|
102
106
|
|
|
103
107
|
|
|
104
108
|
def _metadata(name: str, version: str) -> bytes:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{atbash_hermes_plugin-0.4.17 → atbash_hermes_plugin-0.4.17.dev2}/tests/test_memory_poisoning.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|