@thinkai/tai-api-contract 2.208.0 → 2.208.1
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/dist/generated/openapi.d.ts +11 -11
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +12 -12
- package/package.json +1 -1
- package/src/generated/openapi.ts +11 -11
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.208.
|
|
4
|
+
version: 2.208.1
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -10267,7 +10267,7 @@ paths:
|
|
|
10267
10267
|
schema:
|
|
10268
10268
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
10269
10269
|
example:
|
|
10270
|
-
error: No ready
|
|
10270
|
+
error: No ready index is available to write the workspace agent file.
|
|
10271
10271
|
code: agent_md_not_ready
|
|
10272
10272
|
|
|
10273
10273
|
/workspaces/{workspaceId}/code-intelligence/token-usage/summary:
|
|
@@ -10997,7 +10997,7 @@ paths:
|
|
|
10997
10997
|
"403":
|
|
10998
10998
|
description: Code Intelligence is disabled for this workspace
|
|
10999
10999
|
"409":
|
|
11000
|
-
description: No ready
|
|
11000
|
+
description: No ready index in scope
|
|
11001
11001
|
|
|
11002
11002
|
/workspaces/{workspaceId}/knowledge-pages/generate/status:
|
|
11003
11003
|
get:
|
|
@@ -11021,7 +11021,7 @@ paths:
|
|
|
11021
11021
|
tags: [CodeChat]
|
|
11022
11022
|
summary: Generate a workspace-scoped PRD draft
|
|
11023
11023
|
description: >-
|
|
11024
|
-
Builds a PRD draft from ready
|
|
11024
|
+
Builds a PRD draft from ready indexes (required) plus optional wiki pages and
|
|
11025
11025
|
platform evidence (readiness, quality, delivery, AI adoption, monitoring). Wiki is
|
|
11026
11026
|
optional — scan at least one repository first. Upserts one workspace knowledge page
|
|
11027
11027
|
(`prd-<slug>` / `prd-draft`) without replacing the whole knowledge base.
|
|
@@ -11048,14 +11048,14 @@ paths:
|
|
|
11048
11048
|
"403":
|
|
11049
11049
|
description: Code Intelligence is disabled for this workspace
|
|
11050
11050
|
"409":
|
|
11051
|
-
description: No ready
|
|
11051
|
+
description: No ready index in scope
|
|
11052
11052
|
|
|
11053
11053
|
/workspaces/{workspaceId}/knowledge-pages/rfc/generate:
|
|
11054
11054
|
post:
|
|
11055
11055
|
tags: [CodeChat]
|
|
11056
11056
|
summary: Generate a workspace-scoped RFC draft
|
|
11057
11057
|
description: >-
|
|
11058
|
-
Same grounding as PRD generate (ready
|
|
11058
|
+
Same grounding as PRD generate (ready indexes required; wiki optional; platform
|
|
11059
11059
|
evidence when available). Upserts `rfc-<slug>` / `rfc-draft` without replacing the KB.
|
|
11060
11060
|
operationId: generateRfcDraft
|
|
11061
11061
|
parameters:
|
|
@@ -11080,14 +11080,14 @@ paths:
|
|
|
11080
11080
|
"403":
|
|
11081
11081
|
description: Code Intelligence is disabled for this workspace
|
|
11082
11082
|
"409":
|
|
11083
|
-
description: No ready
|
|
11083
|
+
description: No ready index in scope
|
|
11084
11084
|
|
|
11085
11085
|
/workspaces/{workspaceId}/knowledge-pages/adr/generate:
|
|
11086
11086
|
post:
|
|
11087
11087
|
tags: [CodeChat]
|
|
11088
11088
|
summary: Generate a workspace-scoped ADR draft
|
|
11089
11089
|
description: >-
|
|
11090
|
-
Same grounding as PRD generate (ready
|
|
11090
|
+
Same grounding as PRD generate (ready indexes required; wiki optional; platform
|
|
11091
11091
|
evidence when available). Upserts `adr-<slug>` / `adr-draft` without replacing the KB.
|
|
11092
11092
|
operationId: generateAdrDraft
|
|
11093
11093
|
parameters:
|
|
@@ -11112,7 +11112,7 @@ paths:
|
|
|
11112
11112
|
"403":
|
|
11113
11113
|
description: Code Intelligence is disabled for this workspace
|
|
11114
11114
|
"409":
|
|
11115
|
-
description: No ready
|
|
11115
|
+
description: No ready index in scope
|
|
11116
11116
|
|
|
11117
11117
|
/workspaces/{workspaceId}/knowledge-graph:
|
|
11118
11118
|
get:
|
|
@@ -11292,7 +11292,7 @@ paths:
|
|
|
11292
11292
|
"401":
|
|
11293
11293
|
$ref: "#/components/responses/Unauthorized"
|
|
11294
11294
|
"404":
|
|
11295
|
-
description:
|
|
11295
|
+
description: Index not found
|
|
11296
11296
|
"409":
|
|
11297
11297
|
description: Wiki has no pages yet
|
|
11298
11298
|
|
|
@@ -11346,7 +11346,7 @@ paths:
|
|
|
11346
11346
|
"401":
|
|
11347
11347
|
$ref: "#/components/responses/Unauthorized"
|
|
11348
11348
|
"409":
|
|
11349
|
-
description:
|
|
11349
|
+
description: Index not ready
|
|
11350
11350
|
|
|
11351
11351
|
/workspaces/{workspaceId}/code-chat/indexes/{indexId}/origin-prompt:
|
|
11352
11352
|
get:
|
|
@@ -11393,7 +11393,7 @@ paths:
|
|
|
11393
11393
|
"401":
|
|
11394
11394
|
$ref: "#/components/responses/Unauthorized"
|
|
11395
11395
|
"404":
|
|
11396
|
-
description:
|
|
11396
|
+
description: Index not ready
|
|
11397
11397
|
content:
|
|
11398
11398
|
application/json:
|
|
11399
11399
|
schema:
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -4052,7 +4052,7 @@ export interface paths {
|
|
|
4052
4052
|
put?: never;
|
|
4053
4053
|
/**
|
|
4054
4054
|
* Generate a workspace-scoped PRD draft
|
|
4055
|
-
* @description Builds a PRD draft from ready
|
|
4055
|
+
* @description Builds a PRD draft from ready indexes (required) plus optional wiki pages and platform evidence (readiness, quality, delivery, AI adoption, monitoring). Wiki is optional — scan at least one repository first. Upserts one workspace knowledge page (`prd-<slug>` / `prd-draft`) without replacing the whole knowledge base.
|
|
4056
4056
|
*/
|
|
4057
4057
|
post: operations["generatePrdDraft"];
|
|
4058
4058
|
delete?: never;
|
|
@@ -4072,7 +4072,7 @@ export interface paths {
|
|
|
4072
4072
|
put?: never;
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Generate a workspace-scoped RFC draft
|
|
4075
|
-
* @description Same grounding as PRD generate (ready
|
|
4075
|
+
* @description Same grounding as PRD generate (ready indexes required; wiki optional; platform evidence when available). Upserts `rfc-<slug>` / `rfc-draft` without replacing the KB.
|
|
4076
4076
|
*/
|
|
4077
4077
|
post: operations["generateRfcDraft"];
|
|
4078
4078
|
delete?: never;
|
|
@@ -4092,7 +4092,7 @@ export interface paths {
|
|
|
4092
4092
|
put?: never;
|
|
4093
4093
|
/**
|
|
4094
4094
|
* Generate a workspace-scoped ADR draft
|
|
4095
|
-
* @description Same grounding as PRD generate (ready
|
|
4095
|
+
* @description Same grounding as PRD generate (ready indexes required; wiki optional; platform evidence when available). Upserts `adr-<slug>` / `adr-draft` without replacing the KB.
|
|
4096
4096
|
*/
|
|
4097
4097
|
post: operations["generateAdrDraft"];
|
|
4098
4098
|
delete?: never;
|
|
@@ -24393,7 +24393,7 @@ export interface operations {
|
|
|
24393
24393
|
content: {
|
|
24394
24394
|
/**
|
|
24395
24395
|
* @example {
|
|
24396
|
-
* "error": "No ready
|
|
24396
|
+
* "error": "No ready index is available to write the workspace agent file.",
|
|
24397
24397
|
* "code": "agent_md_not_ready"
|
|
24398
24398
|
* }
|
|
24399
24399
|
*/
|
|
@@ -25241,7 +25241,7 @@ export interface operations {
|
|
|
25241
25241
|
};
|
|
25242
25242
|
content?: never;
|
|
25243
25243
|
};
|
|
25244
|
-
/** @description No ready
|
|
25244
|
+
/** @description No ready index in scope */
|
|
25245
25245
|
409: {
|
|
25246
25246
|
headers: {
|
|
25247
25247
|
[name: string]: unknown;
|
|
@@ -25312,7 +25312,7 @@ export interface operations {
|
|
|
25312
25312
|
};
|
|
25313
25313
|
content?: never;
|
|
25314
25314
|
};
|
|
25315
|
-
/** @description No ready
|
|
25315
|
+
/** @description No ready index in scope */
|
|
25316
25316
|
409: {
|
|
25317
25317
|
headers: {
|
|
25318
25318
|
[name: string]: unknown;
|
|
@@ -25360,7 +25360,7 @@ export interface operations {
|
|
|
25360
25360
|
};
|
|
25361
25361
|
content?: never;
|
|
25362
25362
|
};
|
|
25363
|
-
/** @description No ready
|
|
25363
|
+
/** @description No ready index in scope */
|
|
25364
25364
|
409: {
|
|
25365
25365
|
headers: {
|
|
25366
25366
|
[name: string]: unknown;
|
|
@@ -25408,7 +25408,7 @@ export interface operations {
|
|
|
25408
25408
|
};
|
|
25409
25409
|
content?: never;
|
|
25410
25410
|
};
|
|
25411
|
-
/** @description No ready
|
|
25411
|
+
/** @description No ready index in scope */
|
|
25412
25412
|
409: {
|
|
25413
25413
|
headers: {
|
|
25414
25414
|
[name: string]: unknown;
|
|
@@ -25644,7 +25644,7 @@ export interface operations {
|
|
|
25644
25644
|
content?: never;
|
|
25645
25645
|
};
|
|
25646
25646
|
401: components["responses"]["Unauthorized"];
|
|
25647
|
-
/** @description
|
|
25647
|
+
/** @description Index not found */
|
|
25648
25648
|
404: {
|
|
25649
25649
|
headers: {
|
|
25650
25650
|
[name: string]: unknown;
|
|
@@ -25714,7 +25714,7 @@ export interface operations {
|
|
|
25714
25714
|
};
|
|
25715
25715
|
};
|
|
25716
25716
|
401: components["responses"]["Unauthorized"];
|
|
25717
|
-
/** @description
|
|
25717
|
+
/** @description Index not ready */
|
|
25718
25718
|
409: {
|
|
25719
25719
|
headers: {
|
|
25720
25720
|
[name: string]: unknown;
|
|
@@ -25769,7 +25769,7 @@ export interface operations {
|
|
|
25769
25769
|
};
|
|
25770
25770
|
};
|
|
25771
25771
|
401: components["responses"]["Unauthorized"];
|
|
25772
|
-
/** @description
|
|
25772
|
+
/** @description Index not ready */
|
|
25773
25773
|
404: {
|
|
25774
25774
|
headers: {
|
|
25775
25775
|
[name: string]: unknown;
|