@thinkai/tai-api-contract 2.146.0 → 2.147.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/dist/generated/openapi.d.ts +10 -10
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +15 -14
- package/package.json +1 -1
- package/src/generated/openapi.ts +10 -10
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.147.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}/...`.
|
|
@@ -7865,7 +7865,7 @@ paths:
|
|
|
7865
7865
|
schema:
|
|
7866
7866
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
7867
7867
|
example:
|
|
7868
|
-
error: No ready
|
|
7868
|
+
error: No ready code map is available to write the workspace agent file.
|
|
7869
7869
|
code: agent_md_not_ready
|
|
7870
7870
|
|
|
7871
7871
|
/workspaces/{workspaceId}/code-intelligence/token-usage/summary:
|
|
@@ -8196,7 +8196,7 @@ paths:
|
|
|
8196
8196
|
schema:
|
|
8197
8197
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
8198
8198
|
example:
|
|
8199
|
-
error: Repository exceeds the workspace eligibility limits and cannot be
|
|
8199
|
+
error: Repository exceeds the workspace eligibility limits and cannot be scanned
|
|
8200
8200
|
code: repo_ineligible
|
|
8201
8201
|
|
|
8202
8202
|
/workspaces/{workspaceId}/code-chat/indexes/sync:
|
|
@@ -8356,9 +8356,9 @@ paths:
|
|
|
8356
8356
|
examples:
|
|
8357
8357
|
chat_not_ready:
|
|
8358
8358
|
value:
|
|
8359
|
-
error:
|
|
8359
|
+
error: Scanning repositories (0/2).
|
|
8360
8360
|
code: chat_not_ready
|
|
8361
|
-
progressMessage:
|
|
8361
|
+
progressMessage: Scanning repositories (0/2).
|
|
8362
8362
|
"422":
|
|
8363
8363
|
description: Execution key required
|
|
8364
8364
|
content:
|
|
@@ -8594,7 +8594,7 @@ paths:
|
|
|
8594
8594
|
"403":
|
|
8595
8595
|
description: Code Intelligence is disabled for this workspace
|
|
8596
8596
|
"409":
|
|
8597
|
-
description: No ready
|
|
8597
|
+
description: No ready code map in scope
|
|
8598
8598
|
|
|
8599
8599
|
/workspaces/{workspaceId}/knowledge-pages/generate/status:
|
|
8600
8600
|
get:
|
|
@@ -8644,7 +8644,7 @@ paths:
|
|
|
8644
8644
|
"403":
|
|
8645
8645
|
description: Code Intelligence is disabled for this workspace
|
|
8646
8646
|
"409":
|
|
8647
|
-
description: No ready
|
|
8647
|
+
description: No ready code map in scope
|
|
8648
8648
|
|
|
8649
8649
|
/workspaces/{workspaceId}/knowledge-graph:
|
|
8650
8650
|
get:
|
|
@@ -8824,7 +8824,7 @@ paths:
|
|
|
8824
8824
|
"401":
|
|
8825
8825
|
$ref: "#/components/responses/Unauthorized"
|
|
8826
8826
|
"404":
|
|
8827
|
-
description:
|
|
8827
|
+
description: Code map not found
|
|
8828
8828
|
"409":
|
|
8829
8829
|
description: Wiki has no pages yet
|
|
8830
8830
|
|
|
@@ -8878,7 +8878,7 @@ paths:
|
|
|
8878
8878
|
"401":
|
|
8879
8879
|
$ref: "#/components/responses/Unauthorized"
|
|
8880
8880
|
"409":
|
|
8881
|
-
description:
|
|
8881
|
+
description: Code map not ready
|
|
8882
8882
|
|
|
8883
8883
|
/workspaces/{workspaceId}/code-chat/indexes/{indexId}/origin-prompt:
|
|
8884
8884
|
get:
|
|
@@ -8925,7 +8925,7 @@ paths:
|
|
|
8925
8925
|
"401":
|
|
8926
8926
|
$ref: "#/components/responses/Unauthorized"
|
|
8927
8927
|
"404":
|
|
8928
|
-
description:
|
|
8928
|
+
description: Code map not ready
|
|
8929
8929
|
content:
|
|
8930
8930
|
application/json:
|
|
8931
8931
|
schema:
|
|
@@ -21195,8 +21195,8 @@ components:
|
|
|
21195
21195
|
type: boolean
|
|
21196
21196
|
default: false
|
|
21197
21197
|
description: >
|
|
21198
|
-
When true, re-enqueue even if the repository is already indexing
|
|
21199
|
-
indexed within the last 10 minutes.
|
|
21198
|
+
When true, re-enqueue even if the repository is already indexing, was
|
|
21199
|
+
indexed within the last 10 minutes, or failed after three indexing attempts.
|
|
21200
21200
|
indexOnly:
|
|
21201
21201
|
type: boolean
|
|
21202
21202
|
default: false
|
|
@@ -21230,11 +21230,12 @@ components:
|
|
|
21230
21230
|
repoName: { type: string }
|
|
21231
21231
|
code:
|
|
21232
21232
|
type: string
|
|
21233
|
-
enum: [repo_ineligible, indexed_recently, index_in_progress, ecg_source_off]
|
|
21233
|
+
enum: [repo_ineligible, indexed_recently, index_in_progress, ecg_source_off, index_failed]
|
|
21234
21234
|
description: >
|
|
21235
21235
|
Stable machine-readable skip reason. `ecg_source_off` covers a source turned off
|
|
21236
21236
|
for Engineering Context Graph and non-GitHub providers that stay listed but are
|
|
21237
|
-
never indexed.
|
|
21237
|
+
never indexed. `index_failed` means indexing already failed after three attempts
|
|
21238
|
+
and stays failed until an admin force sync.
|
|
21238
21239
|
|
|
21239
21240
|
CodeChatThreadDto:
|
|
21240
21241
|
type: object
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -9099,7 +9099,7 @@ export interface components {
|
|
|
9099
9099
|
/** @description Optional subset; omit or empty to enqueue all readiness GitHub repos. */
|
|
9100
9100
|
repoIds?: string[];
|
|
9101
9101
|
/**
|
|
9102
|
-
* @description When true, re-enqueue even if the repository is already indexing
|
|
9102
|
+
* @description When true, re-enqueue even if the repository is already indexing, was indexed within the last 10 minutes, or failed after three indexing attempts.
|
|
9103
9103
|
* @default false
|
|
9104
9104
|
*/
|
|
9105
9105
|
force: boolean;
|
|
@@ -9120,10 +9120,10 @@ export interface components {
|
|
|
9120
9120
|
repoId: string;
|
|
9121
9121
|
repoName: string;
|
|
9122
9122
|
/**
|
|
9123
|
-
* @description Stable machine-readable skip reason. `ecg_source_off` covers a source turned off for Engineering Context Graph and non-GitHub providers that stay listed but are never indexed.
|
|
9123
|
+
* @description Stable machine-readable skip reason. `ecg_source_off` covers a source turned off for Engineering Context Graph and non-GitHub providers that stay listed but are never indexed. `index_failed` means indexing already failed after three attempts and stays failed until an admin force sync.
|
|
9124
9124
|
* @enum {string}
|
|
9125
9125
|
*/
|
|
9126
|
-
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off";
|
|
9126
|
+
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off" | "index_failed";
|
|
9127
9127
|
};
|
|
9128
9128
|
CodeChatThreadDto: {
|
|
9129
9129
|
/** Format: uuid */
|
|
@@ -18918,7 +18918,7 @@ export interface operations {
|
|
|
18918
18918
|
content: {
|
|
18919
18919
|
/**
|
|
18920
18920
|
* @example {
|
|
18921
|
-
* "error": "No ready
|
|
18921
|
+
* "error": "No ready code map is available to write the workspace agent file.",
|
|
18922
18922
|
* "code": "agent_md_not_ready"
|
|
18923
18923
|
* }
|
|
18924
18924
|
*/
|
|
@@ -19292,7 +19292,7 @@ export interface operations {
|
|
|
19292
19292
|
content: {
|
|
19293
19293
|
/**
|
|
19294
19294
|
* @example {
|
|
19295
|
-
* "error": "Repository exceeds the workspace eligibility limits and cannot be
|
|
19295
|
+
* "error": "Repository exceeds the workspace eligibility limits and cannot be scanned",
|
|
19296
19296
|
* "code": "repo_ineligible"
|
|
19297
19297
|
* }
|
|
19298
19298
|
*/
|
|
@@ -19783,7 +19783,7 @@ export interface operations {
|
|
|
19783
19783
|
};
|
|
19784
19784
|
content?: never;
|
|
19785
19785
|
};
|
|
19786
|
-
/** @description No ready
|
|
19786
|
+
/** @description No ready code map in scope */
|
|
19787
19787
|
409: {
|
|
19788
19788
|
headers: {
|
|
19789
19789
|
[name: string]: unknown;
|
|
@@ -19854,7 +19854,7 @@ export interface operations {
|
|
|
19854
19854
|
};
|
|
19855
19855
|
content?: never;
|
|
19856
19856
|
};
|
|
19857
|
-
/** @description No ready
|
|
19857
|
+
/** @description No ready code map in scope */
|
|
19858
19858
|
409: {
|
|
19859
19859
|
headers: {
|
|
19860
19860
|
[name: string]: unknown;
|
|
@@ -20090,7 +20090,7 @@ export interface operations {
|
|
|
20090
20090
|
content?: never;
|
|
20091
20091
|
};
|
|
20092
20092
|
401: components["responses"]["Unauthorized"];
|
|
20093
|
-
/** @description
|
|
20093
|
+
/** @description Code map not found */
|
|
20094
20094
|
404: {
|
|
20095
20095
|
headers: {
|
|
20096
20096
|
[name: string]: unknown;
|
|
@@ -20160,7 +20160,7 @@ export interface operations {
|
|
|
20160
20160
|
};
|
|
20161
20161
|
};
|
|
20162
20162
|
401: components["responses"]["Unauthorized"];
|
|
20163
|
-
/** @description
|
|
20163
|
+
/** @description Code map not ready */
|
|
20164
20164
|
409: {
|
|
20165
20165
|
headers: {
|
|
20166
20166
|
[name: string]: unknown;
|
|
@@ -20215,7 +20215,7 @@ export interface operations {
|
|
|
20215
20215
|
};
|
|
20216
20216
|
};
|
|
20217
20217
|
401: components["responses"]["Unauthorized"];
|
|
20218
|
-
/** @description
|
|
20218
|
+
/** @description Code map not ready */
|
|
20219
20219
|
404: {
|
|
20220
20220
|
headers: {
|
|
20221
20221
|
[name: string]: unknown;
|