@thinkai/tai-api-contract 2.143.0 → 2.145.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/dist/generated/openapi.d.ts +348 -11
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +308 -9
- package/package.json +1 -1
- package/src/generated/openapi.ts +348 -11
package/src/generated/openapi.ts
CHANGED
|
@@ -2944,6 +2944,50 @@ export interface paths {
|
|
|
2944
2944
|
patch?: never;
|
|
2945
2945
|
trace?: never;
|
|
2946
2946
|
};
|
|
2947
|
+
"/workspaces/{workspaceId}/code-intelligence/agent-md": {
|
|
2948
|
+
parameters: {
|
|
2949
|
+
query?: never;
|
|
2950
|
+
header?: never;
|
|
2951
|
+
path?: never;
|
|
2952
|
+
cookie?: never;
|
|
2953
|
+
};
|
|
2954
|
+
/**
|
|
2955
|
+
* Read the workspace agent.md
|
|
2956
|
+
* @description Any workspace member. Returns the persisted workspace agent file, or null fields when none has been written. 403 `code_intelligence_disabled` when Engineering Context Graph is off.
|
|
2957
|
+
*/
|
|
2958
|
+
get: operations["getCodeIntelligenceAgentMd"];
|
|
2959
|
+
/**
|
|
2960
|
+
* Save an admin edit of the workspace agent.md
|
|
2961
|
+
* @description Admin only. Body is 1 to 12,000 characters. Saves source `admin`. Auto-generate and the cadence tick do not overwrite this text until an admin regenerates it. A non-admin receives 403.
|
|
2962
|
+
*/
|
|
2963
|
+
put: operations["putCodeIntelligenceAgentMd"];
|
|
2964
|
+
post?: never;
|
|
2965
|
+
delete?: never;
|
|
2966
|
+
options?: never;
|
|
2967
|
+
head?: never;
|
|
2968
|
+
patch?: never;
|
|
2969
|
+
trace?: never;
|
|
2970
|
+
};
|
|
2971
|
+
"/workspaces/{workspaceId}/code-intelligence/agent-md/regenerate": {
|
|
2972
|
+
parameters: {
|
|
2973
|
+
query?: never;
|
|
2974
|
+
header?: never;
|
|
2975
|
+
path?: never;
|
|
2976
|
+
cookie?: never;
|
|
2977
|
+
};
|
|
2978
|
+
get?: never;
|
|
2979
|
+
put?: never;
|
|
2980
|
+
/**
|
|
2981
|
+
* Rewrite workspace agent.md from ready code graphs
|
|
2982
|
+
* @description Admin only. Rewrites the file from current ready eligible graphs and sets source `generated`. Returns 409 `agent_md_not_ready` when no eligible repository index is ready. Does not call an LLM and does not clone repositories.
|
|
2983
|
+
*/
|
|
2984
|
+
post: operations["regenerateCodeIntelligenceAgentMd"];
|
|
2985
|
+
delete?: never;
|
|
2986
|
+
options?: never;
|
|
2987
|
+
head?: never;
|
|
2988
|
+
patch?: never;
|
|
2989
|
+
trace?: never;
|
|
2990
|
+
};
|
|
2947
2991
|
"/workspaces/{workspaceId}/code-intelligence/token-usage/summary": {
|
|
2948
2992
|
parameters: {
|
|
2949
2993
|
query?: never;
|
|
@@ -3108,7 +3152,10 @@ export interface paths {
|
|
|
3108
3152
|
};
|
|
3109
3153
|
get?: never;
|
|
3110
3154
|
put?: never;
|
|
3111
|
-
/**
|
|
3155
|
+
/**
|
|
3156
|
+
* Enqueue indexing for all (or selected) readiness GitHub repos
|
|
3157
|
+
* @description `indexOnly: true` enqueues a graph-only job. `{ "indexOnly": true, "force": true }` with no `repoIds` is admin-only and opens one index wave for every eligible GitHub repository. A single-repo indexOnly sync does not open a wave. Members who send that admin body receive 403.
|
|
3158
|
+
*/
|
|
3112
3159
|
post: operations["syncCodeChatIndexes"];
|
|
3113
3160
|
delete?: never;
|
|
3114
3161
|
options?: never;
|
|
@@ -3116,6 +3163,26 @@ export interface paths {
|
|
|
3116
3163
|
patch?: never;
|
|
3117
3164
|
trace?: never;
|
|
3118
3165
|
};
|
|
3166
|
+
"/workspaces/{workspaceId}/code-chat/readiness": {
|
|
3167
|
+
parameters: {
|
|
3168
|
+
query?: never;
|
|
3169
|
+
header?: never;
|
|
3170
|
+
path?: never;
|
|
3171
|
+
cookie?: never;
|
|
3172
|
+
};
|
|
3173
|
+
/**
|
|
3174
|
+
* Workspace chat readiness
|
|
3175
|
+
* @description Any workspace member. 403 `code_intelligence_disabled` when Engineering Context Graph is off. `status` is `indexing`, `generating_agent_md`, `failed`, or `ready`. Chat stays closed until `ready`: create thread and post message return `409 chat_not_ready` with `progressMessage` when status is not ready. An open index wave reports `indexing` until every job in that wave is terminal.
|
|
3176
|
+
*/
|
|
3177
|
+
get: operations["getCodeChatReadiness"];
|
|
3178
|
+
put?: never;
|
|
3179
|
+
post?: never;
|
|
3180
|
+
delete?: never;
|
|
3181
|
+
options?: never;
|
|
3182
|
+
head?: never;
|
|
3183
|
+
patch?: never;
|
|
3184
|
+
trace?: never;
|
|
3185
|
+
};
|
|
3119
3186
|
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}": {
|
|
3120
3187
|
parameters: {
|
|
3121
3188
|
query?: never;
|
|
@@ -4287,6 +4354,8 @@ export interface components {
|
|
|
4287
4354
|
error: string;
|
|
4288
4355
|
/** @description Machine-readable error code when present (for example `last_admin`). */
|
|
4289
4356
|
code?: string;
|
|
4357
|
+
/** @description Human-readable progress when `code` is `chat_not_ready` (same text as `error` for that response). */
|
|
4358
|
+
progressMessage?: string;
|
|
4290
4359
|
};
|
|
4291
4360
|
TeamMemberDto: {
|
|
4292
4361
|
/** Format: uuid */
|
|
@@ -4845,6 +4914,13 @@ export interface components {
|
|
|
4845
4914
|
provider?: components["schemas"]["AgentExecutionProviderDto"] | null;
|
|
4846
4915
|
cursorModel?: string | null;
|
|
4847
4916
|
claudeModel?: string | null;
|
|
4917
|
+
/** @description When false, turning Engineering Context Graph on and the cadence tick do not enqueue index jobs. Stored graphs, wiki pages, and agent.md stay. Defaults to true. */
|
|
4918
|
+
indexingEnabled?: boolean;
|
|
4919
|
+
/**
|
|
4920
|
+
* @description How often the code-knowledge worker enqueues an index-only wave for eligible GitHub repositories. `manual` never ticks. Defaults to `daily`.
|
|
4921
|
+
* @enum {string}
|
|
4922
|
+
*/
|
|
4923
|
+
indexingCadence?: "daily" | "weekly" | "manual";
|
|
4848
4924
|
/** @description Deep Wiki documentation focus for this workspace. Steers topic planning when generating Engineering Context wiki pages. Optional in-repo `.aidrivensdlc/wiki.json` still overrides the topic outline when present. */
|
|
4849
4925
|
wikiGuidance?: components["schemas"]["CodeWikiGuidanceDto"] | null;
|
|
4850
4926
|
};
|
|
@@ -4854,6 +4930,30 @@ export interface components {
|
|
|
4854
4930
|
/** @description Title of the parent topic for hierarchy (must match another topic title). */
|
|
4855
4931
|
parentTitle?: string | null;
|
|
4856
4932
|
};
|
|
4933
|
+
PutCodeIntelligenceAgentMdDto: {
|
|
4934
|
+
body: string;
|
|
4935
|
+
};
|
|
4936
|
+
CodeIntelligenceAgentMdDto: {
|
|
4937
|
+
body: string | null;
|
|
4938
|
+
/** @enum {string|null} */
|
|
4939
|
+
source: "generated" | "admin" | null;
|
|
4940
|
+
/** Format: date-time */
|
|
4941
|
+
updatedAt: string | null;
|
|
4942
|
+
};
|
|
4943
|
+
CodeChatReadinessDto: {
|
|
4944
|
+
/** @enum {string} */
|
|
4945
|
+
status: "indexing" | "generating_agent_md" | "failed" | "ready";
|
|
4946
|
+
progressMessage: string;
|
|
4947
|
+
eligibleCount: number;
|
|
4948
|
+
readyCount: number;
|
|
4949
|
+
failedCount: number;
|
|
4950
|
+
inProgressCount: number;
|
|
4951
|
+
indexingEnabled: boolean;
|
|
4952
|
+
/** @enum {string} */
|
|
4953
|
+
indexingCadence: "daily" | "weekly" | "manual";
|
|
4954
|
+
/** @enum {string|null} */
|
|
4955
|
+
agentMdSource: "generated" | "admin" | null;
|
|
4956
|
+
};
|
|
4857
4957
|
CodeWikiGuidanceDto: {
|
|
4858
4958
|
/**
|
|
4859
4959
|
* @description Free-form notes describing what the wiki should emphasize.
|
|
@@ -4888,6 +4988,13 @@ export interface components {
|
|
|
4888
4988
|
codeIntelligenceCursorModel?: string | null;
|
|
4889
4989
|
/** @description Optional Claude model override for Code Intelligence (null/empty → env default). */
|
|
4890
4990
|
codeIntelligenceClaudeModel?: string | null;
|
|
4991
|
+
/** @description When false, enable-enqueue and the cadence tick do not start an index wave. Defaults to true. */
|
|
4992
|
+
codeIntelligenceIndexingEnabled?: boolean;
|
|
4993
|
+
/**
|
|
4994
|
+
* @description Index wave cadence. `manual` does not tick. Defaults to `daily`.
|
|
4995
|
+
* @enum {string}
|
|
4996
|
+
*/
|
|
4997
|
+
codeIntelligenceIndexingCadence?: "daily" | "weekly" | "manual";
|
|
4891
4998
|
/** @description True when a dedicated `code_intelligence` source has a stored executionToken. */
|
|
4892
4999
|
hasCodeIntelligenceExecutionToken?: boolean;
|
|
4893
5000
|
/** @description Federated-readiness delivery topology: which connected repos hold terraform / gitops / ci_templates / api_contracts truth for this workspace. Null when not configured. Change via `PUT /workspaces/{workspaceId}/delivery-topology`. */
|
|
@@ -8134,6 +8241,12 @@ export interface components {
|
|
|
8134
8241
|
/** @description IANA timezone printed on the PDF cover. */
|
|
8135
8242
|
timezone: string;
|
|
8136
8243
|
filename: string;
|
|
8244
|
+
/**
|
|
8245
|
+
* @description Export audience recorded for audit. `external` means the client generated a share-safe PDF with organizational identifiers redacted. Omitted legacy requests are recorded as `internal`.
|
|
8246
|
+
* @default internal
|
|
8247
|
+
* @enum {string}
|
|
8248
|
+
*/
|
|
8249
|
+
shareMode: "internal" | "external";
|
|
8137
8250
|
providerIds?: string[];
|
|
8138
8251
|
repoIds?: string[];
|
|
8139
8252
|
};
|
|
@@ -8990,7 +9103,7 @@ export interface components {
|
|
|
8990
9103
|
*/
|
|
8991
9104
|
force: boolean;
|
|
8992
9105
|
/**
|
|
8993
|
-
* @description When true, each enqueued knowledge job clones the repository, builds the code graph, marks the index ready, and finishes with wiki tracks skipped. It does not write wiki pages and does not require an execution key. Omit or false to keep the full pipeline, including wiki. Distinct from skipLlm, which still writes a skeleton wiki. A job that is already queued or running keeps the options it was enqueued with.
|
|
9106
|
+
* @description When true, each enqueued knowledge job clones the repository, builds the code graph, marks the index ready, and finishes with wiki tracks skipped. It does not write wiki pages and does not require an execution key. Omit or false to keep the full pipeline, including wiki. Distinct from skipLlm, which still writes a skeleton wiki. A job that is already queued or running keeps the options it was enqueued with. Together with `force: true` and no `repoIds`, this opens an admin index wave.
|
|
8994
9107
|
* @default false
|
|
8995
9108
|
*/
|
|
8996
9109
|
indexOnly: boolean;
|
|
@@ -9006,10 +9119,10 @@ export interface components {
|
|
|
9006
9119
|
repoId: string;
|
|
9007
9120
|
repoName: string;
|
|
9008
9121
|
/**
|
|
9009
|
-
* @description Stable machine-readable skip reason
|
|
9122
|
+
* @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.
|
|
9010
9123
|
* @enum {string}
|
|
9011
9124
|
*/
|
|
9012
|
-
code: "repo_ineligible" | "indexed_recently" | "index_in_progress";
|
|
9125
|
+
code: "repo_ineligible" | "indexed_recently" | "index_in_progress" | "ecg_source_off";
|
|
9013
9126
|
};
|
|
9014
9127
|
CodeChatThreadDto: {
|
|
9015
9128
|
/** Format: uuid */
|
|
@@ -9022,6 +9135,11 @@ export interface components {
|
|
|
9022
9135
|
repoIds: string[];
|
|
9023
9136
|
revisionRef?: string | null;
|
|
9024
9137
|
title: string;
|
|
9138
|
+
/**
|
|
9139
|
+
* @description `workspace` when `repoIds` is empty or has more than one id (Conversations). `repo` when exactly one repository is bound (System / Wiki).
|
|
9140
|
+
* @enum {string}
|
|
9141
|
+
*/
|
|
9142
|
+
scope: "workspace" | "repo";
|
|
9025
9143
|
/** Format: date-time */
|
|
9026
9144
|
createdAt: string;
|
|
9027
9145
|
/** Format: date-time */
|
|
@@ -9031,12 +9149,17 @@ export interface components {
|
|
|
9031
9149
|
items: components["schemas"]["CodeChatThreadDto"][];
|
|
9032
9150
|
};
|
|
9033
9151
|
CodeChatCreateThreadBodyDto: {
|
|
9152
|
+
/**
|
|
9153
|
+
* @description Create a workspace conversation with empty `repoIds`. Does not reuse an older thread. Requires chat readiness and an execution key.
|
|
9154
|
+
* @enum {string}
|
|
9155
|
+
*/
|
|
9156
|
+
scope?: "workspace";
|
|
9034
9157
|
/**
|
|
9035
9158
|
* Format: uuid
|
|
9036
9159
|
* @description Legacy single-index bind; prefer repoIds for workspace scope.
|
|
9037
9160
|
*/
|
|
9038
9161
|
indexId?: string;
|
|
9039
|
-
/** @description Empty or omitted = all ready repos. */
|
|
9162
|
+
/** @description Empty or omitted = all ready repos. Ignored when scope is workspace. */
|
|
9040
9163
|
repoIds?: string[];
|
|
9041
9164
|
revisionRef?: string;
|
|
9042
9165
|
title?: string;
|
|
@@ -9083,10 +9206,10 @@ export interface components {
|
|
|
9083
9206
|
};
|
|
9084
9207
|
CodeChatMessageReplyDto: components["schemas"]["CodeChatMessageDto"] & {
|
|
9085
9208
|
/**
|
|
9086
|
-
* @description How the assistant answer was produced. `inventory` returns a deterministic catalog (APIs or modules) rather than LLM synthesis.
|
|
9209
|
+
* @description How the assistant answer was produced. `inventory` returns a deterministic catalog (APIs or modules) rather than LLM synthesis. `failed` is a short assistant message after provider timeout or error (no retrieval substitute).
|
|
9087
9210
|
* @enum {string}
|
|
9088
9211
|
*/
|
|
9089
|
-
mode: "llm" | "retrieval" | "inventory";
|
|
9212
|
+
mode: "llm" | "retrieval" | "inventory" | "failed";
|
|
9090
9213
|
/** @description Optional typed inventory payload for rich UI tables */
|
|
9091
9214
|
structured?: components["schemas"]["CodeChatStructuredBlockDto"];
|
|
9092
9215
|
/** @description True when wiki pages from one or more repos contributed to LLM context */
|
|
@@ -10320,6 +10443,9 @@ export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
|
10320
10443
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
10321
10444
|
export type PutCodeIntelligenceSettingsDto = components['schemas']['PutCodeIntelligenceSettingsDto'];
|
|
10322
10445
|
export type CodeWikiGuidanceTopicDto = components['schemas']['CodeWikiGuidanceTopicDto'];
|
|
10446
|
+
export type PutCodeIntelligenceAgentMdDto = components['schemas']['PutCodeIntelligenceAgentMdDto'];
|
|
10447
|
+
export type CodeIntelligenceAgentMdDto = components['schemas']['CodeIntelligenceAgentMdDto'];
|
|
10448
|
+
export type CodeChatReadinessDto = components['schemas']['CodeChatReadinessDto'];
|
|
10323
10449
|
export type CodeWikiGuidanceDto = components['schemas']['CodeWikiGuidanceDto'];
|
|
10324
10450
|
export type WorkspaceConfigDto = components['schemas']['WorkspaceConfigDto'];
|
|
10325
10451
|
export type DeliveryRoleConfigDto = components['schemas']['DeliveryRoleConfigDto'];
|
|
@@ -18671,6 +18797,130 @@ export interface operations {
|
|
|
18671
18797
|
403: components["responses"]["Forbidden"];
|
|
18672
18798
|
};
|
|
18673
18799
|
};
|
|
18800
|
+
getCodeIntelligenceAgentMd: {
|
|
18801
|
+
parameters: {
|
|
18802
|
+
query?: never;
|
|
18803
|
+
header?: never;
|
|
18804
|
+
path: {
|
|
18805
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18806
|
+
};
|
|
18807
|
+
cookie?: never;
|
|
18808
|
+
};
|
|
18809
|
+
requestBody?: never;
|
|
18810
|
+
responses: {
|
|
18811
|
+
/** @description Persisted agent.md */
|
|
18812
|
+
200: {
|
|
18813
|
+
headers: {
|
|
18814
|
+
[name: string]: unknown;
|
|
18815
|
+
};
|
|
18816
|
+
content: {
|
|
18817
|
+
"application/json": components["schemas"]["CodeIntelligenceAgentMdDto"];
|
|
18818
|
+
};
|
|
18819
|
+
};
|
|
18820
|
+
401: components["responses"]["Unauthorized"];
|
|
18821
|
+
/** @description Engineering Context Graph is off, or the caller is not a member */
|
|
18822
|
+
403: {
|
|
18823
|
+
headers: {
|
|
18824
|
+
[name: string]: unknown;
|
|
18825
|
+
};
|
|
18826
|
+
content: {
|
|
18827
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18828
|
+
};
|
|
18829
|
+
};
|
|
18830
|
+
};
|
|
18831
|
+
};
|
|
18832
|
+
putCodeIntelligenceAgentMd: {
|
|
18833
|
+
parameters: {
|
|
18834
|
+
query?: never;
|
|
18835
|
+
header?: never;
|
|
18836
|
+
path: {
|
|
18837
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18838
|
+
};
|
|
18839
|
+
cookie?: never;
|
|
18840
|
+
};
|
|
18841
|
+
requestBody: {
|
|
18842
|
+
content: {
|
|
18843
|
+
"application/json": components["schemas"]["PutCodeIntelligenceAgentMdDto"];
|
|
18844
|
+
};
|
|
18845
|
+
};
|
|
18846
|
+
responses: {
|
|
18847
|
+
/** @description Saved agent.md */
|
|
18848
|
+
200: {
|
|
18849
|
+
headers: {
|
|
18850
|
+
[name: string]: unknown;
|
|
18851
|
+
};
|
|
18852
|
+
content: {
|
|
18853
|
+
"application/json": components["schemas"]["CodeIntelligenceAgentMdDto"];
|
|
18854
|
+
};
|
|
18855
|
+
};
|
|
18856
|
+
/** @description Body missing or outside 1 to 12,000 characters */
|
|
18857
|
+
400: {
|
|
18858
|
+
headers: {
|
|
18859
|
+
[name: string]: unknown;
|
|
18860
|
+
};
|
|
18861
|
+
content: {
|
|
18862
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18863
|
+
};
|
|
18864
|
+
};
|
|
18865
|
+
401: components["responses"]["Unauthorized"];
|
|
18866
|
+
/** @description Caller is not an admin, or Engineering Context Graph is off */
|
|
18867
|
+
403: {
|
|
18868
|
+
headers: {
|
|
18869
|
+
[name: string]: unknown;
|
|
18870
|
+
};
|
|
18871
|
+
content: {
|
|
18872
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18873
|
+
};
|
|
18874
|
+
};
|
|
18875
|
+
};
|
|
18876
|
+
};
|
|
18877
|
+
regenerateCodeIntelligenceAgentMd: {
|
|
18878
|
+
parameters: {
|
|
18879
|
+
query?: never;
|
|
18880
|
+
header?: never;
|
|
18881
|
+
path: {
|
|
18882
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
18883
|
+
};
|
|
18884
|
+
cookie?: never;
|
|
18885
|
+
};
|
|
18886
|
+
requestBody?: never;
|
|
18887
|
+
responses: {
|
|
18888
|
+
/** @description Regenerated agent.md */
|
|
18889
|
+
200: {
|
|
18890
|
+
headers: {
|
|
18891
|
+
[name: string]: unknown;
|
|
18892
|
+
};
|
|
18893
|
+
content: {
|
|
18894
|
+
"application/json": components["schemas"]["CodeIntelligenceAgentMdDto"];
|
|
18895
|
+
};
|
|
18896
|
+
};
|
|
18897
|
+
401: components["responses"]["Unauthorized"];
|
|
18898
|
+
/** @description Caller is not an admin, or Engineering Context Graph is off */
|
|
18899
|
+
403: {
|
|
18900
|
+
headers: {
|
|
18901
|
+
[name: string]: unknown;
|
|
18902
|
+
};
|
|
18903
|
+
content: {
|
|
18904
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18905
|
+
};
|
|
18906
|
+
};
|
|
18907
|
+
/** @description No ready eligible index */
|
|
18908
|
+
409: {
|
|
18909
|
+
headers: {
|
|
18910
|
+
[name: string]: unknown;
|
|
18911
|
+
};
|
|
18912
|
+
content: {
|
|
18913
|
+
/**
|
|
18914
|
+
* @example {
|
|
18915
|
+
* "error": "No ready repository index is available to write the workspace agent file.",
|
|
18916
|
+
* "code": "agent_md_not_ready"
|
|
18917
|
+
* }
|
|
18918
|
+
*/
|
|
18919
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
18920
|
+
};
|
|
18921
|
+
};
|
|
18922
|
+
};
|
|
18923
|
+
};
|
|
18674
18924
|
getCodeIntelligenceTokenUsageSummary: {
|
|
18675
18925
|
parameters: {
|
|
18676
18926
|
query?: {
|
|
@@ -19070,6 +19320,53 @@ export interface operations {
|
|
|
19070
19320
|
};
|
|
19071
19321
|
};
|
|
19072
19322
|
401: components["responses"]["Unauthorized"];
|
|
19323
|
+
/** @description Engineering Context Graph is off, or a member sent the admin force body (`indexOnly` and `force` with no `repoIds`). */
|
|
19324
|
+
403: {
|
|
19325
|
+
headers: {
|
|
19326
|
+
[name: string]: unknown;
|
|
19327
|
+
};
|
|
19328
|
+
content: {
|
|
19329
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19330
|
+
};
|
|
19331
|
+
};
|
|
19332
|
+
};
|
|
19333
|
+
};
|
|
19334
|
+
getCodeChatReadiness: {
|
|
19335
|
+
parameters: {
|
|
19336
|
+
query?: never;
|
|
19337
|
+
header?: never;
|
|
19338
|
+
path: {
|
|
19339
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19340
|
+
};
|
|
19341
|
+
cookie?: never;
|
|
19342
|
+
};
|
|
19343
|
+
requestBody?: never;
|
|
19344
|
+
responses: {
|
|
19345
|
+
/** @description Readiness snapshot */
|
|
19346
|
+
200: {
|
|
19347
|
+
headers: {
|
|
19348
|
+
[name: string]: unknown;
|
|
19349
|
+
};
|
|
19350
|
+
content: {
|
|
19351
|
+
"application/json": components["schemas"]["CodeChatReadinessDto"];
|
|
19352
|
+
};
|
|
19353
|
+
};
|
|
19354
|
+
401: components["responses"]["Unauthorized"];
|
|
19355
|
+
/** @description Engineering Context Graph is off */
|
|
19356
|
+
403: {
|
|
19357
|
+
headers: {
|
|
19358
|
+
[name: string]: unknown;
|
|
19359
|
+
};
|
|
19360
|
+
content: {
|
|
19361
|
+
/**
|
|
19362
|
+
* @example {
|
|
19363
|
+
* "error": "Code Intelligence is disabled for this workspace",
|
|
19364
|
+
* "code": "code_intelligence_disabled"
|
|
19365
|
+
* }
|
|
19366
|
+
*/
|
|
19367
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19368
|
+
};
|
|
19369
|
+
};
|
|
19073
19370
|
};
|
|
19074
19371
|
};
|
|
19075
19372
|
getCodeChatIndex: {
|
|
@@ -19153,6 +19450,15 @@ export interface operations {
|
|
|
19153
19450
|
};
|
|
19154
19451
|
};
|
|
19155
19452
|
401: components["responses"]["Unauthorized"];
|
|
19453
|
+
/** @description Engineering Context Graph is off */
|
|
19454
|
+
403: {
|
|
19455
|
+
headers: {
|
|
19456
|
+
[name: string]: unknown;
|
|
19457
|
+
};
|
|
19458
|
+
content: {
|
|
19459
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19460
|
+
};
|
|
19461
|
+
};
|
|
19156
19462
|
/** @description Not found */
|
|
19157
19463
|
404: {
|
|
19158
19464
|
headers: {
|
|
@@ -19162,12 +19468,23 @@ export interface operations {
|
|
|
19162
19468
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19163
19469
|
};
|
|
19164
19470
|
};
|
|
19165
|
-
/** @description
|
|
19471
|
+
/** @description Chat not ready, or no ready corpus for a repo-scoped thread */
|
|
19166
19472
|
409: {
|
|
19167
19473
|
headers: {
|
|
19168
19474
|
[name: string]: unknown;
|
|
19169
19475
|
};
|
|
19170
|
-
content
|
|
19476
|
+
content: {
|
|
19477
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19478
|
+
};
|
|
19479
|
+
};
|
|
19480
|
+
/** @description Execution key required */
|
|
19481
|
+
422: {
|
|
19482
|
+
headers: {
|
|
19483
|
+
[name: string]: unknown;
|
|
19484
|
+
};
|
|
19485
|
+
content: {
|
|
19486
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19487
|
+
};
|
|
19171
19488
|
};
|
|
19172
19489
|
};
|
|
19173
19490
|
};
|
|
@@ -19259,6 +19576,15 @@ export interface operations {
|
|
|
19259
19576
|
};
|
|
19260
19577
|
};
|
|
19261
19578
|
401: components["responses"]["Unauthorized"];
|
|
19579
|
+
/** @description Engineering Context Graph is off */
|
|
19580
|
+
403: {
|
|
19581
|
+
headers: {
|
|
19582
|
+
[name: string]: unknown;
|
|
19583
|
+
};
|
|
19584
|
+
content: {
|
|
19585
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19586
|
+
};
|
|
19587
|
+
};
|
|
19262
19588
|
/** @description Not found */
|
|
19263
19589
|
404: {
|
|
19264
19590
|
headers: {
|
|
@@ -19268,12 +19594,23 @@ export interface operations {
|
|
|
19268
19594
|
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19269
19595
|
};
|
|
19270
19596
|
};
|
|
19271
|
-
/** @description
|
|
19597
|
+
/** @description Chat not ready, or no ready corpus in thread scope */
|
|
19272
19598
|
409: {
|
|
19273
19599
|
headers: {
|
|
19274
19600
|
[name: string]: unknown;
|
|
19275
19601
|
};
|
|
19276
|
-
content
|
|
19602
|
+
content: {
|
|
19603
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19604
|
+
};
|
|
19605
|
+
};
|
|
19606
|
+
/** @description Execution key required */
|
|
19607
|
+
422: {
|
|
19608
|
+
headers: {
|
|
19609
|
+
[name: string]: unknown;
|
|
19610
|
+
};
|
|
19611
|
+
content: {
|
|
19612
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19613
|
+
};
|
|
19277
19614
|
};
|
|
19278
19615
|
};
|
|
19279
19616
|
};
|