@thinkai/tai-api-contract 2.254.0 → 2.254.1

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.254.0
4
+ version: 2.254.1
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -9014,7 +9014,11 @@ paths:
9014
9014
  description: >
9015
9015
  Returns a page of repository readiness scorecards. Use `GET .../readiness/repos/{repoId}`
9016
9016
  for a single repo. Summary aggregates on the Agentic Foundation dashboard use separate
9017
- aggregate queries over the full workspace (#403).
9017
+ aggregate queries over the full workspace (#403). When light projection is enabled
9018
+ (`backend-api.readinessLightProjection`, on in prod/do-dev), issue rows are omitted
9019
+ (`issues: []`) and `criteriaDetails` is not populated; use `openIssueCount` /
9020
+ `criticalOpenIssueCount` per dimension. Repo detail and Agentic Foundation dimension
9021
+ slices still return full issue arrays and `criteriaDetails`.
9018
9022
  parameters:
9019
9023
  - $ref: "#/components/parameters/WorkspaceId"
9020
9024
  - $ref: "#/components/parameters/PaginationLimit"
@@ -11191,10 +11195,11 @@ paths:
11191
11195
  /workspaces/{workspaceId}/agentic-foundation/ai-resolution-hub:
11192
11196
  get:
11193
11197
  tags: [AgenticFoundation]
11194
- summary: AI resolution hub (full readiness scorecards)
11198
+ summary: AI resolution hub (readiness scorecards)
11195
11199
  description: >
11196
11200
  Returns the same payload as `GET .../readiness/repos` (all dimensions per repo) for
11197
- cross-pillar hub views (issue #288).
11201
+ cross-pillar hub views (issue #288). When light projection is enabled, issue rows and
11202
+ `criteriaDetails` are omitted the same way as the main repo list; counts remain.
11198
11203
  operationId: getAgenticFoundationAiResolutionHub
11199
11204
  parameters:
11200
11205
  - $ref: "#/components/parameters/WorkspaceId"
@@ -11206,7 +11211,7 @@ paths:
11206
11211
  - $ref: "#/components/parameters/ReadinessRepoLanguage"
11207
11212
  responses:
11208
11213
  "200":
11209
- description: Full repository readiness scorecards
11214
+ description: Repository readiness scorecards (light projection may omit issue rows)
11210
11215
  content:
11211
11216
  application/json:
11212
11217
  schema:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.254.0",
3
+ "version": "2.254.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3264,7 +3264,7 @@ export interface paths {
3264
3264
  };
3265
3265
  /**
3266
3266
  * List repo readiness scores (paginated)
3267
- * @description Returns a page of repository readiness scorecards. Use `GET .../readiness/repos/{repoId}` for a single repo. Summary aggregates on the Agentic Foundation dashboard use separate aggregate queries over the full workspace (#403).
3267
+ * @description Returns a page of repository readiness scorecards. Use `GET .../readiness/repos/{repoId}` for a single repo. Summary aggregates on the Agentic Foundation dashboard use separate aggregate queries over the full workspace (#403). When light projection is enabled (`backend-api.readinessLightProjection`, on in prod/do-dev), issue rows are omitted (`issues: []`) and `criteriaDetails` is not populated; use `openIssueCount` / `criticalOpenIssueCount` per dimension. Repo detail and Agentic Foundation dimension slices still return full issue arrays and `criteriaDetails`.
3268
3268
  */
3269
3269
  get: operations["listReadinessRepos"];
3270
3270
  put?: never;
@@ -4043,8 +4043,8 @@ export interface paths {
4043
4043
  cookie?: never;
4044
4044
  };
4045
4045
  /**
4046
- * AI resolution hub (full readiness scorecards)
4047
- * @description Returns the same payload as `GET .../readiness/repos` (all dimensions per repo) for cross-pillar hub views (issue #288).
4046
+ * AI resolution hub (readiness scorecards)
4047
+ * @description Returns the same payload as `GET .../readiness/repos` (all dimensions per repo) for cross-pillar hub views (issue #288). When light projection is enabled, issue rows and `criteriaDetails` are omitted the same way as the main repo list; counts remain.
4048
4048
  */
4049
4049
  get: operations["getAgenticFoundationAiResolutionHub"];
4050
4050
  put?: never;
@@ -28087,7 +28087,7 @@ export interface operations {
28087
28087
  };
28088
28088
  requestBody?: never;
28089
28089
  responses: {
28090
- /** @description Full repository readiness scorecards */
28090
+ /** @description Repository readiness scorecards (light projection may omit issue rows) */
28091
28091
  200: {
28092
28092
  headers: {
28093
28093
  [name: string]: unknown;