@moda-ai/cli 1.55.65 → 1.55.67

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.
@@ -1141,6 +1141,9 @@ function itemStatus(analysis, rootDir, item) {
1141
1141
  return "reachable";
1142
1142
  return CODE_FILE.test(file) && !TEST_RUNNER_FILE.test(file) ? "defined_only" : undefined;
1143
1143
  }
1144
+ function staticStatus(status) {
1145
+ return status === "in_prod" ? "reachable" : status;
1146
+ }
1144
1147
  function tagComponentStatus(graph, rootDir) {
1145
1148
  if (process.env.MODA_HARNESS_DETERMINISTIC_MERGE === "0")
1146
1149
  return { tagged: 0, counts: {} };
@@ -1158,11 +1161,13 @@ function tagComponentStatus(graph, rootDir) {
1158
1161
  if (item.status === undefined || !HARNESS_COMPONENT_STATUSES.has(item.status)) {
1159
1162
  const status = itemStatus(analysis, rootDir, item);
1160
1163
  if (status) {
1161
- item.status = status;
1164
+ item.status = staticStatus(status);
1162
1165
  tagged += 1;
1163
1166
  } else {
1164
1167
  delete item.status;
1165
1168
  }
1169
+ } else {
1170
+ item.status = staticStatus(item.status);
1166
1171
  }
1167
1172
  counts[item.status ?? "unknown"] += 1;
1168
1173
  }
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  HARNESS_COMPONENT_STATUSES,
6
6
  normalizeComponentStatus
7
- } from "./cli-mfvwvh84.js";
7
+ } from "./cli-ysh0mdwp.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-0v6na3yp.js";
package/dist/cli.js CHANGED
@@ -2726,7 +2726,7 @@ function buildManifest(commands) {
2726
2726
  exit_codes: [
2727
2727
  { code: 0, name: "ok", meaning: "Command completed successfully." },
2728
2728
  { code: 1, name: "error", meaning: "Command, input, API, network, or unexpected failure." },
2729
- { code: 3, name: "degraded", meaning: "Degraded result: `moda ask` local fallback, or `investigate`/`failures` with some sources unavailable (`data.failedSources`)." },
2729
+ { code: 3, name: "degraded", meaning: "Degraded result: `moda ask` local fallback, `investigate`/`failures` with some sources unavailable (`data.failedSources`), or an incomplete `harness extract` scan (`warnings`)." },
2730
2730
  { code: 4, name: "auth_required", meaning: "Run login_command, then resume." },
2731
2731
  { code: 5, name: "input_required", meaning: "Choose from input_request choices, then resume." },
2732
2732
  { code: 130, name: "cancelled", meaning: "Interrupted or output consumer closed." }
@@ -2975,25 +2975,25 @@ function leafManifestFields(leaf, commands) {
2975
2975
  import { fileURLToPath } from "url";
2976
2976
  import { realpathSync } from "fs";
2977
2977
  async function runPromptsCommand(...args) {
2978
- return (await import("./prompts-nhsbq9me.js")).runPromptsCommand(...args);
2978
+ return (await import("./prompts-12f51m9n.js")).runPromptsCommand(...args);
2979
2979
  }
2980
2980
  async function runSkillsCommand(...args) {
2981
2981
  return (await import("./skills-c25dmy28.js")).runSkillsCommand(...args);
2982
2982
  }
2983
2983
  async function runHarnessCommand(...args) {
2984
- return (await import("./harness-462pdr5e.js")).runHarnessCommand(...args);
2984
+ return (await import("./harness-cp1j845n.js")).runHarnessCommand(...args);
2985
2985
  }
2986
2986
  async function runSyncCommand(...args) {
2987
- return (await import("./sync-tvf4cggm.js")).runSyncCommand(...args);
2987
+ return (await import("./sync-vq1cb51s.js")).runSyncCommand(...args);
2988
2988
  }
2989
2989
  async function runRegistryCommand(...args) {
2990
2990
  return (await import("./registry-ztn727mn.js")).runRegistryCommand(...args);
2991
2991
  }
2992
2992
  async function runDoctorCommand(...args) {
2993
- return (await import("./doctor-6bccjmx8.js")).runDoctorCommand(...args);
2993
+ return (await import("./doctor-seknfzwz.js")).runDoctorCommand(...args);
2994
2994
  }
2995
2995
  async function runStatusCommand(...args) {
2996
- return (await import("./doctor-6bccjmx8.js")).runStatusCommand(...args);
2996
+ return (await import("./doctor-seknfzwz.js")).runStatusCommand(...args);
2997
2997
  }
2998
2998
  async function runAuthCommand(...args) {
2999
2999
  return (await import("./profile-commands-fa2858ez.js")).runAuthCommand(...args);
@@ -3005,7 +3005,7 @@ async function runProfilesCommand(...args) {
3005
3005
  return (await import("./profile-commands-fa2858ez.js")).runProfilesCommand(...args);
3006
3006
  }
3007
3007
  async function runAgentCommand(...args) {
3008
- return (await import("./agent-hn9z5mtw.js")).runAgentCommand(...args);
3008
+ return (await import("./agent-gg0jgjcw.js")).runAgentCommand(...args);
3009
3009
  }
3010
3010
  async function runProductionCommand(...args) {
3011
3011
  return (await import("./production-intelligence-40teyxyv.js")).runProductionCommand(...args);
@@ -6769,7 +6769,7 @@ var commandRegistry = createCommandRegistry([
6769
6769
  resetApiRequestCountBeforeRun: true,
6770
6770
  telemetry: "result-and-error",
6771
6771
  handler: async (context) => {
6772
- const { runInit } = await import("./index-1cjavfpa.js");
6772
+ const { runInit } = await import("./index-ttxbqyr2.js");
6773
6773
  if (context.outputMode === "agent-stream") {
6774
6774
  context.output.writeEvent({
6775
6775
  event: "started",
@@ -3,9 +3,9 @@ import {
3
3
  promptsDiscoveredCheck,
4
4
  runDoctorCommand,
5
5
  runStatusCommand
6
- } from "./cli-7rq27nht.js";
6
+ } from "./cli-ff4675az.js";
7
7
  import"./cli-27kkk5z4.js";
8
- import"./cli-7mdzvenp.js";
8
+ import"./cli-nhnr529r.js";
9
9
  import"./cli-mm48br00.js";
10
10
  import"./cli-k0vxtzxb.js";
11
11
  import"./cli-m702wdtv.js";
@@ -45,12 +45,12 @@ import {
45
45
  writeHarnessAnalyzeResult,
46
46
  writeHarnessArtifacts,
47
47
  writeHumanProgress
48
- } from "./cli-rec661n7.js";
48
+ } from "./cli-8ac7g36q.js";
49
49
  import"./cli-k0vxtzxb.js";
50
50
  import"./cli-97fnztpy.js";
51
51
  import {
52
52
  HARNESS_ANALYZE_CONCERNS
53
- } from "./cli-1fcx3eyn.js";
53
+ } from "./cli-z0v1j51p.js";
54
54
  import"./cli-m702wdtv.js";
55
55
  import"./cli-e0kbye4s.js";
56
56
  import"./cli-wcax07xh.js";
@@ -60,8 +60,8 @@ import"./cli-k4tqwah4.js";
60
60
  import"./cli-fsgh8mq5.js";
61
61
  import"./cli-9kfxkxmk.js";
62
62
  import"./cli-9a4b1wxz.js";
63
- import"./cli-vqhaj5tv.js";
64
- import"./cli-mfvwvh84.js";
63
+ import"./cli-p2s3nwc6.js";
64
+ import"./cli-ysh0mdwp.js";
65
65
  import"./cli-gmvbapx7.js";
66
66
  import"./cli-0v6na3yp.js";
67
67
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  buildSourceSnapshot
3
- } from "./cli-rec661n7.js";
3
+ } from "./cli-8ac7g36q.js";
4
4
  import"./cli-k0vxtzxb.js";
5
5
  import"./cli-97fnztpy.js";
6
- import"./cli-1fcx3eyn.js";
6
+ import"./cli-z0v1j51p.js";
7
7
  import"./cli-m702wdtv.js";
8
8
  import"./cli-e0kbye4s.js";
9
9
  import"./cli-wcax07xh.js";
@@ -15,8 +15,8 @@ import"./cli-k4tqwah4.js";
15
15
  import"./cli-fsgh8mq5.js";
16
16
  import"./cli-9kfxkxmk.js";
17
17
  import"./cli-9a4b1wxz.js";
18
- import"./cli-vqhaj5tv.js";
19
- import"./cli-mfvwvh84.js";
18
+ import"./cli-p2s3nwc6.js";
19
+ import"./cli-ysh0mdwp.js";
20
20
  import"./cli-gmvbapx7.js";
21
21
  import"./cli-0v6na3yp.js";
22
22
 
@@ -24,9 +24,9 @@ import {
24
24
  stampRemoteSnapshotTruncation,
25
25
  validateHarnessReport,
26
26
  writeHarnessReportArtifacts
27
- } from "./cli-1fcx3eyn.js";
27
+ } from "./cli-z0v1j51p.js";
28
28
  import"./cli-k4tqwah4.js";
29
- import"./cli-mfvwvh84.js";
29
+ import"./cli-ysh0mdwp.js";
30
30
  import"./cli-0v6na3yp.js";
31
31
  export {
32
32
  writeHarnessReportArtifacts,
@@ -15,8 +15,8 @@ import {
15
15
  serializeExtractResult,
16
16
  toolNamesOf,
17
17
  valueChildren
18
- } from "./cli-vqhaj5tv.js";
19
- import"./cli-mfvwvh84.js";
18
+ } from "./cli-p2s3nwc6.js";
19
+ import"./cli-ysh0mdwp.js";
20
20
  import"./cli-gmvbapx7.js";
21
21
  import"./cli-0v6na3yp.js";
22
22
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildDoctorReport
3
- } from "./cli-7rq27nht.js";
3
+ } from "./cli-ff4675az.js";
4
4
  import {
5
5
  selectTenantAndCreateKey
6
6
  } from "./cli-rdwy3y4f.js";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  initPrompts,
22
22
  runPromptSync
23
- } from "./cli-7mdzvenp.js";
23
+ } from "./cli-nhnr529r.js";
24
24
  import {
25
25
  agentsMdProblem,
26
26
  runSkillSync
@@ -46,7 +46,7 @@ import {
46
46
  runCodingAgent,
47
47
  runHarnessCommand,
48
48
  startRemoteAnalyze
49
- } from "./cli-rec661n7.js";
49
+ } from "./cli-8ac7g36q.js";
50
50
  import {
51
51
  canonicalText,
52
52
  renderInitBanner,
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  stripAnsi
60
60
  } from "./cli-97fnztpy.js";
61
- import"./cli-1fcx3eyn.js";
61
+ import"./cli-z0v1j51p.js";
62
62
  import {
63
63
  createCommandContext
64
64
  } from "./cli-m702wdtv.js";
@@ -79,8 +79,8 @@ import {
79
79
  import"./cli-fsgh8mq5.js";
80
80
  import"./cli-9kfxkxmk.js";
81
81
  import"./cli-9a4b1wxz.js";
82
- import"./cli-vqhaj5tv.js";
83
- import"./cli-mfvwvh84.js";
82
+ import"./cli-p2s3nwc6.js";
83
+ import"./cli-ysh0mdwp.js";
84
84
  import"./cli-gmvbapx7.js";
85
85
  import"./cli-0v6na3yp.js";
86
86
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  inventoryFiles,
3
3
  safePromptEvidencePath
4
- } from "./cli-rec661n7.js";
4
+ } from "./cli-8ac7g36q.js";
5
5
  import"./cli-k0vxtzxb.js";
