lightpdf-aipdf-mcp 0.1.35__py3-none-any.whl → 0.1.36__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.
- lightpdf_aipdf_mcp/server.py +3 -2
- {lightpdf_aipdf_mcp-0.1.35.dist-info → lightpdf_aipdf_mcp-0.1.36.dist-info}/METADATA +1 -1
- {lightpdf_aipdf_mcp-0.1.35.dist-info → lightpdf_aipdf_mcp-0.1.36.dist-info}/RECORD +5 -5
- {lightpdf_aipdf_mcp-0.1.35.dist-info → lightpdf_aipdf_mcp-0.1.36.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.35.dist-info → lightpdf_aipdf_mcp-0.1.36.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# 标准库导入
|
3
3
|
import asyncio
|
4
4
|
import os
|
5
|
+
import sys
|
5
6
|
from typing import List, Dict, Any, Callable, TypeVar, Optional, Union
|
6
7
|
|
7
8
|
# 第三方库导入
|
@@ -875,9 +876,9 @@ async def main():
|
|
875
876
|
try:
|
876
877
|
import importlib.metadata
|
877
878
|
version = importlib.metadata.version("lightpdf-aipdf-mcp")
|
878
|
-
print(f"LightPDF AI-PDF MCP Server v{version}")
|
879
|
+
print(f"LightPDF AI-PDF MCP Server v{version}", file=sys.stderr)
|
879
880
|
except Exception as e:
|
880
|
-
print("LightPDF AI-PDF MCP Server (版本信息获取失败)")
|
881
|
+
print("LightPDF AI-PDF MCP Server (版本信息获取失败)", file=sys.stderr)
|
881
882
|
|
882
883
|
import mcp.server.stdio as stdio
|
883
884
|
|
@@ -2,8 +2,8 @@ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6
|
|
2
2
|
lightpdf_aipdf_mcp/common.py,sha256=ZPm_Wzn7GpMLl9xJXOrTgNgd0hqdI931JVKm57WRa14,6433
|
3
3
|
lightpdf_aipdf_mcp/converter.py,sha256=5oTLHxXOiZ9_PDatWiYbgPZ0LFFqE0L4qHvamX3g9lM,11732
|
4
4
|
lightpdf_aipdf_mcp/editor.py,sha256=mbCGXd1Xzu-ibDWJnn11fOP5Xlf1Vqxi0yQ8Vs_yUKg,21787
|
5
|
-
lightpdf_aipdf_mcp/server.py,sha256=
|
6
|
-
lightpdf_aipdf_mcp-0.1.
|
7
|
-
lightpdf_aipdf_mcp-0.1.
|
8
|
-
lightpdf_aipdf_mcp-0.1.
|
9
|
-
lightpdf_aipdf_mcp-0.1.
|
5
|
+
lightpdf_aipdf_mcp/server.py,sha256=wxJne3VnKNoKPCTSE1Y47k3v45b-VlgJPRxoeh5ite0,36060
|
6
|
+
lightpdf_aipdf_mcp-0.1.36.dist-info/METADATA,sha256=Lvhg1pA0JeEIgAgrOo8QFVmSezfBuDANeQELURAM6Sw,7932
|
7
|
+
lightpdf_aipdf_mcp-0.1.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
lightpdf_aipdf_mcp-0.1.36.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
+
lightpdf_aipdf_mcp-0.1.36.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.35.dist-info → lightpdf_aipdf_mcp-0.1.36.dist-info}/entry_points.txt
RENAMED
File without changes
|