codegraph-cli 2.1.3__py3-none-any.whl → 2.1.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.
@@ -1016,12 +1016,18 @@ def explore_open(
1016
1016
  store.close()
1017
1017
  raise typer.Exit(code=1)
1018
1018
 
1019
- server_app = _create_server(
1020
- store,
1021
- llm_provider=cfg.LLM_PROVIDER,
1022
- llm_model=cfg.LLM_MODEL,
1023
- llm_api_key=cfg.LLM_API_KEY,
1024
- )
1019
+ try:
1020
+ server_app = _create_server(
1021
+ store,
1022
+ llm_provider=cfg.LLM_PROVIDER,
1023
+ llm_model=cfg.LLM_MODEL,
1024
+ llm_api_key=cfg.LLM_API_KEY,
1025
+ )
1026
+ except ImportError:
1027
+ console.print("[red]The 'explore' feature requires starlette and uvicorn.[/red]")
1028
+ console.print("[dim]Install with: pip install codegraph-cli\\[explore][/dim]")
1029
+ store.close()
1030
+ raise typer.Exit(code=1)
1025
1031
 
1026
1032
  url = f"http://127.0.0.1:{actual_port}"
1027
1033
  console.print(f"\n[bold green]🌐 CodeGraph Explorer[/bold green]")
@@ -1040,10 +1046,10 @@ def explore_open(
1040
1046
  try:
1041
1047
  import uvicorn
1042
1048
  except ImportError:
1043
- raise ImportError(
1044
- "The 'explore' feature requires uvicorn.\n"
1045
- "Install with: pip install codegraph-cli[explore]"
1046
- )
1049
+ console.print("[red]The 'explore' feature requires uvicorn.[/red]")
1050
+ console.print("[dim]Install with: pip install codegraph-cli\\[explore][/dim]")
1051
+ store.close()
1052
+ raise typer.Exit(code=1)
1047
1053
  try:
1048
1054
  uvicorn.run(server_app, host="127.0.0.1", port=actual_port, log_level="warning")
1049
1055
  except KeyboardInterrupt:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraph-cli
3
- Version: 2.1.3
3
+ Version: 2.1.4
4
4
  Summary: AI-powered code intelligence CLI with multi-agent analysis, impact graphs, and conversational coding.
5
5
  Author-email: Ali Nasir <muhammadalinasir00786@gmail.com>
6
6
  License: MIT
@@ -7,7 +7,7 @@ codegraph_cli/cli.py,sha256=sKQOdc6sICKQI48e1b4ky07m7lov0CiGW-RIdaKySSc,29534
7
7
  codegraph_cli/cli_chat.py,sha256=IzwKzxTtjFNw5oF7ukIEdiVVdE8e7CrFrvjy5Cui6A4,18230
8
8
  codegraph_cli/cli_diagnose.py,sha256=s4QcA0KWzFZTGGNrP1taWoRMVVZZnL7V6-Xn56azGFY,4478
9
9
  codegraph_cli/cli_docs.py,sha256=E61PtY_0fucp-xKllJaAedCwdr7EayZjHP_009n0XAE,6448
10
- codegraph_cli/cli_explore.py,sha256=hXo93ABMgeazvZ0xxQcL2jOYOSYTYHYjcseHtv3lcNw,46364
10
+ codegraph_cli/cli_explore.py,sha256=rUvKGvipAotkF0vWg3CV22j_Z914-TIqVHGwRyqCYxw,46715
11
11
  codegraph_cli/cli_export.py,sha256=kBdb-zCCubMvFwVSWq2ABJ-B7zMgznrHzsU36yjPbN4,35326
12
12
  codegraph_cli/cli_groups.py,sha256=_sRECzW2RXzTbFLKYYkbDTQUCYAiedeOg5J_FE40cdg,1201
13
13
  codegraph_cli/cli_health.py,sha256=03_I0c7QlWtCjhAeZHyqRVEBCmnzO2ew1MJdCR244Uc,10413
@@ -47,9 +47,9 @@ codegraph_cli/testgen_agent.py,sha256=rqlKbLeEnjfzAZhQUXqLPwFKwRIpiHriTPxVgPCuR_
47
47
  codegraph_cli/validation_engine.py,sha256=pzoRH_b06gWfiDZ5Yiecf0SWDWs4oJ66JokggGZZbaw,9029
48
48
  codegraph_cli/vector_store.py,sha256=GHWiJZiiWPKjsPc3bvhDHHNbXksf1G-dM189bhNQcJM,13700
49
49
  codegraph_cli/templates/graph_interactive.html,sha256=PFpU69DbY-Vkcu5UTiqOva_LrZjN2erdz7VXPgNSt6Q,7813
50
- codegraph_cli-2.1.3.dist-info/licenses/LICENSE,sha256=3PiQTjpJW4DDJz8k5pk-WqX9TrVQD3fNrVNzbTEyW-A,1066
51
- codegraph_cli-2.1.3.dist-info/METADATA,sha256=vuDg7iKU-mq9N7OJiUNLgKq0ITiCNqY6JWUnFM5LZdw,16869
52
- codegraph_cli-2.1.3.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
53
- codegraph_cli-2.1.3.dist-info/entry_points.txt,sha256=X9M9UdR-uY2BmaTvb4GnHFbLzjLisOtXh6T72yl89_Y,50
54
- codegraph_cli-2.1.3.dist-info/top_level.txt,sha256=XKmdlLsrhdgVW-pN4vzdo-ZTl-9_Rk94SXcM2YRAmHk,14
55
- codegraph_cli-2.1.3.dist-info/RECORD,,
50
+ codegraph_cli-2.1.4.dist-info/licenses/LICENSE,sha256=3PiQTjpJW4DDJz8k5pk-WqX9TrVQD3fNrVNzbTEyW-A,1066
51
+ codegraph_cli-2.1.4.dist-info/METADATA,sha256=QhW55vIHBOslqpiLZN5jwbDyCWWKNupJCePsEYpEcyE,16869
52
+ codegraph_cli-2.1.4.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
53
+ codegraph_cli-2.1.4.dist-info/entry_points.txt,sha256=X9M9UdR-uY2BmaTvb4GnHFbLzjLisOtXh6T72yl89_Y,50
54
+ codegraph_cli-2.1.4.dist-info/top_level.txt,sha256=XKmdlLsrhdgVW-pN4vzdo-ZTl-9_Rk94SXcM2YRAmHk,14
55
+ codegraph_cli-2.1.4.dist-info/RECORD,,