6
6
  import"./cli-97fnztpy.js";
7
- import"./cli-1fcx3eyn.js";
7
+ import"./cli-z0v1j51p.js";
8
8
  import"./cli-m702wdtv.js";
9
9
  import"./cli-e0kbye4s.js";
10
10
  import"./cli-wcax07xh.js";
@@ -14,8 +14,8 @@ import"./cli-k4tqwah4.js";
14
14
  import"./cli-fsgh8mq5.js";
15
15
  import"./cli-9kfxkxmk.js";
16
16
  import"./cli-9a4b1wxz.js";
17
- import"./cli-vqhaj5tv.js";
18
- import"./cli-mfvwvh84.js";
17
+ import"./cli-p2s3nwc6.js";
18
+ import"./cli-ysh0mdwp.js";
19
19
  import {
20
20
  require_typescript
21
21
  } from "./cli-gmvbapx7.js";
@@ -3,10 +3,10 @@ import {
3
3
  checkPromptMapping,
4
4
  discoverHarnessPromptSources,
5
5
  safePromptEvidencePath
6
- } from "./cli-rec661n7.js";
6
+ } from "./cli-8ac7g36q.js";
7
7
  import"./cli-k0vxtzxb.js";
8
8
  import"./cli-97fnztpy.js";
9
- import"./cli-1fcx3eyn.js";
9
+ import"./cli-z0v1j51p.js";
10
10
  import"./cli-m702wdtv.js";
