@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.
@@ -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.10",
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
- "yaml": "^2.9.1",
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"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-10-15T04:43:16.280Z",
4
- "cli_version": "1.55.10",
3
+ "bundled_at": "2026-10-15T04:55:11.718Z",
4
+ "cli_version": "1.55.11",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",