@thinkai/tai-api-contract 2.158.0 → 2.159.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.158.0
4
+ version: 2.159.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}/...`.
@@ -18366,19 +18366,25 @@ components:
18366
18366
  type: string
18367
18367
  format: date-time
18368
18368
  nullable: true
18369
- description: Set when the repo has been soft-archived (removed from installation or integration disconnected). Null means active.
18369
+ description: Set when the repo has been soft-archived (removed from installation, archived on GitHub, or integration disconnected). Null means active.
18370
18370
  archivedReason:
18371
18371
  type: string
18372
18372
  nullable: true
18373
18373
  enum:
18374
18374
  [
18375
+ github_archived,
18375
18376
  github_removed,
18376
18377
  installation_disconnected,
18377
18378
  installation_replaced,
18378
18379
  superseded,
18379
18380
  user_removed,
18380
18381
  ]
18381
- description: Why the repo was archived. `user_removed` means excluded from Agentic Foundation scope only. Only present when `archivedAt` is set.
18382
+ description: >
18383
+ Why the repo was archived. `github_archived` means the repo is still granted by the
18384
+ GitHub installation but GitHub reports `archived === true` (default sync excludes it).
18385
+ `github_removed` means the slug is no longer in the installation listing.
18386
+ `user_removed` means excluded from Agentic Foundation scope only. Only present when
18387
+ `archivedAt` is set.
18382
18388
  eligibilityStatus:
18383
18389
  type: string
18384
18390
  enum: [eligible, ineligible]
@@ -18594,12 +18600,14 @@ components:
18594
18600
  nullable: true
18595
18601
  enum:
18596
18602
  [
18603
+ github_archived,
18597
18604
  github_removed,
18598
18605
  installation_disconnected,
18599
18606
  installation_replaced,
18600
18607
  superseded,
18601
18608
  user_removed,
18602
18609
  ]
18610
+ description: See RepoReadinessScoreDto.archivedReason.
18603
18611
  eligibilityStatus:
18604
18612
  type: string
18605
18613
  enum: [eligible, ineligible]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.158.0",
3
+ "version": "2.159.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -7790,14 +7790,14 @@ export interface components {
7790
7790
  lastRunErrorDetail?: string | null;
7791
7791
  /**
7792
7792
  * Format: date-time
7793
- * @description Set when the repo has been soft-archived (removed from installation or integration disconnected). Null means active.
7793
+ * @description Set when the repo has been soft-archived (removed from installation, archived on GitHub, or integration disconnected). Null means active.
7794
7794
  */
7795
7795
  archivedAt?: string | null;
7796
7796
  /**
7797
- * @description Why the repo was archived. `user_removed` means excluded from Agentic Foundation scope only. Only present when `archivedAt` is set.
7797
+ * @description Why the repo was archived. `github_archived` means the repo is still granted by the GitHub installation but GitHub reports `archived === true` (default sync excludes it). `github_removed` means the slug is no longer in the installation listing. `user_removed` means excluded from Agentic Foundation scope only. Only present when `archivedAt` is set.
7798
7798
  * @enum {string|null}
7799
7799
  */
7800
- archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7800
+ archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7801
7801
  /**
7802
7802
  * @description Whether the repo can be analyzed (#44/#729). Language support no longer makes a repo `ineligible` — a missing v1-supported stack is surfaced via `warnings` and the repo stays analyzable. It becomes `ineligible` when the most recent scan hit a hard size/file-count limit (e.g. code-size or file-count exceeded): the repo is then restricted here too so this surface matches the GitHub connect list's size gate after the scan. Null until the first sync/scan computes it.
7803
7803
  * @enum {string|null}
@@ -7882,8 +7882,11 @@ export interface components {
7882
7882
  lastRunErrorDetail?: string | null;
7883
7883
  /** Format: date-time */
7884
7884
  archivedAt?: string | null;
7885
- /** @enum {string|null} */
7886
- archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7885
+ /**
7886
+ * @description See RepoReadinessScoreDto.archivedReason.
7887
+ * @enum {string|null}
7888
+ */
7889
+ archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7887
7890
  /**
7888
7891
  * @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
7889
7892
  * @enum {string|null}