11
11
  import"./cli-e0kbye4s.js";
12
12
  import"./cli-wcax07xh.js";
@@ -19,8 +19,8 @@ import {
19
19
  } from "./cli-fsgh8mq5.js";
20
20
  import"./cli-9kfxkxmk.js";
21
21
  import"./cli-9a4b1wxz.js";
22
- import"./cli-vqhaj5tv.js";
23
- import"./cli-mfvwvh84.js";
22
+ import"./cli-p2s3nwc6.js";
23
+ import"./cli-ysh0mdwp.js";
24
24
  import"./cli-gmvbapx7.js";
25
25
  import {
26
26
  __commonJS,
@@ -9,7 +9,7 @@ import {
9
9
  runPromptSync,
10
10
  runPromptsCommand,
11
11
  writePromptSyncProgress
12
- } from "./cli-7mdzvenp.js";
12
+ } from "./cli-nhnr529r.js";
13
13
  import {
14
14
  promptSourceHashPayload
15
15
  } from "./cli-mm48br00.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPromptsCommand
3
- } from "./cli-7mdzvenp.js";
3
+ } from "./cli-nhnr529r.js";
4
4
  import {
5
5
  runSkillsCommand
6
6
  } from "./cli-p2tfx93b.js";
@@ -10,10 +10,10 @@ import"./cli-hcwdz9sd.js";
10
10
  import"./cli-mm48br00.js";
