@ai-matrx/content-ir 0.19.25 → 0.19.27

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.27
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/content-ir-core/v0.19.26..npm/content-ir-core/v0.19.27 -- apps/shared/content-ir-core`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.19.26
10
+ ### `./text-case`: the one text-case implementation
11
+
12
+ - New subpath **`@ai-matrx/content-ir/text-case`** — `formatText` & friends plus `humanizeIdentifier` / `displayLabel` (THE identifier-to-words rule). `@ai-matrx/kit/text-case` re-exports it; `utils/text-case-converter.ts` (a byte-copy of kit's) is deleted.
13
+ - `titleCaseToken` and `formatBlockLabel` go through `humanizeIdentifier`: `plan_node_patch` → "Plan Node Patch".
14
+
15
+ ### Consumer action
16
+
17
+ - None required; apps import through `@ai-matrx/kit/text-case`.
3
18
  ## 0.19.25
4
19
 
5
20
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/convert.cjs CHANGED
@@ -8,7 +8,7 @@ function scalarArrayItemType(type) {
8
8
  return "string";
9
9
  }
10
10
 
11
- // utils/text-case-converter.ts
11
+ // text-case.ts
12
12
  var DEFAULT_WORD_REPLACEMENTS = {
13
13
  // Acronyms & initialisms
14
14
  "api": "API",
@@ -276,6 +276,24 @@ function formatText(text, options = {}) {
276
276
  }
277
277
  return result;
278
278
  }
279
+ var IDENTIFIER_ACRONYMS = [
280
+ "ID",
281
+ "URL",
282
+ "PDF",
283
+ "HTML",
284
+ "JSON",
285
+ "API",
286
+ "AI",
287
+ "UI",
288
+ "CSV",
289
+ "SMS",
290
+ "SEO",
291
+ "LLM",
292
+ "MCP",
293
+ "UUID",
294
+ "ISO"
295
+ ];
296
+ new Set(IDENTIFIER_ACRONYMS.map((a) => a.toLowerCase()));
279
297
 
280
298
  // core/schema-structure.ts
281
299
  function formatBlockLabel(key) {