conduct-cli 0.4.53__tar.gz → 0.4.54__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.
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/PKG-INFO +1 -1
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/pyproject.toml +1 -1
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/guard.py +4 -3
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/README.md +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/setup.cfg +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/setup.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.4.53 → conduct_cli-0.4.54}/tests/test_switch.py +0 -0
|
@@ -485,9 +485,10 @@ def post_usage_main():
|
|
|
485
485
|
if action in ("warn", "block"):
|
|
486
486
|
decision = "warned" if action == "warn" else "blocked"
|
|
487
487
|
_post_event(tool_name, {}, decision, rule_id, message, session_id=session_id)
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
|
|
489
|
+
# Security classifier runs regardless of transcript_path — scan every tool response
|
|
490
|
+
tool_response = data.get("tool_response") or data.get("output") or ""
|
|
491
|
+
_maybe_emit_security_finding(str(tool_response), session_id, tool_name)
|
|
491
492
|
|
|
492
493
|
sys.exit(0)
|
|
493
494
|
|
|
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
|