@thinkai/tai-api-contract 2.157.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.
|
@@ -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}
|
|
@@ -7834,6 +7834,8 @@ export interface components {
|
|
|
7834
7834
|
linkedRoleAssessment?: components["schemas"]["LinkedRoleAssessmentDto"] | null;
|
|
7835
7835
|
/** @description Repo-level "Improve this scan" recommendations for Agentic Foundation CI setup (at most three). Omitted when the scan emitted none. Does not change criterion scores; live CI health stays in SDLC Insights. */
|
|
7836
7836
|
scanImprovements?: components["schemas"]["ScanImprovementDto"][];
|
|
7837
|
+
/** @description The one open gap or partial criterion on the latest succeeded scan that is not already fixed. Null when the repo is not blocked. Severity ranks first, then dimension weight, then rubric id. */
|
|
7838
|
+
blockingRule?: components["schemas"]["ReadinessBlockingRuleDto"] | null;
|
|
7837
7839
|
};
|
|
7838
7840
|
LinkedRolePendingDto: {
|
|
7839
7841
|
/** @description Topology role key, e.g. terraform | gitops | ci_templates | api_contracts. */
|
|
@@ -7879,8 +7881,11 @@ export interface components {
|
|
|
7879
7881
|
lastRunErrorDetail?: string | null;
|
|
7880
7882
|
/** Format: date-time */
|
|
7881
7883
|
archivedAt?: string | null;
|
|
7882
|
-
/**
|
|
7883
|
-
|
|
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;
|
|
7884
7889
|
/**
|
|
7885
7890
|
* @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
|
|
7886
7891
|
* @enum {string|null}
|
|
@@ -7914,6 +7919,8 @@ export interface components {
|
|
|
7914
7919
|
linkedRoleAssessment?: components["schemas"]["LinkedRoleAssessmentDto"] | null;
|
|
7915
7920
|
/** @description See RepoReadinessScoreDto.scanImprovements. */
|
|
7916
7921
|
scanImprovements?: components["schemas"]["ScanImprovementDto"][];
|
|
7922
|
+
/** @description See RepoReadinessScoreDto.blockingRule. */
|
|
7923
|
+
blockingRule?: components["schemas"]["ReadinessBlockingRuleDto"] | null;
|
|
7917
7924
|
};
|
|
7918
7925
|
AgenticFoundationDashboardSummaryDto: {
|
|
7919
7926
|
repoCount: number;
|
|
@@ -7935,6 +7942,37 @@ export interface components {
|
|
|
7935
7942
|
verificationGapCount?: number;
|
|
7936
7943
|
/** @description Up to 12 repo and reason pairs for verificationGapCount. A repo with both gaps appears twice. Does not change averageOverallScore. */
|
|
7937
7944
|
verificationGaps?: components["schemas"]["AgenticFoundationVerificationGapDto"][];
|
|
7945
|
+
/** @description Non-archived repos whose latest succeeded scan still has a gap or partial criterion that is not fixed. A repo with no open gap is not blocked. */
|
|
7946
|
+
blockedRepoCount: number;
|
|
7947
|
+
/** @description Rule title that blocks the most repos. Null when blockedRepoCount is 0. */
|
|
7948
|
+
topBlockingRuleTitle: string | null;
|
|
7949
|
+
/** @description How many blocked repos share topBlockingRuleTitle. */
|
|
7950
|
+
topBlockingRuleRepoCount: number;
|
|
7951
|
+
fixProof: components["schemas"]["AgenticFoundationFixProofDto"];
|
|
7952
|
+
};
|
|
7953
|
+
ReadinessBlockingRuleDto: {
|
|
7954
|
+
rubricId: string;
|
|
7955
|
+
title: string;
|
|
7956
|
+
/** @enum {string} */
|
|
7957
|
+
severity: "critical" | "high" | "medium" | "low";
|
|
7958
|
+
};
|
|
7959
|
+
AgenticFoundationFixProofDto: {
|
|
7960
|
+
windowDays: number;
|
|
7961
|
+
/** @description Rounded percent of terminal fixes in the window that merged (merged / merged + failed). Null when there is no terminal fix. */
|
|
7962
|
+
mergeRatePercent: number | null;
|
|
7963
|
+
/** @description Median days from created_at to merge. Null when nothing merged in the window. */
|
|
7964
|
+
medianDaysToMerge: number | null;
|
|
7965
|
+
/** @description Merged fixes in the window whose next scan marked the criterion met. */
|
|
7966
|
+
clearedCount: number;
|
|
7967
|
+
rows: components["schemas"]["AgenticFoundationFixProofRowDto"][];
|
|
7968
|
+
};
|
|
7969
|
+
AgenticFoundationFixProofRowDto: {
|
|
7970
|
+
repoName: string;
|
|
7971
|
+
ruleTitle: string;
|
|
7972
|
+
scoreBefore: number | null;
|
|
7973
|
+
scoreAfter: number | null;
|
|
7974
|
+
/** @description True when the first succeeded scan after the merge marked the criterion met. Null when that scan has not run yet. */
|
|
7975
|
+
cleared: boolean | null;
|
|
7938
7976
|
};
|
|
7939
7977
|
AgenticFoundationVerificationGapDto: {
|
|
7940
7978
|
repoName: string;
|
|
@@ -10800,7 +10838,7 @@ export interface components {
|
|
|
10800
10838
|
/** @description Sort direction. */
|
|
10801
10839
|
PaginationOrder: "asc" | "desc";
|
|
10802
10840
|
/** @description Allowlisted repository sort field. */
|
|
10803
|
-
ReadinessRepoSort: "repoName" | "overallScore" | "lastAnalyzed" | "language";
|
|
10841
|
+
ReadinessRepoSort: "repoName" | "overallScore" | "lastAnalyzed" | "language" | "blockingRule";
|
|
10804
10842
|
/** @description Allowlisted Code Insights repo sort field. */
|
|
10805
10843
|
CodeInsightsRepoSort: "repoName" | "locTotal" | "ccAvg" | "dupPct" | "lastMeasuredAt";
|
|
10806
10844
|
/** @description Case-insensitive substring filter on repo name / provider slug. */
|
|
@@ -11111,6 +11149,9 @@ export type LinkedRolePendingDto = components['schemas']['LinkedRolePendingDto']
|
|
|
11111
11149
|
export type LinkedRoleAssessmentDto = components['schemas']['LinkedRoleAssessmentDto'];
|
|
11112
11150
|
export type RepoReadinessScoreDetailDto = components['schemas']['RepoReadinessScoreDetailDto'];
|
|
11113
11151
|
export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
|
|
11152
|
+
export type ReadinessBlockingRuleDto = components['schemas']['ReadinessBlockingRuleDto'];
|
|
11153
|
+
export type AgenticFoundationFixProofDto = components['schemas']['AgenticFoundationFixProofDto'];
|
|
11154
|
+
export type AgenticFoundationFixProofRowDto = components['schemas']['AgenticFoundationFixProofRowDto'];
|
|
11114
11155
|
export type AgenticFoundationVerificationGapDto = components['schemas']['AgenticFoundationVerificationGapDto'];
|
|
11115
11156
|
export type PageMetaDto = components['schemas']['PageMetaDto'];
|
|
11116
11157
|
export type ReadinessEligibilityLimitsDto = components['schemas']['ReadinessEligibilityLimitsDto'];
|