@thinkai/tai-api-contract 2.128.0 → 2.130.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.128.0
4
+ version: 2.130.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}/...`.
@@ -6222,10 +6222,9 @@ paths:
6222
6222
  tags: [RepositoryReadiness]
6223
6223
  summary: Foundation activity audit log
6224
6224
  description: >
6225
- Paginated chronological feed of Agentic Foundation events for a workspace: readiness
6226
- scans, fix requests, PR merges, and score changes derived from existing run and fix
6227
- tables. Never includes secrets or raw tokens. Config-change events are not included
6228
- until dedicated event storage exists (issue #473).
6225
+ Paginated chronological feed of human-initiated Agentic Foundation fix requests and
6226
+ merged fix PRs for a workspace. Readiness scan progress, scores, and run history remain
6227
+ available on their dedicated readiness surfaces. Never includes secrets or raw tokens.
6229
6228
  operationId: listReadinessAudit
6230
6229
  parameters:
6231
6230
  - $ref: "#/components/parameters/WorkspaceId"
@@ -14843,6 +14842,15 @@ components:
14843
14842
  type: string
14844
14843
  format: uri
14845
14844
  nullable: true
14845
+ repositorySelection:
14846
+ type: string
14847
+ nullable: true
14848
+ enum: [all, selected]
14849
+ description: >
14850
+ GitHub App installation repository access mode from `repository_selection`:
14851
+ `all` grants org-wide repository access; `selected` limits to an explicit allowlist.
14852
+ Omitted or null when unknown (legacy rows or GitHub fetch failure). Frontend should
14853
+ show a compliance warning when value is `all`.
14846
14854
  lastSyncedAt:
14847
14855
  type: string
14848
14856
  format: date-time
@@ -17083,11 +17091,8 @@ components:
17083
17091
  ReadinessAuditEventType:
17084
17092
  type: string
17085
17093
  enum:
17086
- - scan-started
17087
- - scan-completed
17088
17094
  - fix-requested
17089
17095
  - pr-merged
17090
- - score-changed
17091
17096
 
17092
17097
  ReadinessAuditOutcome:
17093
17098
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.128.0",
3
+ "version": "2.130.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2365,7 +2365,7 @@ export interface paths {
2365
2365
  };
2366
2366
  /**
2367
2367
  * Foundation activity audit log
2368
- * @description Paginated chronological feed of Agentic Foundation events for a workspace: readiness scans, fix requests, PR merges, and score changes derived from existing run and fix tables. Never includes secrets or raw tokens. Config-change events are not included until dedicated event storage exists (issue #473).
2368
+ * @description Paginated chronological feed of human-initiated Agentic Foundation fix requests and merged fix PRs for a workspace. Readiness scan progress, scores, and run history remain available on their dedicated readiness surfaces. Never includes secrets or raw tokens.
2369
2369
  */
2370
2370
  get: operations["listReadinessAudit"];
2371
2371
  put?: never;
@@ -6278,6 +6278,11 @@ export interface components {
6278
6278
  repos: components["schemas"]["GithubInstalledRepoListDto"];
6279
6279
  /** Format: uri */
6280
6280
  manageUrl?: string | null;
6281
+ /**
6282
+ * @description GitHub App installation repository access mode from `repository_selection`: `all` grants org-wide repository access; `selected` limits to an explicit allowlist. Omitted or null when unknown (legacy rows or GitHub fetch failure). Frontend should show a compliance warning when value is `all`.
6283
+ * @enum {string|null}
6284
+ */
6285
+ repositorySelection?: "all" | "selected" | null;
6281
6286
  /** Format: date-time */
6282
6287
  lastSyncedAt?: string | null;
6283
6288
  /** @description True when this installation lacks core read permissions required for connect and analysis. Alias for `!corePermissionsOk`. */
@@ -7297,7 +7302,7 @@ export interface components {
7297
7302
  items: components["schemas"]["FixRequestDto"][];
7298
7303
  };
7299
7304
  /** @enum {string} */
7300
- ReadinessAuditEventType: "scan-started" | "scan-completed" | "fix-requested" | "pr-merged" | "score-changed";
7305
+ ReadinessAuditEventType: "fix-requested" | "pr-merged";
7301
7306
  /** @enum {string} */
7302
7307
  ReadinessAuditOutcome: "success" | "partial" | "failed";
7303
7308
  ReadinessAuditEntryDto: {