@thinkai/tai-api-contract 2.112.0 → 2.115.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.115.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}/...`.
|
|
@@ -7261,10 +7261,11 @@ paths:
|
|
|
7261
7261
|
summary: Set per-workspace repo-sync eligibility overrides
|
|
7262
7262
|
description: >
|
|
7263
7263
|
Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides.
|
|
7264
|
-
|
|
7265
|
-
**
|
|
7266
|
-
|
|
7267
|
-
(
|
|
7264
|
+
Omitted keys leave existing workspace overrides unchanged; `null` clears a single override
|
|
7265
|
+
back to the platform default. **Platform admins** may set any value (raise caps, `0` = unlimited,
|
|
7266
|
+
include archived/forks). **Workspace admins** may only make the gate *more restrictive* than
|
|
7267
|
+
the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns
|
|
7268
|
+
`403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
7268
7269
|
operationId: putWorkspaceRepoEligibility
|
|
7269
7270
|
parameters:
|
|
7270
7271
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -7284,13 +7285,7 @@ paths:
|
|
|
7284
7285
|
content:
|
|
7285
7286
|
application/json:
|
|
7286
7287
|
schema:
|
|
7287
|
-
|
|
7288
|
-
required: [overrides, effective]
|
|
7289
|
-
properties:
|
|
7290
|
-
overrides:
|
|
7291
|
-
$ref: "#/components/schemas/RepoEligibilityOverridesDto"
|
|
7292
|
-
effective:
|
|
7293
|
-
$ref: "#/components/schemas/RepoEligibilityConfigDto"
|
|
7288
|
+
$ref: "#/components/schemas/WorkspaceRepoEligibilityDto"
|
|
7294
7289
|
"400":
|
|
7295
7290
|
description: Invalid request body
|
|
7296
7291
|
content:
|
|
@@ -18631,7 +18626,7 @@ components:
|
|
|
18631
18626
|
type: string
|
|
18632
18627
|
nullable: true
|
|
18633
18628
|
enum: [pending, running, completed, skipped, failed]
|
|
18634
|
-
description: Per-
|
|
18629
|
+
description: Per-stage status for Deep Wiki (Outline skeleton, Enrich pass, graph index).
|
|
18635
18630
|
|
|
18636
18631
|
CodeChatIndexListDto:
|
|
18637
18632
|
type: object
|
|
@@ -18769,6 +18764,12 @@ components:
|
|
|
18769
18764
|
type: string
|
|
18770
18765
|
enum: [engineer, lead, pm]
|
|
18771
18766
|
description: Optional Ask tone preference (FE localStorage / request — not a DB role)
|
|
18767
|
+
intent:
|
|
18768
|
+
type: string
|
|
18769
|
+
enum: [inventory_apis, inventory_modules]
|
|
18770
|
+
description: >
|
|
18771
|
+
Optional force deterministic inventory catalog instead of LLM synthesis.
|
|
18772
|
+
When omitted, the server classifies listing-style API/module questions automatically.
|
|
18772
18773
|
|
|
18773
18774
|
CodeChatMessageReplyDto:
|
|
18774
18775
|
allOf:
|
|
@@ -18810,6 +18811,18 @@ components:
|
|
|
18810
18811
|
- feature_impact
|
|
18811
18812
|
- prd_request
|
|
18812
18813
|
description: Classified Ask intent for the turn
|
|
18814
|
+
skillId:
|
|
18815
|
+
type: string
|
|
18816
|
+
enum:
|
|
18817
|
+
- chat-api-detail
|
|
18818
|
+
- chat-architecture
|
|
18819
|
+
- chat-tests
|
|
18820
|
+
- chat-contracts
|
|
18821
|
+
- chat-cicd
|
|
18822
|
+
- chat-stack
|
|
18823
|
+
- chat-platform
|
|
18824
|
+
- chat-wiki
|
|
18825
|
+
description: Conversation skill pack that grounded the LLM answer (Wave 10)
|
|
18813
18826
|
usage:
|
|
18814
18827
|
$ref: "#/components/schemas/CodeIntelligenceUsageDto"
|
|
18815
18828
|
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -2790,7 +2790,7 @@ export interface paths {
|
|
|
2790
2790
|
get: operations["getWorkspaceRepoEligibility"];
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Set per-workspace repo-sync eligibility overrides
|
|
2793
|
-
* @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
2793
|
+
* @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. Omitted keys leave existing workspace overrides unchanged; `null` clears a single override back to the platform default. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
|
|
2794
2794
|
*/
|
|
2795
2795
|
put: operations["putWorkspaceRepoEligibility"];
|
|
2796
2796
|
post?: never;
|
|
@@ -8096,7 +8096,7 @@ export interface components {
|
|
|
8096
8096
|
updatedAt: string;
|
|
8097
8097
|
};
|
|
8098
8098
|
/**
|
|
8099
|
-
* @description Per-
|
|
8099
|
+
* @description Per-stage status for Deep Wiki (Outline skeleton, Enrich pass, graph index).
|
|
8100
8100
|
* @enum {string|null}
|
|
8101
8101
|
*/
|
|
8102
8102
|
CodeKnowledgeTrackStatus: "pending" | "running" | "completed" | "skipped" | "failed" | null;
|
|
@@ -8196,6 +8196,11 @@ export interface components {
|
|
|
8196
8196
|
* @enum {string}
|
|
8197
8197
|
*/
|
|
8198
8198
|
persona?: "engineer" | "lead" | "pm";
|
|
8199
|
+
/**
|
|
8200
|
+
* @description Optional force deterministic inventory catalog instead of LLM synthesis. When omitted, the server classifies listing-style API/module questions automatically.
|
|
8201
|
+
* @enum {string}
|
|
8202
|
+
*/
|
|
8203
|
+
intent?: "inventory_apis" | "inventory_modules";
|
|
8199
8204
|
};
|
|
8200
8205
|
CodeChatMessageReplyDto: components["schemas"]["CodeChatMessageDto"] & {
|
|
8201
8206
|
/**
|
|
@@ -8218,6 +8223,11 @@ export interface components {
|
|
|
8218
8223
|
* @enum {string}
|
|
8219
8224
|
*/
|
|
8220
8225
|
intent?: "inventory_apis" | "inventory_modules" | "explain" | "platform_ops" | "feature_impact" | "prd_request";
|
|
8226
|
+
/**
|
|
8227
|
+
* @description Conversation skill pack that grounded the LLM answer (Wave 10)
|
|
8228
|
+
* @enum {string}
|
|
8229
|
+
*/
|
|
8230
|
+
skillId?: "chat-api-detail" | "chat-architecture" | "chat-tests" | "chat-contracts" | "chat-cicd" | "chat-stack" | "chat-platform" | "chat-wiki";
|
|
8221
8231
|
usage?: components["schemas"]["CodeIntelligenceUsageDto"];
|
|
8222
8232
|
};
|
|
8223
8233
|
CodeChatApiRouteRowDto: {
|
|
@@ -16824,10 +16834,7 @@ export interface operations {
|
|
|
16824
16834
|
[name: string]: unknown;
|
|
16825
16835
|
};
|
|
16826
16836
|
content: {
|
|
16827
|
-
"application/json":
|
|
16828
|
-
overrides: components["schemas"]["RepoEligibilityOverridesDto"];
|
|
16829
|
-
effective: components["schemas"]["RepoEligibilityConfigDto"];
|
|
16830
|
-
};
|
|
16837
|
+
"application/json": components["schemas"]["WorkspaceRepoEligibilityDto"];
|
|
16831
16838
|
};
|
|
16832
16839
|
};
|
|
16833
16840
|
/** @description Invalid request body */
|