conduct-cli 0.5.6__tar.gz → 0.5.7__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.5.6 → conduct_cli-0.5.7}/PKG-INFO +1 -1
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/pyproject.toml +1 -1
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/main.py +16 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/README.md +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/setup.cfg +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/setup.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/hook_precompact_template.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/hook_session_start_template.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/hook_stop_template.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/hook_template.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli/paxel.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/tests/test_bash_operator_signature.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.5.6 → conduct_cli-0.5.7}/tests/test_switch.py +0 -0
|
@@ -2431,6 +2431,22 @@ def cmd_run(args):
|
|
|
2431
2431
|
hint = "export GITHUB_TOKEN=<token>" if not gh_token else "workflow has no github_hook_repo"
|
|
2432
2432
|
print(f" {GRAY}No GitHub token — using test payload. ({hint}){RESET}\n")
|
|
2433
2433
|
|
|
2434
|
+
# #734: validate required inputs locally before POST — fail fast with clear error.
|
|
2435
|
+
try:
|
|
2436
|
+
vres = api.req("POST", f"{server}/workflows/{workflow_id}/validate-inputs", json_h,
|
|
2437
|
+
{"inputs": body.get("inputs") or {}, "phase": "run"})
|
|
2438
|
+
missing = (vres or {}).get("missing") or []
|
|
2439
|
+
if missing:
|
|
2440
|
+
print(f"{RED}✗ Missing required inputs:{RESET}")
|
|
2441
|
+
for m in missing:
|
|
2442
|
+
print(f" - {m['label']} ({m['key']})")
|
|
2443
|
+
print(f"\n{GRAY}Provide with --input {missing[0]['key']}=<value>{RESET}")
|
|
2444
|
+
sys.exit(2)
|
|
2445
|
+
except SystemExit:
|
|
2446
|
+
raise
|
|
2447
|
+
except Exception:
|
|
2448
|
+
pass # validate endpoint is best-effort; backend will re-check on /trigger
|
|
2449
|
+
|
|
2434
2450
|
# Fix 3: /trigger returns run_id, not id.
|
|
2435
2451
|
if getattr(args, "max_turns", None):
|
|
2436
2452
|
body["__max_turns"] = args.max_turns
|
|
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
|
|
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
|