@thinkai/tai-api-contract 2.196.1 → 2.197.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.197.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}/...`.
|
|
@@ -27507,12 +27507,47 @@ components:
|
|
|
27507
27507
|
Active knowledge job for this repo when status is queued/running — phase, tracks,
|
|
27508
27508
|
and token/cost rollups for SPA transparency (Wave 1).
|
|
27509
27509
|
indexedAt: { type: string, format: date-time, nullable: true }
|
|
27510
|
+
lastCheckedAt:
|
|
27511
|
+
type: string
|
|
27512
|
+
format: date-time
|
|
27513
|
+
nullable: true
|
|
27514
|
+
description: >
|
|
27515
|
+
When cadence last compared the remote tip SHA to commitSha without rebuilding
|
|
27516
|
+
the graph (change-block skip). Distinct from indexedAt.
|
|
27517
|
+
lastChange:
|
|
27518
|
+
allOf:
|
|
27519
|
+
- $ref: "#/components/schemas/CodeChatIndexLastChangeDto"
|
|
27520
|
+
nullable: true
|
|
27521
|
+
description: >
|
|
27522
|
+
Paths/counts changed between the prior and current commitSha on the last rebuild.
|
|
27510
27523
|
createdAt: { type: string, format: date-time }
|
|
27511
27524
|
updatedAt: { type: string, format: date-time }
|
|
27512
27525
|
hasCodeExcerpts:
|
|
27513
27526
|
type: boolean
|
|
27514
27527
|
description: True when the indexed graph stores durable code excerpts (required for useful chat answers).
|
|
27515
27528
|
|
|
27529
|
+
CodeChatIndexLastChangeDto:
|
|
27530
|
+
type: object
|
|
27531
|
+
required: [priorCommitSha, commitSha, fileCount, files, capturedAt]
|
|
27532
|
+
properties:
|
|
27533
|
+
priorCommitSha: { type: string }
|
|
27534
|
+
commitSha: { type: string }
|
|
27535
|
+
fileCount:
|
|
27536
|
+
type: integer
|
|
27537
|
+
minimum: 0
|
|
27538
|
+
description: Total files changed (may exceed files.length when capped).
|
|
27539
|
+
files:
|
|
27540
|
+
type: array
|
|
27541
|
+
maxItems: 50
|
|
27542
|
+
items:
|
|
27543
|
+
type: object
|
|
27544
|
+
required: [path, status]
|
|
27545
|
+
properties:
|
|
27546
|
+
path: { type: string }
|
|
27547
|
+
status:
|
|
27548
|
+
{ type: string, description: "GitHub compare status (added, modified, removed, …)" }
|
|
27549
|
+
capturedAt: { type: string, format: date-time }
|
|
27550
|
+
|
|
27516
27551
|
CodeKnowledgeJobDto:
|
|
27517
27552
|
type: object
|
|
27518
27553
|
required:
|
|
@@ -27627,12 +27662,22 @@ components:
|
|
|
27627
27662
|
repoName: { type: string }
|
|
27628
27663
|
code:
|
|
27629
27664
|
type: string
|
|
27630
|
-
enum:
|
|
27665
|
+
enum:
|
|
27666
|
+
[
|
|
27667
|
+
repo_ineligible,
|
|
27668
|
+
indexed_recently,
|
|
27669
|
+
index_in_progress,
|
|
27670
|
+
ecg_source_off,
|
|
27671
|
+
index_failed,
|
|
27672
|
+
content_unchanged,
|
|
27673
|
+
]
|
|
27631
27674
|
description: >
|
|
27632
27675
|
Stable machine-readable skip reason. `ecg_source_off` covers a source turned off
|
|
27633
27676
|
for Engineering Context Graph and non-GitHub providers that stay listed but are
|
|
27634
27677
|
never indexed. `index_failed` means indexing already failed after three attempts
|
|
27635
|
-
and stays failed until an admin force sync.
|
|
27678
|
+
and stays failed until an admin force sync. `content_unchanged` means the remote
|
|
27679
|
+
tip SHA matched the stored index commit during a daily/weekly cadence tick
|
|
27680
|
+
(check-only; no clone/Graphify).
|
|
27636
27681
|
|
|
27637
27682
|
CodeChatThreadDto:
|
|
27638
27683
|
type: object
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -11428,6 +11428,13 @@ export interface components {
|
|
|
11428
11428
|
knowledgeJob?: components["schemas"]["CodeKnowledgeJobDto"] | null;
|
|
11429
11429
|
/** Format: date-time */
|
|
11430
11430
|
indexedAt?: string | null;
|
|
11431
|
+
/**
|
|
11432
|
+
* Format: date-time
|
|
11433
|
+
* @description When cadence last compared the remote tip SHA to commitSha without rebuilding the graph (change-block skip). Distinct from indexedAt.
|
|
11434
|
+
*/
|
|
11435
|
+
lastCheckedAt?: string | null;
|
|
11436
|
+
/** @description Paths/counts changed between the prior and current commitSha on the last rebuild. */
|
|
11437
|
+
lastChange?: components["schemas"]["CodeChatIndexLastChangeDto"] | null;
|
|
11431
11438
|
/** Format: date-time */
|
|
11432
11439
|
createdAt: string;
|
|
11433
11440
|
/** Format: date-time */
|
|
@@ -11435,6 +11442,19 @@ export interface components {
|
|
|
11435
11442
|
/** @description True when the indexed graph stores durable code excerpts (required for useful chat answers). */
|
|
11436
11443
|
hasCodeExcerpts?: boolean;
|
|
11437
11444
|
};
|
|
11445
|
+
CodeChatIndexLastChangeDto: {
|
|
11446
|
+
priorCommitSha: string;
|
|
11447
|
+
commitSha: string;
|
|
11448
|
+
/** @description Total files changed (may exceed files.length when capped). */
|
|
11449
|
+
fileCount: number;
|
|
11450
|
+
files: {
|
|
11451
|
+
path: string;
|
|
11452
|
+
/** @description GitHub compare status (added, modified, removed, …) */
|
|
11453
|
+
status: string;
|
|
11454
|
+
}[];
|
|
11455
|
+
/** Format: date-time */
|
|
11456
|
+
capturedAt: string;
|
|
11457
|
+
};
|
|
11438
11458
|
CodeKnowledgeJobDto: {
|
|
11439
11459
|
/** Format: uuid */
|
|
11440
11460
|
id: string;
|
|
@@ -11508,10 +11528,10 @@ export interface components {
|
|
|
11508
11528
|
repoId: string;
|
|
11509
11529
|
repoName: string;
|
|
11510
11530
|
/**
|
|
11511
|
-
* @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.
|
|
11531
|
+
* @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. `content_unchanged` means the remote tip SHA matched the stored index commit during a daily/weekly cadence tick (check-only; no clone/Graphify).
|
|
11512
11532
|
* @enum {string}
|
|
11513
11533
|
*/
|
|
11514
|
-
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off" | "index_failed";
|
|
11534
|
+
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off" | "index_failed" | "content_unchanged";
|
|
11515
11535
|
};
|
|
11516
11536
|
CodeChatThreadDto: {
|
|
11517
11537
|
/** Format: uuid */
|
|
@@ -13631,6 +13651,7 @@ export type InsightsRecommendationsPageBundleResponse = components['schemas']['I
|
|
|
13631
13651
|
export type CodeChatIndexStatus = components['schemas']['CodeChatIndexStatus'];
|
|
13632
13652
|
export type CodeChatIndexer = components['schemas']['CodeChatIndexer'];
|
|
13633
13653
|
export type CodeChatIndexDto = components['schemas']['CodeChatIndexDto'];
|
|
13654
|
+
export type CodeChatIndexLastChangeDto = components['schemas']['CodeChatIndexLastChangeDto'];
|
|
13634
13655
|
export type CodeKnowledgeJobDto = components['schemas']['CodeKnowledgeJobDto'];
|
|
13635
13656
|
export type CodeKnowledgeTrackStatus = components['schemas']['CodeKnowledgeTrackStatus'];
|
|
13636
13657
|
export type CodeChatIndexListDto = components['schemas']['CodeChatIndexListDto'];
|