lightpdf-aipdf-mcp 0.1.45__py3-none-any.whl → 0.1.47__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.
@@ -20,6 +20,9 @@ from .common import BaseResult, Logger, FileHandler
20
20
  from .converter import Converter, ConversionResult
21
21
  from .editor import Editor, EditResult
22
22
 
23
+ # 加载环境变量
24
+ load_dotenv()
25
+
23
26
  # 类型定义
24
27
  T = TypeVar('T', bound=BaseResult)
25
28
  ProcessFunc = Callable[[str], Any]
@@ -902,9 +905,6 @@ async def handle_call_tool(name: str, arguments: dict | None) -> list[types.Text
902
905
 
903
906
  async def main():
904
907
  """应用主入口"""
905
- # 加载环境变量
906
- load_dotenv()
907
-
908
908
  # 打印版本号
909
909
  try:
910
910
  import importlib.metadata
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightpdf-aipdf-mcp
3
- Version: 0.1.45
3
+ Version: 0.1.47
4
4
  Summary: MCP Server for LightPDF AI-PDF
5
5
  Author: LightPDF Team
6
6
  License: Proprietary
@@ -2,8 +2,8 @@ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6
2
2
  lightpdf_aipdf_mcp/common.py,sha256=-7LU6gm-As_F8Ly68ssy15Vc9Zt_eNSnvDLEtVZDwlI,6633
3
3
  lightpdf_aipdf_mcp/converter.py,sha256=gsYBLqE6EnMCpCYHaYjcdBD5mhXVqiTRvl1yLSqA01w,14773
4
4
  lightpdf_aipdf_mcp/editor.py,sha256=KySdMurM8AZHwqSU1PpkSCCesQ4t2h-D8Mm12wf90CA,23539
5
- lightpdf_aipdf_mcp/server.py,sha256=dd3lAg3DhFYPdgigpcicY_SiMRnwqXkxjbagj5ijSYY,39974
6
- lightpdf_aipdf_mcp-0.1.45.dist-info/METADATA,sha256=XPjtwZ32XhGIZz0TkJ4EHNDhj6ZPLmiWZ0AJNbJuRcc,7906
7
- lightpdf_aipdf_mcp-0.1.45.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- lightpdf_aipdf_mcp-0.1.45.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
- lightpdf_aipdf_mcp-0.1.45.dist-info/RECORD,,
5
+ lightpdf_aipdf_mcp/server.py,sha256=et6zGvDh1W-6nYZy1wCrFKOJlrrMWYQAdw_KNcfwIHY,39966
6
+ lightpdf_aipdf_mcp-0.1.47.dist-info/METADATA,sha256=A5cKKGGSsY3Ia5vf0eIGLZLjKAkdLFCj6w09liRaDyY,7906
7
+ lightpdf_aipdf_mcp-0.1.47.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ lightpdf_aipdf_mcp-0.1.47.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
9
+ lightpdf_aipdf_mcp-0.1.47.dist-info/RECORD,,