@meltstudio/meltctl 4.66.0 → 4.68.0

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 (2) hide show
  1. package/dist/index.js +11 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var CLI_VERSION;
14
14
  var init_version = __esm({
15
15
  "src/utils/version.ts"() {
16
16
  "use strict";
17
- CLI_VERSION = "4.66.0";
17
+ CLI_VERSION = "4.68.0";
18
18
  }
19
19
  });
20
20
 
@@ -357,6 +357,16 @@ function createPlansResource(config2) {
357
357
  if (status !== 200)
358
358
  throw new Error(data.error ?? `Failed to fetch plan (${status})`);
359
359
  return data;
360
+ },
361
+ async score(planId) {
362
+ const { data, status } = await apiFetch(config2, `/plans/score/${planId}`, { method: "POST" });
363
+ if (status === 403)
364
+ throw new Error("Access denied. Only Team Managers can score plans.");
365
+ if (status === 404)
366
+ throw new Error(`Plan not found: ${planId}`);
367
+ if (status !== 200)
368
+ throw new Error(data.error ?? `Failed to score plan (${status})`);
369
+ return data;
360
370
  }
361
371
  };
362
372
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "4.66.0",
3
+ "version": "4.68.0",
4
4
  "description": "AI-first development tools for teams - set up AGENTS.md, Claude Code, Cursor, and OpenCode standards",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",