mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-07-18 08:08:20 -04:00
16aadbf0bf
# Description of Changes The readFrontmatter regex in `docs/scripts/sync-agent-skills.mjs` uses `\n` to match line endings, which fails on Windows where files have CRLF (`\r\n`) endings. This causes `pnpm run build` to fail with: ``` Error: skills\cli\SKILL.md is missing YAML frontmatter ``` Fix: change `\n` → `\r?\n` in the frontmatter regex and use /\r?\n/ for line splitting so the script works on both Unix and Windows. # API and ABI breaking changes No API or ABI changes # Expected complexity level and risk 1 - Trivial # Testing - [X] When used along side `bump-versions`, this prevents Windows from having the outlined issue.