rhinomcp 0.1.3.0__py3-none-any.whl → 0.1.3.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.
rhinomcp/__init__.py CHANGED
@@ -3,7 +3,8 @@
3
3
  __version__ = "0.1.0"
4
4
 
5
5
  # Expose key classes and functions for easier imports
6
- from .server import RhinoConnection, get_rhino_connection, mcp, logger, rhinoscriptsyntax_json
6
+ from .static.rhinoscriptsyntax import rhinoscriptsyntax_json
7
+ from .server import RhinoConnection, get_rhino_connection, mcp, logger
7
8
 
8
9
  from .prompts.assert_general_strategy import asset_general_strategy
9
10
 
rhinomcp/server.py CHANGED
@@ -7,20 +7,6 @@ import logging
7
7
  from dataclasses import dataclass
8
8
  from contextlib import asynccontextmanager
9
9
  from typing import AsyncIterator, Dict, Any, List
10
- import os
11
- from pathlib import Path
12
- import base64
13
- from urllib.parse import urlparse
14
-
15
- # load rhino_script_syntax.json
16
- from pathlib import Path
17
-
18
- # Define path to static folder
19
- JSONFILE = Path("./static/rhinoscriptsyntax.json")
20
-
21
- with open(JSONFILE, 'r') as f:
22
- rhinoscriptsyntax_json = json.loads(f.read())
23
-
24
10
 
25
11
  # Configure logging
26
12
  logging.basicConfig(level=logging.INFO,