@thinkai/tai-api-contract 2.246.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.
@@ -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;
@@ -21715,6 +21715,8 @@ export interface operations {
21715
21715
  team?: string;
21716
21716
  /** @description ISO timestamp for the end of the last weekly bucket; omit for current week. */
21717
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";
21718
21720
  };
21719
21721
  header?: never;
21720
21722
  path: {