@moda-ai/cli 1.55.10 → 1.55.11
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/agent-n0ch2j90.js +459 -0
- package/dist/cli-11fevr8y.js +811 -0
- package/dist/{cli-0qnghzg4.js → cli-429zt7g4.js} +1 -65
- package/dist/cli-4qe6n8am.js +345 -0
- package/dist/cli-97fnztpy.js +140 -0
- package/dist/{cli-d3c95kks.js → cli-fq7kk77e.js} +18 -1733
- package/dist/cli-fwec3m42.js +946 -0
- package/dist/cli-g7ferymy.js +496 -0
- package/dist/cli-k5qqj2bp.js +70 -0
- package/dist/cli-m16taf4z.js +30 -0
- package/dist/{cli-v27q5dvh.js → cli-m857n028.js} +189 -970
- package/dist/{cli-7s48d6ty.js → cli-n9gexgma.js} +2 -2
- package/dist/{cli-4f0p8erk.js → cli-t4jjhn3g.js} +5 -7
- package/dist/cli-tmqd1f0m.js +159 -0
- package/dist/cli.js +1409 -6991
- package/dist/doctor-spvy2zb3.js +23 -0
- package/dist/fix-ax6bbg37.js +1444 -0
- package/dist/{harness-github-actions-wpkr7jjr.js → harness-github-actions-mtksqp3c.js} +7 -2
- package/dist/{harness-0tnqw849.js → harness-jbqpbp6n.js} +7 -2
- package/dist/{index-jqexf7kn.js → index-2d0q94sv.js} +31 -20
- package/dist/production-intelligence-1tf98n79.js +1802 -0
- package/dist/profile-commands-f6599bcx.js +481 -0
- package/dist/prompt-source-mcp.js +7 -2
- package/dist/prompts-y3xd9heh.js +40 -0
- package/dist/{provision-5pkn25hh.js → provision-cjpsswa9.js} +7 -5
- package/dist/registry-1dvxsekd.js +1201 -0
- package/dist/skills-1k0hbkaf.js +19 -0
- package/dist/sync-by81xqk4.js +54 -0
- package/package.json +6 -6
- package/skills/integration/index.json +2 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseScopeInt,
|
|
3
|
+
pullSkills,
|
|
4
|
+
runSkillSync,
|
|
5
|
+
runSkillsCommand
|
|
6
|
+
} from "./cli-fwec3m42.js";
|
|
7
|
+
import"./cli-k5qqj2bp.js";
|
|
8
|
+
import"./cli-g7ferymy.js";
|
|
9
|
+
import"./cli-tmqd1f0m.js";
|
|
10
|
+
import"./cli-m16taf4z.js";
|
|
11
|
+
import"./cli-429zt7g4.js";
|
|
12
|
+
import"./cli-ssfq84k5.js";
|
|
13
|
+
import"./cli-0v6na3yp.js";
|
|
14
|
+
export {
|
|
15
|
+
runSkillsCommand,
|
|
16
|
+
runSkillSync,
|
|
17
|
+
pullSkills,
|
|
18
|
+
parseScopeInt
|
|
19
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runPromptsCommand
|
|
3
|
+
} from "./cli-fq7kk77e.js";
|
|
4
|
+
import"./cli-mm48br00.js";
|
|
5
|
+
import {
|
|
6
|
+
runHarnessCommand
|
|
7
|
+
} from "./cli-m857n028.js";
|
|
8
|
+
import"./cli-97fnztpy.js";
|
|
9
|
+
import {
|
|
10
|
+
runSkillsCommand
|
|
11
|
+
} from "./cli-fwec3m42.js";
|
|
12
|
+
import"./cli-k5qqj2bp.js";
|
|
13
|
+
import"./cli-g7ferymy.js";
|
|
14
|
+
import"./cli-tmqd1f0m.js";
|
|
15
|
+
import"./cli-m16taf4z.js";
|
|
16
|
+
import {
|
|
17
|
+
CliInputError
|
|
18
|
+
} from "./cli-429zt7g4.js";
|
|
19
|
+
import"./cli-ssfq84k5.js";
|
|
20
|
+
import"./cli-0v6na3yp.js";
|
|
21
|
+
|
|
22
|
+
// src/sync.ts
|
|
23
|
+
async function runSyncCommand(context) {
|
|
24
|
+
const resource = context.positionals[0] ?? "harness";
|
|
25
|
+
const rest = context.positionals.slice(1);
|
|
26
|
+
if (resource === "harness") {
|
|
27
|
+
return runHarnessCommand({
|
|
28
|
+
...context,
|
|
29
|
+
command: "harness",
|
|
30
|
+
positional: "sync",
|
|
31
|
+
positionals: ["sync", ...rest]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
if (resource === "prompts") {
|
|
35
|
+
await runPromptsCommand(["sync", ...rest], context.flags, {
|
|
36
|
+
profile: context.profile,
|
|
37
|
+
env: context.env
|
|
38
|
+
});
|
|
39
|
+
return { exitCode: 0 };
|
|
40
|
+
}
|
|
41
|
+
if (resource === "skills") {
|
|
42
|
+
const exitCode = await runSkillsCommand({
|
|
43
|
+
...context,
|
|
44
|
+
command: "skills",
|
|
45
|
+
positional: "pull",
|
|
46
|
+
positionals: ["pull", ...rest]
|
|
47
|
+
});
|
|
48
|
+
return { exitCode };
|
|
49
|
+
}
|
|
50
|
+
throw new CliInputError(`Unknown sync resource '${resource}'.`, "Usage: moda sync [harness|prompts|skills] [--dry-run] [--profile=NAME]");
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
runSyncCommand
|
|
54
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moda-ai/cli",
|
|
3
|
-
"version": "1.55.
|
|
3
|
+
"version": "1.55.11",
|
|
4
4
|
"description": "CLI for Moda: production monitoring and evals for AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -56,11 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@inquirer/prompts": "^8.4.1",
|
|
59
|
-
"fast-glob": "^3.3.3",
|
|
60
59
|
"open": "^11.0.0",
|
|
61
|
-
"
|
|
62
|
-
"zod": "^3.25.76",
|
|
63
|
-
"@modelcontextprotocol/sdk": "^1.30.0"
|
|
60
|
+
"zod": "^3.25.76"
|
|
64
61
|
},
|
|
65
62
|
"devDependencies": {
|
|
66
63
|
"@moda/database": "*",
|
|
@@ -69,10 +66,13 @@
|
|
|
69
66
|
"@moda/harness-snapshot": "*",
|
|
70
67
|
"@moda/integration-skills": "*",
|
|
71
68
|
"@moda/messaging": "*",
|
|
69
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
72
70
|
"@types/node": "^22.10.5",
|
|
73
71
|
"eslint": "^9.17.0",
|
|
72
|
+
"fast-glob": "^3.3.3",
|
|
74
73
|
"typescript": "^5.7.2",
|
|
75
|
-
"vitest": "^4.0.14"
|
|
74
|
+
"vitest": "^4.0.14",
|
|
75
|
+
"yaml": "^2.9.1"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=18.0.0"
|