conduct-cli 0.4.80__tar.gz → 0.4.81__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.80 → conduct_cli-0.4.81}/PKG-INFO +1 -1
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/pyproject.toml +1 -1
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/main.py +4 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/README.md +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/setup.cfg +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/setup.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/guard.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/hook_precompact_template.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/hook_session_start_template.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/hook_stop_template.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/hook_template.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.4.80 → conduct_cli-0.4.81}/tests/test_switch.py +0 -0
|
@@ -503,6 +503,10 @@ def cmd_login(args):
|
|
|
503
503
|
hdrs = {"X-Api-Key": ak, "Content-Type": "application/json"}
|
|
504
504
|
me = api.req("GET", f"{s}/me", hdrs)
|
|
505
505
|
cfg["workspace"] = me["workspace_id"]
|
|
506
|
+
if me.get("user_id"):
|
|
507
|
+
cfg["user_id"] = me["user_id"]
|
|
508
|
+
if me.get("email"):
|
|
509
|
+
cfg["email"] = me["email"]
|
|
506
510
|
print(f"{GREEN}✓ Workspace discovered:{RESET} {cfg['workspace']}")
|
|
507
511
|
except SystemExit:
|
|
508
512
|
print(f"{YELLOW}⚠ Could not auto-discover workspace. Pass --workspace <id> manually.{RESET}")
|
|
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
|