conduct-cli 0.4.8__tar.gz → 0.4.9__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.8 → conduct_cli-0.4.9}/PKG-INFO +1 -1
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/pyproject.toml +1 -1
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli/guard.py +6 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/README.md +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/setup.cfg +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/setup.py +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.8 → conduct_cli-0.4.9}/src/conduct_cli.egg-info/top_level.txt +0 -0
|
@@ -204,6 +204,12 @@ def post_usage_main():
|
|
|
204
204
|
data = json.load(sys.stdin)
|
|
205
205
|
except Exception:
|
|
206
206
|
sys.exit(0)
|
|
207
|
+
# Write full payload to debug file so we can inspect what Claude Code sends
|
|
208
|
+
try:
|
|
209
|
+
debug_path = GUARD_DIR / "debug_post.json"
|
|
210
|
+
debug_path.write_text(json.dumps(data, indent=2))
|
|
211
|
+
except Exception:
|
|
212
|
+
pass
|
|
207
213
|
session_id = data.get("session_id")
|
|
208
214
|
tool_name = (data.get("tool_name") or "").lower()
|
|
209
215
|
usage = data.get("usage") or {}
|
|
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
|