@thinkai/tai-api-contract 2.129.0 → 2.131.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 +229 -2
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +150 -8
- package/package.json +2 -2
- package/src/generated/openapi.ts +229 -2
|
@@ -2364,7 +2364,7 @@ export interface paths {
|
|
|
2364
2364
|
};
|
|
2365
2365
|
/**
|
|
2366
2366
|
* Foundation activity audit log
|
|
2367
|
-
* @description Paginated chronological feed of Agentic Foundation
|
|
2367
|
+
* @description Paginated chronological feed of human-initiated Agentic Foundation fix requests and merged fix PRs for a workspace. Readiness scan progress, scores, and run history remain available on their dedicated readiness surfaces. Never includes secrets or raw tokens.
|
|
2368
2368
|
*/
|
|
2369
2369
|
get: operations["listReadinessAudit"];
|
|
2370
2370
|
put?: never;
|
|
@@ -3381,6 +3381,77 @@ export interface paths {
|
|
|
3381
3381
|
patch?: never;
|
|
3382
3382
|
trace?: never;
|
|
3383
3383
|
};
|
|
3384
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/origin-prompt": {
|
|
3385
|
+
parameters: {
|
|
3386
|
+
query?: never;
|
|
3387
|
+
header?: never;
|
|
3388
|
+
path?: never;
|
|
3389
|
+
cookie?: never;
|
|
3390
|
+
};
|
|
3391
|
+
/** Origin prompt and symbol-index status for one repository index */
|
|
3392
|
+
get: operations["getCodeChatOriginPrompt"];
|
|
3393
|
+
put?: never;
|
|
3394
|
+
post?: never;
|
|
3395
|
+
delete?: never;
|
|
3396
|
+
options?: never;
|
|
3397
|
+
head?: never;
|
|
3398
|
+
patch?: never;
|
|
3399
|
+
trace?: never;
|
|
3400
|
+
};
|
|
3401
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/context-pack": {
|
|
3402
|
+
parameters: {
|
|
3403
|
+
query?: never;
|
|
3404
|
+
header?: never;
|
|
3405
|
+
path?: never;
|
|
3406
|
+
cookie?: never;
|
|
3407
|
+
};
|
|
3408
|
+
/**
|
|
3409
|
+
* Reader context pack for one repository index
|
|
3410
|
+
* @description Reader export. The agent tool remains POST …/code-chat/tools/get_context_pack.
|
|
3411
|
+
*/
|
|
3412
|
+
get: operations["getCodeChatRepoContextPack"];
|
|
3413
|
+
put?: never;
|
|
3414
|
+
post?: never;
|
|
3415
|
+
delete?: never;
|
|
3416
|
+
options?: never;
|
|
3417
|
+
head?: never;
|
|
3418
|
+
patch?: never;
|
|
3419
|
+
trace?: never;
|
|
3420
|
+
};
|
|
3421
|
+
"/workspaces/{workspaceId}/code-chat/symbols/search": {
|
|
3422
|
+
parameters: {
|
|
3423
|
+
query?: never;
|
|
3424
|
+
header?: never;
|
|
3425
|
+
path?: never;
|
|
3426
|
+
cookie?: never;
|
|
3427
|
+
};
|
|
3428
|
+
/** Search stored symbols in the workspace */
|
|
3429
|
+
get: operations["searchCodeChatSymbols"];
|
|
3430
|
+
put?: never;
|
|
3431
|
+
post?: never;
|
|
3432
|
+
delete?: never;
|
|
3433
|
+
options?: never;
|
|
3434
|
+
head?: never;
|
|
3435
|
+
patch?: never;
|
|
3436
|
+
trace?: never;
|
|
3437
|
+
};
|
|
3438
|
+
"/workspaces/{workspaceId}/code-chat/symbols/refs": {
|
|
3439
|
+
parameters: {
|
|
3440
|
+
query?: never;
|
|
3441
|
+
header?: never;
|
|
3442
|
+
path?: never;
|
|
3443
|
+
cookie?: never;
|
|
3444
|
+
};
|
|
3445
|
+
/** List references for a stored symbol */
|
|
3446
|
+
get: operations["listCodeChatSymbolRefs"];
|
|
3447
|
+
put?: never;
|
|
3448
|
+
post?: never;
|
|
3449
|
+
delete?: never;
|
|
3450
|
+
options?: never;
|
|
3451
|
+
head?: never;
|
|
3452
|
+
patch?: never;
|
|
3453
|
+
trace?: never;
|
|
3454
|
+
};
|
|
3384
3455
|
"/workspaces/{workspaceId}/code-chat/analyze/symbols": {
|
|
3385
3456
|
parameters: {
|
|
3386
3457
|
query?: never;
|
|
@@ -7301,7 +7372,7 @@ export interface components {
|
|
|
7301
7372
|
items: components["schemas"]["FixRequestDto"][];
|
|
7302
7373
|
};
|
|
7303
7374
|
/** @enum {string} */
|
|
7304
|
-
ReadinessAuditEventType: "
|
|
7375
|
+
ReadinessAuditEventType: "fix-requested" | "pr-merged";
|
|
7305
7376
|
/** @enum {string} */
|
|
7306
7377
|
ReadinessAuditOutcome: "success" | "partial" | "failed";
|
|
7307
7378
|
ReadinessAuditEntryDto: {
|
|
@@ -9167,6 +9238,16 @@ export interface components {
|
|
|
9167
9238
|
kind: string;
|
|
9168
9239
|
summary?: string;
|
|
9169
9240
|
startLine?: number;
|
|
9241
|
+
label?: string;
|
|
9242
|
+
symbol?: string;
|
|
9243
|
+
role?: string;
|
|
9244
|
+
/** @enum {string} */
|
|
9245
|
+
precision?: "scip" | "structural";
|
|
9246
|
+
language?: string;
|
|
9247
|
+
/** @enum {string} */
|
|
9248
|
+
source?: "scip" | "structural" | "codegraph";
|
|
9249
|
+
/** Format: uuid */
|
|
9250
|
+
indexId?: string;
|
|
9170
9251
|
/** Format: uuid */
|
|
9171
9252
|
repoId?: string;
|
|
9172
9253
|
repoName?: string;
|
|
@@ -9174,6 +9255,23 @@ export interface components {
|
|
|
9174
9255
|
};
|
|
9175
9256
|
CodeChatSymbolHitListDto: {
|
|
9176
9257
|
items: components["schemas"]["CodeChatSymbolHitDto"][];
|
|
9258
|
+
/** @enum {string} */
|
|
9259
|
+
source?: "scip_store" | "codegraph";
|
|
9260
|
+
};
|
|
9261
|
+
CodeChatOriginPromptDto: {
|
|
9262
|
+
originPromptMd?: string | null;
|
|
9263
|
+
scipStatus?: {
|
|
9264
|
+
[key: string]: unknown;
|
|
9265
|
+
} | null;
|
|
9266
|
+
};
|
|
9267
|
+
CodeChatRepoContextPackDto: {
|
|
9268
|
+
markdown: string;
|
|
9269
|
+
tokenEstimate: number;
|
|
9270
|
+
maxTokens: number;
|
|
9271
|
+
sectionsIncluded: string[];
|
|
9272
|
+
pack?: {
|
|
9273
|
+
[key: string]: unknown;
|
|
9274
|
+
};
|
|
9177
9275
|
};
|
|
9178
9276
|
CodeChatReferenceQueryBodyDto: {
|
|
9179
9277
|
symbol: string;
|
|
@@ -10339,6 +10437,8 @@ export type CodeChatWikiOkfExportDto = components['schemas']['CodeChatWikiOkfExp
|
|
|
10339
10437
|
export type CodeChatSymbolQueryBodyDto = components['schemas']['CodeChatSymbolQueryBodyDto'];
|
|
10340
10438
|
export type CodeChatSymbolHitDto = components['schemas']['CodeChatSymbolHitDto'];
|
|
10341
10439
|
export type CodeChatSymbolHitListDto = components['schemas']['CodeChatSymbolHitListDto'];
|
|
10440
|
+
export type CodeChatOriginPromptDto = components['schemas']['CodeChatOriginPromptDto'];
|
|
10441
|
+
export type CodeChatRepoContextPackDto = components['schemas']['CodeChatRepoContextPackDto'];
|
|
10342
10442
|
export type CodeChatReferenceQueryBodyDto = components['schemas']['CodeChatReferenceQueryBodyDto'];
|
|
10343
10443
|
export type CodeChatReferenceHitDto = components['schemas']['CodeChatReferenceHitDto'];
|
|
10344
10444
|
export type CodeChatReferenceHitListDto = components['schemas']['CodeChatReferenceHitListDto'];
|
|
@@ -19209,6 +19309,133 @@ export interface operations {
|
|
|
19209
19309
|
};
|
|
19210
19310
|
};
|
|
19211
19311
|
};
|
|
19312
|
+
getCodeChatOriginPrompt: {
|
|
19313
|
+
parameters: {
|
|
19314
|
+
query?: never;
|
|
19315
|
+
header?: never;
|
|
19316
|
+
path: {
|
|
19317
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19318
|
+
indexId: string;
|
|
19319
|
+
};
|
|
19320
|
+
cookie?: never;
|
|
19321
|
+
};
|
|
19322
|
+
requestBody?: never;
|
|
19323
|
+
responses: {
|
|
19324
|
+
/** @description Stored origin prompt and symbol-index status */
|
|
19325
|
+
200: {
|
|
19326
|
+
headers: {
|
|
19327
|
+
[name: string]: unknown;
|
|
19328
|
+
};
|
|
19329
|
+
content: {
|
|
19330
|
+
"application/json": components["schemas"]["CodeChatOriginPromptDto"];
|
|
19331
|
+
};
|
|
19332
|
+
};
|
|
19333
|
+
401: components["responses"]["Unauthorized"];
|
|
19334
|
+
};
|
|
19335
|
+
};
|
|
19336
|
+
getCodeChatRepoContextPack: {
|
|
19337
|
+
parameters: {
|
|
19338
|
+
query?: never;
|
|
19339
|
+
header?: never;
|
|
19340
|
+
path: {
|
|
19341
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19342
|
+
indexId: string;
|
|
19343
|
+
};
|
|
19344
|
+
cookie?: never;
|
|
19345
|
+
};
|
|
19346
|
+
requestBody?: never;
|
|
19347
|
+
responses: {
|
|
19348
|
+
/** @description Context pack markdown and section list */
|
|
19349
|
+
200: {
|
|
19350
|
+
headers: {
|
|
19351
|
+
[name: string]: unknown;
|
|
19352
|
+
};
|
|
19353
|
+
content: {
|
|
19354
|
+
"application/json": components["schemas"]["CodeChatRepoContextPackDto"];
|
|
19355
|
+
};
|
|
19356
|
+
};
|
|
19357
|
+
401: components["responses"]["Unauthorized"];
|
|
19358
|
+
/** @description Index not ready */
|
|
19359
|
+
404: {
|
|
19360
|
+
headers: {
|
|
19361
|
+
[name: string]: unknown;
|
|
19362
|
+
};
|
|
19363
|
+
content: {
|
|
19364
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19365
|
+
};
|
|
19366
|
+
};
|
|
19367
|
+
};
|
|
19368
|
+
};
|
|
19369
|
+
searchCodeChatSymbols: {
|
|
19370
|
+
parameters: {
|
|
19371
|
+
query: {
|
|
19372
|
+
q: string;
|
|
19373
|
+
repoId?: string;
|
|
19374
|
+
};
|
|
19375
|
+
header?: never;
|
|
19376
|
+
path: {
|
|
19377
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19378
|
+
};
|
|
19379
|
+
cookie?: never;
|
|
19380
|
+
};
|
|
19381
|
+
requestBody?: never;
|
|
19382
|
+
responses: {
|
|
19383
|
+
/** @description Symbol hits */
|
|
19384
|
+
200: {
|
|
19385
|
+
headers: {
|
|
19386
|
+
[name: string]: unknown;
|
|
19387
|
+
};
|
|
19388
|
+
content: {
|
|
19389
|
+
"application/json": components["schemas"]["CodeChatSymbolHitListDto"];
|
|
19390
|
+
};
|
|
19391
|
+
};
|
|
19392
|
+
/** @description Missing query */
|
|
19393
|
+
400: {
|
|
19394
|
+
headers: {
|
|
19395
|
+
[name: string]: unknown;
|
|
19396
|
+
};
|
|
19397
|
+
content: {
|
|
19398
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19399
|
+
};
|
|
19400
|
+
};
|
|
19401
|
+
401: components["responses"]["Unauthorized"];
|
|
19402
|
+
};
|
|
19403
|
+
};
|
|
19404
|
+
listCodeChatSymbolRefs: {
|
|
19405
|
+
parameters: {
|
|
19406
|
+
query: {
|
|
19407
|
+
symbol: string;
|
|
19408
|
+
repoId?: string;
|
|
19409
|
+
};
|
|
19410
|
+
header?: never;
|
|
19411
|
+
path: {
|
|
19412
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19413
|
+
};
|
|
19414
|
+
cookie?: never;
|
|
19415
|
+
};
|
|
19416
|
+
requestBody?: never;
|
|
19417
|
+
responses: {
|
|
19418
|
+
/** @description Reference hits */
|
|
19419
|
+
200: {
|
|
19420
|
+
headers: {
|
|
19421
|
+
[name: string]: unknown;
|
|
19422
|
+
};
|
|
19423
|
+
content: {
|
|
19424
|
+
"application/json": components["schemas"]["CodeChatSymbolHitListDto"];
|
|
19425
|
+
};
|
|
19426
|
+
};
|
|
19427
|
+
/** @description Missing symbol */
|
|
19428
|
+
400: {
|
|
19429
|
+
headers: {
|
|
19430
|
+
[name: string]: unknown;
|
|
19431
|
+
};
|
|
19432
|
+
content: {
|
|
19433
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19434
|
+
};
|
|
19435
|
+
};
|
|
19436
|
+
401: components["responses"]["Unauthorized"];
|
|
19437
|
+
};
|
|
19438
|
+
};
|
|
19212
19439
|
analyzeCodeChatSymbols: {
|
|
19213
19440
|
parameters: {
|
|
19214
19441
|
query?: never;
|