- Clarify dataset naming as Webhook 资源包 (CLI: resource-pack, alias: pack), distinguishing from backend native simulation material pack while retaining material-pack as backward-compatible alias
- Implement exportApprovalRunsToResourcePack for exporting online approval runs and attachments into local resource pack ZIP
- Support seal-use webhook resource-pack export with record filters, docId prefix/suffix, and destination options
- Refine bidirectional directory validation to allow documents without attachments
- Update CLI runner, help definitions, and skill references
- Add comprehensive export, preview, and CLI command unit tests
- 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
Support the release loop against Seal simulation batches:
- simulation create (hosecloud specified single-number and material_pack
modes; other collection modes reserved via rawParams passthrough)
- simulation list/get/templates/integrations/package-upload
- schema modeling from captured staging traffic, mode-scoped request params
- new MCP tools and OpenAPI paths; bump version to 0.6.0
Tests: bun run check, bun test (114 pass).
- createDelegationForUser now detects hosecloud-synced users (provider != local)
- Falls back to Hose Provisional Auth → Seal SSO session exchange → delegation create
- Generates a true user-identity Seal delegation link without password reset
- Fixes name search to prefer exact match before falling back to first result
- Exports normalizeBaseUrl, defaultSealUrl, ensureHoseOpenapiToken, fetchHoseCloseApiToken
- Updates SKILL.md: documents users delegation hosecloud limitation and fallback behavior