sunholo 0.144.10__py3-none-any.whl → 0.144.12__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.
- sunholo/agents/fastapi/vac_routes.py +4 -3
- sunholo/mcp/vac_mcp_server_fastmcp.py +3 -2
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/METADATA +1 -1
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/RECORD +8 -8
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/WHEEL +0 -0
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/entry_points.txt +0 -0
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/licenses/LICENSE.txt +0 -0
- {sunholo-0.144.10.dist-info → sunholo-0.144.12.dist-info}/top_level.txt +0 -0
@@ -696,9 +696,10 @@ class VACRoutesFastAPI:
|
|
696
696
|
# so we can't easily check if it's configured. The error will be
|
697
697
|
# caught below if lifespan is missing.
|
698
698
|
|
699
|
-
# Mount at
|
700
|
-
|
701
|
-
|
699
|
+
# Mount at /mcp/mcp - the MCP app has path="" configured
|
700
|
+
# This gives us /mcp/mcp endpoint without intercepting other routes
|
701
|
+
self.app.mount("/mcp/mcp", mcp_app)
|
702
|
+
log.info("✅ MCP server mounted at /mcp/mcp endpoint")
|
702
703
|
|
703
704
|
except RuntimeError as e:
|
704
705
|
if "Task group is not initialized" in str(e):
|
@@ -73,8 +73,9 @@ class VACMCPServer:
|
|
73
73
|
|
74
74
|
def get_http_app(self):
|
75
75
|
"""Get the HTTP app for mounting in FastAPI."""
|
76
|
-
#
|
77
|
-
|
76
|
+
# Use path="" when mounting at a subpath to avoid double nesting
|
77
|
+
# Mount at /mcp/mcp to get /mcp/mcp endpoint without intercepting other routes
|
78
|
+
return self.server.http_app(path="")
|
78
79
|
|
79
80
|
def add_tool(self, func: Callable, name: str = None, description: str = None):
|
80
81
|
"""
|
@@ -16,7 +16,7 @@ sunholo/agents/swagger.py,sha256=2tzGmpveUMmTREykZvVnDj3j295wyOMu7mUFDnXdY3c,106
|
|
16
16
|
sunholo/agents/fastapi/__init__.py,sha256=f7x7kiEjaNyBiOwJHLJ4vdOiePqkXdI52sIAAHtS-ms,141
|
17
17
|
sunholo/agents/fastapi/base.py,sha256=W-cyF8ZDUH40rc-c-Apw3-_8IIi2e4Y9qRtnoVnsc1Q,2521
|
18
18
|
sunholo/agents/fastapi/qna_routes.py,sha256=lKHkXPmwltu9EH3RMwmD153-J6pE7kWQ4BhBlV3to-s,3864
|
19
|
-
sunholo/agents/fastapi/vac_routes.py,sha256=
|
19
|
+
sunholo/agents/fastapi/vac_routes.py,sha256=XgpDrK5fXhprUGst88TRp9IIVM0OYwiXR_x9LLJvwc4,60712
|
20
20
|
sunholo/agents/flask/__init__.py,sha256=dEoByI3gDNUOjpX1uVKP7uPjhfFHJubbiaAv3xLopnk,63
|
21
21
|
sunholo/agents/flask/base.py,sha256=vnpxFEOnCmt9humqj-jYPLfJcdwzsop9NorgkJ-tSaU,1756
|
22
22
|
sunholo/agents/flask/vac_routes.py,sha256=kaPUDyIH5KhCgeCEtag97qErGVZfqpY1ZEiX3y1_r-s,57505
|
@@ -123,7 +123,7 @@ sunholo/mcp/mcp_manager.py,sha256=g75vv6XvM24U7uz366slE-p76Qs4AvVcsarHSF9qIvE,50
|
|
123
123
|
sunholo/mcp/sse_utils.py,sha256=LBugTxAIccQmcU2ueKIcvVlR2GjhVajwqHDnVn2s6e8,3173
|
124
124
|
sunholo/mcp/stdio_http_bridge.py,sha256=IunHOtnjKAkRWef3SJnqnAL2r2qBRpCH2k_Q_y0Tdf8,3237
|
125
125
|
sunholo/mcp/vac_mcp_server.py,sha256=MotoCw5lDsxCeVtwh1499yGFku9w-78xXhGkIHTUo3w,838
|
126
|
-
sunholo/mcp/vac_mcp_server_fastmcp.py,sha256=
|
126
|
+
sunholo/mcp/vac_mcp_server_fastmcp.py,sha256=41ZpQlVt41_W1lE2YP-PAB1R9_48qudH1vKv2QN1Bbk,4618
|
127
127
|
sunholo/mcp/vac_tools.py,sha256=EznRzkWUYiby218kJlLPVq0fOI0aC4jj-oQLFDraWBM,6886
|
128
128
|
sunholo/ollama/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
129
129
|
sunholo/ollama/ollama_images.py,sha256=H2cpcNu88R4TwyfL_nnqkQhdvBQ2FPCAy4Ok__0yQmo,2351
|
@@ -182,9 +182,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
|
|
182
182
|
sunholo/vertex/memory_tools.py,sha256=tBZxqVZ4InTmdBvLlOYwoSEWu4-kGquc-gxDwZCC4FA,7667
|
183
183
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
184
184
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
185
|
-
sunholo-0.144.
|
186
|
-
sunholo-0.144.
|
187
|
-
sunholo-0.144.
|
188
|
-
sunholo-0.144.
|
189
|
-
sunholo-0.144.
|
190
|
-
sunholo-0.144.
|
185
|
+
sunholo-0.144.12.dist-info/licenses/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
186
|
+
sunholo-0.144.12.dist-info/METADATA,sha256=tw9k2rb9TZCPzYDEqN9vYO_YxlgWdM-1SsoDN1-jD1k,18701
|
187
|
+
sunholo-0.144.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
188
|
+
sunholo-0.144.12.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
189
|
+
sunholo-0.144.12.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
190
|
+
sunholo-0.144.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|