@thinkai/tai-api-contract 2.201.0 → 2.202.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.202.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,13 @@ paths:
|
|
|
2924
2924
|
/workspaces/{workspaceId}/agentic-foundation/dimension-targets:
|
|
2925
2925
|
get:
|
|
2926
2926
|
tags: [AIReadiness]
|
|
2927
|
-
summary: Get Agentic Foundation dimension
|
|
2927
|
+
summary: Get Agentic Foundation dimension settings
|
|
2928
2928
|
description: >
|
|
2929
|
-
Workspace
|
|
2930
|
-
|
|
2931
|
-
for a dimension and set its own
|
|
2932
|
-
|
|
2929
|
+
Workspace `disabledDimensions` (scoring off workspace-wide), target percent per
|
|
2930
|
+
readiness dimension, plus optional per-repository overrides. Omitted targets mean
|
|
2931
|
+
100. A repository override may disable scoring for a dimension and set its own
|
|
2932
|
+
target; it cannot re-enable a workspace-disabled dimension. Empty object means
|
|
2933
|
+
every dimension is scored at 100. Member-level read access.
|
|
2933
2934
|
operationId: getWorkspaceDimensionTargets
|
|
2934
2935
|
parameters:
|
|
2935
2936
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -2952,11 +2953,12 @@ paths:
|
|
|
2952
2953
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
2953
2954
|
put:
|
|
2954
2955
|
tags: [AIReadiness]
|
|
2955
|
-
summary: Set Agentic Foundation dimension
|
|
2956
|
+
summary: Set Agentic Foundation dimension settings
|
|
2956
2957
|
description: >
|
|
2957
|
-
Full-replace workspace dimension
|
|
2958
|
+
Full-replace workspace dimension settings and repository overrides.
|
|
2959
|
+
`disabledDimensions` turns scoring off for those dimensions workspace-wide.
|
|
2958
2960
|
Omit a target or send 100 to keep the default. `PUT {}` or `null` clears
|
|
2959
|
-
|
|
2961
|
+
settings so every dimension is scored at 100. Repository ids must be in
|
|
2960
2962
|
Agentic Foundation scan scope. Requires workspace **admin**.
|
|
2961
2963
|
operationId: putWorkspaceDimensionTargets
|
|
2962
2964
|
parameters:
|
|
@@ -2970,11 +2972,12 @@ paths:
|
|
|
2970
2972
|
examples:
|
|
2971
2973
|
workspaceAndRepo:
|
|
2972
2974
|
value:
|
|
2975
|
+
disabledDimensions: [delivery]
|
|
2973
2976
|
targets:
|
|
2974
2977
|
observability: 90
|
|
2975
2978
|
repoOverrides:
|
|
2976
2979
|
11111111-1111-4111-8111-111111111111:
|
|
2977
|
-
disabledDimensions: [
|
|
2980
|
+
disabledDimensions: [observability]
|
|
2978
2981
|
targets:
|
|
2979
2982
|
tests-qa: 80
|
|
2980
2983
|
responses:
|
|
@@ -16968,9 +16971,17 @@ components:
|
|
|
16968
16971
|
type: object
|
|
16969
16972
|
additionalProperties: false
|
|
16970
16973
|
description: >
|
|
16971
|
-
Agentic Foundation dimension
|
|
16974
|
+
Agentic Foundation dimension settings. Empty object means every dimension is
|
|
16972
16975
|
scored and the target is 100.
|
|
16973
16976
|
properties:
|
|
16977
|
+
disabledDimensions:
|
|
16978
|
+
type: array
|
|
16979
|
+
uniqueItems: true
|
|
16980
|
+
items:
|
|
16981
|
+
$ref: "#/components/schemas/ReadinessDimensionId"
|
|
16982
|
+
description: >
|
|
16983
|
+
Dimensions left out of readiness scores for every repository in the
|
|
16984
|
+
workspace. Repository overrides may disable additional dimensions.
|
|
16974
16985
|
targets:
|
|
16975
16986
|
$ref: "#/components/schemas/DimensionTargetPercentsDto"
|
|
16976
16987
|
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), 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; it cannot re-enable a workspace-disabled dimension. Empty object means every dimension is scored at 100. 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. Omit a target or send 100 to keep the default. `PUT {}` or `null` clears settings so every dimension is scored at 100. Repository ids must be in Agentic Foundation scan scope. Requires workspace **admin**.
|
|
961
961
|
*/
|
|
962
962
|
put: operations["putWorkspaceDimensionTargets"];
|
|
963
963
|
post?: never;
|
|
@@ -6557,8 +6557,10 @@ export interface components {
|
|
|
6557
6557
|
disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
|
|
6558
6558
|
targets?: components["schemas"]["DimensionTargetPercentsDto"];
|
|
6559
6559
|
};
|
|
6560
|
-
/** @description Agentic Foundation dimension
|
|
6560
|
+
/** @description Agentic Foundation dimension settings. Empty object means every dimension is scored and the target is 100. */
|
|
6561
6561
|
DimensionTargetsDto: {
|
|
6562
|
+
/** @description Dimensions left out of readiness scores for every repository in the workspace. Repository overrides may disable additional dimensions. */
|
|
6563
|
+
disabledDimensions?: components["schemas"]["ReadinessDimensionId"][];
|
|
6562
6564
|
targets?: components["schemas"]["DimensionTargetPercentsDto"];
|
|
6563
6565
|
/** @description Keys are in-scope repository ids. */
|
|
6564
6566
|
repoOverrides?: {
|