@thinkai/tai-api-contract 2.177.0 → 2.180.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.
|
@@ -3431,6 +3431,26 @@ export interface paths {
|
|
|
3431
3431
|
patch?: never;
|
|
3432
3432
|
trace?: never;
|
|
3433
3433
|
};
|
|
3434
|
+
"/workspaces/{workspaceId}/knowledge-pages/{slug}": {
|
|
3435
|
+
parameters: {
|
|
3436
|
+
query?: never;
|
|
3437
|
+
header?: never;
|
|
3438
|
+
path?: never;
|
|
3439
|
+
cookie?: never;
|
|
3440
|
+
};
|
|
3441
|
+
get?: never;
|
|
3442
|
+
put?: never;
|
|
3443
|
+
post?: never;
|
|
3444
|
+
/**
|
|
3445
|
+
* Delete a workspace knowledge page by slug
|
|
3446
|
+
* @description Removes one page (typically a `prd-*` / `rfc-*` / `adr-*` draft). Does not regenerate the rest of the knowledge base.
|
|
3447
|
+
*/
|
|
3448
|
+
delete: operations["deleteWorkspaceKnowledgePage"];
|
|
3449
|
+
options?: never;
|
|
3450
|
+
head?: never;
|
|
3451
|
+
patch?: never;
|
|
3452
|
+
trace?: never;
|
|
3453
|
+
};
|
|
3434
3454
|
"/workspaces/{workspaceId}/knowledge-pages/generate": {
|
|
3435
3455
|
parameters: {
|
|
3436
3456
|
query?: never;
|
|
@@ -10304,12 +10324,21 @@ export interface components {
|
|
|
10304
10324
|
* @description Classified Ask intent for the turn
|
|
10305
10325
|
* @enum {string}
|
|
10306
10326
|
*/
|
|
10307
|
-
intent?: "inventory_apis" | "inventory_modules" | "explain" | "platform_ops" | "feature_impact" | "prd_request";
|
|
10327
|
+
intent?: "inventory_apis" | "inventory_modules" | "explain" | "platform_ops" | "feature_impact" | "pr_review" | "prd_request";
|
|
10308
10328
|
/**
|
|
10309
10329
|
* @description Conversation skill pack that grounded the LLM answer (Wave 10)
|
|
10310
10330
|
* @enum {string}
|
|
10311
10331
|
*/
|
|
10312
|
-
skillId?: "chat-api-detail" | "chat-architecture" | "chat-tests" | "chat-contracts" | "chat-cicd" | "chat-stack" | "chat-platform" | "chat-wiki";
|
|
10332
|
+
skillId?: "chat-api-detail" | "chat-architecture" | "chat-tests" | "chat-contracts" | "chat-cicd" | "chat-stack" | "chat-platform" | "chat-workspace" | "chat-product" | "chat-pr-review" | "chat-wiki";
|
|
10333
|
+
/** @description Short customer-safe summary when mode is failed. Shown in the reply body; raw provider detail is only in providerFailures / debug marker. */
|
|
10334
|
+
userMessage?: string;
|
|
10335
|
+
/** @description Structured provider failures for Conversations ⓘ hover (primary first). Also embedded in content as `<!-- code-intel-debug:{...} -->` for reload. */
|
|
10336
|
+
providerFailures?: {
|
|
10337
|
+
/** @enum {string} */
|
|
10338
|
+
provider: "anthropic_messages" | "cursor_agent";
|
|
10339
|
+
sanitized: string;
|
|
10340
|
+
raw: string;
|
|
10341
|
+
}[];
|
|
10313
10342
|
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
10314
10343
|
};
|
|
10315
10344
|
CodeChatApiRouteRowDto: {
|
|
@@ -21747,6 +21776,37 @@ export interface operations {
|
|
|
21747
21776
|
401: components["responses"]["Unauthorized"];
|
|
21748
21777
|
};
|
|
21749
21778
|
};
|
|
21779
|
+
deleteWorkspaceKnowledgePage: {
|
|
21780
|
+
parameters: {
|
|
21781
|
+
query?: never;
|
|
21782
|
+
header?: never;
|
|
21783
|
+
path: {
|
|
21784
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
21785
|
+
slug: string;
|
|
21786
|
+
};
|
|
21787
|
+
cookie?: never;
|
|
21788
|
+
};
|
|
21789
|
+
requestBody?: never;
|
|
21790
|
+
responses: {
|
|
21791
|
+
/** @description Page deleted */
|
|
21792
|
+
204: {
|
|
21793
|
+
headers: {
|
|
21794
|
+
[name: string]: unknown;
|
|
21795
|
+
};
|
|
21796
|
+
content?: never;
|
|
21797
|
+
};
|
|
21798
|
+
401: components["responses"]["Unauthorized"];
|
|
21799
|
+
/** @description Page not found (`knowledge_page_not_found`) */
|
|
21800
|
+
404: {
|
|
21801
|
+
headers: {
|
|
21802
|
+
[name: string]: unknown;
|
|
21803
|
+
};
|
|
21804
|
+
content: {
|
|
21805
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
21806
|
+
};
|
|
21807
|
+
};
|
|
21808
|
+
};
|
|
21809
|
+
};
|
|
21750
21810
|
generateWorkspaceKnowledgePages: {
|
|
21751
21811
|
parameters: {
|
|
21752
21812
|
query?: never;
|