@vincemakes/kiso-skills-ext 0.45.3 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -215,7 +215,9 @@ function skillsCatalog(index, broken) {
215
215
  * `emptyBlocks` — the caller names it a broken entry, never an empty
216
216
  * description. Anchors, flow collections and nesting stay out of scope:
217
217
  * the index needs three string keys. */
218
- function parseFrontmatter(text) {
218
+ function parseFrontmatter(raw) {
219
+ // a SKILL.md saved with CRLF (Windows) reads as one saved with LF
220
+ const text = raw.replace(/\r\n/g, "\n");
219
221
  if (!text.startsWith("---\n")) return null;
220
222
  const end = text.indexOf("\n---", 4);
221
223
  if (end < 0) return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-skills-ext",
3
- "version": "0.45.3",
3
+ "version": "0.46.0",
4
4
  "description": "kiso official skills extension \u2014 two-tier progressive skills, kernel untouched",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "test": "vitest run"
24
24
  },
25
25
  "devDependencies": {
26
- "@vincemakes/kiso-core": "0.45.3",
26
+ "@vincemakes/kiso-core": "0.46.0",
27
27
  "@types/node": "^26.1.2",
28
28
  "typescript": "^5.7.2",
29
29
  "vitest": "^3.0.0"