@moda-ai/cli 1.55.0 → 1.55.2

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/dist/cli.js CHANGED
@@ -601,7 +601,8 @@ function frustrationsFromEmotions(response) {
601
601
  const pagination = asRecord(response.pagination) ?? {};
602
602
  const byFamily = asRecord(summary.by_family) ?? {};
603
603
  const totalAnalyzed = asNumber(summary.conversations_analyzed) ?? 0;
604
- const frustrated = asNumber(byFamily.frustration) ?? 0;
604
+ const byFamilyConversations = asRecord(summary.conversations_by_family);
605
+ const frustrated = asNumber(byFamilyConversations?.frustration) ?? asNumber(byFamily.frustration) ?? 0;
605
606
  const frustrations = response.detections.map((item) => asRecord(item)).filter((row) => row !== null && (row.family === undefined || row.family === "frustration")).map(({ conversation_context, score, is_detected, ...row }) => ({
606
607
  ...row,
607
608
  is_frustrated: is_detected === true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.0",
3
+ "version": "1.55.2",
4
4
  "description": "CLI for Moda - AI agent analytics and observability",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-10-12T08:12:12.808Z",
4
- "cli_version": "1.55.0",
3
+ "bundled_at": "2026-10-13T03:17:21.446Z",
4
+ "cli_version": "1.55.2",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",