conduct-cli 0.4.35__tar.gz → 0.4.37__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.37}/PKG-INFO +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/pyproject.toml +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/main.py +7 -3
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/README.md +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/setup.cfg +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/setup.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.35 → conduct_cli-0.4.37}/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:
|
|
@@ -1319,7 +1323,7 @@ def cmd_run(args):
|
|
|
1319
1323
|
|
|
1320
1324
|
run = api.req("POST", f"{server}/workflows/{workflow_id}/runs", json_h, {
|
|
1321
1325
|
"triggered_by": "cli",
|
|
1322
|
-
"initial_state": initial_state,
|
|
1326
|
+
"initial_state": {"__manual": True, "inputs": initial_state},
|
|
1323
1327
|
})
|
|
1324
1328
|
_stream_run(server, workflow_id, run["id"], workspace_id, token, api_key)
|
|
1325
1329
|
|
|
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
|