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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.35
3
+ Version: 0.4.37
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.35"
7
+ version = "0.4.37"
8
8
  description = "CLI for Conduct AI — install agents, manage projects, run tests"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -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 — use friendly name, fall back to playbook API name
1088
- agent_name = args.name or _FRIENDLY_NAMES.get(slug) or pb["name"]
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.35
3
+ Version: 0.4.37
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