conduct-cli 0.4.24__tar.gz → 0.4.25__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.24
3
+ Version: 0.4.25
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.24"
7
+ version = "0.4.25"
8
8
  description = "CLI for Conduct AI — install agents, manage projects, run tests"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -905,8 +905,11 @@ def _report_savings(cfg: dict, base_url: str, api_key: str) -> None:
905
905
  }
906
906
 
907
907
  try:
908
+ member_token = cfg.get("member_token", "")
908
909
  headers = {"Content-Type": "application/json"}
909
- if api_key:
910
+ if member_token:
911
+ headers["Authorization"] = f"Bearer {member_token}"
912
+ elif api_key:
910
913
  headers["X-Api-Key"] = api_key
911
914
  data = json.dumps(payload).encode()
912
915
  req = urllib.request.Request(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.24
3
+ Version: 0.4.25
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