@thinkai/tai-api-contract 2.226.0 → 2.227.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.
@@ -12252,17 +12252,45 @@ export interface components {
12252
12252
  /** @description Inclusive calendar-day window ending today (UTC), matching Home ship-weight KPIs (30). */
12253
12253
  windowDays: number;
12254
12254
  };
12255
+ IngestCoverageProductivityInstallDto: {
12256
+ vcsConnectionId: string;
12257
+ /** @description GitHub org or user login for this App installation. */
12258
+ accountLogin: string;
12259
+ /** @enum {string|null} */
12260
+ phase: "recent" | "historical" | "complete" | null;
12261
+ /** @description Current historical week cursor (ISO); null when not in a week walk. */
12262
+ historicalWeekStart: string | null;
12263
+ /** @description ceil(targetWindowDays / 7) week slots for this install. */
12264
+ expectedWeeks: number;
12265
+ /** @description Fully finished week slots only; the in-progress week is excluded. */
12266
+ weeksCompleted: number;
12267
+ pendingRepoCount: number;
12268
+ totalRepoCount: number;
12269
+ failedRepoCount: number;
12270
+ skippedRepoCount: number;
12271
+ };
12255
12272
  IngestCoverageProductivityDetailDto: {
12256
12273
  /** @enum {string|null} */
12257
12274
  phase?: "recent" | "historical" | "complete" | null;
12258
12275
  historicalWeekStart?: string | null;
12276
+ /** @description Sum of pending repo counts across installs. */
12259
12277
  pendingRepoCount?: number;
12278
+ /** @description Sum of skipped repo counts across installs. */
12260
12279
  skippedRepoCount?: number;
12280
+ /** @description Sum of failed repo counts across installs. */
12261
12281
  failedRepoCount?: number;
12262
12282
  coveragePercent?: number | null;
12263
- /** @description Full repository count before the `repos` array is capped (500). When greater than `repos.length`, the list is truncated for the response. */
12283
+ /** @description Full repository count before the `repos` array is capped (500). When greater than `repos.length`, the list is truncated for the response. Multi-install workspaces use the sum of per-install totals. */
12264
12284
  totalRepoCount?: number;
12265
12285
  repos?: components["schemas"]["IngestCoverageProductivityRepoDto"][];
12286
+ /** @description One row per GitHub VCS connection (install) in the workspace. */
12287
+ installs?: components["schemas"]["IngestCoverageProductivityInstallDto"][];
12288
+ /** @description Sum of weeksCompleted across installs (backfill overall). */
12289
+ overallWeeksCompleted?: number;
12290
+ /** @description installCount × expectedWeeks (backfill overall denominator). */
12291
+ overallWeeksExpected?: number;
12292
+ /** @description overallWeeksCompleted / overallWeeksExpected as 0–100 (one decimal). Used for backfill chrome; incremental mode uses repo counts instead. */
12293
+ overallProgressPercent?: number;
12266
12294
  /** @description Latest depth-scan and week-reconcile summary from stored activity rows. Null when neither event exists. The coverage GET does not run a scan. */
12267
12295
  selfHeal?: components["schemas"]["IngestCoverageProductivitySelfHealDto"] | null;
12268
12296
  /** @description Org-ledger ship-weight scoring for the Home-aligned window. Null when metrics cannot be loaded. Separate from productivity backfill phase / Backfill complete. */
@@ -15462,6 +15490,7 @@ export type IngestCoverageProductivityDepthScanDto = components['schemas']['Inge
15462
15490
  export type IngestCoverageProductivityWeekReconcileDto = components['schemas']['IngestCoverageProductivityWeekReconcileDto'];
15463
15491
  export type IngestCoverageProductivitySelfHealDto = components['schemas']['IngestCoverageProductivitySelfHealDto'];
15464
15492
  export type IngestCoverageShipWeightScoringDto = components['schemas']['IngestCoverageShipWeightScoringDto'];
15493
+ export type IngestCoverageProductivityInstallDto = components['schemas']['IngestCoverageProductivityInstallDto'];
15465
15494
  export type IngestCoverageProductivityDetailDto = components['schemas']['IngestCoverageProductivityDetailDto'];
15466
15495
  export type IngestCoverageFactFamilyDto = components['schemas']['IngestCoverageFactFamilyDto'];
15467
15496
  export type IngestCoverageAiDetailDto = components['schemas']['IngestCoverageAiDetailDto'];