@meltstudio/meltctl 4.193.0 → 4.195.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 +19 -1
  2. package/package.json +4 -4
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.193.0";
17
+ CLI_VERSION = "4.195.0";
18
18
  }
19
19
  });
20
20
 
@@ -1049,6 +1049,15 @@ function createPmResource(config) {
1049
1049
  });
1050
1050
  unwrap("delete phase", res);
1051
1051
  },
1052
+ /** Regenerate the client-facing AI summary for a phase (#446 stage 8).
1053
+ * Server-side LLM call (off any read path); returns the hydrated phase
1054
+ * with the fresh `summary` + `summaryUpdatedAt`. */
1055
+ async regeneratePhaseSummary(id) {
1056
+ const res = await apiFetch(config, `/pm/phases/${id}/summary`, {
1057
+ method: "POST"
1058
+ });
1059
+ return unwrap("regenerate phase summary", res);
1060
+ },
1052
1061
  // ── Scenarios (draft phases, #446 stage 6) ──────────────────────────────
1053
1062
  /** List saved draft scenarios for a project (hydrated like phases). */
1054
1063
  async listScenarios(projectId) {
@@ -4348,6 +4357,15 @@ function createPmResource2(config) {
4348
4357
  });
4349
4358
  unwrap2("delete phase", res);
4350
4359
  },
4360
+ /** Regenerate the client-facing AI summary for a phase (#446 stage 8).
4361
+ * Server-side LLM call (off any read path); returns the hydrated phase
4362
+ * with the fresh `summary` + `summaryUpdatedAt`. */
4363
+ async regeneratePhaseSummary(id) {
4364
+ const res = await apiFetch2(config, `/pm/phases/${id}/summary`, {
4365
+ method: "POST"
4366
+ });
4367
+ return unwrap2("regenerate phase summary", res);
4368
+ },
4351
4369
  // ── Scenarios (draft phases, #446 stage 6) ──────────────────────────────
4352
4370
  /** List saved draft scenarios for a project (hydrated like phases). */
4353
4371
  async listScenarios(projectId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "4.193.0",
3
+ "version": "4.195.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",
@@ -47,7 +47,7 @@
47
47
  "author": "Melt Studio",
48
48
  "license": "UNLICENSED",
49
49
  "dependencies": {
50
- "@commander-js/extra-typings": "^12.1.0",
50
+ "@commander-js/extra-typings": "^14",
51
51
  "@inquirer/prompts": "^8.2.1",
52
52
  "@modelcontextprotocol/sdk": "^1.18.0",
53
53
  "chalk": "^5.4.1",
@@ -60,13 +60,13 @@
60
60
  "@meltstudio/meltctl-mcp": "*",
61
61
  "@meltstudio/meltctl-sdk": "*",
62
62
  "@types/fs-extra": "^11.0.4",
63
- "@types/node": "^24.0.10",
63
+ "@types/node": "^25.6.2",
64
64
  "@typescript-eslint/eslint-plugin": "^8.19.0",
65
65
  "@typescript-eslint/parser": "^8.19.0",
66
66
  "eslint": "^9.17.0",
67
67
  "eslint-config-prettier": "^10.1.8",
68
68
  "eslint-plugin-prettier": "^5.2.1",
69
- "prettier": "^3.4.2",
69
+ "prettier": "^3.8",
70
70
  "tsup": "^8.5.1",
71
71
  "tsx": "^4.19.5",
72
72
  "typescript": "^5.7.3"