@moda-ai/cli 1.55.111 → 1.55.113

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.
@@ -688,7 +688,7 @@ function trendsSummaryText(trends) {
688
688
  conversations: "traces",
689
689
  negative_emotion_rate_pct: "negative emotion",
690
690
  tool_failure_rate_pct: "failed tool calls",
691
- ungrounded_rate_pct: "ungrounded claims"
691
+ hallucinations: "hallucinations"
692
692
  };
693
693
  for (const [key, name] of Object.entries(label)) {
694
694
  const c = asRecord(overview[key]);
package/dist/cli.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  withSummaryCompare,
27
27
  withToolFailureAnchors,
28
28
  withoutDetectionWindows
29
- } from "./cli-7gnw6smk.js";
29
+ } from "./cli-fjf2909s.js";
30
30
  import {
31
31
  createCommandContext
32
32
  } from "./cli-3thzh1mq.js";
@@ -188,7 +188,7 @@ function compactRow(family, row) {
188
188
  case "laziness":
189
189
  return stripUndefined({ msg_index: msgIndex, family: row.family, pattern: row.pattern_id, confidence: row.confidence, snippet: clip(row.snippet) });
190
190
  case "hallucination":
191
- return stripUndefined({ msg_index: msgIndex, rule: row.rule_id, confidence: row.confidence, claim: clip(row.offending_substring), evidence: clip(row.evidence_quote) });
191
+ return stripUndefined({ msg_index: msgIndex, rule: row.rule_id, confidence: row.confidence, claim: clip(row.offending_substring), evidence: clip(row.evidence_quote), incident: row.incident_id ?? undefined });
192
192
  case "tool_failure":
193
193
  return stripUndefined({ msg_index: msgIndex, tool: row.tool_name, tool_use_id: row.tool_use_id, category: row.category, error: clip(row.error_message) });
194
194
  case "custom_signal":
@@ -3054,7 +3054,7 @@ async function runAgentCommand(...args) {
3054
3054
  return (await import("./agent-38z6n98a.js")).runAgentCommand(...args);
3055
3055
  }
3056
3056
  async function runProductionCommand(...args) {
3057
- return (await import("./production-intelligence-nphep7xw.js")).runProductionCommand(...args);
3057
+ return (await import("./production-intelligence-9k50j0by.js")).runProductionCommand(...args);
3058
3058
  }
3059
3059
  function parseArgs(argv) {
3060
3060
  const args = argv.slice(2);
@@ -10,7 +10,7 @@ import {
10
10
  overviewTrendsQuery,
11
11
  renderTrendsHuman,
12
12
  trendsSummaryText
13
- } from "./cli-7gnw6smk.js";
13
+ } from "./cli-fjf2909s.js";
14
14
  import {
15
15
  renderMarkdownForTerminal,
16
16
  shouldColorTerminalOutput,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.111",
3
+ "version": "1.55.113",
4
4
  "description": "CLI for Moda: production monitoring and evals for AI agents.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,10 +30,10 @@
30
30
  "export:admin-manifest": "bun scripts/export-admin-command-manifest.ts",
31
31
  "build": "bun run bundle:skills && tsc --noEmit && tsc -p tsconfig.prompt-hash.json && bun build ./src/cli.ts ./src/prompt-source-mcp.ts ./src/prompt-hash.ts --target=node --format=esm --outdir=dist --splitting --external @inquirer/prompts --external open --external zod",
32
32
  "dev": "tsc --watch",
33
- "typecheck": "tsc --noEmit",
33
+ "typecheck": "tsc-native --noEmit",
34
34
  "test": "bun run bundle:skills && vitest run",
35
35
  "test:watch": "vitest",
36
- "lint": "eslint ."
36
+ "lint": "oxlint ."
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
@@ -62,14 +62,13 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@moda/database": "*",
65
- "@moda/eslint-config": "*",
65
+ "@moda/dev-tools": "*",
66
66
  "@moda/harness-bundle": "*",
67
67
  "@moda/harness-snapshot": "*",
68
68
  "@moda/integration-skills": "*",
69
69
  "@moda/messaging": "*",
70
70
  "@modelcontextprotocol/sdk": "^1.30.0",
71
71
  "@types/node": "^22.10.5",
72
- "eslint": "^9.17.0",
73
72
  "fast-glob": "^3.3.3",
74
73
  "typescript": "^5.7.2",
75
74
  "vitest": "^4.0.14",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-11-03T04:33:29.654Z",
4
- "cli_version": "1.55.111",
3
+ "bundled_at": "2026-11-03T07:57:45.324Z",
4
+ "cli_version": "1.55.113",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",
@@ -37,7 +37,7 @@ relative change. `spike` is the dashboard's spike rule. Sections:
37
37
 
38
38
  | Section | Dashboard source | Figures |
39
39
  |---|---|---|
40
- | `overview` | Analytics overview | traces, messages, negative emotion rate (per analyzed trace), failed tool calls (per call), ungrounded claims (per scored message); `n` gives numerator and denominator |
40
+ | `overview` | Analytics overview | traces, messages, negative emotion rate (per analyzed trace), failed tool calls (per call), hallucinations (a count); `n` gives numerator and denominator for the rates |
41
41
  | `problems` | Problems trend card | analysed traces, traces with any signal, signal rate (`--days-back` only) |
42
42
  | `rates` | Signals overview rate cards | each detector's share of units with a detection (`--unit=conversation\|segment\|turn`) |
43
43
  | `detectors` | Detector tab KPI tiles | emotion (analyzed, negative rate, detections, affected users, traces per family), tool_failure (failed traces, classified failures, failure rate, calls, users, tools), laziness, hallucination |