11
11
  import {
12
12
  runHarnessCommand
13
- } from "./cli-rec661n7.js";
13
+ } from "./cli-8ac7g36q.js";
14
14
  import"./cli-k0vxtzxb.js";
15
15
  import"./cli-97fnztpy.js";
16
- import"./cli-1fcx3eyn.js";
16
+ import"./cli-z0v1j51p.js";
17
17
  import"./cli-m702wdtv.js";
18
18
  import"./cli-e0kbye4s.js";
19
19
  import"./cli-wcax07xh.js";
@@ -25,8 +25,8 @@ import {
25
25
  import"./cli-fsgh8mq5.js";
26
26
  import"./cli-9kfxkxmk.js";
27
27
  import"./cli-9a4b1wxz.js";
28
- import"./cli-vqhaj5tv.js";
29
- import"./cli-mfvwvh84.js";
28
+ import"./cli-p2s3nwc6.js";
29
+ import"./cli-ysh0mdwp.js";
30
30
  import"./cli-gmvbapx7.js";
31
31
  import"./cli-0v6na3yp.js";
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.65",
3
+ "version": "1.55.67",
4
4
  "description": "CLI for Moda: production monitoring and evals for AI agents.",
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-21T05:59:47.910Z",
4
- "cli_version": "1.55.65",
3
+ "bundled_at": "2026-10-21T06:14:31.391Z",
4
+ "cli_version": "1.55.67",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",
@@ -40,7 +40,7 @@ Branch on the exit code; it is stable and cheaper than parsing the payload:
40
40
  |---|---|---|
41
41
  | `0` | ok — answer is grounded in Moda Cloud intelligence | Trust it. |
42
42
  | `1` | error — bad input, unknown id (`not_found`), access denied, API/network failure | Read `errors[0].code`; retry only `network_error` / 5xx `api_error`. For `not_found`, find a valid id first (the `cause` names the command). |
43
- | `3` | degraded — Moda Cloud was unavailable and the answer was synthesized from local Data API evidence (`ask`), or some sources failed to load (`investigate`/`failures`, named in `data.failedSources`) | Answer is present but lower-trust or partial; verify before acting, and never read a partial result as "no issues". |
43
+ | `3` | degraded — Moda Cloud was unavailable and the answer was synthesized from local Data API evidence (`ask`), or some sources failed to load (`investigate`/`failures`, named in `data.failedSources`), or a `harness extract` scan was incomplete (file cap, unbuilt program or failed trace, listed in `warnings`) | Answer is present but lower-trust or partial; verify before acting, and never read a partial result as "no issues". |
44
44
  | `4` | auth required — no API key, or the API rejected it (HTTP 401) | Set `MODA_API_KEY` or run the `login_command` from the `auth` payload (`moda auth login --api-key`), then re-run. |
45
45
  | `5` | input required — a choice is needed that the non-interactive run could not answer (for example a tenant, or `--profile=local` for a loopback `MODA_BASE_URL` on a prod profile) | Pick a choice from the `input_request` payload and re-invoke the same command with that choice's `resume_flags` appended. |
46
46
  | `130` | cancelled | Treat as interrupted or closed pipe; do not retry blindly. |