lightpdf-aipdf-mcp 0.1.146__py3-none-any.whl → 0.1.147__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 +5 -0
- {lightpdf_aipdf_mcp-0.1.146.dist-info → lightpdf_aipdf_mcp-0.1.147.dist-info}/METADATA +1 -1
- {lightpdf_aipdf_mcp-0.1.146.dist-info → lightpdf_aipdf_mcp-0.1.147.dist-info}/RECORD +5 -5
- {lightpdf_aipdf_mcp-0.1.146.dist-info → lightpdf_aipdf_mcp-0.1.147.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.146.dist-info → lightpdf_aipdf_mcp-0.1.147.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -149,6 +149,11 @@ async def process_conversion_file(
|
|
149
149
|
# 处理extra_params
|
150
150
|
if extra_params is None:
|
151
151
|
extra_params = {}
|
152
|
+
|
153
|
+
# 参数名称映射:将image_quality映射为image-quality
|
154
|
+
if "image_quality" in extra_params:
|
155
|
+
extra_params["image-quality"] = extra_params.pop("image_quality")
|
156
|
+
|
152
157
|
# 直接传递 merge_all 参数(如有)
|
153
158
|
# 其它逻辑交由 converter.convert_file 处理
|
154
159
|
return await converter.convert_file(file_path, format, extra_params, password, original_name)
|
@@ -4,10 +4,10 @@ lightpdf_aipdf_mcp/converter.py,sha256=r8iO5R5vLNNKWdb6WSnwzTwwmp2TvgLXSIvvA4y__
|
|
4
4
|
lightpdf_aipdf_mcp/create_pdf.py,sha256=FKWttbR48foiwUwmSsCN6n6PfI25IpaXETPUscz9DjI,16073
|
5
5
|
lightpdf_aipdf_mcp/editor.py,sha256=BR-sWW9L7tybEPOhdc8W-uwdBoom19EPTmGDvy_2gMc,27941
|
6
6
|
lightpdf_aipdf_mcp/ocr.py,sha256=IyzxisA6qtXcGTHZofpUYXYDdcIjUaaHcVUKpM7DH9A,2832
|
7
|
-
lightpdf_aipdf_mcp/server.py,sha256=
|
7
|
+
lightpdf_aipdf_mcp/server.py,sha256=Y4jF1nl-YCCZkbLaiuEZ2EuSnK0Am8OaxN9hGzBDWNQ,81468
|
8
8
|
lightpdf_aipdf_mcp/summarizer.py,sha256=UPAftDKjp2NFE2Wfoi2yAsGfaWqihu-c_W_BwfhVy0c,3671
|
9
9
|
lightpdf_aipdf_mcp/translator.py,sha256=nuZa4FpsA0xeRWAEGqSPIM55aJuazJX1m32uajowo7I,2778
|
10
|
-
lightpdf_aipdf_mcp-0.1.
|
11
|
-
lightpdf_aipdf_mcp-0.1.
|
12
|
-
lightpdf_aipdf_mcp-0.1.
|
13
|
-
lightpdf_aipdf_mcp-0.1.
|
10
|
+
lightpdf_aipdf_mcp-0.1.147.dist-info/METADATA,sha256=SSOOrZXi6fTDgfnSJFrUJuScJ-AwodAEEy0OIjax-Pk,8120
|
11
|
+
lightpdf_aipdf_mcp-0.1.147.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
12
|
+
lightpdf_aipdf_mcp-0.1.147.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
13
|
+
lightpdf_aipdf_mcp-0.1.147.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.146.dist-info → lightpdf_aipdf_mcp-0.1.147.dist-info}/entry_points.txt
RENAMED
File without changes
|