Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- MCP 新检查单记录首次入档时的稿件版本,历史查单会说明单据能证明的先后关系。
- MCP 调参兼容直接指定控件或按控件组提交。
- MCP 导出提示区分服务器本地文件和用户可下载附件,不把本地路径当作已交付链接。
- 可用 `PANACHE_MCP_PRESERVE_REVIEWS=1` 在改稿和打印期间保留原有检查记录。
- MCP 在多节稿件的逐页复盘中提示节号和节内页码,方便从中断处继续核对。
- MCP 照片复盘区分边缘过锐与阴影、墨色偏淡,提示如何在同一区域核对小幅柔化。
Expand Down
2 changes: 1 addition & 1 deletion crates/panache-mcp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: <path>'. 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,
Expand Down