conduct-cli 0.6.31__tar.gz → 0.6.32__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.6.31 → conduct_cli-0.6.32}/PKG-INFO +1 -1
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/pyproject.toml +1 -1
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/guard.py +5 -5
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/README.md +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/setup.cfg +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/setup.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/__init__.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/base.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/posttooluse.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/precompact.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/pretooluse.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/session_parser.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/session_start.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/hooks/stop.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/log_util.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli/paxel.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_bash_operator_signature.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_command_word_matcher.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_journal_drain.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_log_util.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_proxy_env.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_signed_policy.py +0 -0
- {conduct_cli-0.6.31 → conduct_cli-0.6.32}/tests/test_switch.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "conduct-cli"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.32"
|
|
8
8
|
description = "CLI for Conduct AI — secure, govern, install agents, manage projects, run tests"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -2110,8 +2110,8 @@ def cmd_guard_discover(args):
|
|
|
2110
2110
|
|
|
2111
2111
|
cfg = _load_guard_config()
|
|
2112
2112
|
api_url = _api_url(cfg)
|
|
2113
|
-
|
|
2114
|
-
hdrs = {"
|
|
2113
|
+
api_key = cfg.get("api_key", "")
|
|
2114
|
+
hdrs = {"X-Api-Key": api_key, "Content-Type": "application/json"}
|
|
2115
2115
|
|
|
2116
2116
|
# Config file scan — detect AI tools from known config dirs
|
|
2117
2117
|
config_agents = []
|
|
@@ -2161,9 +2161,9 @@ def cmd_guard_discover(args):
|
|
|
2161
2161
|
# POST to API
|
|
2162
2162
|
try:
|
|
2163
2163
|
payload = {"triggered_by": "cli", "agents": all_agents}
|
|
2164
|
-
|
|
2165
|
-
except
|
|
2166
|
-
pass # local output still useful
|
|
2164
|
+
_req("POST", f"{api_url}/guard/discover/scan", body=payload, api_key=api_key)
|
|
2165
|
+
except SystemExit:
|
|
2166
|
+
pass # 401/network errors — local output still useful
|
|
2167
2167
|
|
|
2168
2168
|
# Write report if requested
|
|
2169
2169
|
report_path = getattr(args, "report", None)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|