atbash-hermes-plugin 0.1.3.dev2__tar.gz → 0.1.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atbash-hermes-plugin
3
- Version: 0.1.3.dev2
3
+ Version: 0.1.5
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.3.dev2
13
+ Requires-Dist: atbash-sdk==0.1.5
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.3.dev2
38
+ pip install atbash-hermes-plugin==0.1.5
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.3.dev2
44
+ /path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.5
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.3.dev2
23
+ pip install atbash-hermes-plugin==0.1.5
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.3.dev2
29
+ /path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.5
30
30
  ```
31
31
 
32
32
  ## Configure Atbash
@@ -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.3.dev2") from e
223
+ raise RuntimeError("atbash-sdk is required. Install with: pip install atbash-sdk==0.1.5") 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.dev2
3
+ Version: 0.1.5
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.3.dev2
13
+ Requires-Dist: atbash-sdk==0.1.5
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.3.dev2
38
+ pip install atbash-hermes-plugin==0.1.5
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.3.dev2
44
+ /path/to/hermes/venv/bin/python -m pip install atbash-hermes-plugin==0.1.5
45
45
  ```
46
46
 
47
47
  ## Configure Atbash
@@ -0,0 +1 @@
1
+ atbash-sdk==0.1.5
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "atbash-hermes-plugin"
7
- version = "0.1.3.dev2"
7
+ version = "0.1.5"
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.3.dev2"
27
+ "atbash-sdk==0.1.5"
28
28
  ]
29
29
 
30
30
  [project.urls]
@@ -1 +0,0 @@
1
- atbash-sdk==0.1.3.dev2