agent-cli 0.72.0__py3-none-any.whl → 0.72.2__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.
@@ -68,7 +68,7 @@ def proxy(
68
68
  help="Auto-commit memory changes to git. Initializes a repo in `--memory-path` if needed. Provides full history of memory evolution.",
69
69
  rich_help_panel="Memory Configuration",
70
70
  ),
71
- log_level: opts.LogLevel = opts.LOG_LEVEL,
71
+ log_level: opts.LogLevel = opts.SERVER_LOG_LEVEL,
72
72
  config_file: str | None = opts.CONFIG_FILE,
73
73
  print_args: bool = opts.PRINT_ARGS,
74
74
  ) -> None:
@@ -45,7 +45,7 @@ def rag_proxy(
45
45
  help="Port for the RAG proxy API (e.g., `http://localhost:8000/v1/chat/completions`).",
46
46
  rich_help_panel="Server Configuration",
47
47
  ),
48
- log_level: opts.LogLevel = opts.LOG_LEVEL,
48
+ log_level: opts.LogLevel = opts.SERVER_LOG_LEVEL,
49
49
  config_file: str | None = opts.CONFIG_FILE,
50
50
  print_args: bool = opts.PRINT_ARGS,
51
51
  enable_rag_tools: bool = typer.Option(
@@ -6,7 +6,6 @@ import shutil
6
6
  import subprocess
7
7
  import sys
8
8
  import tomllib
9
- from importlib.metadata import version as get_version
10
9
  from pathlib import Path
11
10
  from typing import Annotated
12
11
 
@@ -62,9 +61,8 @@ def _get_current_uv_tool_extras() -> list[str]:
62
61
 
63
62
  def _install_via_uv_tool(extras: list[str], *, quiet: bool = False) -> bool:
64
63
  """Reinstall agent-cli via uv tool with the specified extras."""
65
- current_version = get_version("agent-cli").split("+")[0] # Strip local version
66
64
  extras_str = ",".join(extras)
67
- package_spec = f"agent-cli[{extras_str}]=={current_version}"
65
+ package_spec = f"agent-cli[{extras_str}]"
68
66
  python_version = f"{sys.version_info.major}.{sys.version_info.minor}"
69
67
  cmd = ["uv", "tool", "install", package_spec, "--force", "--python", python_version]
70
68
  if quiet:
agent_cli/opts.py CHANGED
@@ -364,13 +364,14 @@ CLIPBOARD: bool = typer.Option(
364
364
  rich_help_panel="General Options",
365
365
  )
366
366
  LOG_LEVEL: LogLevel = typer.Option(
367
- "info",
367
+ "warning",
368
368
  "--log-level",
369
369
  envvar="LOG_LEVEL",
370
370
  help="Set logging level.",
371
371
  case_sensitive=False,
372
372
  rich_help_panel="General Options",
373
373
  )
374
+ SERVER_LOG_LEVEL: LogLevel = with_default(LOG_LEVEL, "info")
374
375
  LOG_FILE: str | None = typer.Option(
375
376
  None,
376
377
  "--log-file",
agent_cli/server/cli.py CHANGED
@@ -291,7 +291,7 @@ def whisper_cmd( # noqa: PLR0912, PLR0915
291
291
  help="Download model(s) to cache and exit. Useful for Docker builds",
292
292
  ),
293
293
  ] = False,
294
- log_level: opts.LogLevel = opts.LOG_LEVEL,
294
+ log_level: opts.LogLevel = opts.SERVER_LOG_LEVEL,
295
295
  backend: Annotated[
296
296
  str,
297
297
  typer.Option(
@@ -473,7 +473,7 @@ def transcribe_proxy_cmd(
473
473
  bool,
474
474
  typer.Option("--reload", help="Auto-reload on code changes (development only)"),
475
475
  ] = False,
476
- log_level: opts.LogLevel = opts.LOG_LEVEL,
476
+ log_level: opts.LogLevel = opts.SERVER_LOG_LEVEL,
477
477
  ) -> None:
478
478
  r"""Run transcription proxy that forwards to your configured ASR provider.
479
479
 
@@ -627,7 +627,7 @@ def tts_cmd( # noqa: PLR0915
627
627
  help="Download model(s)/voice(s) to cache and exit. Useful for Docker builds",
628
628
  ),
629
629
  ] = False,
630
- log_level: opts.LogLevel = opts.LOG_LEVEL,
630
+ log_level: opts.LogLevel = opts.SERVER_LOG_LEVEL,
631
631
  backend: Annotated[
632
632
  str,
633
633
  typer.Option(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-cli
3
- Version: 0.72.0
3
+ Version: 0.72.2
4
4
  Summary: A suite of AI-powered command-line tools for text correction, audio transcription, and voice assistance.
5
5
  Project-URL: Homepage, https://github.com/basnijholt/agent-cli
6
6
  Author-email: Bas Nijholt <bas@nijho.lt>
@@ -738,7 +738,7 @@ the `[defaults]` section of your configuration file.
738
738
  ╭─ General Options ──────────────────────────────────────────────────────────────────────╮
739
739
  │ --log-level [debug|info|warning|error] Set logging level. │
740
740
  │ [env var: LOG_LEVEL] │
741
- │ [default: info]
741
+ │ [default: warning]
742
742
  │ --log-file TEXT Path to a file to write logs to. │
743
743
  │ --quiet -q Suppress console output from rich. │
744
744
  │ --json Output result as JSON (implies │
@@ -915,7 +915,7 @@ the `[defaults]` section of your configuration file.
915
915
  │ [default: clipboard] │
916
916
  │ --log-level [debug|info|warning| Set logging level. │
917
917
  │ error] [env var: LOG_LEVEL] │
918
- │ [default: info]
918
+ │ [default: warning]
919
919
  │ --log-file TEXT Path to a file to │
920
920
  │ write logs to. │
921
921
  │ --quiet -q Suppress console │
@@ -1146,7 +1146,7 @@ uv tool install "agent-cli[vad]" -p 3.13
1146
1146
  ╭─ General Options ──────────────────────────────────────────────────────────────────────╮
1147
1147
  │ --log-level [debug|info|warning|error] Set logging level. │
1148
1148
  │ [env var: LOG_LEVEL] │
1149
- │ [default: info]
1149
+ │ [default: warning]
1150
1150
  │ --log-file TEXT Path to a file to write logs to. │
1151
1151
  │ --quiet -q Suppress console output from rich. │
1152
1152
  │ --config TEXT Path to a TOML configuration file. │
@@ -1280,7 +1280,7 @@ uv tool install "agent-cli[vad]" -p 3.13
1280
1280
  │ playing through speakers. │
1281
1281
  │ --log-level [debug|info|warning|error] Set logging level. │
1282
1282
  │ [env var: LOG_LEVEL] │
1283
- │ [default: info]
1283
+ │ [default: warning]
1284
1284
  │ --log-file TEXT Path to a file to write logs to. │
1285
1285
  │ --quiet -q Suppress console output from rich. │
1286
1286
  │ --json Output result as JSON (implies │
@@ -1481,7 +1481,7 @@ uv tool install "agent-cli[vad]" -p 3.13
1481
1481
  │ [default: clipboard] │
1482
1482
  │ --log-level [debug|info|warning|erro Set logging level. │
1483
1483
  │ r] [env var: LOG_LEVEL] │
1484
- │ [default: info]
1484
+ │ [default: warning]
1485
1485
  │ --log-file TEXT Path to a file to write │
1486
1486
  │ logs to. │
1487
1487
  │ --quiet -q Suppress console output │
@@ -1701,7 +1701,7 @@ uv tool install "agent-cli[vad]" -p 3.13
1701
1701
  │ [default: clipboard] │
1702
1702
  │ --log-level [debug|info|warning|erro Set logging level. │
1703
1703
  │ r] [env var: LOG_LEVEL] │
1704
- │ [default: info]
1704
+ │ [default: warning]
1705
1705
  │ --log-file TEXT Path to a file to write │
1706
1706
  │ logs to. │
1707
1707
  │ --quiet -q Suppress console output │
@@ -1937,7 +1937,7 @@ uv tool install "agent-cli[vad]" -p 3.13
1937
1937
  │ playing through speakers. │
1938
1938
  │ --log-level [debug|info|warning|error] Set logging level. │
1939
1939
  │ [env var: LOG_LEVEL] │
1940
- │ [default: info]
1940
+ │ [default: warning]
1941
1941
  │ --log-file TEXT Path to a file to write logs to. │
1942
1942
  │ --quiet -q Suppress console output from rich. │
1943
1943
  │ --config TEXT Path to a TOML configuration file. │
@@ -9,7 +9,7 @@ agent_cli/config_cmd.py,sha256=PkFY-U09LRIFYrHL_kG4_Ge6DjCWFe3GkO_uiIBMTgI,10359
9
9
  agent_cli/constants.py,sha256=-Q17N6qKIGqPDsu3FxpIKP33G0Cs0RUJlHwYNHxVxek,843
10
10
  agent_cli/docs_gen.py,sha256=ZX2GYHNumpLhdAEc_4Hy6xeAahAzsEVVnsXUojMYVNY,13885
11
11
  agent_cli/example-config.toml,sha256=xd9BXeOqdYx4xFJt58VBs2I49ESy6dF4-mWF_g8sM9o,7552
12
- agent_cli/opts.py,sha256=jmNbDQB2hwcIORrcyGP-JG0xjkZNpaOv-DIfBmqL0MU,13025
12
+ agent_cli/opts.py,sha256=BzPIZrGkaoHXw83imRbxKNZJVwJzbpVGcmrpQavTesk,13089
13
13
  agent_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  agent_cli/_requirements/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  agent_cli/_requirements/audio.txt,sha256=KAOtFaFClkj2EAesWI61LZ4N-T1WQvHtvf1sNtDxVgQ,1522
@@ -29,14 +29,14 @@ agent_cli/agents/_voice_agent_common.py,sha256=PUAztW84Xf9U7d0C_K5cL7I8OANIE1H6M
29
29
  agent_cli/agents/assistant.py,sha256=oUu6Z3mRQnO_PKzby71iB282UN-yRmKGiPa-OzkHmRg,13794
30
30
  agent_cli/agents/autocorrect.py,sha256=nJnNC9uKBZcbQ4roiC-BiJKTomiSdfe8mNa8p3yACps,9715
31
31
  agent_cli/agents/chat.py,sha256=DhG7qAYqlwj_UDaMREucFhvUqNuWNLFGpR_NRp7nuek,18703
32
- agent_cli/agents/rag_proxy.py,sha256=LHZ0hP1NfRCeuutRQ1tMJ-_2B7_GX5Mnq4AZ2_m4Df4,6266
32
+ agent_cli/agents/rag_proxy.py,sha256=0-CEgthAqQ3bQ4NISiS0fPjjkAW44KNylChenXSjW5A,6273
33
33
  agent_cli/agents/speak.py,sha256=XcBK_y1LMdNPdgfs9V57FNSZMgtjWFogIPsUx0g4SX0,7640
34
34
  agent_cli/agents/transcribe.py,sha256=4KrMsNty4O2sRtmhqsHzH5AYXoMeTrbFq0mPrV_qGqE,25322
35
35
  agent_cli/agents/transcribe_daemon.py,sha256=kJhmp7143fj3mhwz-l-a-LKvxZkhcGMHHcn8Cvq-Ec4,18926
36
36
  agent_cli/agents/voice_edit.py,sha256=OiYgBJ9GhtbeE7uLfaGHLWHXe7TKNd9Oo6kfvsROJ3M,11405
37
37
  agent_cli/agents/memory/__init__.py,sha256=3IFV1fSD0u38E54f_0oPZoPbM0LXaH-A3bDSnBL9FJs,1470
38
38
  agent_cli/agents/memory/add.py,sha256=i_F78rnE8ftJ1DY1yX4BpClV8H9Rz9-aFh6lzI6a_zE,6349
39
- agent_cli/agents/memory/proxy.py,sha256=HSC1B5_60SoYVb3fBfhsFCHREfTktyuH7mCFTUSZi4k,6968
39
+ agent_cli/agents/memory/proxy.py,sha256=NlEAg6sgr0SBRObfOmqV2PSONA6rcOTBua2rTSPny6U,6975
40
40
  agent_cli/core/__init__.py,sha256=c_knH7u9QgjsfMIil9NP4bVizHawLUMYoQWU4H9vMlQ,46
41
41
  agent_cli/core/audio.py,sha256=43FpYe2Wu_BYK9xJ_55V4xHjHJeFwQ5aM-CQzlTryt8,15168
42
42
  agent_cli/core/audio_format.py,sha256=zk3qlYMAlKYPz1enrjihQQspl_C218v1Rbcm7Uktlew,8773
@@ -92,7 +92,7 @@ agent_cli/dev/terminals/warp.py,sha256=j-Jvz_BbWYC3QfLrvl4CbDh03c9OGRFmuCzjyB2ud
92
92
  agent_cli/dev/terminals/zellij.py,sha256=GnQnopimb9XH67CZGHjnbVWpVSWhaLCATGJizCT5TkY,2321
93
93
  agent_cli/install/__init__.py,sha256=JQPrOrtdNd1Y1NmQDkb3Nmm1qdyn3kPjhQwy9D8ryjI,124
94
94
  agent_cli/install/common.py,sha256=WvnmcjnFTW0d1HZrKVGzj5Tg3q8Txk_ZOdc4a1MBFWI,3121
95
- agent_cli/install/extras.py,sha256=70YwUV0KbW82q_2GUDq5-gN2aBUyjSC3s_M4x3C3k6k,7240
95
+ agent_cli/install/extras.py,sha256=TEejjq_-iVONlDNSQR9E3OJJP-oIRpDsNLjPW97bOLs,7083
96
96
  agent_cli/install/hotkeys.py,sha256=Y7jjtbyjVzIXL1_aczJmOyjL0ud2epbrFbzuWlObqZY,2324
97
97
  agent_cli/install/services.py,sha256=mgFjNqvvZ9U2dJ_PcEVWcenlaOtdIZ5a-RyDofDqooY,4209
98
98
  agent_cli/memory/__init__.py,sha256=8XNpVzP-qjF8o49A_eXsH_Rbp_FmxTIcknnvxq7vHms,162
@@ -157,7 +157,7 @@ agent_cli/scripts/nvidia-asr-server/server.py,sha256=kPNQIVF3exblvqMtIVk38Y6sZy2
157
157
  agent_cli/scripts/nvidia-asr-server/shell.nix,sha256=IT20j5YNj_wc7MdXi7ndogGodDNSGwyq8G0bNoZEpmg,1003
158
158
  agent_cli/scripts/nvidia-asr-server/uv.lock,sha256=5WWaqWOuV_moMPC-LIZK-A-Y5oaHr1tUn_vbR-IupzY,728608
159
159
  agent_cli/server/__init__.py,sha256=NZuJHlLHck9KWrepNZHrJONptYCQI9P-uTqknSFI5Ds,71
160
- agent_cli/server/cli.py,sha256=FKMaOKO4708xa6MNKYdv3r72jkvtEGWz3YzL9XLcNBo,26240
160
+ agent_cli/server/cli.py,sha256=WNXwdoVgUuFduxP9V7y1lhEZXGHpZfL424T6sSKEEHU,26261
161
161
  agent_cli/server/common.py,sha256=hBBp6i-2-yhDY260ffwmFBg_ndcoT5SNcfa6uFyP7Vc,6391
162
162
  agent_cli/server/model_manager.py,sha256=93l_eeZeqnPALyDIK24or61tvded9TbM8tnde0okVjY,9225
163
163
  agent_cli/server/model_registry.py,sha256=KrRV1XxbFYuXu5rJlHFh6PTl_2BKiWnWsaNrf-0c6wQ,6988
@@ -189,8 +189,8 @@ agent_cli/services/asr.py,sha256=aRaCLVCygsJ15qyQEPECOZsdSrnlLPbyY4RwAqY0qIw,172
189
189
  agent_cli/services/llm.py,sha256=i01utl1eYWlM13gvW2eR6ErL_ndH-g0d-BSleZra_7k,7229
190
190
  agent_cli/services/tts.py,sha256=NX5Qnq7ddLI3mwm3nzhbR3zB1Os4Ip4sSVSjDZDTBcI,14855
191
191
  agent_cli/services/wake_word.py,sha256=JFJ1SA22H4yko9DXiQ1t7fcoxeALLAe3iBrLs0z8rX4,4664
192
- agent_cli-0.72.0.dist-info/METADATA,sha256=XEYw-cwi3HxW0BzAWMckFTCzk28Lm7mUoUKq0K-Cup8,179670
193
- agent_cli-0.72.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
194
- agent_cli-0.72.0.dist-info/entry_points.txt,sha256=FUv-fB2atLsPUk_RT4zqnZl1coz4_XHFwRALOKOF38s,97
195
- agent_cli-0.72.0.dist-info/licenses/LICENSE,sha256=majJU6S9kC8R8bW39NVBHyv32Dq50FL6TDxECG2WVts,1068
196
- agent_cli-0.72.0.dist-info/RECORD,,
192
+ agent_cli-0.72.2.dist-info/METADATA,sha256=DHV0I0rO1BiQ6ehp0j_aUjNbk5-2a7BbWJ8hgGXYKPs,179670
193
+ agent_cli-0.72.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
194
+ agent_cli-0.72.2.dist-info/entry_points.txt,sha256=FUv-fB2atLsPUk_RT4zqnZl1coz4_XHFwRALOKOF38s,97
195
+ agent_cli-0.72.2.dist-info/licenses/LICENSE,sha256=majJU6S9kC8R8bW39NVBHyv32Dq50FL6TDxECG2WVts,1068
196
+ agent_cli-0.72.2.dist-info/RECORD,,