rhinomcp 0.1.3.0__tar.gz → 0.1.3.1__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.
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/PKG-INFO +1 -1
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/pyproject.toml +4 -1
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/server.py +1 -4
- rhinomcp-0.1.3.1/src/rhinomcp/static/rhinoscriptsyntax.json +14642 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/PKG-INFO +1 -1
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/SOURCES.txt +1 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/README.md +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/setup.cfg +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/__init__.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/prompts/assert_general_strategy.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/create_layer.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/create_object.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/create_objects.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/delete_layer.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/delete_object.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/execute_rhinoscript_python_code.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_document_info.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_object_info.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_or_set_current_layer.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_rhinoscript_python_code_guide.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_rhinoscript_python_function_names.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/get_selected_objects_info.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/modify_object.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/modify_objects.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp/tools/select_objects.py +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/dependency_links.txt +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/entry_points.txt +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/requires.txt +0 -0
- {rhinomcp-0.1.3.0 → rhinomcp-0.1.3.1}/src/rhinomcp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "rhinomcp"
|
3
|
-
version = "0.1.3.
|
3
|
+
version = "0.1.3.1"
|
4
4
|
description = "Rhino integration through the Model Context Protocol"
|
5
5
|
readme = "README.md"
|
6
6
|
requires-python = ">=3.10"
|
@@ -26,7 +26,10 @@ build-backend = "setuptools.build_meta"
|
|
26
26
|
|
27
27
|
[tool.setuptools]
|
28
28
|
package-dir = {"" = "src"}
|
29
|
+
include-package-data = true
|
29
30
|
|
31
|
+
[tool.setuptools.package-data]
|
32
|
+
rhinomcp = ["static/*.json"]
|
30
33
|
|
31
34
|
[project.urls]
|
32
35
|
"Homepage" = "https://github.com/jingcheng-chen/rhinomcp"
|
@@ -12,11 +12,8 @@ from pathlib import Path
|
|
12
12
|
import base64
|
13
13
|
from urllib.parse import urlparse
|
14
14
|
|
15
|
-
# load rhino_script_syntax.json
|
16
|
-
from pathlib import Path
|
17
|
-
|
18
15
|
# Define path to static folder
|
19
|
-
JSONFILE = Path("./static/rhinoscriptsyntax.json")
|
16
|
+
JSONFILE = Path("./src/rhinomcp/static/rhinoscriptsyntax.json")
|
20
17
|
|
21
18
|
with open(JSONFILE, 'r') as f:
|
22
19
|
rhinoscriptsyntax_json = json.loads(f.read())
|