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.
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/PKG-INFO +1 -1
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/pyproject.toml +1 -1
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/main.py +4 -17
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/README.md +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/setup.cfg +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/setup.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.30 → conduct_cli-0.4.31}/src/conduct_cli.egg-info/top_level.txt +0 -0
|
@@ -423,23 +423,10 @@ def cmd_mcp_install(args):
|
|
|
423
423
|
registered = []
|
|
424
424
|
|
|
425
425
|
# --- Claude Code ---
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
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():
|
|
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
|