cometapi-cli 0.3.2__py3-none-any.whl → 0.3.4__py3-none-any.whl

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.
cometapi_cli/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """CometAPI CLI — professional terminal interface for CometAPI."""
2
2
 
3
- __version__ = "0.3.2"
3
+ __version__ = "0.3.4"
@@ -49,8 +49,9 @@ def balance(
49
49
  to per-key billing stats. Use --source to force a specific view.
50
50
  """
51
51
  fmt = resolve_format(ctx, json_output, output_format)
52
+ normalized_source = _normalize_balance_source(source)
52
53
  client = get_client()
53
- raw = client.get_balance(source=_normalize_balance_source(source))
54
+ raw = client.get_balance(source=normalized_source)
54
55
 
55
56
  # For JSON output, pass raw data for maximum information
56
57
  if fmt == OutputFormat.JSON:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cometapi-cli
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: CometAPI CLI — official command-line interface for the CometAPI AI gateway
5
5
  Project-URL: Homepage, https://pypi.org/project/cometapi-cli/
6
6
  Project-URL: Documentation, https://apidoc.cometapi.com/libraries/cli/overview
@@ -21,14 +21,14 @@ Classifier: Topic :: Internet
21
21
  Classifier: Topic :: Software Development :: Libraries
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.10
24
- Requires-Dist: click>=8.0
24
+ Requires-Dist: click<8.3,>=8.0
25
25
  Requires-Dist: openai>=1.0.0
26
26
  Requires-Dist: prompt-toolkit>=3.0
27
27
  Requires-Dist: pyyaml>=6.0
28
28
  Requires-Dist: rich>=13.0
29
29
  Requires-Dist: tomli-w>=1.0
30
30
  Requires-Dist: tomli>=2.0; python_version < '3.11'
31
- Requires-Dist: typer>=0.12
31
+ Requires-Dist: typer<0.25,>=0.12
32
32
  Provides-Extra: dev
33
33
  Requires-Dist: pytest>=8.0; extra == 'dev'
34
34
  Requires-Dist: ruff>=0.8; extra == 'dev'
@@ -1,4 +1,4 @@
1
- cometapi_cli/__init__.py,sha256=I37ML-zws7ZAjDJSAw87LxYgHMsTcaVOz67of_juqiI,92
1
+ cometapi_cli/__init__.py,sha256=RVtEeUNRG7dyPyghwdBUTBeloJJh8sTtEOmoKz0NB-U,92
2
2
  cometapi_cli/app.py,sha256=d2IZJabWmdZtPtFNOB4YiuSJ1GYvO0hgIOkjm4gQjxA,2948
3
3
  cometapi_cli/catalog.py,sha256=Pc0XGoskMEKIzfbU2H_0Yi8zecLzKl1ss8fd2mV7778,4929
4
4
  cometapi_cli/client.py,sha256=QBtQ1cvmwvwjpIYpzupC3BMNqxREhMoRnzgCZOeJnEE,9998
@@ -11,7 +11,7 @@ cometapi_cli/main.py,sha256=4NmO8MAAc_H30hahT6VNrdGdlaFlQ99AixKcRV5iDXE,168
11
11
  cometapi_cli/urls.py,sha256=rojG4bmPu3H_3XqpArdqn11-5MBQeI2Y4d6XsjN3DA0,618
12
12
  cometapi_cli/commands/__init__.py,sha256=mihzLmD4ADkH9WnCBP2p1fn95lU3GyzTliAJ1XL5Ngg,29
13
13
  cometapi_cli/commands/account.py,sha256=8VxDI6SxJLOhLZ-UmwN1azM7n8QMeFrCn1CPDJHuyGk,1280
14
- cometapi_cli/commands/balance.py,sha256=BT96WTt2I7dCLBlAkZMX4KYliqC5C7QCXKNWCbXwldw,2353
14
+ cometapi_cli/commands/balance.py,sha256=DcGF3-F591C6IIH5DCQVvnw9C0CCllw97n44Aj80V_M,2395
15
15
  cometapi_cli/commands/chat.py,sha256=xQgsjFQ33kVRfSnU5t3fbahjZE8nmVSa_w8qUTPeacE,4004
16
16
  cometapi_cli/commands/chat_repl.py,sha256=b9lkYnbbaOb0AlSpRcq3wWHmnhtTXvaqeJiUImsMEBY,8176
17
17
  cometapi_cli/commands/config_cmd.py,sha256=OqR0TuAq6gQXw8nJIt5AAv_Fk4zdfbg-KhNLuUsrEsU,8619
@@ -24,8 +24,8 @@ cometapi_cli/commands/run.py,sha256=JQQ1DFSyJoD4pByLmhMht1-XhDDZpV94F0hshXL7hKY,
24
24
  cometapi_cli/commands/stats.py,sha256=bEVywsom7bm8AGKGWlgAWTFjOp4NTJxDk6YEEvECM6U,1411
25
25
  cometapi_cli/commands/tasks.py,sha256=NBKOKrDow52sVjoM0ezwS9IhVRltlqYLmpamoEUbAWA,4718
26
26
  cometapi_cli/commands/tokens.py,sha256=U0AI8T690NJxAKFBwrWrsr3izXIiB_PZ9avmwpdgM9A,3042
27
- cometapi_cli-0.3.2.dist-info/METADATA,sha256=WJ4GHqBwefcOBQJ4A5jF3vLTcqotUOUmd4pAy0dld_s,10646
28
- cometapi_cli-0.3.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
29
- cometapi_cli-0.3.2.dist-info/entry_points.txt,sha256=xoiE2ZVNNWXTq0JRBtzC8hJ2JkdKuaBNz_fEd8OJpLs,50
30
- cometapi_cli-0.3.2.dist-info/licenses/LICENSE,sha256=-rBwHQzkmLbty07abmGvQvsRrvDeEQUkPDhNJfTcjdE,1065
31
- cometapi_cli-0.3.2.dist-info/RECORD,,
27
+ cometapi_cli-0.3.4.dist-info/METADATA,sha256=UeoDyrnKN-9mO6yIk-RMgJYrvGAqrhtZ6xHv5fx59Nc,10657
28
+ cometapi_cli-0.3.4.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
29
+ cometapi_cli-0.3.4.dist-info/entry_points.txt,sha256=xoiE2ZVNNWXTq0JRBtzC8hJ2JkdKuaBNz_fEd8OJpLs,50
30
+ cometapi_cli-0.3.4.dist-info/licenses/LICENSE,sha256=-rBwHQzkmLbty07abmGvQvsRrvDeEQUkPDhNJfTcjdE,1065
31
+ cometapi_cli-0.3.4.dist-info/RECORD,,