@thinkai/tai-api-contract 2.76.0 → 2.78.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 +1322 -21
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +1006 -29
- package/package.json +1 -1
- package/src/generated/openapi.ts +1322 -21
- package/src/index.ts +5 -0
|
@@ -2643,6 +2643,298 @@ export interface paths {
|
|
|
2643
2643
|
patch: operations["patchProject"];
|
|
2644
2644
|
trace?: never;
|
|
2645
2645
|
};
|
|
2646
|
+
"/workspaces/{workspaceId}/code-chat/indexes": {
|
|
2647
|
+
parameters: {
|
|
2648
|
+
query?: never;
|
|
2649
|
+
header?: never;
|
|
2650
|
+
path?: never;
|
|
2651
|
+
cookie?: never;
|
|
2652
|
+
};
|
|
2653
|
+
/** List code indexes for the workspace */
|
|
2654
|
+
get: operations["listCodeChatIndexes"];
|
|
2655
|
+
put?: never;
|
|
2656
|
+
/** Start indexing a connected repository */
|
|
2657
|
+
post: operations["createCodeChatIndex"];
|
|
2658
|
+
delete?: never;
|
|
2659
|
+
options?: never;
|
|
2660
|
+
head?: never;
|
|
2661
|
+
patch?: never;
|
|
2662
|
+
trace?: never;
|
|
2663
|
+
};
|
|
2664
|
+
"/workspaces/{workspaceId}/code-chat/indexes/sync": {
|
|
2665
|
+
parameters: {
|
|
2666
|
+
query?: never;
|
|
2667
|
+
header?: never;
|
|
2668
|
+
path?: never;
|
|
2669
|
+
cookie?: never;
|
|
2670
|
+
};
|
|
2671
|
+
get?: never;
|
|
2672
|
+
put?: never;
|
|
2673
|
+
/** Enqueue indexing for all (or selected) readiness GitHub repos */
|
|
2674
|
+
post: operations["syncCodeChatIndexes"];
|
|
2675
|
+
delete?: never;
|
|
2676
|
+
options?: never;
|
|
2677
|
+
head?: never;
|
|
2678
|
+
patch?: never;
|
|
2679
|
+
trace?: never;
|
|
2680
|
+
};
|
|
2681
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}": {
|
|
2682
|
+
parameters: {
|
|
2683
|
+
query?: never;
|
|
2684
|
+
header?: never;
|
|
2685
|
+
path?: never;
|
|
2686
|
+
cookie?: never;
|
|
2687
|
+
};
|
|
2688
|
+
/** Get code index status */
|
|
2689
|
+
get: operations["getCodeChatIndex"];
|
|
2690
|
+
put?: never;
|
|
2691
|
+
post?: never;
|
|
2692
|
+
delete?: never;
|
|
2693
|
+
options?: never;
|
|
2694
|
+
head?: never;
|
|
2695
|
+
patch?: never;
|
|
2696
|
+
trace?: never;
|
|
2697
|
+
};
|
|
2698
|
+
"/workspaces/{workspaceId}/code-chat/threads": {
|
|
2699
|
+
parameters: {
|
|
2700
|
+
query?: never;
|
|
2701
|
+
header?: never;
|
|
2702
|
+
path?: never;
|
|
2703
|
+
cookie?: never;
|
|
2704
|
+
};
|
|
2705
|
+
/** List code chat threads for the current user */
|
|
2706
|
+
get: operations["listCodeChatThreads"];
|
|
2707
|
+
put?: never;
|
|
2708
|
+
/** Create a code chat thread against a ready index */
|
|
2709
|
+
post: operations["createCodeChatThread"];
|
|
2710
|
+
delete?: never;
|
|
2711
|
+
options?: never;
|
|
2712
|
+
head?: never;
|
|
2713
|
+
patch?: never;
|
|
2714
|
+
trace?: never;
|
|
2715
|
+
};
|
|
2716
|
+
"/workspaces/{workspaceId}/code-chat/threads/{threadId}": {
|
|
2717
|
+
parameters: {
|
|
2718
|
+
query?: never;
|
|
2719
|
+
header?: never;
|
|
2720
|
+
path?: never;
|
|
2721
|
+
cookie?: never;
|
|
2722
|
+
};
|
|
2723
|
+
/** Get a code chat thread with messages */
|
|
2724
|
+
get: operations["getCodeChatThread"];
|
|
2725
|
+
put?: never;
|
|
2726
|
+
post?: never;
|
|
2727
|
+
/** Delete a code chat thread and its messages */
|
|
2728
|
+
delete: operations["deleteCodeChatThread"];
|
|
2729
|
+
options?: never;
|
|
2730
|
+
head?: never;
|
|
2731
|
+
patch?: never;
|
|
2732
|
+
trace?: never;
|
|
2733
|
+
};
|
|
2734
|
+
"/workspaces/{workspaceId}/code-chat/threads/{threadId}/messages": {
|
|
2735
|
+
parameters: {
|
|
2736
|
+
query?: never;
|
|
2737
|
+
header?: never;
|
|
2738
|
+
path?: never;
|
|
2739
|
+
cookie?: never;
|
|
2740
|
+
};
|
|
2741
|
+
get?: never;
|
|
2742
|
+
put?: never;
|
|
2743
|
+
/** Send a message and receive an assistant reply */
|
|
2744
|
+
post: operations["postCodeChatMessage"];
|
|
2745
|
+
delete?: never;
|
|
2746
|
+
options?: never;
|
|
2747
|
+
head?: never;
|
|
2748
|
+
patch?: never;
|
|
2749
|
+
trace?: never;
|
|
2750
|
+
};
|
|
2751
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki": {
|
|
2752
|
+
parameters: {
|
|
2753
|
+
query?: never;
|
|
2754
|
+
header?: never;
|
|
2755
|
+
path?: never;
|
|
2756
|
+
cookie?: never;
|
|
2757
|
+
};
|
|
2758
|
+
/** List wiki pages for an index (generates skeleton if missing) */
|
|
2759
|
+
get: operations["listCodeChatWikiPages"];
|
|
2760
|
+
put?: never;
|
|
2761
|
+
post?: never;
|
|
2762
|
+
delete?: never;
|
|
2763
|
+
options?: never;
|
|
2764
|
+
head?: never;
|
|
2765
|
+
patch?: never;
|
|
2766
|
+
trace?: never;
|
|
2767
|
+
};
|
|
2768
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki/{slug}": {
|
|
2769
|
+
parameters: {
|
|
2770
|
+
query?: never;
|
|
2771
|
+
header?: never;
|
|
2772
|
+
path?: never;
|
|
2773
|
+
cookie?: never;
|
|
2774
|
+
};
|
|
2775
|
+
/** Get a wiki page by slug */
|
|
2776
|
+
get: operations["getCodeChatWikiPage"];
|
|
2777
|
+
put?: never;
|
|
2778
|
+
post?: never;
|
|
2779
|
+
delete?: never;
|
|
2780
|
+
options?: never;
|
|
2781
|
+
head?: never;
|
|
2782
|
+
patch?: never;
|
|
2783
|
+
trace?: never;
|
|
2784
|
+
};
|
|
2785
|
+
"/workspaces/{workspaceId}/code-chat/indexes/{indexId}/wiki/generate": {
|
|
2786
|
+
parameters: {
|
|
2787
|
+
query?: never;
|
|
2788
|
+
header?: never;
|
|
2789
|
+
path?: never;
|
|
2790
|
+
cookie?: never;
|
|
2791
|
+
};
|
|
2792
|
+
get?: never;
|
|
2793
|
+
put?: never;
|
|
2794
|
+
/** Regenerate wiki pages from the stored code graph */
|
|
2795
|
+
post: operations["generateCodeChatWiki"];
|
|
2796
|
+
delete?: never;
|
|
2797
|
+
options?: never;
|
|
2798
|
+
head?: never;
|
|
2799
|
+
patch?: never;
|
|
2800
|
+
trace?: never;
|
|
2801
|
+
};
|
|
2802
|
+
"/workspaces/{workspaceId}/code-chat/analyze/symbols": {
|
|
2803
|
+
parameters: {
|
|
2804
|
+
query?: never;
|
|
2805
|
+
header?: never;
|
|
2806
|
+
path?: never;
|
|
2807
|
+
cookie?: never;
|
|
2808
|
+
};
|
|
2809
|
+
get?: never;
|
|
2810
|
+
put?: never;
|
|
2811
|
+
/** Find symbols across the ready corpus */
|
|
2812
|
+
post: operations["analyzeCodeChatSymbols"];
|
|
2813
|
+
delete?: never;
|
|
2814
|
+
options?: never;
|
|
2815
|
+
head?: never;
|
|
2816
|
+
patch?: never;
|
|
2817
|
+
trace?: never;
|
|
2818
|
+
};
|
|
2819
|
+
"/workspaces/{workspaceId}/code-chat/analyze/references": {
|
|
2820
|
+
parameters: {
|
|
2821
|
+
query?: never;
|
|
2822
|
+
header?: never;
|
|
2823
|
+
path?: never;
|
|
2824
|
+
cookie?: never;
|
|
2825
|
+
};
|
|
2826
|
+
get?: never;
|
|
2827
|
+
put?: never;
|
|
2828
|
+
/** Find references for a symbol */
|
|
2829
|
+
post: operations["analyzeCodeChatReferences"];
|
|
2830
|
+
delete?: never;
|
|
2831
|
+
options?: never;
|
|
2832
|
+
head?: never;
|
|
2833
|
+
patch?: never;
|
|
2834
|
+
trace?: never;
|
|
2835
|
+
};
|
|
2836
|
+
"/workspaces/{workspaceId}/code-chat/analyze/blast-radius": {
|
|
2837
|
+
parameters: {
|
|
2838
|
+
query?: never;
|
|
2839
|
+
header?: never;
|
|
2840
|
+
path?: never;
|
|
2841
|
+
cookie?: never;
|
|
2842
|
+
};
|
|
2843
|
+
get?: never;
|
|
2844
|
+
put?: never;
|
|
2845
|
+
/** Analyze blast radius (intra or gated cross-repo) */
|
|
2846
|
+
post: operations["analyzeCodeChatBlastRadius"];
|
|
2847
|
+
delete?: never;
|
|
2848
|
+
options?: never;
|
|
2849
|
+
head?: never;
|
|
2850
|
+
patch?: never;
|
|
2851
|
+
trace?: never;
|
|
2852
|
+
};
|
|
2853
|
+
"/workspaces/{workspaceId}/code-chat/analyze/semantic-diff": {
|
|
2854
|
+
parameters: {
|
|
2855
|
+
query?: never;
|
|
2856
|
+
header?: never;
|
|
2857
|
+
path?: never;
|
|
2858
|
+
cookie?: never;
|
|
2859
|
+
};
|
|
2860
|
+
get?: never;
|
|
2861
|
+
put?: never;
|
|
2862
|
+
/** Map changed paths onto graph symbols and blast hints */
|
|
2863
|
+
post: operations["analyzeCodeChatSemanticDiff"];
|
|
2864
|
+
delete?: never;
|
|
2865
|
+
options?: never;
|
|
2866
|
+
head?: never;
|
|
2867
|
+
patch?: never;
|
|
2868
|
+
trace?: never;
|
|
2869
|
+
};
|
|
2870
|
+
"/workspaces/{workspaceId}/code-chat/analyze/recommendations": {
|
|
2871
|
+
parameters: {
|
|
2872
|
+
query?: never;
|
|
2873
|
+
header?: never;
|
|
2874
|
+
path?: never;
|
|
2875
|
+
cookie?: never;
|
|
2876
|
+
};
|
|
2877
|
+
get?: never;
|
|
2878
|
+
put?: never;
|
|
2879
|
+
/** Test impact and BDD/contract recommendations */
|
|
2880
|
+
post: operations["analyzeCodeChatRecommendations"];
|
|
2881
|
+
delete?: never;
|
|
2882
|
+
options?: never;
|
|
2883
|
+
head?: never;
|
|
2884
|
+
patch?: never;
|
|
2885
|
+
trace?: never;
|
|
2886
|
+
};
|
|
2887
|
+
"/workspaces/{workspaceId}/code-chat/analyze/visualize": {
|
|
2888
|
+
parameters: {
|
|
2889
|
+
query?: never;
|
|
2890
|
+
header?: never;
|
|
2891
|
+
path?: never;
|
|
2892
|
+
cookie?: never;
|
|
2893
|
+
};
|
|
2894
|
+
get?: never;
|
|
2895
|
+
put?: never;
|
|
2896
|
+
/** Structured graph diagrams (SVG-ready nodes/edges) or Obsidian-style atlas stubs */
|
|
2897
|
+
post: operations["analyzeCodeChatVisualize"];
|
|
2898
|
+
delete?: never;
|
|
2899
|
+
options?: never;
|
|
2900
|
+
head?: never;
|
|
2901
|
+
patch?: never;
|
|
2902
|
+
trace?: never;
|
|
2903
|
+
};
|
|
2904
|
+
"/workspaces/{workspaceId}/code-chat/analyze/cross-edges": {
|
|
2905
|
+
parameters: {
|
|
2906
|
+
query?: never;
|
|
2907
|
+
header?: never;
|
|
2908
|
+
path?: never;
|
|
2909
|
+
cookie?: never;
|
|
2910
|
+
};
|
|
2911
|
+
get?: never;
|
|
2912
|
+
put?: never;
|
|
2913
|
+
/** Resolve heuristic cross-process edges across ready repos */
|
|
2914
|
+
post: operations["analyzeCodeChatCrossEdges"];
|
|
2915
|
+
delete?: never;
|
|
2916
|
+
options?: never;
|
|
2917
|
+
head?: never;
|
|
2918
|
+
patch?: never;
|
|
2919
|
+
trace?: never;
|
|
2920
|
+
};
|
|
2921
|
+
"/workspaces/{workspaceId}/code-chat/tools/get_context_pack": {
|
|
2922
|
+
parameters: {
|
|
2923
|
+
query?: never;
|
|
2924
|
+
header?: never;
|
|
2925
|
+
path?: never;
|
|
2926
|
+
cookie?: never;
|
|
2927
|
+
};
|
|
2928
|
+
get?: never;
|
|
2929
|
+
put?: never;
|
|
2930
|
+
/** MCP/agent tool — compact context pack from the corpus */
|
|
2931
|
+
post: operations["codeChatGetContextPack"];
|
|
2932
|
+
delete?: never;
|
|
2933
|
+
options?: never;
|
|
2934
|
+
head?: never;
|
|
2935
|
+
patch?: never;
|
|
2936
|
+
trace?: never;
|
|
2937
|
+
};
|
|
2646
2938
|
"/workspaces/{workspaceId}/notifications": {
|
|
2647
2939
|
parameters: {
|
|
2648
2940
|
query?: never;
|
|
@@ -6796,6 +7088,10 @@ export interface components {
|
|
|
6796
7088
|
mergedPrs: number;
|
|
6797
7089
|
/** @description True when the engineer is a GitHub contributor not mapped to an org-chart team. */
|
|
6798
7090
|
isUnmapped?: boolean;
|
|
7091
|
+
/** @description Cursor/Claude/Copilot seat external id when AI usage exists — use for AI usage detail deep links. */
|
|
7092
|
+
aiUsageExternalId?: string;
|
|
7093
|
+
/** @description AI provider id matching aiUsageExternalId (highest spend provider for the person in the window). */
|
|
7094
|
+
aiUsageProvider?: string;
|
|
6799
7095
|
};
|
|
6800
7096
|
InsightsRecommendationsRoiQuadrant: {
|
|
6801
7097
|
medianSpendUsd: number;
|
|
@@ -6926,27 +7222,324 @@ export interface components {
|
|
|
6926
7222
|
recommendations: components["schemas"]["InsightsRecommendationsPageBundleRecommendations"];
|
|
6927
7223
|
_meta: components["schemas"]["InsightsResponseMeta"];
|
|
6928
7224
|
};
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
/** @
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
7225
|
+
/** @enum {string} */
|
|
7226
|
+
CodeChatIndexStatus: "pending" | "indexing" | "ready" | "failed";
|
|
7227
|
+
/** @enum {string|null} */
|
|
7228
|
+
CodeChatIndexer: "graphify" | "builtin" | null;
|
|
7229
|
+
CodeChatIndexDto: {
|
|
7230
|
+
/** Format: uuid */
|
|
7231
|
+
id: string;
|
|
7232
|
+
/** Format: uuid */
|
|
7233
|
+
workspaceId: string;
|
|
7234
|
+
/** Format: uuid */
|
|
7235
|
+
repoId: string;
|
|
7236
|
+
providerSlug: string;
|
|
7237
|
+
repoName: string;
|
|
7238
|
+
status: components["schemas"]["CodeChatIndexStatus"];
|
|
7239
|
+
indexer?: components["schemas"]["CodeChatIndexer"];
|
|
7240
|
+
nodeCount: number;
|
|
7241
|
+
edgeCount: number;
|
|
7242
|
+
commitSha?: string | null;
|
|
7243
|
+
errorMessage?: string | null;
|
|
7244
|
+
/** Format: date-time */
|
|
7245
|
+
indexedAt?: string | null;
|
|
7246
|
+
/** Format: date-time */
|
|
7247
|
+
createdAt: string;
|
|
7248
|
+
/** Format: date-time */
|
|
7249
|
+
updatedAt: string;
|
|
7250
|
+
/** @description True when the indexed graph stores durable code excerpts (required for useful chat answers). */
|
|
7251
|
+
hasCodeExcerpts?: boolean;
|
|
7252
|
+
};
|
|
7253
|
+
CodeChatIndexListDto: {
|
|
7254
|
+
items: components["schemas"]["CodeChatIndexDto"][];
|
|
7255
|
+
};
|
|
7256
|
+
CodeChatCreateIndexBodyDto: {
|
|
7257
|
+
/** Format: uuid */
|
|
7258
|
+
repoId: string;
|
|
7259
|
+
};
|
|
7260
|
+
CodeChatSyncIndexesBodyDto: {
|
|
7261
|
+
/** @description Optional subset; omit or empty to enqueue all readiness GitHub repos. */
|
|
7262
|
+
repoIds?: string[];
|
|
7263
|
+
};
|
|
7264
|
+
CodeChatSyncIndexesResultDto: {
|
|
7265
|
+
enqueued: number;
|
|
7266
|
+
items?: components["schemas"]["CodeChatIndexDto"][];
|
|
7267
|
+
};
|
|
7268
|
+
CodeChatThreadDto: {
|
|
7269
|
+
/** Format: uuid */
|
|
7270
|
+
id: string;
|
|
7271
|
+
/** Format: uuid */
|
|
7272
|
+
workspaceId: string;
|
|
7273
|
+
/** Format: uuid */
|
|
7274
|
+
indexId?: string | null;
|
|
7275
|
+
/** @description Empty means all ready repos in the workspace. */
|
|
7276
|
+
repoIds: string[];
|
|
7277
|
+
revisionRef?: string | null;
|
|
7278
|
+
title: string;
|
|
7279
|
+
/** Format: date-time */
|
|
7280
|
+
createdAt: string;
|
|
7281
|
+
/** Format: date-time */
|
|
7282
|
+
updatedAt: string;
|
|
7283
|
+
};
|
|
7284
|
+
CodeChatThreadListDto: {
|
|
7285
|
+
items: components["schemas"]["CodeChatThreadDto"][];
|
|
7286
|
+
};
|
|
7287
|
+
CodeChatCreateThreadBodyDto: {
|
|
7288
|
+
/**
|
|
7289
|
+
* Format: uuid
|
|
7290
|
+
* @description Legacy single-index bind; prefer repoIds for workspace scope.
|
|
7291
|
+
*/
|
|
7292
|
+
indexId?: string;
|
|
7293
|
+
/** @description Empty or omitted = all ready repos. */
|
|
7294
|
+
repoIds?: string[];
|
|
7295
|
+
revisionRef?: string;
|
|
7296
|
+
title?: string;
|
|
7297
|
+
};
|
|
7298
|
+
CodeChatCitationDto: {
|
|
7299
|
+
path: string;
|
|
7300
|
+
label: string;
|
|
7301
|
+
score: number;
|
|
7302
|
+
/** Format: uuid */
|
|
7303
|
+
repoId?: string;
|
|
7304
|
+
repoName?: string;
|
|
7305
|
+
providerSlug?: string;
|
|
7306
|
+
commitSha?: string | null;
|
|
7307
|
+
startLine?: number;
|
|
7308
|
+
endLine?: number;
|
|
7309
|
+
/** @enum {string} */
|
|
7310
|
+
confidence?: "fact" | "inference" | "possibility" | "unknown";
|
|
7311
|
+
};
|
|
7312
|
+
CodeChatMessageDto: {
|
|
7313
|
+
/** Format: uuid */
|
|
7314
|
+
id: string;
|
|
7315
|
+
/** @enum {string} */
|
|
7316
|
+
role: "user" | "assistant";
|
|
7317
|
+
content: string;
|
|
7318
|
+
citations: components["schemas"]["CodeChatCitationDto"][];
|
|
7319
|
+
/** Format: date-time */
|
|
7320
|
+
createdAt: string;
|
|
7321
|
+
};
|
|
7322
|
+
CodeChatThreadDetailDto: components["schemas"]["CodeChatThreadDto"] & {
|
|
7323
|
+
messages: components["schemas"]["CodeChatMessageDto"][];
|
|
7324
|
+
};
|
|
7325
|
+
CodeChatPostMessageBodyDto: {
|
|
7326
|
+
content: string;
|
|
7327
|
+
};
|
|
7328
|
+
CodeChatMessageReplyDto: components["schemas"]["CodeChatMessageDto"] & {
|
|
7329
|
+
/** @enum {string} */
|
|
7330
|
+
mode: "llm" | "retrieval";
|
|
7331
|
+
};
|
|
7332
|
+
CodeChatWikiPageDto: {
|
|
7333
|
+
/** Format: uuid */
|
|
7334
|
+
id: string;
|
|
7335
|
+
/** Format: uuid */
|
|
7336
|
+
indexId: string;
|
|
7337
|
+
/** Format: uuid */
|
|
7338
|
+
workspaceId: string;
|
|
7339
|
+
slug: string;
|
|
7340
|
+
title: string;
|
|
7341
|
+
bodyMd: string;
|
|
7342
|
+
sortOrder: number;
|
|
7343
|
+
sourcePaths: string[];
|
|
7344
|
+
diagramMermaid?: string | null;
|
|
7345
|
+
/** Format: date-time */
|
|
7346
|
+
createdAt: string;
|
|
7347
|
+
/** Format: date-time */
|
|
7348
|
+
updatedAt: string;
|
|
7349
|
+
};
|
|
7350
|
+
CodeChatWikiPageListDto: {
|
|
7351
|
+
items: components["schemas"]["CodeChatWikiPageDto"][];
|
|
7352
|
+
};
|
|
7353
|
+
CodeChatSymbolQueryBodyDto: {
|
|
7354
|
+
query: string;
|
|
7355
|
+
repoIds?: string[];
|
|
7356
|
+
};
|
|
7357
|
+
CodeChatSymbolHitDto: {
|
|
7358
|
+
id: string;
|
|
7359
|
+
name: string;
|
|
7360
|
+
path: string;
|
|
7361
|
+
kind: string;
|
|
7362
|
+
summary?: string;
|
|
7363
|
+
startLine?: number;
|
|
7364
|
+
/** Format: uuid */
|
|
7365
|
+
repoId?: string;
|
|
7366
|
+
repoName?: string;
|
|
7367
|
+
commitSha?: string | null;
|
|
7368
|
+
};
|
|
7369
|
+
CodeChatSymbolHitListDto: {
|
|
7370
|
+
items: components["schemas"]["CodeChatSymbolHitDto"][];
|
|
7371
|
+
};
|
|
7372
|
+
CodeChatReferenceQueryBodyDto: {
|
|
7373
|
+
symbol: string;
|
|
7374
|
+
repoIds?: string[];
|
|
7375
|
+
};
|
|
7376
|
+
CodeChatReferenceHitDto: {
|
|
7377
|
+
fromId: string;
|
|
7378
|
+
fromLabel: string;
|
|
7379
|
+
toId: string;
|
|
7380
|
+
toLabel: string;
|
|
7381
|
+
relation: string;
|
|
7382
|
+
/** @enum {string} */
|
|
7383
|
+
certainty: "EXTRACTED" | "INFERRED";
|
|
7384
|
+
/** Format: uuid */
|
|
7385
|
+
repoId?: string;
|
|
7386
|
+
repoName?: string;
|
|
7387
|
+
};
|
|
7388
|
+
CodeChatReferenceHitListDto: {
|
|
7389
|
+
items: components["schemas"]["CodeChatReferenceHitDto"][];
|
|
7390
|
+
};
|
|
7391
|
+
CodeChatBlastRadiusBodyDto: {
|
|
7392
|
+
symbol: string;
|
|
7393
|
+
repoIds?: string[];
|
|
7394
|
+
crossRepo?: boolean;
|
|
7395
|
+
};
|
|
7396
|
+
CodeChatBlastRadiusResultDto: {
|
|
7397
|
+
/** @enum {string} */
|
|
7398
|
+
mode: "intra_repo" | "cross_repo";
|
|
7399
|
+
/** @enum {string} */
|
|
7400
|
+
completeness: "partial" | "unknown";
|
|
7401
|
+
gateNote?: string;
|
|
7402
|
+
/** Format: uuid */
|
|
7403
|
+
repoId?: string;
|
|
7404
|
+
repoName?: string;
|
|
7405
|
+
originId?: string;
|
|
7406
|
+
originLabel?: string;
|
|
7407
|
+
truncated?: boolean;
|
|
7408
|
+
edgesUsed?: number;
|
|
7409
|
+
nodes?: {
|
|
7410
|
+
[key: string]: unknown;
|
|
7411
|
+
}[];
|
|
7412
|
+
};
|
|
7413
|
+
CodeChatSemanticDiffBodyDto: {
|
|
7414
|
+
changedPaths: string[];
|
|
7415
|
+
/** Format: uuid */
|
|
7416
|
+
indexId?: string;
|
|
7417
|
+
repoIds?: string[];
|
|
7418
|
+
baseCommit?: string;
|
|
7419
|
+
headCommit?: string;
|
|
7420
|
+
};
|
|
7421
|
+
CodeChatSemanticDiffResultDto: {
|
|
7422
|
+
baseCommit?: string;
|
|
7423
|
+
headCommit?: string;
|
|
7424
|
+
files: {
|
|
7425
|
+
path: string;
|
|
7426
|
+
/** @enum {string} */
|
|
7427
|
+
changeType: "added" | "removed" | "modified";
|
|
7428
|
+
symbolsTouched: string[];
|
|
7429
|
+
summary: string;
|
|
7430
|
+
}[];
|
|
7431
|
+
blastHints: {
|
|
7432
|
+
symbol: string;
|
|
7433
|
+
affectedCount: number;
|
|
7434
|
+
}[];
|
|
7435
|
+
};
|
|
7436
|
+
CodeChatRecommendationsBodyDto: {
|
|
7437
|
+
repoIds?: string[];
|
|
7438
|
+
changedPaths?: string[];
|
|
7439
|
+
symbol?: string;
|
|
7440
|
+
};
|
|
7441
|
+
CodeChatRecommendationsResultDto: {
|
|
7442
|
+
/** Format: uuid */
|
|
7443
|
+
repoId?: string;
|
|
7444
|
+
repoName?: string;
|
|
7445
|
+
testImpact: {
|
|
7446
|
+
[key: string]: unknown;
|
|
7447
|
+
}[];
|
|
7448
|
+
recommendations: {
|
|
7449
|
+
[key: string]: unknown;
|
|
7450
|
+
}[];
|
|
7451
|
+
};
|
|
7452
|
+
CodeChatVisualizeBodyDto: {
|
|
7453
|
+
/** @enum {string} */
|
|
7454
|
+
kind?: "dependency" | "blast" | "atlas";
|
|
7455
|
+
symbol?: string;
|
|
7456
|
+
repoIds?: string[];
|
|
7457
|
+
};
|
|
7458
|
+
CodeChatVisualizeResultDto: {
|
|
7459
|
+
/** Format: uuid */
|
|
7460
|
+
repoId?: string;
|
|
7461
|
+
diagram?: {
|
|
7462
|
+
/** @enum {string} */
|
|
7463
|
+
format: "graph" | "mermaid";
|
|
7464
|
+
title: string;
|
|
7465
|
+
/** @description Mermaid source kept for export/copy */
|
|
7466
|
+
source: string;
|
|
7467
|
+
/** @description Set when dependency edges could not be resolved and a fallback view is shown. */
|
|
7468
|
+
note?: string;
|
|
7469
|
+
nodes: {
|
|
7470
|
+
id: string;
|
|
7471
|
+
label: string;
|
|
7472
|
+
kind?: string;
|
|
7473
|
+
}[];
|
|
7474
|
+
edges: {
|
|
7475
|
+
from: string;
|
|
7476
|
+
to: string;
|
|
7477
|
+
label?: string;
|
|
7478
|
+
}[];
|
|
7479
|
+
};
|
|
7480
|
+
atlas?: {
|
|
7481
|
+
path?: string;
|
|
7482
|
+
body?: string;
|
|
7483
|
+
}[];
|
|
7484
|
+
};
|
|
7485
|
+
CodeChatCrossEdgesBodyDto: {
|
|
7486
|
+
repoIds?: string[];
|
|
7487
|
+
};
|
|
7488
|
+
CodeChatCrossEdgesResultDto: {
|
|
7489
|
+
items: {
|
|
7490
|
+
[key: string]: unknown;
|
|
7491
|
+
}[];
|
|
7492
|
+
/** @enum {string} */
|
|
7493
|
+
completeness: "partial" | "unknown";
|
|
7494
|
+
gateNote?: string;
|
|
7495
|
+
};
|
|
7496
|
+
CodeChatContextPackBodyDto: {
|
|
7497
|
+
question?: string;
|
|
7498
|
+
symbol?: string;
|
|
7499
|
+
maxTokensApprox?: number;
|
|
7500
|
+
repoIds?: string[];
|
|
7501
|
+
};
|
|
7502
|
+
CodeChatContextPackDto: {
|
|
7503
|
+
/** Format: uuid */
|
|
7504
|
+
repoId?: string;
|
|
7505
|
+
repoName?: string;
|
|
7506
|
+
commitSha?: string | null;
|
|
7507
|
+
summary: string;
|
|
7508
|
+
symbols: {
|
|
7509
|
+
[key: string]: unknown;
|
|
7510
|
+
}[];
|
|
7511
|
+
references: {
|
|
7512
|
+
[key: string]: unknown;
|
|
7513
|
+
}[];
|
|
7514
|
+
blastRadiusPreview?: {
|
|
7515
|
+
[key: string]: unknown;
|
|
7516
|
+
};
|
|
7517
|
+
citations: {
|
|
7518
|
+
[key: string]: unknown;
|
|
7519
|
+
}[];
|
|
7520
|
+
snippets: string[];
|
|
7521
|
+
};
|
|
7522
|
+
};
|
|
7523
|
+
responses: {
|
|
7524
|
+
/** @description Missing or invalid bearer token */
|
|
7525
|
+
Unauthorized: {
|
|
7526
|
+
headers: {
|
|
7527
|
+
[name: string]: unknown;
|
|
7528
|
+
};
|
|
7529
|
+
content: {
|
|
7530
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
7531
|
+
};
|
|
7532
|
+
};
|
|
7533
|
+
/** @description Authenticated but not allowed */
|
|
7534
|
+
Forbidden: {
|
|
7535
|
+
headers: {
|
|
7536
|
+
[name: string]: unknown;
|
|
7537
|
+
};
|
|
7538
|
+
content: {
|
|
7539
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
7540
|
+
};
|
|
7541
|
+
};
|
|
7542
|
+
/** @description HRIS sync or ZenHR OAuth refresh already in progress for this workspace */
|
|
6950
7543
|
ZenHrSyncInProgress: {
|
|
6951
7544
|
headers: {
|
|
6952
7545
|
[name: string]: unknown;
|
|
@@ -7384,6 +7977,41 @@ export type InsightsRecommendationDto = components['schemas']['InsightsRecommend
|
|
|
7384
7977
|
export type InsightsRecommendationsListResponse = components['schemas']['InsightsRecommendationsListResponse'];
|
|
7385
7978
|
export type InsightsRecommendationsPageBundleRecommendations = components['schemas']['InsightsRecommendationsPageBundleRecommendations'];
|
|
7386
7979
|
export type InsightsRecommendationsPageBundleResponse = components['schemas']['InsightsRecommendationsPageBundleResponse'];
|
|
7980
|
+
export type CodeChatIndexStatus = components['schemas']['CodeChatIndexStatus'];
|
|
7981
|
+
export type CodeChatIndexer = components['schemas']['CodeChatIndexer'];
|
|
7982
|
+
export type CodeChatIndexDto = components['schemas']['CodeChatIndexDto'];
|
|
7983
|
+
export type CodeChatIndexListDto = components['schemas']['CodeChatIndexListDto'];
|
|
7984
|
+
export type CodeChatCreateIndexBodyDto = components['schemas']['CodeChatCreateIndexBodyDto'];
|
|
7985
|
+
export type CodeChatSyncIndexesBodyDto = components['schemas']['CodeChatSyncIndexesBodyDto'];
|
|
7986
|
+
export type CodeChatSyncIndexesResultDto = components['schemas']['CodeChatSyncIndexesResultDto'];
|
|
7987
|
+
export type CodeChatThreadDto = components['schemas']['CodeChatThreadDto'];
|
|
7988
|
+
export type CodeChatThreadListDto = components['schemas']['CodeChatThreadListDto'];
|
|
7989
|
+
export type CodeChatCreateThreadBodyDto = components['schemas']['CodeChatCreateThreadBodyDto'];
|
|
7990
|
+
export type CodeChatCitationDto = components['schemas']['CodeChatCitationDto'];
|
|
7991
|
+
export type CodeChatMessageDto = components['schemas']['CodeChatMessageDto'];
|
|
7992
|
+
export type CodeChatThreadDetailDto = components['schemas']['CodeChatThreadDetailDto'];
|
|
7993
|
+
export type CodeChatPostMessageBodyDto = components['schemas']['CodeChatPostMessageBodyDto'];
|
|
7994
|
+
export type CodeChatMessageReplyDto = components['schemas']['CodeChatMessageReplyDto'];
|
|
7995
|
+
export type CodeChatWikiPageDto = components['schemas']['CodeChatWikiPageDto'];
|
|
7996
|
+
export type CodeChatWikiPageListDto = components['schemas']['CodeChatWikiPageListDto'];
|
|
7997
|
+
export type CodeChatSymbolQueryBodyDto = components['schemas']['CodeChatSymbolQueryBodyDto'];
|
|
7998
|
+
export type CodeChatSymbolHitDto = components['schemas']['CodeChatSymbolHitDto'];
|
|
7999
|
+
export type CodeChatSymbolHitListDto = components['schemas']['CodeChatSymbolHitListDto'];
|
|
8000
|
+
export type CodeChatReferenceQueryBodyDto = components['schemas']['CodeChatReferenceQueryBodyDto'];
|
|
8001
|
+
export type CodeChatReferenceHitDto = components['schemas']['CodeChatReferenceHitDto'];
|
|
8002
|
+
export type CodeChatReferenceHitListDto = components['schemas']['CodeChatReferenceHitListDto'];
|
|
8003
|
+
export type CodeChatBlastRadiusBodyDto = components['schemas']['CodeChatBlastRadiusBodyDto'];
|
|
8004
|
+
export type CodeChatBlastRadiusResultDto = components['schemas']['CodeChatBlastRadiusResultDto'];
|
|
8005
|
+
export type CodeChatSemanticDiffBodyDto = components['schemas']['CodeChatSemanticDiffBodyDto'];
|
|
8006
|
+
export type CodeChatSemanticDiffResultDto = components['schemas']['CodeChatSemanticDiffResultDto'];
|
|
8007
|
+
export type CodeChatRecommendationsBodyDto = components['schemas']['CodeChatRecommendationsBodyDto'];
|
|
8008
|
+
export type CodeChatRecommendationsResultDto = components['schemas']['CodeChatRecommendationsResultDto'];
|
|
8009
|
+
export type CodeChatVisualizeBodyDto = components['schemas']['CodeChatVisualizeBodyDto'];
|
|
8010
|
+
export type CodeChatVisualizeResultDto = components['schemas']['CodeChatVisualizeResultDto'];
|
|
8011
|
+
export type CodeChatCrossEdgesBodyDto = components['schemas']['CodeChatCrossEdgesBodyDto'];
|
|
8012
|
+
export type CodeChatCrossEdgesResultDto = components['schemas']['CodeChatCrossEdgesResultDto'];
|
|
8013
|
+
export type CodeChatContextPackBodyDto = components['schemas']['CodeChatContextPackBodyDto'];
|
|
8014
|
+
export type CodeChatContextPackDto = components['schemas']['CodeChatContextPackDto'];
|
|
7387
8015
|
export type ResponseUnauthorized = components['responses']['Unauthorized'];
|
|
7388
8016
|
export type ResponseForbidden = components['responses']['Forbidden'];
|
|
7389
8017
|
export type ResponseZenHrSyncInProgress = components['responses']['ZenHrSyncInProgress'];
|
|
@@ -14345,6 +14973,679 @@ export interface operations {
|
|
|
14345
14973
|
401: components["responses"]["Unauthorized"];
|
|
14346
14974
|
};
|
|
14347
14975
|
};
|
|
14976
|
+
listCodeChatIndexes: {
|
|
14977
|
+
parameters: {
|
|
14978
|
+
query?: never;
|
|
14979
|
+
header?: never;
|
|
14980
|
+
path: {
|
|
14981
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
14982
|
+
};
|
|
14983
|
+
cookie?: never;
|
|
14984
|
+
};
|
|
14985
|
+
requestBody?: never;
|
|
14986
|
+
responses: {
|
|
14987
|
+
/** @description Index list */
|
|
14988
|
+
200: {
|
|
14989
|
+
headers: {
|
|
14990
|
+
[name: string]: unknown;
|
|
14991
|
+
};
|
|
14992
|
+
content: {
|
|
14993
|
+
"application/json": components["schemas"]["CodeChatIndexListDto"];
|
|
14994
|
+
};
|
|
14995
|
+
};
|
|
14996
|
+
401: components["responses"]["Unauthorized"];
|
|
14997
|
+
};
|
|
14998
|
+
};
|
|
14999
|
+
createCodeChatIndex: {
|
|
15000
|
+
parameters: {
|
|
15001
|
+
query?: never;
|
|
15002
|
+
header?: never;
|
|
15003
|
+
path: {
|
|
15004
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15005
|
+
};
|
|
15006
|
+
cookie?: never;
|
|
15007
|
+
};
|
|
15008
|
+
requestBody: {
|
|
15009
|
+
content: {
|
|
15010
|
+
"application/json": components["schemas"]["CodeChatCreateIndexBodyDto"];
|
|
15011
|
+
};
|
|
15012
|
+
};
|
|
15013
|
+
responses: {
|
|
15014
|
+
/** @description Indexing accepted */
|
|
15015
|
+
202: {
|
|
15016
|
+
headers: {
|
|
15017
|
+
[name: string]: unknown;
|
|
15018
|
+
};
|
|
15019
|
+
content: {
|
|
15020
|
+
"application/json": components["schemas"]["CodeChatIndexDto"];
|
|
15021
|
+
};
|
|
15022
|
+
};
|
|
15023
|
+
/** @description Invalid request */
|
|
15024
|
+
400: {
|
|
15025
|
+
headers: {
|
|
15026
|
+
[name: string]: unknown;
|
|
15027
|
+
};
|
|
15028
|
+
content: {
|
|
15029
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15030
|
+
};
|
|
15031
|
+
};
|
|
15032
|
+
401: components["responses"]["Unauthorized"];
|
|
15033
|
+
/** @description Not found */
|
|
15034
|
+
404: {
|
|
15035
|
+
headers: {
|
|
15036
|
+
[name: string]: unknown;
|
|
15037
|
+
};
|
|
15038
|
+
content: {
|
|
15039
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15040
|
+
};
|
|
15041
|
+
};
|
|
15042
|
+
};
|
|
15043
|
+
};
|
|
15044
|
+
syncCodeChatIndexes: {
|
|
15045
|
+
parameters: {
|
|
15046
|
+
query?: never;
|
|
15047
|
+
header?: never;
|
|
15048
|
+
path: {
|
|
15049
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15050
|
+
};
|
|
15051
|
+
cookie?: never;
|
|
15052
|
+
};
|
|
15053
|
+
requestBody?: {
|
|
15054
|
+
content: {
|
|
15055
|
+
"application/json": components["schemas"]["CodeChatSyncIndexesBodyDto"];
|
|
15056
|
+
};
|
|
15057
|
+
};
|
|
15058
|
+
responses: {
|
|
15059
|
+
/** @description Sync accepted */
|
|
15060
|
+
202: {
|
|
15061
|
+
headers: {
|
|
15062
|
+
[name: string]: unknown;
|
|
15063
|
+
};
|
|
15064
|
+
content: {
|
|
15065
|
+
"application/json": components["schemas"]["CodeChatSyncIndexesResultDto"];
|
|
15066
|
+
};
|
|
15067
|
+
};
|
|
15068
|
+
401: components["responses"]["Unauthorized"];
|
|
15069
|
+
};
|
|
15070
|
+
};
|
|
15071
|
+
getCodeChatIndex: {
|
|
15072
|
+
parameters: {
|
|
15073
|
+
query?: never;
|
|
15074
|
+
header?: never;
|
|
15075
|
+
path: {
|
|
15076
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15077
|
+
indexId: string;
|
|
15078
|
+
};
|
|
15079
|
+
cookie?: never;
|
|
15080
|
+
};
|
|
15081
|
+
requestBody?: never;
|
|
15082
|
+
responses: {
|
|
15083
|
+
/** @description Index */
|
|
15084
|
+
200: {
|
|
15085
|
+
headers: {
|
|
15086
|
+
[name: string]: unknown;
|
|
15087
|
+
};
|
|
15088
|
+
content: {
|
|
15089
|
+
"application/json": components["schemas"]["CodeChatIndexDto"];
|
|
15090
|
+
};
|
|
15091
|
+
};
|
|
15092
|
+
401: components["responses"]["Unauthorized"];
|
|
15093
|
+
/** @description Not found */
|
|
15094
|
+
404: {
|
|
15095
|
+
headers: {
|
|
15096
|
+
[name: string]: unknown;
|
|
15097
|
+
};
|
|
15098
|
+
content: {
|
|
15099
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15100
|
+
};
|
|
15101
|
+
};
|
|
15102
|
+
};
|
|
15103
|
+
};
|
|
15104
|
+
listCodeChatThreads: {
|
|
15105
|
+
parameters: {
|
|
15106
|
+
query?: never;
|
|
15107
|
+
header?: never;
|
|
15108
|
+
path: {
|
|
15109
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15110
|
+
};
|
|
15111
|
+
cookie?: never;
|
|
15112
|
+
};
|
|
15113
|
+
requestBody?: never;
|
|
15114
|
+
responses: {
|
|
15115
|
+
/** @description Thread list */
|
|
15116
|
+
200: {
|
|
15117
|
+
headers: {
|
|
15118
|
+
[name: string]: unknown;
|
|
15119
|
+
};
|
|
15120
|
+
content: {
|
|
15121
|
+
"application/json": components["schemas"]["CodeChatThreadListDto"];
|
|
15122
|
+
};
|
|
15123
|
+
};
|
|
15124
|
+
401: components["responses"]["Unauthorized"];
|
|
15125
|
+
};
|
|
15126
|
+
};
|
|
15127
|
+
createCodeChatThread: {
|
|
15128
|
+
parameters: {
|
|
15129
|
+
query?: never;
|
|
15130
|
+
header?: never;
|
|
15131
|
+
path: {
|
|
15132
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15133
|
+
};
|
|
15134
|
+
cookie?: never;
|
|
15135
|
+
};
|
|
15136
|
+
requestBody: {
|
|
15137
|
+
content: {
|
|
15138
|
+
"application/json": components["schemas"]["CodeChatCreateThreadBodyDto"];
|
|
15139
|
+
};
|
|
15140
|
+
};
|
|
15141
|
+
responses: {
|
|
15142
|
+
/** @description Thread created */
|
|
15143
|
+
201: {
|
|
15144
|
+
headers: {
|
|
15145
|
+
[name: string]: unknown;
|
|
15146
|
+
};
|
|
15147
|
+
content: {
|
|
15148
|
+
"application/json": components["schemas"]["CodeChatThreadDto"];
|
|
15149
|
+
};
|
|
15150
|
+
};
|
|
15151
|
+
401: components["responses"]["Unauthorized"];
|
|
15152
|
+
/** @description Not found */
|
|
15153
|
+
404: {
|
|
15154
|
+
headers: {
|
|
15155
|
+
[name: string]: unknown;
|
|
15156
|
+
};
|
|
15157
|
+
content: {
|
|
15158
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15159
|
+
};
|
|
15160
|
+
};
|
|
15161
|
+
/** @description Index not ready */
|
|
15162
|
+
409: {
|
|
15163
|
+
headers: {
|
|
15164
|
+
[name: string]: unknown;
|
|
15165
|
+
};
|
|
15166
|
+
content?: never;
|
|
15167
|
+
};
|
|
15168
|
+
};
|
|
15169
|
+
};
|
|
15170
|
+
getCodeChatThread: {
|
|
15171
|
+
parameters: {
|
|
15172
|
+
query?: never;
|
|
15173
|
+
header?: never;
|
|
15174
|
+
path: {
|
|
15175
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15176
|
+
threadId: string;
|
|
15177
|
+
};
|
|
15178
|
+
cookie?: never;
|
|
15179
|
+
};
|
|
15180
|
+
requestBody?: never;
|
|
15181
|
+
responses: {
|
|
15182
|
+
/** @description Thread with messages */
|
|
15183
|
+
200: {
|
|
15184
|
+
headers: {
|
|
15185
|
+
[name: string]: unknown;
|
|
15186
|
+
};
|
|
15187
|
+
content: {
|
|
15188
|
+
"application/json": components["schemas"]["CodeChatThreadDetailDto"];
|
|
15189
|
+
};
|
|
15190
|
+
};
|
|
15191
|
+
401: components["responses"]["Unauthorized"];
|
|
15192
|
+
/** @description Not found */
|
|
15193
|
+
404: {
|
|
15194
|
+
headers: {
|
|
15195
|
+
[name: string]: unknown;
|
|
15196
|
+
};
|
|
15197
|
+
content: {
|
|
15198
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15199
|
+
};
|
|
15200
|
+
};
|
|
15201
|
+
};
|
|
15202
|
+
};
|
|
15203
|
+
deleteCodeChatThread: {
|
|
15204
|
+
parameters: {
|
|
15205
|
+
query?: never;
|
|
15206
|
+
header?: never;
|
|
15207
|
+
path: {
|
|
15208
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15209
|
+
threadId: string;
|
|
15210
|
+
};
|
|
15211
|
+
cookie?: never;
|
|
15212
|
+
};
|
|
15213
|
+
requestBody?: never;
|
|
15214
|
+
responses: {
|
|
15215
|
+
/** @description Thread deleted */
|
|
15216
|
+
204: {
|
|
15217
|
+
headers: {
|
|
15218
|
+
[name: string]: unknown;
|
|
15219
|
+
};
|
|
15220
|
+
content?: never;
|
|
15221
|
+
};
|
|
15222
|
+
401: components["responses"]["Unauthorized"];
|
|
15223
|
+
/** @description Not found */
|
|
15224
|
+
404: {
|
|
15225
|
+
headers: {
|
|
15226
|
+
[name: string]: unknown;
|
|
15227
|
+
};
|
|
15228
|
+
content?: never;
|
|
15229
|
+
};
|
|
15230
|
+
};
|
|
15231
|
+
};
|
|
15232
|
+
postCodeChatMessage: {
|
|
15233
|
+
parameters: {
|
|
15234
|
+
query?: never;
|
|
15235
|
+
header?: never;
|
|
15236
|
+
path: {
|
|
15237
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15238
|
+
threadId: string;
|
|
15239
|
+
};
|
|
15240
|
+
cookie?: never;
|
|
15241
|
+
};
|
|
15242
|
+
requestBody: {
|
|
15243
|
+
content: {
|
|
15244
|
+
"application/json": components["schemas"]["CodeChatPostMessageBodyDto"];
|
|
15245
|
+
};
|
|
15246
|
+
};
|
|
15247
|
+
responses: {
|
|
15248
|
+
/** @description Assistant message */
|
|
15249
|
+
200: {
|
|
15250
|
+
headers: {
|
|
15251
|
+
[name: string]: unknown;
|
|
15252
|
+
};
|
|
15253
|
+
content: {
|
|
15254
|
+
"application/json": components["schemas"]["CodeChatMessageReplyDto"];
|
|
15255
|
+
};
|
|
15256
|
+
};
|
|
15257
|
+
401: components["responses"]["Unauthorized"];
|
|
15258
|
+
/** @description Not found */
|
|
15259
|
+
404: {
|
|
15260
|
+
headers: {
|
|
15261
|
+
[name: string]: unknown;
|
|
15262
|
+
};
|
|
15263
|
+
content: {
|
|
15264
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
15265
|
+
};
|
|
15266
|
+
};
|
|
15267
|
+
/** @description Index not ready */
|
|
15268
|
+
409: {
|
|
15269
|
+
headers: {
|
|
15270
|
+
[name: string]: unknown;
|
|
15271
|
+
};
|
|
15272
|
+
content?: never;
|
|
15273
|
+
};
|
|
15274
|
+
};
|
|
15275
|
+
};
|
|
15276
|
+
listCodeChatWikiPages: {
|
|
15277
|
+
parameters: {
|
|
15278
|
+
query?: never;
|
|
15279
|
+
header?: never;
|
|
15280
|
+
path: {
|
|
15281
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15282
|
+
indexId: string;
|
|
15283
|
+
};
|
|
15284
|
+
cookie?: never;
|
|
15285
|
+
};
|
|
15286
|
+
requestBody?: never;
|
|
15287
|
+
responses: {
|
|
15288
|
+
/** @description Wiki page list */
|
|
15289
|
+
200: {
|
|
15290
|
+
headers: {
|
|
15291
|
+
[name: string]: unknown;
|
|
15292
|
+
};
|
|
15293
|
+
content: {
|
|
15294
|
+
"application/json": components["schemas"]["CodeChatWikiPageListDto"];
|
|
15295
|
+
};
|
|
15296
|
+
};
|
|
15297
|
+
401: components["responses"]["Unauthorized"];
|
|
15298
|
+
/** @description Not found */
|
|
15299
|
+
404: {
|
|
15300
|
+
headers: {
|
|
15301
|
+
[name: string]: unknown;
|
|
15302
|
+
};
|
|
15303
|
+
content?: never;
|
|
15304
|
+
};
|
|
15305
|
+
};
|
|
15306
|
+
};
|
|
15307
|
+
getCodeChatWikiPage: {
|
|
15308
|
+
parameters: {
|
|
15309
|
+
query?: never;
|
|
15310
|
+
header?: never;
|
|
15311
|
+
path: {
|
|
15312
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15313
|
+
indexId: string;
|
|
15314
|
+
slug: string;
|
|
15315
|
+
};
|
|
15316
|
+
cookie?: never;
|
|
15317
|
+
};
|
|
15318
|
+
requestBody?: never;
|
|
15319
|
+
responses: {
|
|
15320
|
+
/** @description Wiki page */
|
|
15321
|
+
200: {
|
|
15322
|
+
headers: {
|
|
15323
|
+
[name: string]: unknown;
|
|
15324
|
+
};
|
|
15325
|
+
content: {
|
|
15326
|
+
"application/json": components["schemas"]["CodeChatWikiPageDto"];
|
|
15327
|
+
};
|
|
15328
|
+
};
|
|
15329
|
+
401: components["responses"]["Unauthorized"];
|
|
15330
|
+
/** @description Not found */
|
|
15331
|
+
404: {
|
|
15332
|
+
headers: {
|
|
15333
|
+
[name: string]: unknown;
|
|
15334
|
+
};
|
|
15335
|
+
content?: never;
|
|
15336
|
+
};
|
|
15337
|
+
};
|
|
15338
|
+
};
|
|
15339
|
+
generateCodeChatWiki: {
|
|
15340
|
+
parameters: {
|
|
15341
|
+
query?: never;
|
|
15342
|
+
header?: never;
|
|
15343
|
+
path: {
|
|
15344
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15345
|
+
indexId: string;
|
|
15346
|
+
};
|
|
15347
|
+
cookie?: never;
|
|
15348
|
+
};
|
|
15349
|
+
requestBody?: never;
|
|
15350
|
+
responses: {
|
|
15351
|
+
/** @description Generated wiki pages */
|
|
15352
|
+
200: {
|
|
15353
|
+
headers: {
|
|
15354
|
+
[name: string]: unknown;
|
|
15355
|
+
};
|
|
15356
|
+
content: {
|
|
15357
|
+
"application/json": components["schemas"]["CodeChatWikiPageListDto"];
|
|
15358
|
+
};
|
|
15359
|
+
};
|
|
15360
|
+
401: components["responses"]["Unauthorized"];
|
|
15361
|
+
/** @description Index not ready */
|
|
15362
|
+
409: {
|
|
15363
|
+
headers: {
|
|
15364
|
+
[name: string]: unknown;
|
|
15365
|
+
};
|
|
15366
|
+
content?: never;
|
|
15367
|
+
};
|
|
15368
|
+
};
|
|
15369
|
+
};
|
|
15370
|
+
analyzeCodeChatSymbols: {
|
|
15371
|
+
parameters: {
|
|
15372
|
+
query?: never;
|
|
15373
|
+
header?: never;
|
|
15374
|
+
path: {
|
|
15375
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15376
|
+
};
|
|
15377
|
+
cookie?: never;
|
|
15378
|
+
};
|
|
15379
|
+
requestBody: {
|
|
15380
|
+
content: {
|
|
15381
|
+
"application/json": components["schemas"]["CodeChatSymbolQueryBodyDto"];
|
|
15382
|
+
};
|
|
15383
|
+
};
|
|
15384
|
+
responses: {
|
|
15385
|
+
/** @description Symbol hits */
|
|
15386
|
+
200: {
|
|
15387
|
+
headers: {
|
|
15388
|
+
[name: string]: unknown;
|
|
15389
|
+
};
|
|
15390
|
+
content: {
|
|
15391
|
+
"application/json": components["schemas"]["CodeChatSymbolHitListDto"];
|
|
15392
|
+
};
|
|
15393
|
+
};
|
|
15394
|
+
401: components["responses"]["Unauthorized"];
|
|
15395
|
+
/** @description Corpus not ready */
|
|
15396
|
+
409: {
|
|
15397
|
+
headers: {
|
|
15398
|
+
[name: string]: unknown;
|
|
15399
|
+
};
|
|
15400
|
+
content?: never;
|
|
15401
|
+
};
|
|
15402
|
+
};
|
|
15403
|
+
};
|
|
15404
|
+
analyzeCodeChatReferences: {
|
|
15405
|
+
parameters: {
|
|
15406
|
+
query?: never;
|
|
15407
|
+
header?: never;
|
|
15408
|
+
path: {
|
|
15409
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15410
|
+
};
|
|
15411
|
+
cookie?: never;
|
|
15412
|
+
};
|
|
15413
|
+
requestBody: {
|
|
15414
|
+
content: {
|
|
15415
|
+
"application/json": components["schemas"]["CodeChatReferenceQueryBodyDto"];
|
|
15416
|
+
};
|
|
15417
|
+
};
|
|
15418
|
+
responses: {
|
|
15419
|
+
/** @description Reference hits */
|
|
15420
|
+
200: {
|
|
15421
|
+
headers: {
|
|
15422
|
+
[name: string]: unknown;
|
|
15423
|
+
};
|
|
15424
|
+
content: {
|
|
15425
|
+
"application/json": components["schemas"]["CodeChatReferenceHitListDto"];
|
|
15426
|
+
};
|
|
15427
|
+
};
|
|
15428
|
+
401: components["responses"]["Unauthorized"];
|
|
15429
|
+
/** @description Corpus not ready */
|
|
15430
|
+
409: {
|
|
15431
|
+
headers: {
|
|
15432
|
+
[name: string]: unknown;
|
|
15433
|
+
};
|
|
15434
|
+
content?: never;
|
|
15435
|
+
};
|
|
15436
|
+
};
|
|
15437
|
+
};
|
|
15438
|
+
analyzeCodeChatBlastRadius: {
|
|
15439
|
+
parameters: {
|
|
15440
|
+
query?: never;
|
|
15441
|
+
header?: never;
|
|
15442
|
+
path: {
|
|
15443
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15444
|
+
};
|
|
15445
|
+
cookie?: never;
|
|
15446
|
+
};
|
|
15447
|
+
requestBody: {
|
|
15448
|
+
content: {
|
|
15449
|
+
"application/json": components["schemas"]["CodeChatBlastRadiusBodyDto"];
|
|
15450
|
+
};
|
|
15451
|
+
};
|
|
15452
|
+
responses: {
|
|
15453
|
+
/** @description Blast radius result (always marked partial/unknown until eval gates) */
|
|
15454
|
+
200: {
|
|
15455
|
+
headers: {
|
|
15456
|
+
[name: string]: unknown;
|
|
15457
|
+
};
|
|
15458
|
+
content: {
|
|
15459
|
+
"application/json": components["schemas"]["CodeChatBlastRadiusResultDto"];
|
|
15460
|
+
};
|
|
15461
|
+
};
|
|
15462
|
+
401: components["responses"]["Unauthorized"];
|
|
15463
|
+
/** @description Symbol not found */
|
|
15464
|
+
404: {
|
|
15465
|
+
headers: {
|
|
15466
|
+
[name: string]: unknown;
|
|
15467
|
+
};
|
|
15468
|
+
content?: never;
|
|
15469
|
+
};
|
|
15470
|
+
/** @description Corpus not ready */
|
|
15471
|
+
409: {
|
|
15472
|
+
headers: {
|
|
15473
|
+
[name: string]: unknown;
|
|
15474
|
+
};
|
|
15475
|
+
content?: never;
|
|
15476
|
+
};
|
|
15477
|
+
};
|
|
15478
|
+
};
|
|
15479
|
+
analyzeCodeChatSemanticDiff: {
|
|
15480
|
+
parameters: {
|
|
15481
|
+
query?: never;
|
|
15482
|
+
header?: never;
|
|
15483
|
+
path: {
|
|
15484
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15485
|
+
};
|
|
15486
|
+
cookie?: never;
|
|
15487
|
+
};
|
|
15488
|
+
requestBody: {
|
|
15489
|
+
content: {
|
|
15490
|
+
"application/json": components["schemas"]["CodeChatSemanticDiffBodyDto"];
|
|
15491
|
+
};
|
|
15492
|
+
};
|
|
15493
|
+
responses: {
|
|
15494
|
+
/** @description Semantic diff analysis */
|
|
15495
|
+
200: {
|
|
15496
|
+
headers: {
|
|
15497
|
+
[name: string]: unknown;
|
|
15498
|
+
};
|
|
15499
|
+
content: {
|
|
15500
|
+
"application/json": components["schemas"]["CodeChatSemanticDiffResultDto"];
|
|
15501
|
+
};
|
|
15502
|
+
};
|
|
15503
|
+
401: components["responses"]["Unauthorized"];
|
|
15504
|
+
/** @description Corpus not ready */
|
|
15505
|
+
409: {
|
|
15506
|
+
headers: {
|
|
15507
|
+
[name: string]: unknown;
|
|
15508
|
+
};
|
|
15509
|
+
content?: never;
|
|
15510
|
+
};
|
|
15511
|
+
};
|
|
15512
|
+
};
|
|
15513
|
+
analyzeCodeChatRecommendations: {
|
|
15514
|
+
parameters: {
|
|
15515
|
+
query?: never;
|
|
15516
|
+
header?: never;
|
|
15517
|
+
path: {
|
|
15518
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15519
|
+
};
|
|
15520
|
+
cookie?: never;
|
|
15521
|
+
};
|
|
15522
|
+
requestBody: {
|
|
15523
|
+
content: {
|
|
15524
|
+
"application/json": components["schemas"]["CodeChatRecommendationsBodyDto"];
|
|
15525
|
+
};
|
|
15526
|
+
};
|
|
15527
|
+
responses: {
|
|
15528
|
+
/** @description Recommendations */
|
|
15529
|
+
200: {
|
|
15530
|
+
headers: {
|
|
15531
|
+
[name: string]: unknown;
|
|
15532
|
+
};
|
|
15533
|
+
content: {
|
|
15534
|
+
"application/json": components["schemas"]["CodeChatRecommendationsResultDto"];
|
|
15535
|
+
};
|
|
15536
|
+
};
|
|
15537
|
+
401: components["responses"]["Unauthorized"];
|
|
15538
|
+
/** @description Corpus not ready */
|
|
15539
|
+
409: {
|
|
15540
|
+
headers: {
|
|
15541
|
+
[name: string]: unknown;
|
|
15542
|
+
};
|
|
15543
|
+
content?: never;
|
|
15544
|
+
};
|
|
15545
|
+
};
|
|
15546
|
+
};
|
|
15547
|
+
analyzeCodeChatVisualize: {
|
|
15548
|
+
parameters: {
|
|
15549
|
+
query?: never;
|
|
15550
|
+
header?: never;
|
|
15551
|
+
path: {
|
|
15552
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15553
|
+
};
|
|
15554
|
+
cookie?: never;
|
|
15555
|
+
};
|
|
15556
|
+
requestBody: {
|
|
15557
|
+
content: {
|
|
15558
|
+
"application/json": components["schemas"]["CodeChatVisualizeBodyDto"];
|
|
15559
|
+
};
|
|
15560
|
+
};
|
|
15561
|
+
responses: {
|
|
15562
|
+
/** @description Visualization payload */
|
|
15563
|
+
200: {
|
|
15564
|
+
headers: {
|
|
15565
|
+
[name: string]: unknown;
|
|
15566
|
+
};
|
|
15567
|
+
content: {
|
|
15568
|
+
"application/json": components["schemas"]["CodeChatVisualizeResultDto"];
|
|
15569
|
+
};
|
|
15570
|
+
};
|
|
15571
|
+
401: components["responses"]["Unauthorized"];
|
|
15572
|
+
/** @description Corpus not ready */
|
|
15573
|
+
409: {
|
|
15574
|
+
headers: {
|
|
15575
|
+
[name: string]: unknown;
|
|
15576
|
+
};
|
|
15577
|
+
content?: never;
|
|
15578
|
+
};
|
|
15579
|
+
};
|
|
15580
|
+
};
|
|
15581
|
+
analyzeCodeChatCrossEdges: {
|
|
15582
|
+
parameters: {
|
|
15583
|
+
query?: never;
|
|
15584
|
+
header?: never;
|
|
15585
|
+
path: {
|
|
15586
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15587
|
+
};
|
|
15588
|
+
cookie?: never;
|
|
15589
|
+
};
|
|
15590
|
+
requestBody?: {
|
|
15591
|
+
content: {
|
|
15592
|
+
"application/json": components["schemas"]["CodeChatCrossEdgesBodyDto"];
|
|
15593
|
+
};
|
|
15594
|
+
};
|
|
15595
|
+
responses: {
|
|
15596
|
+
/** @description Cross-process edge candidates */
|
|
15597
|
+
200: {
|
|
15598
|
+
headers: {
|
|
15599
|
+
[name: string]: unknown;
|
|
15600
|
+
};
|
|
15601
|
+
content: {
|
|
15602
|
+
"application/json": components["schemas"]["CodeChatCrossEdgesResultDto"];
|
|
15603
|
+
};
|
|
15604
|
+
};
|
|
15605
|
+
401: components["responses"]["Unauthorized"];
|
|
15606
|
+
/** @description Need two ready indexes */
|
|
15607
|
+
409: {
|
|
15608
|
+
headers: {
|
|
15609
|
+
[name: string]: unknown;
|
|
15610
|
+
};
|
|
15611
|
+
content?: never;
|
|
15612
|
+
};
|
|
15613
|
+
};
|
|
15614
|
+
};
|
|
15615
|
+
codeChatGetContextPack: {
|
|
15616
|
+
parameters: {
|
|
15617
|
+
query?: never;
|
|
15618
|
+
header?: never;
|
|
15619
|
+
path: {
|
|
15620
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
15621
|
+
};
|
|
15622
|
+
cookie?: never;
|
|
15623
|
+
};
|
|
15624
|
+
requestBody: {
|
|
15625
|
+
content: {
|
|
15626
|
+
"application/json": components["schemas"]["CodeChatContextPackBodyDto"];
|
|
15627
|
+
};
|
|
15628
|
+
};
|
|
15629
|
+
responses: {
|
|
15630
|
+
/** @description Context pack */
|
|
15631
|
+
200: {
|
|
15632
|
+
headers: {
|
|
15633
|
+
[name: string]: unknown;
|
|
15634
|
+
};
|
|
15635
|
+
content: {
|
|
15636
|
+
"application/json": components["schemas"]["CodeChatContextPackDto"];
|
|
15637
|
+
};
|
|
15638
|
+
};
|
|
15639
|
+
401: components["responses"]["Unauthorized"];
|
|
15640
|
+
/** @description Corpus not ready */
|
|
15641
|
+
409: {
|
|
15642
|
+
headers: {
|
|
15643
|
+
[name: string]: unknown;
|
|
15644
|
+
};
|
|
15645
|
+
content?: never;
|
|
15646
|
+
};
|
|
15647
|
+
};
|
|
15648
|
+
};
|
|
14348
15649
|
listNotifications: {
|
|
14349
15650
|
parameters: {
|
|
14350
15651
|
query?: {
|