conduct-cli 0.4.35__tar.gz → 0.4.36__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.35 → conduct_cli-0.4.36}/PKG-INFO +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/pyproject.toml +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/main.py +6 -2
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/README.md +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/setup.cfg +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/setup.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.36}/src/conduct_cli.egg-info/top_level.txt +0 -0
|
@@ -1084,8 +1084,12 @@ def cmd_install(args):
|
|
|
1084
1084
|
proj = _resolve_project(server, workspace_id, hdrs, args.project)
|
|
1085
1085
|
project_id = proj["id"]
|
|
1086
1086
|
|
|
1087
|
-
# Agent name —
|
|
1088
|
-
|
|
1087
|
+
# Agent name — explicit --name wins; otherwise auto-suffix with 4-char ID
|
|
1088
|
+
# e.g. "Security Autopilot Fix [A4B2]" so multiple installs are distinguishable
|
|
1089
|
+
import random, string
|
|
1090
|
+
_base = _FRIENDLY_NAMES.get(slug) or pb["name"]
|
|
1091
|
+
_uid = "".join(random.choices(string.ascii_uppercase + string.digits, k=4))
|
|
1092
|
+
agent_name = args.name or f"{_base} [{_uid}]"
|
|
1089
1093
|
|
|
1090
1094
|
# Repo input — inject into inputs if playbook expects github_repo
|
|
1091
1095
|
if args.repo:
|
|
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
|