@moda-ai/cli 1.55.25 → 1.55.27

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.
Files changed (34) hide show
  1. package/dist/{agent-t7dxmpdq.js → agent-vp9prdma.js} +8 -8
  2. package/dist/{cli-qycsmxev.js → cli-0pkc8jhg.js} +3 -3
  3. package/dist/{cli-mebf5vtr.js → cli-4h0ave0f.js} +5 -5
  4. package/dist/{cli-m0045npe.js → cli-6et4z504.js} +10 -8
  5. package/dist/{cli-9hc5bg2r.js → cli-ccjfwzqx.js} +1 -1
  6. package/dist/{cli-0wr3483h.js → cli-hmjdgxrn.js} +1 -1
  7. package/dist/{cli-9btx12wp.js → cli-pg5qfmqc.js} +1 -1
  8. package/dist/{cli-m805msp6.js → cli-q9nsvqqg.js} +14 -14
  9. package/dist/{cli-7xc585hc.js → cli-qwgct6x7.js} +7 -6
  10. package/dist/{cli-dve50x7p.js → cli-r5pp7qny.js} +140 -455
  11. package/dist/{cli-qvg26twp.js → cli-v8q7sd7g.js} +38 -13
  12. package/dist/cli-vdkwkkp5.js +567 -0
  13. package/dist/{cli-dn91fb56.js → cli-wzds257x.js} +92 -49
  14. package/dist/cli.js +986 -362
  15. package/dist/{doctor-q21mr5ya.js → doctor-wmre3mr7.js} +8 -8
  16. package/dist/{fix-0qdtdz5h.js → fix-75s9s0d6.js} +45 -47
  17. package/dist/{harness-vzy7n7ea.js → harness-a7tb9a23.js} +5 -5
  18. package/dist/{harness-github-actions-atc5bbkj.js → harness-github-actions-6v4wydb8.js} +5 -5
  19. package/dist/{index-4b1ybz51.js → index-91bpc8g8.js} +15 -14
  20. package/dist/{production-intelligence-c8e0xw3n.js → production-intelligence-7nqddd4f.js} +88 -28
  21. package/dist/{profile-commands-6e2dgv72.js → profile-commands-49yn02yg.js} +5 -4
  22. package/dist/prompt-source-mcp.js +5 -5
  23. package/dist/{prompts-3h5jcjrw.js → prompts-17wyrst6.js} +6 -6
  24. package/dist/{provision-q86phh4a.js → provision-bc3h68e1.js} +5 -5
  25. package/dist/{registry-s2vdsfw8.js → registry-fpzhjznj.js} +3 -3
  26. package/dist/{skills-vq3njc8a.js → skills-ccdbqghj.js} +5 -5
  27. package/dist/{sync-hq9dpqpr.js → sync-hkxce5zh.js} +7 -7
  28. package/package.json +1 -1
  29. package/skills/integration/index.json +2 -2
  30. package/skills/moda-cli/SKILL.md +4 -1
  31. package/skills/moda-cli/references/dashboard-parity.md +1 -1
  32. package/skills/moda-cli/references/output-protocol.md +35 -10
  33. package/skills/moda-cli/references/search-and-traces.md +20 -2
  34. package/dist/cli-bb7133m7.js +0 -144
