@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.
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
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}/...`.
|
|
@@ -726,6 +726,21 @@ paths:
|
|
|
726
726
|
Returns the active global outage or maintenance banner for the platform shell, if any.
|
|
727
727
|
No authentication required so signed-in users can see incident messaging during partial outages.
|
|
728
728
|
When both a database-managed banner and a runtime-config fallback exist, the database value wins.
|
|
729
|
+
When an authenticated workspace member passes `workspaceId`, an active Agent Execution Provider
|
|
730
|
+
quota/rate/billing blocker for Agentic Foundation may overlay the effective banner (issue #988).
|
|
731
|
+
Active global `outage`/`maintenance` banners still take precedence over the workspace blocker,
|
|
732
|
+
whether they come from the database or the runtime-config fallback.
|
|
733
|
+
parameters:
|
|
734
|
+
- name: workspaceId
|
|
735
|
+
in: query
|
|
736
|
+
required: false
|
|
737
|
+
description: >
|
|
738
|
+
Optional workspace UUID. When present with a valid member Bearer token, the effective
|
|
739
|
+
banner may include a dismissible workspace execution-limit warning. Clients should
|
|
740
|
+
retain a compact persistent indicator after dismissal while the condition remains active.
|
|
741
|
+
schema:
|
|
742
|
+
type: string
|
|
743
|
+
format: uuid
|
|
729
744
|
responses:
|
|
730
745
|
"200":
|
|
731
746
|
description: Active platform banner (if any)
|
|
@@ -17619,6 +17634,18 @@ components:
|
|
|
17619
17634
|
runId:
|
|
17620
17635
|
type: string
|
|
17621
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.
|
|
17622
17649
|
measuredAt:
|
|
17623
17650
|
type: string
|
|
17624
17651
|
format: date-time
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -226,7 +226,7 @@ export interface paths {
|
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
228
228
|
* Global platform banner
|
|
229
|
-
* @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.
|
|
229
|
+
* @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.
|
|
230
230
|
*/
|
|
231
231
|
get: operations["getPlatformBanner"];
|
|
232
232
|
put?: never;
|
|
@@ -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"];
|
|
@@ -9134,7 +9138,10 @@ export interface operations {
|
|
|
9134
9138
|
};
|
|
9135
9139
|
getPlatformBanner: {
|
|
9136
9140
|
parameters: {
|
|
9137
|
-
query?:
|
|
9141
|
+
query?: {
|
|
9142
|
+
/** @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. */
|
|
9143
|
+
workspaceId?: string;
|
|
9144
|
+
};
|
|
9138
9145
|
header?: never;
|
|
9139
9146
|
path?: never;
|
|
9140
9147
|
cookie?: never;
|