@thinkai/tai-api-contract 2.158.0 → 2.160.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.
@@ -7789,14 +7789,14 @@ export interface components {
7789
7789
  lastRunErrorDetail?: string | null;
7790
7790
  /**
7791
7791
  * Format: date-time
7792
- * @description Set when the repo has been soft-archived (removed from installation or integration disconnected). Null means active.
7792
+ * @description Set when the repo has been soft-archived (removed from installation, archived on GitHub, or integration disconnected). Null means active.
7793
7793
  */
7794
7794
  archivedAt?: string | null;
7795
7795
  /**
7796
- * @description Why the repo was archived. `user_removed` means excluded from Agentic Foundation scope only. Only present when `archivedAt` is set.
7796
+ * @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.
7797
7797
  * @enum {string|null}
7798
7798
  */
7799
- archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7799
+ archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7800
7800
  /**
7801
7801
  * @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.
7802
7802
  * @enum {string|null}
@@ -7881,8 +7881,11 @@ export interface components {
7881
7881
  lastRunErrorDetail?: string | null;
7882
7882
  /** Format: date-time */
7883
7883
  archivedAt?: string | null;
7884
- /** @enum {string|null} */
7885
- archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7884
+ /**
7885
+ * @description See RepoReadinessScoreDto.archivedReason.
7886
+ * @enum {string|null}
7887
+ */
7888
+ archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
7886
7889
  /**
7887
7890
  * @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
7888
7891
  * @enum {string|null}
@@ -17522,7 +17525,7 @@ export interface operations {
17522
17525
  "application/json": components["schemas"]["ErrorMessageDto"];
17523
17526
  };
17524
17527
  };
17525
- /** @description A queued/running readiness analysis already exists for this repository slug */
17528
+ /** @description A queued/running readiness analysis already exists for this repository slug (`error: readiness_run_already_active`), or a live GitHub check found the repo archived (`code: repo_archived`). Archived repos are soft-archived as `github_archived` and pending fixes are cancelled. */
17526
17529
  409: {
17527
17530
  headers: {
17528
17531
  [name: string]: unknown;
@@ -19054,6 +19057,15 @@ export interface operations {
19054
19057
  "application/json": components["schemas"]["ErrorMessageDto"];
19055
19058
  };
19056
19059
  };
19060
+ /** @description Live GitHub check found the repository archived (`code: repo_archived`). The repo is soft-archived as `github_archived` and pending fixes are cancelled with `error_code = repo_archived`. */
19061
+ 409: {
19062
+ headers: {
19063
+ [name: string]: unknown;
19064
+ };
19065
+ content: {
19066
+ "application/json": components["schemas"]["ErrorMessageDto"];
19067
+ };
19068
+ };
19057
19069
  /** @description GitHub installation lacks write permissions required for automated fix PRs */
19058
19070
  422: {
19059
19071
  headers: {