conduct-cli 0.6.29__tar.gz → 0.6.31__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.29 → conduct_cli-0.6.31}/PKG-INFO +2 -2
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/pyproject.toml +2 -2
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/guard.py +16 -2
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/PKG-INFO +2 -2
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/README.md +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/setup.cfg +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/setup.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/__init__.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/base.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/posttooluse.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/precompact.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/pretooluse.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/session_parser.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/session_start.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/hooks/stop.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/log_util.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli/paxel.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_bash_operator_signature.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_command_word_matcher.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_journal_drain.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_log_util.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_proxy_env.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_signed_policy.py +0 -0
- {conduct_cli-0.6.29 → conduct_cli-0.6.31}/tests/test_switch.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: conduct-cli
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: CLI for Conduct AI — install agents, manage projects, run tests
|
|
3
|
+
Version: 0.6.31
|
|
4
|
+
Summary: CLI for Conduct AI — secure, govern, install agents, manage projects, run tests
|
|
5
5
|
Author-email: Conduct AI <hello@conductai.ai>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://conductai.ai
|
|
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "conduct-cli"
|
|
7
|
-
version = "0.6.
|
|
8
|
-
description = "CLI for Conduct AI — install agents, manage projects, run tests"
|
|
7
|
+
version = "0.6.31"
|
|
8
|
+
description = "CLI for Conduct AI — secure, govern, install agents, manage projects, run tests"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
11
11
|
requires-python = ">=3.9"
|
|
@@ -1211,6 +1211,7 @@ def cmd_guard_sync(args):
|
|
|
1211
1211
|
[_conduct, "guard", "discover"],
|
|
1212
1212
|
stdout=_sp.DEVNULL, stderr=_sp.DEVNULL,
|
|
1213
1213
|
)
|
|
1214
|
+
print(f" {CYAN}Discovery daemon started{RESET} — agent inventory updating in background")
|
|
1214
1215
|
except Exception:
|
|
1215
1216
|
pass
|
|
1216
1217
|
|
|
@@ -1935,7 +1936,20 @@ def _discover_config_agents() -> list[tuple]:
|
|
|
1935
1936
|
for base in search_paths:
|
|
1936
1937
|
if not base.exists():
|
|
1937
1938
|
continue
|
|
1938
|
-
|
|
1939
|
+
try:
|
|
1940
|
+
candidates = list(base.glob(".env"))
|
|
1941
|
+
# ponytail: shallow glob only — deep ** hits system dirs (WhatsApp containers etc.)
|
|
1942
|
+
for sub in base.iterdir() if base.exists() else []:
|
|
1943
|
+
try:
|
|
1944
|
+
if sub.is_dir() and not sub.name.startswith("."):
|
|
1945
|
+
env = sub / ".env"
|
|
1946
|
+
if env.exists():
|
|
1947
|
+
candidates.append(env)
|
|
1948
|
+
except OSError:
|
|
1949
|
+
pass
|
|
1950
|
+
except OSError:
|
|
1951
|
+
continue
|
|
1952
|
+
for env_file in candidates:
|
|
1939
1953
|
if str(env_file) in seen_envs or ".git" in str(env_file):
|
|
1940
1954
|
continue
|
|
1941
1955
|
seen_envs.add(str(env_file))
|
|
@@ -1944,7 +1958,7 @@ def _discover_config_agents() -> list[tuple]:
|
|
|
1944
1958
|
found_keys = [k for k in LLM_KEYS if k in content]
|
|
1945
1959
|
if found_keys:
|
|
1946
1960
|
results.append(("env-agent", env_file, False)) # .env with LLM key = unregistered
|
|
1947
|
-
except
|
|
1961
|
+
except OSError:
|
|
1948
1962
|
pass
|
|
1949
1963
|
|
|
1950
1964
|
return results
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: conduct-cli
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: CLI for Conduct AI — install agents, manage projects, run tests
|
|
3
|
+
Version: 0.6.31
|
|
4
|
+
Summary: CLI for Conduct AI — secure, govern, install agents, manage projects, run tests
|
|
5
5
|
Author-email: Conduct AI <hello@conductai.ai>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://conductai.ai
|
|
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
|