@@ -1,144 +0,0 @@
1
- // src/intelligence-schema.ts
2
- var INTELLIGENCE_SCHEMA_VERSION = "moda.intelligence.v1";
3
- var provenanceSchema = { type: "string", enum: ["measured", "inferred"] };
4
- var mutabilitySchema = {
5
- type: "string",
6
- enum: ["read", "write", "sync", "unknown"]
7
- };
8
- var confidenceSchema = {
9
- type: "string",
10
- enum: ["high", "medium", "low", "unknown"]
11
- };
12
- var MODA_INTELLIGENCE_V1_JSON_SCHEMA = {
13
- $schema: "http://json-schema.org/draft-07/schema#",
14
- $id: "moda.intelligence.v1",
15
- title: "Moda Intelligence v1",
16
- type: "object",
17
- additionalProperties: false,
18
- required: [
19
- "schema_version",
20
- "generated_at",
21
- "command",
22
- "source",
23
- "degraded",
24
- "question",
25
- "summary",
26
- "answer_markdown",
27
- "answer_claims",
28
- "findings",
29
- "evidence_refs",
30
- "next_commands",
31
- "warnings"
32
- ],
33
- properties: {
34
- schema_version: { const: "moda.intelligence.v1" },
35
- generated_at: { type: "string", format: "date-time" },
36
- command: { type: "string" },
37
- source: { type: "string", enum: ["cloud", "local_fallback"] },
38
- degraded: { type: "boolean" },
39
- question: { type: "string" },
40
- summary: {
41
- type: "object",
42
- additionalProperties: false,
43
- required: ["text", "confidence"],
44
- properties: { text: { type: "string" }, confidence: confidenceSchema }
45
- },
46
- answer_markdown: { type: "string" },
47
- answer_claims: {
48
- type: "array",
49
- items: {
50
- type: "object",
51
- additionalProperties: false,
52
- required: ["text", "kind", "status", "evidence_ref_ids"],
53
- properties: {
54
- text: { type: "string" },
55
- value: { type: "number" },
56
- kind: { type: "string", enum: ["percentage", "count", "qualitative"] },
57
- status: {
58
- type: "string",
59
- enum: ["grounded", "ungrounded", "unverifiable"]
60
- },
61
- evidence_ref_ids: { type: "array", items: { type: "string" } },
62
- matched_path: { type: "string" }
63
- }
64
- }
65
- },
66
- findings: {
67
- type: "array",
68
- items: {
69
- type: "object",
70
- additionalProperties: false,
71
- required: ["id", "title", "evidence_ref_ids", "recommended_actions"],
72
- properties: {
73
- id: { type: "string" },
74
- title: { type: "string" },
75
- severity: {
76
- type: "string",
77
- enum: ["critical", "high", "medium", "low", "info"]
78
- },
79
- description: { type: "string" },
80
- evidence_ref_ids: { type: "array", items: { type: "string" } },
81
- recommended_actions: {
82
- type: "array",
83
- items: {
84
- type: "object",
85
- additionalProperties: false,
86
- required: ["id", "title", "mutability", "requires_approval"],
87
- properties: {
88
- id: { type: "string" },
89
- title: { type: "string" },
90
- rationale: { type: "string" },
91
- command: { type: "string" },
92
- mutability: mutabilitySchema,
93
- requires_approval: { type: "boolean" }
94
- }
95
- }
96
- }
97
- }
98
- }
99
- },
100
- evidence_refs: {
101
- type: "array",
102
- items: {
103
- type: "object",
104
- additionalProperties: false,
105
- required: ["id", "kind", "label", "grounding"],
106
- properties: {
107
- id: { type: "string" },
108
- kind: { type: "string" },
109
- label: { type: "string" },
110
- anchor: {
111
- type: "object",
112
- additionalProperties: false,
113
- properties: {
114
- conversation_id: { type: "string" },
115
- message_index: { type: "number" },
116
- run_id: { type: "string" },
117
- tool_name: { type: "string" }
118
- }
119
- },
120
- snippet: { type: "string" },
121
- grounding: provenanceSchema
122
- }
123
- }
124
- },
125
- next_commands: {
126
- type: "array",
127
- items: {
128
- type: "object",
129
- additionalProperties: false,
130
- required: ["command", "mutability", "requires_approval"],
131
- properties: {
132
- command: { type: "string" },
133
- purpose: { type: "string" },
134
- mutability: mutabilitySchema,
135
- requires_approval: { type: "boolean" }
136
- }
137
- }
138
- },
139
- warnings: { type: "array", items: { type: "string" } },
140
- meta: { type: "object" }
141
- }
142
- };
143
-
144
- export { INTELLIGENCE_SCHEMA_VERSION, MODA_INTELLIGENCE_V1_JSON_SCHEMA };