From 43c11c3dd00a7eafde237f495bcae902585c3bb3 Mon Sep 17 00:00:00 2001 From: SXP-Simon Date: Thu, 26 Nov 2026 22:50:38 +0800 Subject: [PATCH] =?UTF-8?q?docs(crates/panache-mcp):=20=E5=BB=BA=E7=A8=BF?= =?UTF-8?q?=E6=97=B6=E8=AF=B4=E6=98=8E=E5=A6=82=E4=BD=95=E6=B2=BF=E7=94=A8?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=99=E7=9A=84=E5=8E=9F=E7=BA=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 背景:交付 PDF 时,客户端曾把原纸重新描成打印模板。 解决手段:在 paper_mode 的工具说明中明确原图、拉正与重建模板的适用意图。 收益:客户端在建稿时就能看到保留原纸的操作。 --- crates/panache-mcp/src/inputs.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/panache-mcp/src/inputs.rs b/crates/panache-mcp/src/inputs.rs index 54638337..25420b83 100644 --- a/crates/panache-mcp/src/inputs.rs +++ b/crates/panache-mcp/src/inputs.rs @@ -103,7 +103,9 @@ pub struct Save { /// Optional absolute local image path for a new draft. Imports and aligns the paper once. /// Use with the default plain preset. All revisions share the saved image. pub paper_path: Option, - /// With paper_path: photo (default) preserves camera perspective; flatten aligns the background. + /// When asked to write on the supplied sheet, pass its original file as paper_path and use photo (default). + /// Keep the header, rulings and perspective even for PDF export. Use flatten for a requested straightened sheet; + /// recreate a blank template only when requested. pub paper_mode: Option, /// Optional photo-space baselines overriding auto detection on import. Give 2..32 guides, first row 0, last row the last writable line; intermediate guides refine the fit. pub paper_guides: Option>,