@thinkai/tai-api-contract 2.201.0 → 2.203.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.
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.203.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}/...`.
|
|
@@ -2924,12 +2924,14 @@ paths:
|
|
|
2924
2924
|
/workspaces/{workspaceId}/agentic-foundation/dimension-targets:
|
|
2925
2925
|
get:
|
|
2926
2926
|
tags: [AIReadiness]
|
|
2927
|
-
summary: Get Agentic Foundation dimension
|
|
2928
|
-
description: >
|
|
2929
|
-
Workspace
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2927
|
+
summary: Get Agentic Foundation dimension settings
|
|
2928
|
+
description: >
|
|
2929
|
+
Workspace `disabledDimensions` (scoring off workspace-wide), `disabledCriteria`
|
|
2930
|
+
(rubric ids skipped on the next scan), target percent per readiness dimension,
|
|
2931
|
+
plus optional per-repository overrides. Omitted targets mean 100. A repository
|
|
2932
|
+
override may disable scoring for a dimension or criterion and set its own target;
|
|
2933
|
+
it cannot re-enable a workspace-disabled dimension or criterion. Empty object means
|
|
2934
|
+
every dimension is scored at 100 with all criteria graded. Member-level read access.
|
|
2933
2935
|
operationId: getWorkspaceDimensionTargets
|
|
2934
2936
|
parameters:
|
|
2935
2937
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -2952,12 +2954,14 @@ paths:
|
|
|
2952
2954
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
2953
2955
|
put:
|
|
2954
2956
|
tags: [AIReadiness]
|
|
2955
|
-
summary: Set Agentic Foundation dimension
|
|
2957
|
+
summary: Set Agentic Foundation dimension settings
|
|
2956
2958
|
description: >
|
|
2957
|
-
Full-replace workspace dimension
|
|
2959
|
+
Full-replace workspace dimension settings and repository overrides.
|
|
2960
|
+
`disabledDimensions` turns scoring off for those dimensions workspace-wide.
|
|
2961
|
+
`disabledCriteria` skips listed rubric criteria on the next scan (N/A).
|
|
2958
2962
|
Omit a target or send 100 to keep the default. `PUT {}` or `null` clears
|
|
2959
|
-
|
|
2960
|
-
Agentic Foundation scan scope. Requires workspace **admin**.
|
|
2963
|
+
settings so every dimension is scored at 100 with all criteria graded.
|
|
2964
|
+
Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
|
|
2961
2965
|
operationId: putWorkspaceDimensionTargets
|
|
2962
2966
|
parameters:
|
|
2963
2967
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -2970,11 +2974,14 @@ paths:
|
|
|
2970
2974
|
examples:
|
|
2971
2975
|
workspaceAndRepo:
|
|
2972
2976
|
value:
|
|
2977
|
+
disabledDimensions: [delivery]
|
|
2978
|
+
disabledCriteria: [A11]
|
|
2973
2979
|
targets:
|
|
2974
2980
|
observability: 90
|
|
2975
2981
|
repoOverrides:
|
|
2976
2982
|
11111111-1111-4111-8111-111111111111:
|
|
2977
|
-
disabledDimensions: [
|
|
2983
|
+
disabledDimensions: [observability]
|
|
2984
|
+
disabledCriteria: [D1]
|
|
2978
2985
|
targets:
|
|
2979
2986
|
tests-qa: 80
|
|
2980
2987
|
responses:
|
|
@@ -16961,6 +16968,16 @@ components:
|
|
|
16961
16968
|
items:
|
|
16962
16969
|
$ref: "#/components/schemas/ReadinessDimensionId"
|
|
16963
16970
|
description: Dimensions left out of this repository's score.
|
|
16971
|
+
disabledCriteria:
|
|
16972
|
+
type: array
|
|
16973
|
+
uniqueItems: true
|
|
16974
|
+
items:
|
|
16975
|
+
type: string
|
|
16976
|
+
pattern: "^[A-I][0-9]+[a-z]?$"
|
|
16977
|
+
example: A1
|
|
16978
|
+
description: >
|
|
16979
|
+
Rubric criterion ids skipped on the next scan for this repository
|
|
16980
|
+
(additive to workspace `disabledCriteria`).
|
|
16964
16981
|
targets:
|
|
16965
16982
|
$ref: "#/components/schemas/DimensionTargetPercentsDto"
|
|
16966
16983
|
|
|
@@ -16968,9 +16985,27 @@ components:
|
|
|
16968
16985
|
type: object
|
|
16969
16986
|
additionalProperties: false
|
|
16970
16987
|
description: >
|
|
16971
|
-
Agentic Foundation dimension
|
|
16972
|
-
scored
|
|
16988
|
+
Agentic Foundation dimension settings. Empty object means every dimension is
|
|
16989
|
+
scored at 100 with all criteria graded.
|
|
16973
16990
|
properties:
|
|
16991
|
+
disabledDimensions:
|
|
16992
|
+
type: array
|
|
16993
|
+
uniqueItems: true
|
|
16994
|
+
items:
|
|
16995
|
+
$ref: "#/components/schemas/ReadinessDimensionId"
|
|
16996
|
+
description: >
|
|
16997
|
+
Dimensions left out of readiness scores for every repository in the
|
|
16998
|
+
workspace. Repository overrides may disable additional dimensions.
|
|
16999
|
+
disabledCriteria:
|
|
17000
|
+
type: array
|
|
17001
|
+
uniqueItems: true
|
|
17002
|
+
items:
|
|
17003
|
+
type: string
|
|
17004
|
+
pattern: "^[A-I][0-9]+[a-z]?$"
|
|
17005
|
+
example: A1
|
|
17006
|
+
description: >
|
|
17007
|
+
Rubric criterion ids skipped on the next scan for every repository.
|
|
17008
|
+
Repository overrides may disable additional criteria.
|
|
16974
17009
|
targets:
|
|
16975
17010
|
$ref: "#/components/schemas/DimensionTargetPercentsDto"
|
|
16976
17011
|
repoOverrides:
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -951,13 +951,13 @@ export interface paths {
|
|
|
951
951
|
cookie?: never;
|
|
952
952
|
};
|
|
953
953
|
/**
|
|
954
|
-
* Get Agentic Foundation dimension
|
|
955
|
-
* @description Workspace target percent per readiness dimension, plus optional per-repository overrides. Omitted targets mean 100. A repository override may disable scoring for a dimension and set its own target. Empty object means every dimension is scored at 100. Member-level read access.
|
|
954
|
+
* Get Agentic Foundation dimension settings
|
|
955
|
+
* @description Workspace `disabledDimensions` (scoring off workspace-wide), `disabledCriteria` (rubric ids skipped on the next scan), target percent per readiness dimension, plus optional per-repository overrides. Omitted targets mean 100. A repository override may disable scoring for a dimension or criterion and set its own target; it cannot re-enable a workspace-disabled dimension or criterion. Empty object means every dimension is scored at 100 with all criteria graded. Member-level read access.
|
|
956
956
|
*/
|
|
957
957
|
get: operations["getWorkspaceDimensionTargets"];
|
|
958
958
|
/**
|
|
959
|
-
* Set Agentic Foundation dimension
|
|
960
|
-
* @description Full-replace workspace dimension
|
|
959
|
+
* Set Agentic Foundation dimension settings
|
|
960
|
+
* @description Full-replace workspace dimension settings and repository overrides. `disabledDimensions` turns scoring off for those dimensions workspace-wide. `disabledCriteria` skips listed rubric criteria on the next scan (N/A). Omit a target or send 100 to keep the default. `PUT {}` or `null` clears settings so every dimension is scored at 100 with all criteria graded. Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
|
|
961
961
|
*/
|
|
962
962
|
put: operations["putWorkspaceDimensionTargets"];
|
|
963
963
|
post?: never;
|
|
@@ -6555,10 +6555,16 @@ export interface components {
|
|
|
6555
6555
|
DimensionTargetsRepoOverrideDto: {
|
|
6556
6556
|
/** @description Dimensions left out of this repository's score. */
|
|
6557
6557
|
disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
|
|
6558
|
+
/** @description Rubric criterion ids skipped on the next scan for this repository (additive to workspace `disabledCriteria`). */
|
|
6559
|
+
disabledCriteria?: string[];
|
|
6558
6560
|
targets?: components["schemas"]["DimensionTargetPercentsDto"];
|
|
6559
6561
|
};
|
|
6560
|
-
/** @description Agentic Foundation dimension
|
|
6562
|
+
/** @description Agentic Foundation dimension settings. Empty object means every dimension is scored at 100 with all criteria graded. */
|
|
6561
6563
|
DimensionTargetsDto: {
|
|
6564
|
+
/** @description Dimensions left out of readiness scores for every repository in the workspace. Repository overrides may disable additional dimensions. */
|
|
6565
|
+
disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
|
|
6566
|
+
/** @description Rubric criterion ids skipped on the next scan for every repository. Repository overrides may disable additional criteria. */
|
|
6567
|
+
disabledCriteria?: string[];
|
|
6562
6568
|
targets?: components["schemas"]["DimensionTargetPercentsDto"];
|
|
6563
6569
|
/** @description Keys are in-scope repository ids. */
|
|
6564
6570
|
repoOverrides?: {
|