@thinkai/tai-api-contract 2.90.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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.90.0
4
+ version: 2.91.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -17634,6 +17634,18 @@ components:
17634
17634
  runId:
17635
17635
  type: string
17636
17636
  description: Readiness run that produced this metrics row.
17637
+ defaultBranch:
17638
+ type: string
17639
+ nullable: true
17640
+ description: >
17641
+ Default branch at scan time from the linked readiness run, when
17642
+ `runId` matches a row in `tai_workspace_readiness_runs`.
17643
+ scannedCommitSha:
17644
+ type: string
17645
+ nullable: true
17646
+ description: >
17647
+ Git commit (default branch tip) analyzed by the readiness run, when
17648
+ known. Null for seed runs or when the run record is missing.
17637
17649
  measuredAt:
17638
17650
  type: string
17639
17651
  format: date-time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.90.0",
3
+ "version": "2.91.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -7768,6 +7768,10 @@ export interface components {
7768
7768
  CodeInsightsMetricsDto: {
7769
7769
  /** @description Readiness run that produced this metrics row. */
7770
7770
  runId: string;
7771
+ /** @description Default branch at scan time from the linked readiness run, when `runId` matches a row in `tai_workspace_readiness_runs`. */
7772
+ defaultBranch?: string | null;
7773
+ /** @description Git commit (default branch tip) analyzed by the readiness run, when known. Null for seed runs or when the run record is missing. */
7774
+ scannedCommitSha?: string | null;
7771
7775
  /** Format: date-time */
7772
7776
  measuredAt: string;
7773
7777
  metricsStatus: components["schemas"]["CodeInsightsMetricsStatus"];