@ai-matrx/chat 0.1.74 → 0.1.77

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,23 @@
1
1
  # @ai-matrx/chat
2
2
 
3
+ ## 0.1.77
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/chat/v0.1.74..npm/chat/v0.1.77 -- apps/shared/chat`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.1.76
10
+ ### Tool names through THE humanizer
11
+
12
+ - `humanizeToolName` (the default `toolLabel` port) is `humanizeIdentifier(name) || "Working…"`: `workflow_catalog` → "Workflow Catalog".
13
+ - Consumer action: none.
14
+
15
+ ## 0.1.75
16
+
17
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
18
+ `git diff npm/chat/v0.1.74..npm/chat/v0.1.75 -- apps/shared/chat`).
19
+ No source changes intended and no consumer action required.
20
+
3
21
  ## 0.1.74
4
22
 
5
23
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/react.cjs CHANGED
@@ -1618,10 +1618,9 @@ function tooLargeSentence(name, limitBytes) {
1618
1618
  }
1619
1619
 
1620
1620
  // src/react/ports.ts
1621
+ var import_text_case = require("@ai-matrx/kit/text-case");
1621
1622
  function humanizeToolName(toolName) {
1622
- const words = toolName.replace(/[._-]+/g, " ").replace(/([a-z\d])([A-Z])/g, "$1 $2").trim().toLowerCase();
1623
- if (words === "") return "Working\u2026";
1624
- return words.charAt(0).toUpperCase() + words.slice(1);
1623
+ return (0, import_text_case.humanizeIdentifier)(toolName) || "Working\u2026";
1625
1624
  }
1626
1625
 
1627
1626
  // src/react/provider.tsx