kl-mcp-client 2.1.15__tar.gz → 2.1.16__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.
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/PKG-INFO +1 -1
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/asyncio/tools.py +6 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/tools.py +7 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client.egg-info/PKG-INFO +1 -1
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/pyproject.toml +1 -1
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/README.md +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/__init__.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/__version__.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/asyncio/__init__.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/asyncio/client.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client/client.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client.egg-info/SOURCES.txt +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client.egg-info/dependency_links.txt +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client.egg-info/requires.txt +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/kl_mcp_client.egg-info/top_level.txt +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/setup.cfg +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/tests/test_async_tools.py +0 -0
- {kl_mcp_client-2.1.15 → kl_mcp_client-2.1.16}/tests/test_tools.py +0 -0
|
@@ -234,6 +234,12 @@ class MCPTools:
|
|
|
234
234
|
)
|
|
235
235
|
return res.get("structuredContent", {})
|
|
236
236
|
|
|
237
|
+
async def cookies(self, sessionId: str):
|
|
238
|
+
logger.info("get cookies")
|
|
239
|
+
res = await self.client.call_tool(
|
|
240
|
+
"getCookies", {"sessionId": sessionId}
|
|
241
|
+
)
|
|
242
|
+
return res.get("structuredContent", {})
|
|
237
243
|
# ======================================================
|
|
238
244
|
# KEYBOARD
|
|
239
245
|
# ======================================================
|
|
@@ -296,6 +296,13 @@ class MCPTools:
|
|
|
296
296
|
"importCookies", {"sessionId": sessionId, "cookies": cookies}
|
|
297
297
|
).get("structuredContent", {})
|
|
298
298
|
|
|
299
|
+
@_ensure_client
|
|
300
|
+
def cookies(self, sessionId: str):
|
|
301
|
+
logger.info("get_cookies")
|
|
302
|
+
return self.client.call_tool(
|
|
303
|
+
"getCookies", {"sessionId": sessionId}
|
|
304
|
+
).get("structuredContent", {})
|
|
305
|
+
|
|
299
306
|
# ======================================================
|
|
300
307
|
# AI / PARSING
|
|
301
308
|
# ======================================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|