@thinkai/tai-api-contract 2.145.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 +63 -11
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +63 -14
- package/package.json +1 -1
- package/src/generated/openapi.ts +63 -11
|
@@ -3232,7 +3232,8 @@ export interface paths {
|
|
|
3232
3232
|
delete: operations["deleteCodeChatThread"];
|
|
3233
3233
|
options?: never;
|
|
3234
3234
|
head?: never;
|
|
3235
|
-
|
|
3235
|
+
/** Rename a code chat thread */
|
|
3236
|
+
patch: operations["patchCodeChatThread"];
|
|
3236
3237
|
trace?: never;
|
|
3237
3238
|
};
|
|
3238
3239
|
"/workspaces/{workspaceId}/code-chat/threads/{threadId}/messages": {
|
|
@@ -9097,7 +9098,7 @@ export interface components {
|
|
|
9097
9098
|
/** @description Optional subset; omit or empty to enqueue all readiness GitHub repos. */
|
|
9098
9099
|
repoIds?: string[];
|
|
9099
9100
|
/**
|
|
9100
|
-
* @description When true, re-enqueue even if the repository is already indexing
|
|
9101
|
+
* @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.
|
|
9101
9102
|
* @default false
|
|
9102
9103
|
*/
|
|
9103
9104
|
force: boolean;
|
|
@@ -9118,10 +9119,10 @@ export interface components {
|
|
|
9118
9119
|
repoId: string;
|
|
9119
9120
|
repoName: string;
|
|
9120
9121
|
/**
|
|
9121
|
-
* @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.
|
|
9122
|
+
* @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.
|
|
9122
9123
|
* @enum {string}
|
|
9123
9124
|
*/
|
|
9124
|
-
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off";
|
|
9125
|
+
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off" | "index_failed";
|
|
9125
9126
|
};
|
|
9126
9127
|
CodeChatThreadDto: {
|
|
9127
9128
|
/** Format: uuid */
|
|
@@ -9144,6 +9145,10 @@ export interface components {
|
|
|
9144
9145
|
/** Format: date-time */
|
|
9145
9146
|
updatedAt: string;
|
|
9146
9147
|
};
|
|
9148
|
+
CodeChatThreadPatchBodyDto: {
|
|
9149
|
+
/** @description Display title for the conversation. */
|
|
9150
|
+
title: string;
|
|
9151
|
+
};
|
|
9147
9152
|
CodeChatThreadListDto: {
|
|
9148
9153
|
items: components["schemas"]["CodeChatThreadDto"][];
|
|
9149
9154
|
};
|
|
@@ -10825,6 +10830,7 @@ export type CodeChatSyncIndexesBodyDto = components['schemas']['CodeChatSyncInde
|
|
|
10825
10830
|
export type CodeChatSyncIndexesResultDto = components['schemas']['CodeChatSyncIndexesResultDto'];
|
|
10826
10831
|
export type CodeChatSkippedRepoDto = components['schemas']['CodeChatSkippedRepoDto'];
|
|
10827
10832
|
export type CodeChatThreadDto = components['schemas']['CodeChatThreadDto'];
|
|
10833
|
+
export type CodeChatThreadPatchBodyDto = components['schemas']['CodeChatThreadPatchBodyDto'];
|
|
10828
10834
|
export type CodeChatThreadListDto = components['schemas']['CodeChatThreadListDto'];
|
|
10829
10835
|
export type CodeChatCreateThreadBodyDto = components['schemas']['CodeChatCreateThreadBodyDto'];
|
|
10830
10836
|
export type CodeChatCitationDto = components['schemas']['CodeChatCitationDto'];
|
|
@@ -18911,7 +18917,7 @@ export interface operations {
|
|
|
18911
18917
|
content: {
|
|
18912
18918
|
/**
|
|
18913
18919
|
* @example {
|
|
18914
|
-
* "error": "No ready
|
|
18920
|
+
* "error": "No ready code map is available to write the workspace agent file.",
|
|
18915
18921
|
* "code": "agent_md_not_ready"
|
|
18916
18922
|
* }
|
|
18917
18923
|
*/
|
|
@@ -19285,7 +19291,7 @@ export interface operations {
|
|
|
19285
19291
|
content: {
|
|
19286
19292
|
/**
|
|
19287
19293
|
* @example {
|
|
19288
|
-
* "error": "Repository exceeds the workspace eligibility limits and cannot be
|
|
19294
|
+
* "error": "Repository exceeds the workspace eligibility limits and cannot be scanned",
|
|
19289
19295
|
* "code": "repo_ineligible"
|
|
19290
19296
|
* }
|
|
19291
19297
|
*/
|
|
@@ -19549,6 +19555,52 @@ export interface operations {
|
|
|
19549
19555
|
};
|
|
19550
19556
|
};
|
|
19551
19557
|
};
|
|
19558
|
+
patchCodeChatThread: {
|
|
19559
|
+
parameters: {
|
|
19560
|
+
query?: never;
|
|
19561
|
+
header?: never;
|
|
19562
|
+
path: {
|
|
19563
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19564
|
+
threadId: string;
|
|
19565
|
+
};
|
|
19566
|
+
cookie?: never;
|
|
19567
|
+
};
|
|
19568
|
+
requestBody: {
|
|
19569
|
+
content: {
|
|
19570
|
+
"application/json": components["schemas"]["CodeChatThreadPatchBodyDto"];
|
|
19571
|
+
};
|
|
19572
|
+
};
|
|
19573
|
+
responses: {
|
|
19574
|
+
/** @description Updated thread */
|
|
19575
|
+
200: {
|
|
19576
|
+
headers: {
|
|
19577
|
+
[name: string]: unknown;
|
|
19578
|
+
};
|
|
19579
|
+
content: {
|
|
19580
|
+
"application/json": components["schemas"]["CodeChatThreadDto"];
|
|
19581
|
+
};
|
|
19582
|
+
};
|
|
19583
|
+
/** @description title is required (`invalid_input`) */
|
|
19584
|
+
400: {
|
|
19585
|
+
headers: {
|
|
19586
|
+
[name: string]: unknown;
|
|
19587
|
+
};
|
|
19588
|
+
content: {
|
|
19589
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19590
|
+
};
|
|
19591
|
+
};
|
|
19592
|
+
401: components["responses"]["Unauthorized"];
|
|
19593
|
+
/** @description Thread not found (`thread_not_found`) */
|
|
19594
|
+
404: {
|
|
19595
|
+
headers: {
|
|
19596
|
+
[name: string]: unknown;
|
|
19597
|
+
};
|
|
19598
|
+
content: {
|
|
19599
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19600
|
+
};
|
|
19601
|
+
};
|
|
19602
|
+
};
|
|
19603
|
+
};
|
|
19552
19604
|
postCodeChatMessage: {
|
|
19553
19605
|
parameters: {
|
|
19554
19606
|
query?: never;
|
|
@@ -19730,7 +19782,7 @@ export interface operations {
|
|
|
19730
19782
|
};
|
|
19731
19783
|
content?: never;
|
|
19732
19784
|
};
|
|
19733
|
-
/** @description No ready
|
|
19785
|
+
/** @description No ready code map in scope */
|
|
19734
19786
|
409: {
|
|
19735
19787
|
headers: {
|
|
19736
19788
|
[name: string]: unknown;
|
|
@@ -19801,7 +19853,7 @@ export interface operations {
|
|
|
19801
19853
|
};
|
|
19802
19854
|
content?: never;
|
|
19803
19855
|
};
|
|
19804
|
-
/** @description No ready
|
|
19856
|
+
/** @description No ready code map in scope */
|
|
19805
19857
|
409: {
|
|
19806
19858
|
headers: {
|
|
19807
19859
|
[name: string]: unknown;
|
|
@@ -20037,7 +20089,7 @@ export interface operations {
|
|
|
20037
20089
|
content?: never;
|
|
20038
20090
|
};
|
|
20039
20091
|
401: components["responses"]["Unauthorized"];
|
|
20040
|
-
/** @description
|
|
20092
|
+
/** @description Code map not found */
|
|
20041
20093
|
404: {
|
|
20042
20094
|
headers: {
|
|
20043
20095
|
[name: string]: unknown;
|
|
@@ -20107,7 +20159,7 @@ export interface operations {
|
|
|
20107
20159
|
};
|
|
20108
20160
|
};
|
|
20109
20161
|
401: components["responses"]["Unauthorized"];
|
|
20110
|
-
/** @description
|
|
20162
|
+
/** @description Code map not ready */
|
|
20111
20163
|
409: {
|
|
20112
20164
|
headers: {
|
|
20113
20165
|
[name: string]: unknown;
|
|
@@ -20162,7 +20214,7 @@ export interface operations {
|
|
|
20162
20214
|
};
|
|
20163
20215
|
};
|
|
20164
20216
|
401: components["responses"]["Unauthorized"];
|
|
20165
|
-
/** @description
|
|
20217
|
+
/** @description Code map not ready */
|
|
20166
20218
|
404: {
|
|
20167
20219
|
headers: {
|
|
20168
20220
|
[name: string]: unknown;
|