@thinkai/tai-api-contract 2.89.0 → 2.91.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.
@@ -225,7 +225,7 @@ export interface paths {
225
225
  };
226
226
  /**
227
227
  * Global platform banner
228
- * @description Returns the active global outage or maintenance banner for the platform shell, if any. No authentication required so signed-in users can see incident messaging during partial outages. When both a database-managed banner and a runtime-config fallback exist, the database value wins.
228
+ * @description Returns the active global outage or maintenance banner for the platform shell, if any. No authentication required so signed-in users can see incident messaging during partial outages. When both a database-managed banner and a runtime-config fallback exist, the database value wins. When an authenticated workspace member passes `workspaceId`, an active Agent Execution Provider quota/rate/billing blocker for Agentic Foundation may overlay the effective banner (issue #988). Active global `outage`/`maintenance` banners still take precedence over the workspace blocker, whether they come from the database or the runtime-config fallback.
229
229
  */
230
230
  get: operations["getPlatformBanner"];
231
231
  put?: never;
@@ -7767,6 +7767,10 @@ export interface components {
7767
7767
  CodeInsightsMetricsDto: {
7768
7768
  /** @description Readiness run that produced this metrics row. */
7769
7769
  runId: string;
7770
+ /** @description Default branch at scan time from the linked readiness run, when `runId` matches a row in `tai_workspace_readiness_runs`. */
7771
+ defaultBranch?: string | null;
7772
+ /** @description Git commit (default branch tip) analyzed by the readiness run, when known. Null for seed runs or when the run record is missing. */
7773
+ scannedCommitSha?: string | null;
7770
7774
  /** Format: date-time */
7771
7775
  measuredAt: string;
7772
7776
  metricsStatus: components["schemas"]["CodeInsightsMetricsStatus"];
@@ -9133,7 +9137,10 @@ export interface operations {
9133
9137
  };
9134
9138
  getPlatformBanner: {
9135
9139
  parameters: {
9136
- query?: never;
9140
+ query?: {
9141
+ /** @description Optional workspace UUID. When present with a valid member Bearer token, the effective banner may include a dismissible workspace execution-limit warning. Clients should retain a compact persistent indicator after dismissal while the condition remains active. */
9142
+ workspaceId?: string;
9143
+ };
9137
9144
  header?: never;
9138
9145
  path?: never;
9139
9146
  cookie?: never;