- Replace filename-heuristic attachment matching with explicit [附件] column declaration - AttachmentGroup replaces MaterialAttachmentEntry: uses paths[] instead of entries[] - parseMaterialWorkbook now exports DeclaredAttachment and full Parsed type including documentAttachments, expenseAttachments, personAttachments per row - buildAttachmentPlans enforces strict bidirectional validation: 1. Every Excel [附件] path must exist in ZIP 2. Every ZIP file must be declared in some [附件] column - validateDocIdDirectories now strips @annotation suffix when matching documentIds - injectAttachmentPlan updated to work with new AttachmentGroup.paths API - pushMaterialPack iterates group.paths for uploads, adding stderr diagnostics - Key deduplication applied at parse time (deduplicateKeys) - Tests updated: [附件] column fixtures, bidirectional validation error tests, @ annotation matching test, preview injection test - Skill docs updated: Material Pack Workflow section in references/cli.md - Version bumped to 0.10.12
87 KiB
87 KiB