@thinkai/tai-api-contract 2.154.0 → 2.156.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.
|
@@ -7489,6 +7489,8 @@ export interface components {
|
|
|
7489
7489
|
fixStatus: "open" | "pr-pending" | "fixed";
|
|
7490
7490
|
/** @description True when the platform does not yet have an auto-fix skill for this issue's dimension. The UI should render these items as disabled with a "Coming Soon" tooltip. */
|
|
7491
7491
|
comingSoon?: boolean;
|
|
7492
|
+
/** @description Short labels when the instruction file names two alternatives and does not pick one. Fix it stays disabled until the request includes one of these as patternChoice. */
|
|
7493
|
+
unresolvedChoices?: string[];
|
|
7492
7494
|
/**
|
|
7493
7495
|
* @description How automated fixing is supported for this criterion. `auto` — agent edits files directly; no human input needed. `decisions-first` — agent requires docs/ai-readiness-decisions.md to be filled first. `guidance` — admin-level action; agent creates an instructions doc PR.
|
|
7494
7496
|
* @enum {string}
|
|
@@ -7929,6 +7931,15 @@ export interface components {
|
|
|
7929
7931
|
/** @description Issues whose fix has been applied (fix_status = fixed). */
|
|
7930
7932
|
fixed: number;
|
|
7931
7933
|
};
|
|
7934
|
+
/** @description Distinct non-archived repos whose latest succeeded scan has an A1 gap (no instruction file) or a B5 gap (CI never runs tests). A gap whose matching issue is already fixed is excluded. Omitted when the server cannot see per-criterion status. */
|
|
7935
|
+
verificationGapCount?: number;
|
|
7936
|
+
/** @description Up to 12 repo and reason pairs for verificationGapCount. A repo with both gaps appears twice. Does not change averageOverallScore. */
|
|
7937
|
+
verificationGaps?: components["schemas"]["AgenticFoundationVerificationGapDto"][];
|
|
7938
|
+
};
|
|
7939
|
+
AgenticFoundationVerificationGapDto: {
|
|
7940
|
+
repoName: string;
|
|
7941
|
+
/** @enum {string} */
|
|
7942
|
+
reason: "no instruction file" | "CI never runs tests";
|
|
7932
7943
|
};
|
|
7933
7944
|
PageMetaDto: {
|
|
7934
7945
|
/** @description Total rows matching filters (full workspace, not just this page). */
|
|
@@ -8097,6 +8108,8 @@ export interface components {
|
|
|
8097
8108
|
* @description Workspace repository id that owns the issue
|
|
8098
8109
|
*/
|
|
8099
8110
|
repoId: string;
|
|
8111
|
+
/** @description Required when the issue has unresolvedChoices. Must be one of those labels. Stored on the fix row and stated in the worker prompt. */
|
|
8112
|
+
patternChoice?: string;
|
|
8100
8113
|
};
|
|
8101
8114
|
PhaseRoleDto: {
|
|
8102
8115
|
phase: string;
|
|
@@ -11097,6 +11110,7 @@ export type LinkedRolePendingDto = components['schemas']['LinkedRolePendingDto']
|
|
|
11097
11110
|
export type LinkedRoleAssessmentDto = components['schemas']['LinkedRoleAssessmentDto'];
|
|
11098
11111
|
export type RepoReadinessScoreDetailDto = components['schemas']['RepoReadinessScoreDetailDto'];
|
|
11099
11112
|
export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
|
|
11113
|
+
export type AgenticFoundationVerificationGapDto = components['schemas']['AgenticFoundationVerificationGapDto'];
|
|
11100
11114
|
export type PageMetaDto = components['schemas']['PageMetaDto'];
|
|
11101
11115
|
export type ReadinessEligibilityLimitsDto = components['schemas']['ReadinessEligibilityLimitsDto'];
|
|
11102
11116
|
export type ReadinessRepoListDto = components['schemas']['ReadinessRepoListDto'];
|
|
@@ -18981,7 +18995,7 @@ export interface operations {
|
|
|
18981
18995
|
"application/json": components["schemas"]["FixRequestDto"];
|
|
18982
18996
|
};
|
|
18983
18997
|
};
|
|
18984
|
-
/** @description Invalid body
|
|
18998
|
+
/** @description Invalid body, malformed `repoId`, or a missing/unknown `patternChoice` when the issue has `unresolvedChoices` (`pattern_choice_required`, `pattern_choice_invalid`). */
|
|
18985
18999
|
400: {
|
|
18986
19000
|
headers: {
|
|
18987
19001
|
[name: string]: unknown;
|