@thinkai/tai-api-contract 2.210.0 → 2.210.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.
|
@@ -12469,7 +12469,7 @@ export interface components {
|
|
|
12469
12469
|
workspaceContext?: components["schemas"]["WorkspaceContextInsightsDto"];
|
|
12470
12470
|
};
|
|
12471
12471
|
CodeIntelligenceUsageDto: {
|
|
12472
|
-
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb,
|
|
12472
|
+
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb, wiki, …). Older rows may still say wiki_enrich or wiki_json_outline; clients collapse those into Wiki. */
|
|
12473
12473
|
operation: string;
|
|
12474
12474
|
provider: string;
|
|
12475
12475
|
model?: string | null;
|
|
@@ -12494,6 +12494,21 @@ export interface components {
|
|
|
12494
12494
|
estimatedCostUsd: number;
|
|
12495
12495
|
invocationCount: number;
|
|
12496
12496
|
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
12497
|
+
/** @description Knowledge jobs (wiki scans and similar) whose tokens make up this repository total. Newest first. Absent on older servers. */
|
|
12498
|
+
runs?: components["schemas"]["CodeIntelligenceTokenUsageRunDto"][];
|
|
12499
|
+
};
|
|
12500
|
+
CodeIntelligenceTokenUsageRunDto: {
|
|
12501
|
+
/** Format: uuid */
|
|
12502
|
+
jobId?: string | null;
|
|
12503
|
+
/** Format: date-time */
|
|
12504
|
+
startedAt?: string | null;
|
|
12505
|
+
/** @description Knowledge job status (queued, running, completed, failed). */
|
|
12506
|
+
status?: string | null;
|
|
12507
|
+
operation: string;
|
|
12508
|
+
inputTokens: number;
|
|
12509
|
+
outputTokens: number;
|
|
12510
|
+
estimatedCostUsd: number;
|
|
12511
|
+
invocationCount: number;
|
|
12497
12512
|
};
|
|
12498
12513
|
CodeIntelligenceTokenUsageSummaryDto: {
|
|
12499
12514
|
days: number;
|
|
@@ -12506,7 +12521,7 @@ export interface components {
|
|
|
12506
12521
|
/** @description Rate basis used for the derived cost, for display in tooltips. */
|
|
12507
12522
|
costBasis?: string | null;
|
|
12508
12523
|
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
12509
|
-
/** @description Per-repository split (wiki generation, conversations, outline).
|
|
12524
|
+
/** @description Per-repository split (wiki generation, conversations, outline). Calls that were not about a single repository use an empty repoId and a null repoName. */
|
|
12510
12525
|
byRepo: components["schemas"]["CodeIntelligenceTokenUsageByRepoDto"][];
|
|
12511
12526
|
};
|
|
12512
12527
|
CodeChatWikiPageListDto: {
|
|
@@ -14194,6 +14209,7 @@ export type WorkspaceKnowledgePackDto = components['schemas']['WorkspaceKnowledg
|
|
|
14194
14209
|
export type CodeIntelligenceUsageDto = components['schemas']['CodeIntelligenceUsageDto'];
|
|
14195
14210
|
export type CodeIntelligenceTokenUsageByOperationDto = components['schemas']['CodeIntelligenceTokenUsageByOperationDto'];
|
|
14196
14211
|
export type CodeIntelligenceTokenUsageByRepoDto = components['schemas']['CodeIntelligenceTokenUsageByRepoDto'];
|
|
14212
|
+
export type CodeIntelligenceTokenUsageRunDto = components['schemas']['CodeIntelligenceTokenUsageRunDto'];
|
|
14197
14213
|
export type CodeIntelligenceTokenUsageSummaryDto = components['schemas']['CodeIntelligenceTokenUsageSummaryDto'];
|
|
14198
14214
|
export type CodeChatWikiPageListDto = components['schemas']['CodeChatWikiPageListDto'];
|
|
14199
14215
|
export type CodeChatWikiOkfExportDto = components['schemas']['CodeChatWikiOkfExportDto'];
|