@meltstudio/meltctl 4.194.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.
- package/dist/index.js +19 -1
- 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.
|
|
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