atbash-hermes-plugin 0.1.4__tar.gz → 0.1.5.dev0__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.1.4 → atbash_hermes_plugin-0.1.5.dev0}/PKG-INFO +4 -4
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/README.md +2 -2
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin/__init__.py +10 -1
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin.egg-info/PKG-INFO +4 -4
- atbash_hermes_plugin-0.1.5.dev0/atbash_hermes_plugin.egg-info/requires.txt +1 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/pyproject.toml +2 -2
- atbash_hermes_plugin-0.1.4/atbash_hermes_plugin.egg-info/requires.txt +0 -1
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/LICENSE +0 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin.egg-info/SOURCES.txt +0 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin.egg-info/dependency_links.txt +0 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin.egg-info/entry_points.txt +0 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin.egg-info/top_level.txt +0 -0
- {atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev0
|
|
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.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.1.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.1.5.dev0
|
|
14
14
|
Dynamic: license-file
|
|
15
15
|
|
|
16
16
|
# Atbash Hermes Plugin
|
|
@@ -35,13 +35,13 @@ stopped before execution.
|
|
|
35
35
|
Install the plugin into the same Python environment that runs Hermes:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
pip install atbash-hermes-plugin==0.1.
|
|
38
|
+
pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.
|
|
44
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Configure Atbash
|
|
@@ -20,13 +20,13 @@ stopped before execution.
|
|
|
20
20
|
Install the plugin into the same Python environment that runs Hermes:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
pip install atbash-hermes-plugin==0.1.
|
|
23
|
+
pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.
|
|
29
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Configure Atbash
|
{atbash_hermes_plugin-0.1.4 → atbash_hermes_plugin-0.1.5.dev0}/atbash_hermes_plugin/__init__.py
RENAMED
|
@@ -220,7 +220,7 @@ class AtbashHermesGuard:
|
|
|
220
220
|
from atbash import Atbash # type: ignore
|
|
221
221
|
from atbash.types import ToolCallInput # type: ignore
|
|
222
222
|
except Exception:
|
|
223
|
-
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.1.
|
|
223
|
+
raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.1.5.dev0") from e
|
|
224
224
|
|
|
225
225
|
self.ToolCallInput = ToolCallInput
|
|
226
226
|
judge_cfg = self._judge_config()
|
|
@@ -370,6 +370,15 @@ class AtbashHermesGuard:
|
|
|
370
370
|
"message": f"Blocked by Atbash policy: {reason}",
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
+
if verdict == "ERROR":
|
|
374
|
+
logger.warning("Atbash ERROR verdict tool=%s reason=%s", tool_name, reason)
|
|
375
|
+
if self.fail_closed:
|
|
376
|
+
return {
|
|
377
|
+
"action": "block",
|
|
378
|
+
"message": f"Blocked (Atbash judge error): {reason}",
|
|
379
|
+
}
|
|
380
|
+
return None
|
|
381
|
+
|
|
373
382
|
return None
|
|
374
383
|
except Exception as e:
|
|
375
384
|
logger.warning("Atbash guard error tool=%s err=%s", tool_name, e)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: atbash-hermes-plugin
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev0
|
|
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.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: atbash-sdk==0.1.
|
|
13
|
+
Requires-Dist: atbash-sdk==0.1.5.dev0
|
|
14
14
|
Dynamic: license-file
|
|
15
15
|
|
|
16
16
|
# Atbash Hermes Plugin
|
|
@@ -35,13 +35,13 @@ stopped before execution.
|
|
|
35
35
|
Install the plugin into the same Python environment that runs Hermes:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
pip install atbash-hermes-plugin==0.1.
|
|
38
|
+
pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
If Hermes is installed in a virtual environment, use that environment's Python:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
/path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.
|
|
44
|
+
/path/to/hermes/venv/bin/python -m pip install --pre atbash-hermes-plugin==0.1.5.dev0
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Configure Atbash
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
atbash-sdk==0.1.5.dev0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "atbash-hermes-plugin"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.5.dev0"
|
|
8
8
|
description = "Atbash safety plugin for Hermes Agent"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -24,7 +24,7 @@ keywords = [
|
|
|
24
24
|
"policy"
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"atbash-sdk==0.1.
|
|
27
|
+
"atbash-sdk==0.1.5.dev0"
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[project.urls]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
atbash-sdk==0.1.4
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|