lightpdf-aipdf-mcp 0.1.78__py3-none-any.whl → 0.1.79__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/common.py +1 -0
- lightpdf_aipdf_mcp/converter.py +2 -1
- lightpdf_aipdf_mcp/editor.py +4 -2
- lightpdf_aipdf_mcp/server.py +6 -0
- {lightpdf_aipdf_mcp-0.1.78.dist-info → lightpdf_aipdf_mcp-0.1.79.dist-info}/METADATA +1 -1
- lightpdf_aipdf_mcp-0.1.79.dist-info/RECORD +9 -0
- lightpdf_aipdf_mcp-0.1.78.dist-info/RECORD +0 -9
- {lightpdf_aipdf_mcp-0.1.78.dist-info → lightpdf_aipdf_mcp-0.1.79.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.78.dist-info → lightpdf_aipdf_mcp-0.1.79.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/common.py
CHANGED
lightpdf_aipdf_mcp/converter.py
CHANGED
lightpdf_aipdf_mcp/editor.py
CHANGED
@@ -153,7 +153,8 @@ class Editor(BaseApiClient):
|
|
153
153
|
file_path=file_paths[0], # 使用第一个文件路径作为参考
|
154
154
|
error_message=None,
|
155
155
|
download_url=download_url,
|
156
|
-
original_name=original_name
|
156
|
+
original_name=original_name,
|
157
|
+
task_id=task_id
|
157
158
|
)
|
158
159
|
|
159
160
|
except Exception as e:
|
@@ -471,7 +472,8 @@ class Editor(BaseApiClient):
|
|
471
472
|
file_path=file_path,
|
472
473
|
error_message=None,
|
473
474
|
download_url=download_url,
|
474
|
-
original_name=original_name
|
475
|
+
original_name=original_name,
|
476
|
+
task_id=task_id
|
475
477
|
)
|
476
478
|
|
477
479
|
except Exception as e:
|
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -57,12 +57,18 @@ def generate_result_report(
|
|
57
57
|
report_obj["success_files"].append({
|
58
58
|
"download_url": result.download_url,
|
59
59
|
"original_name": result.original_name,
|
60
|
+
"debug": {
|
61
|
+
"task_id": result.task_id
|
62
|
+
}
|
60
63
|
})
|
61
64
|
else:
|
62
65
|
# 添加失败的文件信息
|
63
66
|
report_obj["failed_files"].append({
|
64
67
|
"error_message": result.error_message,
|
65
68
|
"original_name": result.original_name,
|
69
|
+
"debug": {
|
70
|
+
"task_id": result.task_id
|
71
|
+
}
|
66
72
|
})
|
67
73
|
|
68
74
|
# 返回JSON字符串
|
@@ -0,0 +1,9 @@
|
|
1
|
+
lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
|
2
|
+
lightpdf_aipdf_mcp/common.py,sha256=_UO1f6S9Qr_3k6u5iBpdVDpvTK5U-tHEpu9KsDGqV8Y,6635
|
3
|
+
lightpdf_aipdf_mcp/converter.py,sha256=VUQ03z93KjVFd0ZXpqoptGKOobWTtHEPtKSvy6aen58,14605
|
4
|
+
lightpdf_aipdf_mcp/editor.py,sha256=jVYksqO68o-7jIiH93rkbL4roIg_ps3Gnewl3NtsLvQ,26788
|
5
|
+
lightpdf_aipdf_mcp/server.py,sha256=gVu99QUN-9impuOMQnAfkBVtAaFF3lIsZuutb8pqVls,47395
|
6
|
+
lightpdf_aipdf_mcp-0.1.79.dist-info/METADATA,sha256=t81D_1PK3DShdSJ4Yl6637KWHoX3buUPSPsgtmVcrXY,8119
|
7
|
+
lightpdf_aipdf_mcp-0.1.79.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
lightpdf_aipdf_mcp-0.1.79.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
+
lightpdf_aipdf_mcp-0.1.79.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6s,141
|
2
|
-
lightpdf_aipdf_mcp/common.py,sha256=m_fNxU9NqJOgF3FpTWPpprPkIe60YjnU1tEN6cI660Q,6601
|
3
|
-
lightpdf_aipdf_mcp/converter.py,sha256=CNdR2uUsA79_6Mzk6eHxo_F7Ripl14S8BdsmKJkV-94,14568
|
4
|
-
lightpdf_aipdf_mcp/editor.py,sha256=NEBu6QUcU6xYIa8ZsAoNABEr0ADxFVKWVrHrb28mjxY,26714
|
5
|
-
lightpdf_aipdf_mcp/server.py,sha256=ggKfRPZVAjn6Piwg-WcMAld_h7KcuijITm-gjDa__Kw,47213
|
6
|
-
lightpdf_aipdf_mcp-0.1.78.dist-info/METADATA,sha256=yVnWirRXC0Mijh4OORHYbBMqlGKax4CD_NGS9jxUJV0,8119
|
7
|
-
lightpdf_aipdf_mcp-0.1.78.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
-
lightpdf_aipdf_mcp-0.1.78.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
-
lightpdf_aipdf_mcp-0.1.78.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.78.dist-info → lightpdf_aipdf_mcp-0.1.79.dist-info}/entry_points.txt
RENAMED
File without changes
|