@thinkai/tai-api-contract 2.207.0 → 2.208.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.
- package/dist/generated/openapi.d.ts +15 -11
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +24 -12
- package/package.json +1 -1
- package/src/generated/openapi.ts +15 -11
|
@@ -4051,7 +4051,7 @@ export interface paths {
|
|
|
4051
4051
|
put?: never;
|
|
4052
4052
|
/**
|
|
4053
4053
|
* Generate a workspace-scoped PRD draft
|
|
4054
|
-
* @description Builds a PRD draft from ready
|
|
4054
|
+
* @description Builds a PRD draft from ready indexes (required) plus optional wiki pages and platform evidence (readiness, quality, delivery, AI adoption, monitoring). Wiki is optional — scan at least one repository first. Upserts one workspace knowledge page (`prd-<slug>` / `prd-draft`) without replacing the whole knowledge base.
|
|
4055
4055
|
*/
|
|
4056
4056
|
post: operations["generatePrdDraft"];
|
|
4057
4057
|
delete?: never;
|
|
@@ -4071,7 +4071,7 @@ export interface paths {
|
|
|
4071
4071
|
put?: never;
|
|
4072
4072
|
/**
|
|
4073
4073
|
* Generate a workspace-scoped RFC draft
|
|
4074
|
-
* @description Same grounding as PRD generate (ready
|
|
4074
|
+
* @description Same grounding as PRD generate (ready indexes required; wiki optional; platform evidence when available). Upserts `rfc-<slug>` / `rfc-draft` without replacing the KB.
|
|
4075
4075
|
*/
|
|
4076
4076
|
post: operations["generateRfcDraft"];
|
|
4077
4077
|
delete?: never;
|
|
@@ -4091,7 +4091,7 @@ export interface paths {
|
|
|
4091
4091
|
put?: never;
|
|
4092
4092
|
/**
|
|
4093
4093
|
* Generate a workspace-scoped ADR draft
|
|
4094
|
-
* @description Same grounding as PRD generate (ready
|
|
4094
|
+
* @description Same grounding as PRD generate (ready indexes required; wiki optional; platform evidence when available). Upserts `adr-<slug>` / `adr-draft` without replacing the KB.
|
|
4095
4095
|
*/
|
|
4096
4096
|
post: operations["generateAdrDraft"];
|
|
4097
4097
|
delete?: never;
|
|
@@ -11641,6 +11641,8 @@ export interface components {
|
|
|
11641
11641
|
nodeCount: number;
|
|
11642
11642
|
edgeCount: number;
|
|
11643
11643
|
commitSha?: string | null;
|
|
11644
|
+
/** @description Host default branch for this repository (`tai_workspace_repos.default_branch`). Refreshed on tip-changing rebuilds. SPA wiki chip: `{defaultBranch} @ {shortSha}`. */
|
|
11645
|
+
defaultBranch?: string | null;
|
|
11644
11646
|
errorMessage?: string | null;
|
|
11645
11647
|
/** @description Human-readable indexing stage while a job is running (queued, clone, graph, save, wiki). Cleared when the index is ready or failed. */
|
|
11646
11648
|
progressMessage?: string | null;
|
|
@@ -11822,6 +11824,8 @@ export interface components {
|
|
|
11822
11824
|
createdAt: string;
|
|
11823
11825
|
/** @description Present on user turns that included uploaded files */
|
|
11824
11826
|
attachments?: components["schemas"]["CodeChatAttachmentMetaDto"][];
|
|
11827
|
+
/** @description Hydrated from `tai_workspace_code_intelligence_token_usage` on GET thread detail (assistant turns). Omitted when no ledger rows exist for the message. */
|
|
11828
|
+
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
11825
11829
|
};
|
|
11826
11830
|
CodeChatThreadDetailDto: components["schemas"]["CodeChatThreadDto"] & {
|
|
11827
11831
|
messages: components["schemas"]["CodeChatMessageDto"][];
|
|
@@ -24388,7 +24392,7 @@ export interface operations {
|
|
|
24388
24392
|
content: {
|
|
24389
24393
|
/**
|
|
24390
24394
|
* @example {
|
|
24391
|
-
* "error": "No ready
|
|
24395
|
+
* "error": "No ready index is available to write the workspace agent file.",
|
|
24392
24396
|
* "code": "agent_md_not_ready"
|
|
24393
24397
|
* }
|
|
24394
24398
|
*/
|
|
@@ -25236,7 +25240,7 @@ export interface operations {
|
|
|
25236
25240
|
};
|
|
25237
25241
|
content?: never;
|
|
25238
25242
|
};
|
|
25239
|
-
/** @description No ready
|
|
25243
|
+
/** @description No ready index in scope */
|
|
25240
25244
|
409: {
|
|
25241
25245
|
headers: {
|
|
25242
25246
|
[name: string]: unknown;
|
|
@@ -25307,7 +25311,7 @@ export interface operations {
|
|
|
25307
25311
|
};
|
|
25308
25312
|
content?: never;
|
|
25309
25313
|
};
|
|
25310
|
-
/** @description No ready
|
|
25314
|
+
/** @description No ready index in scope */
|
|
25311
25315
|
409: {
|
|
25312
25316
|
headers: {
|
|
25313
25317
|
[name: string]: unknown;
|
|
@@ -25355,7 +25359,7 @@ export interface operations {
|
|
|
25355
25359
|
};
|
|
25356
25360
|
content?: never;
|
|
25357
25361
|
};
|
|
25358
|
-
/** @description No ready
|
|
25362
|
+
/** @description No ready index in scope */
|
|
25359
25363
|
409: {
|
|
25360
25364
|
headers: {
|
|
25361
25365
|
[name: string]: unknown;
|
|
@@ -25403,7 +25407,7 @@ export interface operations {
|
|
|
25403
25407
|
};
|
|
25404
25408
|
content?: never;
|
|
25405
25409
|
};
|
|
25406
|
-
/** @description No ready
|
|
25410
|
+
/** @description No ready index in scope */
|
|
25407
25411
|
409: {
|
|
25408
25412
|
headers: {
|
|
25409
25413
|
[name: string]: unknown;
|
|
@@ -25639,7 +25643,7 @@ export interface operations {
|
|
|
25639
25643
|
content?: never;
|
|
25640
25644
|
};
|
|
25641
25645
|
401: components["responses"]["Unauthorized"];
|
|
25642
|
-
/** @description
|
|
25646
|
+
/** @description Index not found */
|
|
25643
25647
|
404: {
|
|
25644
25648
|
headers: {
|
|
25645
25649
|
[name: string]: unknown;
|
|
@@ -25709,7 +25713,7 @@ export interface operations {
|
|
|
25709
25713
|
};
|
|
25710
25714
|
};
|
|
25711
25715
|
401: components["responses"]["Unauthorized"];
|
|
25712
|
-
/** @description
|
|
25716
|
+
/** @description Index not ready */
|
|
25713
25717
|
409: {
|
|
25714
25718
|
headers: {
|
|
25715
25719
|
[name: string]: unknown;
|
|
@@ -25764,7 +25768,7 @@ export interface operations {
|
|
|
25764
25768
|
};
|
|
25765
25769
|
};
|
|
25766
25770
|
401: components["responses"]["Unauthorized"];
|
|
25767
|
-
/** @description
|
|
25771
|
+
/** @description Index not ready */
|
|
25768
25772
|
404: {
|
|
25769
25773
|
headers: {
|
|
25770
25774
|
[name: string]: unknown;
|