@thinkai/tai-api-contract 2.245.0 → 2.247.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/generated/openapi.d.ts +5 -1
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +29 -3
- package/package.json +1 -1
- package/src/generated/openapi.ts +5 -1
- package/src/index.ts +6 -0
|
@@ -1669,7 +1669,7 @@ export interface paths {
|
|
|
1669
1669
|
};
|
|
1670
1670
|
/**
|
|
1671
1671
|
* AI usage & spend insights — key insights panel
|
|
1672
|
-
* @description Narrative insight cards for the Measure **Key insights** panel on `/phase-c/c7` (AI Usage & Spend). Derived from scoped AI-tool usage/spend snapshots and productivity metrics for the selected filters and range.
|
|
1672
|
+
* @description Narrative insight cards for the Measure **Key insights** panel on `/phase-c/c7` (AI Usage & Spend) and Report Center exports. Derived from scoped AI-tool usage/spend snapshots and productivity metrics for the selected filters and range. By default, usage-vs-throughput narratives compare recent complete buckets against the selected period's own average (dropping the trailing edge bucket) without fetching the prior window. Pass `compareToPrior=1` (or `true`) to compare against the previous equal-length window when at least half of prior PR and usage buckets have activity (falling back to period-average phrasing otherwise). Displayed percent moves cap at `>999%`.
|
|
1673
1673
|
*/
|
|
1674
1674
|
get: operations["getAiUsageSpendKeyInsights"];
|
|
1675
1675
|
put?: never;
|
|
@@ -12831,6 +12831,8 @@ export interface components {
|
|
|
12831
12831
|
skippedRepoCount: number;
|
|
12832
12832
|
/** @description Benign skips only (empty_repo, archived, no_merged_prs_in_window). Subset of skippedRepoCount. */
|
|
12833
12833
|
noDataRepoCount: number;
|
|
12834
|
+
/** @description Distinct repos with status=done for the live historicalWeekStart cursor week (backfill_historical). Null when the install is not on a week walk. Pair with totalRepoCount for captions like "40 / 234 active". */
|
|
12835
|
+
cursorWeekReposDone?: number | null;
|
|
12834
12836
|
};
|
|
12835
12837
|
IngestCoverageProductivityDetailDto: {
|
|
12836
12838
|
/** @enum {string|null} */
|
|
@@ -21713,6 +21715,8 @@ export interface operations {
|
|
|
21713
21715
|
team?: string;
|
|
21714
21716
|
/** @description ISO timestamp for the end of the last weekly bucket; omit for current week. */
|
|
21715
21717
|
windowEnd?: string;
|
|
21718
|
+
/** @description When `"1"` or `"true"`, compares the selected window against the previous equal-length window when at least half of prior PR and usage buckets have activity; falls back to the selected-period comparison otherwise. Omit (default) to compare recent complete buckets against the selected period's own average without fetching the prior window. */
|
|
21719
|
+
compareToPrior?: "1" | "true" | "0" | "false";
|
|
21716
21720
|
};
|
|
21717
21721
|
header?: never;
|
|
21718
21722
|
path: {
|