conduct-cli 0.4.90__tar.gz → 0.4.92__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.
Files changed (27) hide show
  1. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/PKG-INFO +1 -1
  2. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/pyproject.toml +1 -1
  3. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/guard.py +1 -0
  4. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/main.py +7 -3
  5. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/PKG-INFO +1 -1
  6. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/README.md +0 -0
  7. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/setup.cfg +0 -0
  8. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/setup.py +0 -0
  9. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/__init__.py +0 -0
  10. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/api.py +0 -0
  11. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/guardmcp.py +0 -0
  12. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/hook_precompact_template.py +0 -0
  13. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/hook_session_start_template.py +0 -0
  14. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/hook_stop_template.py +0 -0
  15. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/hook_template.py +0 -0
  16. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/mcp_server.py +0 -0
  17. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/memory.py +0 -0
  18. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli/paxel.py +0 -0
  19. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
  20. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
  21. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/entry_points.txt +0 -0
  22. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/requires.txt +0 -0
  23. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/src/conduct_cli.egg-info/top_level.txt +0 -0
  24. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/tests/test_guard_policy.py +0 -0
  25. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/tests/test_guard_savings.py +0 -0
  26. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/tests/test_hook_syntax.py +0 -0
  27. {conduct_cli-0.4.90 → conduct_cli-0.4.92}/tests/test_switch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.90
3
+ Version: 0.4.92
4
4
  Summary: CLI for Conduct AI — install agents, manage projects, run tests
5
5
  Author-email: Conduct AI <hello@conductai.ai>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "conduct-cli"
7
- version = "0.4.90"
7
+ version = "0.4.92"
8
8
  description = "CLI for Conduct AI — install agents, manage projects, run tests"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -168,6 +168,7 @@ def _load_guard_config() -> dict:
168
168
  def _save_guard_config(data: dict):
169
169
  GUARD_DIR.mkdir(parents=True, exist_ok=True)
170
170
  CONFIG_PATH.write_text(json.dumps(data, indent=2))
171
+ CONFIG_PATH.chmod(0o600)
171
172
 
172
173
 
173
174
  def _require_guard_config() -> dict:
@@ -2281,13 +2281,17 @@ def cmd_session_report(args):
2281
2281
  "report_md": report_md[:50000] if report_md else None,
2282
2282
  }).encode()
2283
2283
  req = __import__("urllib.request", fromlist=["Request"]).Request(
2284
- f"{server}/session-reports",
2284
+ f"{server}/guard/session-reports",
2285
2285
  data=payload, headers=hdrs, method="POST",
2286
2286
  )
2287
2287
  __import__("urllib.request", fromlist=["urlopen"]).urlopen(req, timeout=10)
2288
2288
  print("✓ Report saved to Guard dashboard.")
2289
- except Exception:
2290
- print(" (Could not push to dashboard — run 'conduct login' to enable)")
2289
+ except Exception as _push_err:
2290
+ msg = str(_push_err)
2291
+ if "conduct login" in msg or "No server" in msg or "No workspace" in msg or "No credentials" in msg:
2292
+ print(" (Could not push to dashboard — run 'conduct login' to enable)")
2293
+ else:
2294
+ print(f" (Dashboard push failed: {_push_err})")
2291
2295
 
2292
2296
 
2293
2297
  def cmd_emit_finding(args):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.90
3
+ Version: 0.4.92
4
4
  Summary: CLI for Conduct AI — install agents, manage projects, run tests
5
5
  Author-email: Conduct AI <hello@conductai.ai>
6
6
  License: MIT
File without changes
File without changes
File without changes