Jarvis-Brain 0.0.2__py3-none-any.whl → 0.0.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.
- {jarvis_brain-0.0.2.dist-info → jarvis_brain-0.0.4.dist-info}/METADATA +1 -1
- jarvis_brain-0.0.4.dist-info/RECORD +7 -0
- mcp_tools/main.py +2 -3
- jarvis_brain-0.0.2.dist-info/RECORD +0 -7
- {jarvis_brain-0.0.2.dist-info → jarvis_brain-0.0.4.dist-info}/WHEEL +0 -0
- {jarvis_brain-0.0.2.dist-info → jarvis_brain-0.0.4.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
mcp_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
mcp_tools/dp_tools.py,sha256=TsBJM_Fdr6IreZvqoUZnDv2OJi-oMEYCLzO5cIIUVe4,5991
|
|
3
|
+
mcp_tools/main.py,sha256=QS5GUQQC-zfMqQ_rFm6Kc1X4ATfalrGl_FPMR6yCp1U,380
|
|
4
|
+
jarvis_brain-0.0.4.dist-info/METADATA,sha256=qcoGfhTWW73nDfobyeLOOSrSaCPlKlZyLCg4GoIV_Gw,176
|
|
5
|
+
jarvis_brain-0.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
jarvis_brain-0.0.4.dist-info/entry_points.txt,sha256=YFQT4xpkUqt5dM5wlKPQQOqcjMuFrT9iuRAzIpAyH7U,51
|
|
7
|
+
jarvis_brain-0.0.4.dist-info/RECORD,,
|
mcp_tools/main.py
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
# main.py
|
|
2
|
-
import
|
|
3
|
-
from src.mcp_tools.dp_tools import *
|
|
2
|
+
from mcp_tools.dp_tools import *
|
|
4
3
|
from fastmcp import FastMCP
|
|
5
4
|
|
|
6
5
|
mcp = FastMCP("Jarvis Brain DrissionPage mcp")
|
|
7
6
|
|
|
8
7
|
# 根据环境变量加载模块
|
|
9
|
-
enabled_modules = os.getenv("MCP_MODULES", "
|
|
8
|
+
enabled_modules = os.getenv("MCP_MODULES", "DrissionPage").split(",")
|
|
10
9
|
|
|
11
10
|
if "DrissionPage" in enabled_modules:
|
|
12
11
|
register_visit_url(mcp)
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
mcp_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
mcp_tools/dp_tools.py,sha256=TsBJM_Fdr6IreZvqoUZnDv2OJi-oMEYCLzO5cIIUVe4,5991
|
|
3
|
-
mcp_tools/main.py,sha256=iBZx8ThFb0uBkvNS3k510UMC8eDSKk5VX5-mLxjYnbU,394
|
|
4
|
-
jarvis_brain-0.0.2.dist-info/METADATA,sha256=-Ip4i0EY0rzKtQA0h11e9f3S4Rl-em6Y8SyqtjaymFg,176
|
|
5
|
-
jarvis_brain-0.0.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
jarvis_brain-0.0.2.dist-info/entry_points.txt,sha256=YFQT4xpkUqt5dM5wlKPQQOqcjMuFrT9iuRAzIpAyH7U,51
|
|
7
|
-
jarvis_brain-0.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|