@moda-ai/cli 1.20.0 → 1.20.1

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/sync.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { CliInputError } from './errors.js';
2
2
  import { runHarnessCommand } from './harness.js';
3
3
  import { runPromptsCommand } from './prompts.js';
4
+ import { runSkillsCommand } from './skills.js';
4
5
  export async function runSyncCommand(context) {
5
6
  const resource = context.positionals[0] ?? 'harness';
6
7
  const rest = context.positionals.slice(1);
@@ -20,8 +21,16 @@ export async function runSyncCommand(context) {
20
21
  return { exitCode: 0 };
21
22
  }
22
23
  if (resource === 'skills') {
23
- throw new CliInputError('`moda sync skills` is not implemented yet.', 'Use `moda skills gen` to ask Moda to generate skills, then `moda skills pull` to install approved skills locally.');
24
+ // Skills surface is pull-oriented (install approved skills locally), unlike
25
+ // prompts sync which pushes authored config upstream.
26
+ const exitCode = await runSkillsCommand({
27
+ ...context,
28
+ command: 'skills',
29
+ positional: 'pull',
30
+ positionals: ['pull', ...rest],
31
+ });
32
+ return { exitCode };
24
33
  }
25
- throw new CliInputError(`Unknown sync resource '${resource}'.`, 'Usage: moda sync [harness|prompts] [--dry-run] [--profile=NAME]');
34
+ throw new CliInputError(`Unknown sync resource '${resource}'.`, 'Usage: moda sync [harness|prompts|skills] [--dry-run] [--profile=NAME]');
26
35
  }
27
36
  //# sourceMappingURL=sync.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "CLI for Moda - AI agent analytics and observability",
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-07-11T21:49:32.595Z",
4
- "cli_version": "1.20.0",
3
+ "bundled_at": "2026-07-12T01:43:29.789Z",
4
+ "cli_version": "1.20.1",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-node-anthropic",