diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fbea851..e5f67e06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - MCP 新检查单记录首次入档时的稿件版本,历史查单会说明单据能证明的先后关系。 - MCP 调参兼容直接指定控件或按控件组提交。 +- MCP 导出提示区分服务器本地文件和用户可下载附件,不把本地路径当作已交付链接。 - 可用 `PANACHE_MCP_PRESERVE_REVIEWS=1` 在改稿和打印期间保留原有检查记录。 - MCP 在多节稿件的逐页复盘中提示节号和节内页码,方便从中断处继续核对。 - MCP 照片复盘区分边缘过锐与阴影、墨色偏淡,提示如何在同一区域核对小幅柔化。 diff --git a/crates/panache-mcp/src/main.rs b/crates/panache-mcp/src/main.rs index 2f37eba2..6721a1fe 100644 --- a/crates/panache-mcp/src/main.rs +++ b/crates/panache-mcp/src/main.rs @@ -600,7 +600,7 @@ impl Panache { } #[tool( - description = "Export a revision in section order as PDF (default, includes paper) or ZIP of PNGs. Return the path, page count and review.unreviewed_pages for print-and-report. To look up a listed page use read_section(view=review); only a requested new check needs preview_handwriting(view=review) at the exported revision. For transparent PNGs set transparent_background=true in the ink group before exporting ZIP. Text-only clients can open the PDF locally." + description = "Export a revision in section order as PDF (default, includes paper) or ZIP of PNGs. Return the path, page count and review.unreviewed_pages for print-and-report. To look up a listed page use read_section(view=review); only a requested new check needs preview_handwriting(view=review) at the exported revision. For transparent PNGs set transparent_background=true in the ink group before exporting ZIP. The returned path is local to the computer running Panache. With only this path, tell the user in their language: 'On the computer running Panache, open this file: '. Put the path in inline code, never in a download link. If the chat host confirms a visible attachment, point to that attachment instead; if its receipt gives a download URL, include that exact URL in the final reply." )] async fn export_handwriting( &self,