@moda-ai/cli 1.55.7 → 1.55.9

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.
@@ -21,7 +21,7 @@ import {
21
21
  safePromptEvidencePath,
22
22
  scanHarness,
23
23
  setPlatformTenantOverride
24
- } from "./cli-y4tb9611.js";
24
+ } from "./cli-4af3thx7.js";
25
25
  import {
26
26
  SKILL_SOURCE_HARNESS,
27
27
  SKILL_SOURCE_INTEGRATION_BUNDLED,
@@ -6752,7 +6752,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
6752
6752
  const analyzedDefinitions = new Map;
6753
6753
  if (flags["no-analyze"] !== "true") {
6754
6754
  options.onProgress?.("Analyzing prompt sources before sync.");
6755
- const { analyzeHarnessPrompts } = await import("./harness-8j5v4wbg.js");
6755
+ const { analyzeHarnessPrompts } = await import("./harness-yshh2pgj.js");
6756
6756
  const result = await analyzeHarnessPrompts({
6757
6757
  rootDir: process.cwd(),
6758
6758
  existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
@@ -7082,7 +7082,7 @@ async function migratePromptManifest(options = {}) {
7082
7082
  let addedSources = [];
7083
7083
  let pendingSources = [];
7084
7084
  if (options.discover) {
7085
- const { analyzeHarnessPrompts } = await import("./harness-8j5v4wbg.js");
7085
+ const { analyzeHarnessPrompts } = await import("./harness-yshh2pgj.js");
7086
7086
  const result = await analyzeHarnessPrompts({
7087
7087
  rootDir: root,
7088
7088
  existing: manifest.sources,
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  runPromptsCommand,
9
9
  runSkillsCommand,
10
10
  runStatusCommand
11
- } from "./cli-ebsqrw71.js";
11
+ } from "./cli-sjc132j8.js";
12
12
  import"./cli-mm48br00.js";
13
13
  import {
14
14
  ApiError,
@@ -39,7 +39,7 @@ import {
39
39
  terminalStyles,
40
40
  unknownSignalsSubcommandError,
41
41
  validateHarnessReport
42
- } from "./cli-y4tb9611.js";
42
+ } from "./cli-4af3thx7.js";
43
43
  import"./cli-ssfq84k5.js";
44
44
  import {
45
45
  authFetch,
@@ -8291,7 +8291,7 @@ False-positive flags (moda false-positive <kind> <target>):
8291
8291
  tool <conversation_id> One failing tool call; needs --tool and --tool-use-id (or --msg-index); audit only
8292
8292
  laziness <conversation_id> Laziness on that trace; audit only
8293
8293
  hallucination <conversation_id> Hallucinations on that trace; audit only
8294
- custom-signal <signal_id> A hit on that trace (--conversation-id); saved as does_not_fit so the signal learns
8294
+ custom-signal <signal_id> A hit on that trace (--conversation-id); saved as does_not_fit, a labelled counterexample for the signal
8295
8295
 
8296
8296
  Problem-linear-file flags (needs Linear connected: Integrations -> Linear):
8297
8297
  --issue=ENG-123|URL Link an existing Linear issue instead of filing a new one
@@ -10516,7 +10516,7 @@ var commandRegistry = createCommandRegistry([
10516
10516
  resetApiRequestCountBeforeRun: true,
10517
10517
  telemetry: "result",
10518
10518
  handler: async (context) => {
10519
- const { runInit } = await import("./index-jmsfasm3.js");
10519
+ const { runInit } = await import("./index-f3k9jgrt.js");
10520
10520
  if (context.outputMode === "agent-stream") {
10521
10521
  context.output.writeEvent({
10522
10522
  event: "started",
@@ -11242,7 +11242,7 @@ var commandRegistry = createCommandRegistry([
11242
11242
  }),
11243
11243
  legacyCommand({
11244
11244
  name: "step-scores",
11245
- description: "Graph-PRM step scores for a trace (per-segment curves, first bad step, rollup)",
11245
+ description: "Step scores for a trace (per-segment curves, first bad step, rollup)",
11246
11246
  examples: ["moda step-scores <conversation_id>"],
11247
11247
  hidden: true,
11248
11248
  ...dataApiDefaults
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSourceSnapshot
3
- } from "./cli-y4tb9611.js";
3
+ } from "./cli-4af3thx7.js";
4
4
  import {
5
5
  recordApiRequest
6
6
  } from "./cli-mx9r1689.js";
@@ -42,7 +42,7 @@ import {
42
42
  writeHarnessAnalyzeResult,
43
43
  writeHarnessArtifacts,
44
44
  writeHumanProgress
45
- } from "./cli-y4tb9611.js";
45
+ } from "./cli-4af3thx7.js";
46
46
  import"./cli-mx9r1689.js";
47
47
  import"./cli-0v6na3yp.js";
48
48
  export {
@@ -3,9 +3,10 @@ import {
3
3
  initPrompts,
4
4
  runPromptSync,
5
5
  runSkillSync
6
- } from "./cli-ebsqrw71.js";
6
+ } from "./cli-sjc132j8.js";
7
7
  import"./cli-mm48br00.js";
8
8
  import {
9
+ canonicalText,
9
10
  codingAgentDisplayName,
10
11
  describeCodingAgentEvent,
11
12
  describeSyncIdentity,
@@ -23,7 +24,7 @@ import {
23
24
  runHarnessCommand,
24
25
  startRemoteAnalyze,
25
26
  stripAnsi
26
- } from "./cli-y4tb9611.js";
27
+ } from "./cli-4af3thx7.js";
27
28
  import {
28
29
  bundledSkillsDir,
29
30
  installIntegrationSkill,
@@ -841,9 +842,11 @@ function renderSdkIntegrationPrompt(opts) {
841
842
  ""
842
843
  ] : [];
843
844
  return [
845
+ canonicalText("init_prompt_line"),
846
+ "",
844
847
  "You are running inside `moda init` as a one-shot SDK integration task. The user has",
845
848
  "approved letting you install packages and edit source files in THIS repository to add",
846
- "Moda LLM observability. Do the integration now — do not just describe it.",
849
+ "the Moda SDK. Do the integration now — do not just describe it.",
847
850
  "",
848
851
  ...SAFETY_RULES,
849
852
  "",
@@ -5,7 +5,7 @@ import {
5
5
  inspectCodeSelectors,
6
6
  inspectPythonSelectors,
7
7
  safePromptEvidencePath
8
- } from "./cli-y4tb9611.js";
8
+ } from "./cli-4af3thx7.js";
9
9
  import"./cli-mx9r1689.js";
10
10
  import {
11
11
  __commonJS,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.7",
4
- "description": "CLI for Moda - AI agent analytics and observability",
3
+ "version": "1.55.9",
4
+ "description": "CLI for Moda: production monitoring and evals for AI agents.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "cli": "./dist/cli.js",
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "keywords": [
45
45
  "moda",
46
+ "ai-agents",
47
+ "agent-monitoring",
48
+ "evals",
46
49
  "llm",
47
- "observability",
48
- "cli",
49
- "analytics",
50
- "ai-agents"
50
+ "cli"
51
51
  ],
52
52
  "author": "Moda <hello@moda.dev>",
53
53
  "license": "MIT",
@@ -69,6 +69,7 @@
69
69
  "@moda/harness-bundle": "*",
70
70
  "@moda/harness-snapshot": "*",
71
71
  "@moda/integration-skills": "*",
72
+ "@moda/messaging": "*",
72
73
  "@types/node": "^22.10.5",
73
74
  "eslint": "^9.17.0",
74
75
  "typescript": "^5.7.2",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-10-14T14:47:58.171Z",
4
- "cli_version": "1.55.7",
3
+ "bundled_at": "2026-10-15T02:17:23.557Z",
4
+ "cli_version": "1.55.9",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",
@@ -1110,7 +1110,7 @@ What each flag does downstream:
1110
1110
  |---|---|
1111
1111
  | `problem` | Dismisses the problem: it leaves `moda problems` and the dashboard at once, and the reason is folded into the next reconcile. Cannot be undone from the CLI |
1112
1112
  | `problem-detection` | Drops that evidence from the problem and teaches the problem reader (same as `detection-review --verdict=false_positive`) |
1113
- | `custom-signal` | Saved as a `does_not_fit` label with the reason, so the signal learns from it and the live match is retracted (same as `signal-label`). `--undo` removes the label |
1113
+ | `custom-signal` | Saved as a `does_not_fit` label with the reason, a labelled counterexample for the signal, and the live match is retracted (same as `signal-label`). `--undo` removes the label |
1114
1114
  | `quote`, `tool`, `laziness`, `hallucination` | Audit only: recorded for review, never fed back to the detectors |
1115
1115
 
1116
1116
  Find targets with the read commands: `--family`, `--turn` and `--quote` verbatim
@@ -1122,7 +1122,7 @@ laziness traces from `moda laziness`; hallucination traces from
1122
1122
  `moda problem <id> --evidence`.
1123
1123
 
1124
1124
  **Custom signals** are tenant-defined behaviors (pass/fail criteria) judged on
1125
- every trace. Read them, then label hits so the signal learns:
1125
+ every trace. Read them, then label hits so each signal has labelled examples:
1126
1126
 
1127
1127
  ```bash
1128
1128
  moda signals # every signal: criteria, status, 7-day judged/matched