rhinomcp 0.1.3.1__tar.gz → 0.1.3.2__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.
Files changed (29) hide show
  1. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/PKG-INFO +1 -1
  2. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/pyproject.toml +1 -5
  3. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/__init__.py +2 -1
  4. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/server.py +0 -11
  5. rhinomcp-0.1.3.1/src/rhinomcp/static/rhinoscriptsyntax.json → rhinomcp-0.1.3.2/src/rhinomcp/static/rhinoscriptsyntax.py +1 -1
  6. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_rhinoscript_python_code_guide.py +1 -1
  7. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_rhinoscript_python_function_names.py +1 -1
  8. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/PKG-INFO +1 -1
  9. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/SOURCES.txt +1 -1
  10. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/README.md +0 -0
  11. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/setup.cfg +0 -0
  12. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/prompts/assert_general_strategy.py +0 -0
  13. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/create_layer.py +0 -0
  14. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/create_object.py +0 -0
  15. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/create_objects.py +0 -0
  16. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/delete_layer.py +0 -0
  17. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/delete_object.py +0 -0
  18. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/execute_rhinoscript_python_code.py +0 -0
  19. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_document_info.py +0 -0
  20. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_object_info.py +0 -0
  21. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_or_set_current_layer.py +0 -0
  22. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/get_selected_objects_info.py +0 -0
  23. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/modify_object.py +0 -0
  24. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/modify_objects.py +0 -0
  25. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp/tools/select_objects.py +0 -0
  26. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/dependency_links.txt +0 -0
  27. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/entry_points.txt +0 -0
  28. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/requires.txt +0 -0
  29. {rhinomcp-0.1.3.1 → rhinomcp-0.1.3.2}/src/rhinomcp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rhinomcp
3
- Version: 0.1.3.1
3
+ Version: 0.1.3.2
4
4
  Summary: Rhino integration through the Model Context Protocol
5
5
  Author-email: Jingcheng Chen <mail@jchen.ch>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rhinomcp"
3
- version = "0.1.3.1"
3
+ version = "0.1.3.2"
4
4
  description = "Rhino integration through the Model Context Protocol"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -26,10 +26,6 @@ build-backend = "setuptools.build_meta"
26
26
 
27
27
  [tool.setuptools]
28
28
  package-dir = {"" = "src"}
29
- include-package-data = true
30
-
31
- [tool.setuptools.package-data]
32
- rhinomcp = ["static/*.json"]
33
29
 
34
30
  [project.urls]
35
31
  "Homepage" = "https://github.com/jingcheng-chen/rhinomcp"
@@ -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
 
@@ -7,17 +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
- # Define path to static folder
16
- JSONFILE = Path("./src/rhinomcp/static/rhinoscriptsyntax.json")
17
-
18
- with open(JSONFILE, 'r') as f:
19
- rhinoscriptsyntax_json = json.loads(f.read())
20
-
21
10
 
22
11
  # Configure logging
23
12
  logging.basicConfig(level=logging.INFO,
@@ -1,4 +1,4 @@
1
- [
1
+ rhinoscriptsyntax_json = [
2
2
  {
3
3
  "ModuleName": "application",
4
4
  "functions": [
@@ -1,5 +1,5 @@
1
1
  from mcp.server.fastmcp import Context
2
- from rhinomcp.server import get_rhino_connection, mcp, logger, rhinoscriptsyntax_json
2
+ from rhinomcp import get_rhino_connection, mcp, logger, rhinoscriptsyntax_json
3
3
  from typing import Any, List, Dict
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
  from mcp.server.fastmcp import Context
2
- from rhinomcp.server import get_rhino_connection, mcp, logger, rhinoscriptsyntax_json
2
+ from rhinomcp import get_rhino_connection, mcp, logger, rhinoscriptsyntax_json
3
3
  from typing import Any, List, Dict
4
4
 
5
5
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rhinomcp
3
- Version: 0.1.3.1
3
+ Version: 0.1.3.2
4
4
  Summary: Rhino integration through the Model Context Protocol
5
5
  Author-email: Jingcheng Chen <mail@jchen.ch>
6
6
  License: MIT
@@ -9,7 +9,7 @@ src/rhinomcp.egg-info/entry_points.txt
9
9
  src/rhinomcp.egg-info/requires.txt
10
10
  src/rhinomcp.egg-info/top_level.txt
11
11
  src/rhinomcp/prompts/assert_general_strategy.py
12
- src/rhinomcp/static/rhinoscriptsyntax.json
12
+ src/rhinomcp/static/rhinoscriptsyntax.py
13
13
  src/rhinomcp/tools/create_layer.py
14
14
  src/rhinomcp/tools/create_object.py
15
15
  src/rhinomcp/tools/create_objects.py
File without changes
File without changes