feat(parse): use nested YAML import: maps instead of one-liner binds

Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-10-23 19:33:58 +08:00
1 parent 8bbe017a5e
commit 687c168014
364 files changed
+1870 -1004

No files matched your search

@@ -1,8 +1,9 @@
---
id: capability.order-pricing
type: Capability
import tax:../knowledge/tax-2026.mq.md
import order:../schema/order.mq.md
import:
tax: ../knowledge/tax-2026.mq.md
order: ../schema/order.mq.md
---
# 订单定价
@@ -1,7 +1,8 @@
---
id: document.invoice-answer
type: Answer
import pricing:../capabilities/order-pricing.mq.md
import:
pricing: ../capabilities/order-pricing.mq.md
---
# 发票回答