@meltstudio/meltctl 4.152.0 → 4.153.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 +37 -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.152.0";
17
+ CLI_VERSION = "4.153.0";
18
18
  }
19
19
  });
20
20
 
@@ -498,6 +498,24 @@ function createStandupsResource(config) {
498
498
  if (status !== 200)
499
499
  throw new Error(data.error ?? `Failed to fetch missing standups (${status})`);
500
500
  return data;
501
+ },
502
+ /**
503
+ * Per-developer standup-compliance counts over a sliding window. Feeds
504
+ * the dashboard's "Standup discipline" verdict on the developer detail
505
+ * page and the worklist items for the negative tiers (inconsistent /
506
+ * slipping / missing). Manager-only.
507
+ */
508
+ async getPerPersonStats(opts) {
509
+ const params = new URLSearchParams();
510
+ if (opts?.windowDays)
511
+ params.set("windowDays", String(opts.windowDays));
512
+ const path9 = `/standups/per-person-stats${params.toString() ? `?${params}` : ""}`;
513
+ const { data, status } = await apiFetch(config, path9);
514
+ if (status === 403)
515
+ throw new Error("Access denied. Only Team Managers can view standup stats.");
516
+ if (status !== 200)
517
+ throw new Error(data.error ?? `Failed to fetch standup per-person stats (${status})`);
518
+ return data;
501
519
  }
502
520
  };
503
521
  }
@@ -3351,6 +3369,24 @@ function createStandupsResource2(config) {
3351
3369
  if (status !== 200)
3352
3370
  throw new Error(data.error ?? `Failed to fetch missing standups (${status})`);
3353
3371
  return data;
3372
+ },
3373
+ /**
3374
+ * Per-developer standup-compliance counts over a sliding window. Feeds
3375
+ * the dashboard's "Standup discipline" verdict on the developer detail
3376
+ * page and the worklist items for the negative tiers (inconsistent /
3377
+ * slipping / missing). Manager-only.
3378
+ */
3379
+ async getPerPersonStats(opts) {
3380
+ const params = new URLSearchParams();
3381
+ if (opts?.windowDays)
3382
+ params.set("windowDays", String(opts.windowDays));
3383
+ const path22 = `/standups/per-person-stats${params.toString() ? `?${params}` : ""}`;
3384
+ const { data, status } = await apiFetch2(config, path22);
3385
+ if (status === 403)
3386
+ throw new Error("Access denied. Only Team Managers can view standup stats.");
3387
+ if (status !== 200)
3388
+ throw new Error(data.error ?? `Failed to fetch standup per-person stats (${status})`);
3389
+ return data;
3354
3390
  }
3355
3391
  };
3356
3392
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "4.152.0",
3
+ "version": "4.153.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",