conduct-cli 0.4.30__tar.gz → 0.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.30
3
+ Version: 0.4.31
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.30"
7
+ version = "0.4.31"
8
8
  description = "CLI for Conduct AI — install agents, manage projects, run tests"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -423,23 +423,10 @@ def cmd_mcp_install(args):
423
423
  registered = []
424
424
 
425
425
  # --- Claude Code ---
426
- if shutil.which("claude"):
427
- try:
428
- result = subprocess.run(
429
- ["claude", "mcp", "add", "conduct", "conduct-mcp"],
430
- capture_output=True, text=True, timeout=15,
431
- )
432
- if result.returncode == 0:
433
- registered.append("Claude Code")
434
- else:
435
- _write_claude_mcp_settings()
436
- registered.append("Claude Code (settings.json)")
437
- except Exception:
438
- _write_claude_mcp_settings()
439
- registered.append("Claude Code (settings.json)")
440
- else:
441
- if _write_claude_mcp_settings():
442
- registered.append("Claude Code (settings.json)")
426
+ # Write directly to ~/.claude/settings.json — `claude mcp add` without --global
427
+ # writes to the project-level .claude/settings.json which _detect_ai_tools won't find.
428
+ if _write_claude_mcp_settings():
429
+ registered.append("Claude Code")
443
430
 
444
431
  # --- Codex CLI ---
445
432
  if _write_codex_mcp_config():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.30
3
+ Version: 0.4.31
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