@meltstudio/meltctl 4.194.0 → 4.196.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 +35 -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.194.0";
17
+ CLI_VERSION = "4.196.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) {
@@ -1173,6 +1182,14 @@ function createPmResource(config) {
1173
1182
  const res = await apiFetch(config, `/pm/project-audit/run/${projectId}`, { method: "POST" });
1174
1183
  return unwrap("run project audit", res);
1175
1184
  },
1185
+ /** Open (unresolved) project audit flags — what the nightly project audit
1186
+ * wrote. Read-only; flags auto-resolve when the underlying issue clears
1187
+ * (#460 dropped per-item dismissal). The unified Roadmap tool groups the
1188
+ * phase-tagged ones under each phase. Manager-only. */
1189
+ async listProjectAuditFlags(projectId) {
1190
+ const res = await apiFetch(config, `/pm/projects/${projectId}/audit-flags`);
1191
+ return unwrap("list project audit flags", res);
1192
+ },
1176
1193
  /**
1177
1194
  * Composite project-health snapshot — wraps every dimension that goes
1178
1195
  * into the dashboard's health-score for one project (audit freshness,
@@ -4348,6 +4365,15 @@ function createPmResource2(config) {
4348
4365
  });
4349
4366
  unwrap2("delete phase", res);
4350
4367
  },
4368
+ /** Regenerate the client-facing AI summary for a phase (#446 stage 8).
4369
+ * Server-side LLM call (off any read path); returns the hydrated phase
4370
+ * with the fresh `summary` + `summaryUpdatedAt`. */
4371
+ async regeneratePhaseSummary(id) {
4372
+ const res = await apiFetch2(config, `/pm/phases/${id}/summary`, {
4373
+ method: "POST"
4374
+ });
4375
+ return unwrap2("regenerate phase summary", res);
4376
+ },
4351
4377
  // ── Scenarios (draft phases, #446 stage 6) ──────────────────────────────
4352
4378
  /** List saved draft scenarios for a project (hydrated like phases). */
4353
4379
  async listScenarios(projectId) {
@@ -4472,6 +4498,14 @@ function createPmResource2(config) {
4472
4498
  const res = await apiFetch2(config, `/pm/project-audit/run/${projectId}`, { method: "POST" });
4473
4499
  return unwrap2("run project audit", res);
4474
4500
  },
4501
+ /** Open (unresolved) project audit flags — what the nightly project audit
4502
+ * wrote. Read-only; flags auto-resolve when the underlying issue clears
4503
+ * (#460 dropped per-item dismissal). The unified Roadmap tool groups the
4504
+ * phase-tagged ones under each phase. Manager-only. */
4505
+ async listProjectAuditFlags(projectId) {
4506
+ const res = await apiFetch2(config, `/pm/projects/${projectId}/audit-flags`);
4507
+ return unwrap2("list project audit flags", res);
4508
+ },
4475
4509
  /**
4476
4510
  * Composite project-health snapshot — wraps every dimension that goes
4477
4511
  * into the dashboard's health-score for one project (audit freshness,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "4.194.0",
3
+ "version": "4.196.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",