@kilocode/sdk 7.4.15 → 7.4.17
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/v2/gen/sdk.gen.d.ts +206 -62
- package/dist/v2/gen/sdk.gen.js +352 -101
- package/dist/v2/gen/types.gen.d.ts +732 -450
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventServerInstanceDisposed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted |
|
|
4
|
+
export type Event = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -571,6 +571,9 @@ export type StepStartPart = {
|
|
|
571
571
|
messageID: string;
|
|
572
572
|
type: "step-start";
|
|
573
573
|
snapshot?: string;
|
|
574
|
+
time?: {
|
|
575
|
+
start: number;
|
|
576
|
+
};
|
|
574
577
|
};
|
|
575
578
|
export type StepFinishPart = {
|
|
576
579
|
id: string;
|
|
@@ -583,6 +586,18 @@ export type StepFinishPart = {
|
|
|
583
586
|
providerID: string;
|
|
584
587
|
modelID: string;
|
|
585
588
|
};
|
|
589
|
+
generationID?: string;
|
|
590
|
+
vercelID?: string;
|
|
591
|
+
metrics?: {
|
|
592
|
+
prompt?: number;
|
|
593
|
+
generation?: number;
|
|
594
|
+
source: "provider" | "computed";
|
|
595
|
+
};
|
|
596
|
+
time?: {
|
|
597
|
+
start: number;
|
|
598
|
+
end: number;
|
|
599
|
+
elapsed: number;
|
|
600
|
+
};
|
|
586
601
|
cost: number;
|
|
587
602
|
tokens: {
|
|
588
603
|
total?: number;
|
|
@@ -749,6 +764,7 @@ export type Pty = {
|
|
|
749
764
|
cwd: string;
|
|
750
765
|
status: "running" | "exited";
|
|
751
766
|
pid: number;
|
|
767
|
+
exitCode?: number;
|
|
752
768
|
sessionID?: string | null;
|
|
753
769
|
};
|
|
754
770
|
export type Todo = {
|
|
@@ -791,7 +807,7 @@ export type GlobalEvent = {
|
|
|
791
807
|
directory: string;
|
|
792
808
|
project?: string;
|
|
793
809
|
workspace?: string;
|
|
794
|
-
payload: EventServerInstanceDisposed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted |
|
|
810
|
+
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextPromptPromoted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded;
|
|
795
811
|
};
|
|
796
812
|
/**
|
|
797
813
|
* Log level
|
|
@@ -955,11 +971,8 @@ export type ProviderConfig = {
|
|
|
955
971
|
* Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout.
|
|
956
972
|
*/
|
|
957
973
|
headerTimeout?: number | false;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
*/
|
|
961
|
-
chunkTimeout?: number | false;
|
|
962
|
-
[key: string]: unknown | string | boolean | number | false | number | false | number | false | undefined;
|
|
974
|
+
chunkTimeout?: number;
|
|
975
|
+
[key: string]: unknown | string | boolean | number | false | number | false | number | undefined;
|
|
963
976
|
};
|
|
964
977
|
models?: {
|
|
965
978
|
[key: string]: {
|
|
@@ -1378,6 +1391,9 @@ export type Provider = {
|
|
|
1378
1391
|
[key: string]: Model;
|
|
1379
1392
|
};
|
|
1380
1393
|
};
|
|
1394
|
+
export type ExperimentalCapabilities = {
|
|
1395
|
+
backgroundSubagents: boolean;
|
|
1396
|
+
};
|
|
1381
1397
|
export type ConsoleState = {
|
|
1382
1398
|
consoleManagedProviders: Array<string>;
|
|
1383
1399
|
activeOrgName?: string;
|
|
@@ -1687,13 +1703,6 @@ export type ProjectNotFoundError = {
|
|
|
1687
1703
|
projectID: string;
|
|
1688
1704
|
message: string;
|
|
1689
1705
|
};
|
|
1690
|
-
export type ProjectCopyError = {
|
|
1691
|
-
name: "ProjectCopyError";
|
|
1692
|
-
data: {
|
|
1693
|
-
message: string;
|
|
1694
|
-
forceRequired?: boolean;
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
1706
|
export type PtyNotFoundError = {
|
|
1698
1707
|
_tag: "PtyNotFoundError";
|
|
1699
1708
|
ptyID: string;
|
|
@@ -2822,6 +2831,17 @@ export type ProviderNotFoundError = {
|
|
|
2822
2831
|
providerID: string;
|
|
2823
2832
|
message: string;
|
|
2824
2833
|
};
|
|
2834
|
+
export type ForbiddenError = {
|
|
2835
|
+
_tag: "ForbiddenError";
|
|
2836
|
+
message: string;
|
|
2837
|
+
};
|
|
2838
|
+
export type ProjectCopyError = {
|
|
2839
|
+
name: "ProjectCopyError";
|
|
2840
|
+
data: {
|
|
2841
|
+
message: string;
|
|
2842
|
+
forceRequired?: boolean;
|
|
2843
|
+
};
|
|
2844
|
+
};
|
|
2825
2845
|
export type EffectHttpApiErrorForbidden = {
|
|
2826
2846
|
_tag: "Forbidden";
|
|
2827
2847
|
};
|
|
@@ -2854,6 +2874,30 @@ export type EventServerInstanceDisposed = {
|
|
|
2854
2874
|
directory: string;
|
|
2855
2875
|
};
|
|
2856
2876
|
};
|
|
2877
|
+
export type EventSessionTurnOpen = {
|
|
2878
|
+
id: string;
|
|
2879
|
+
type: "session.turn.open";
|
|
2880
|
+
properties: {
|
|
2881
|
+
sessionID: string;
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
export type EventSessionTurnClose = {
|
|
2885
|
+
id: string;
|
|
2886
|
+
type: "session.turn.close";
|
|
2887
|
+
properties: {
|
|
2888
|
+
sessionID: string;
|
|
2889
|
+
parentID?: string;
|
|
2890
|
+
reason: "completed" | "error" | "interrupted" | "superseded";
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
export type EventSessionQueueChanged = {
|
|
2894
|
+
id: string;
|
|
2895
|
+
type: "session.queue.changed";
|
|
2896
|
+
properties: {
|
|
2897
|
+
sessionID: string;
|
|
2898
|
+
queued: Array<string>;
|
|
2899
|
+
};
|
|
2900
|
+
};
|
|
2857
2901
|
export type EventSessionNetworkAsked = {
|
|
2858
2902
|
id: string;
|
|
2859
2903
|
type: "session.network.asked";
|
|
@@ -2926,22 +2970,6 @@ export type EventInteractiveTerminalDeleted = {
|
|
|
2926
2970
|
sessionID: string;
|
|
2927
2971
|
};
|
|
2928
2972
|
};
|
|
2929
|
-
export type EventSessionTurnOpen = {
|
|
2930
|
-
id: string;
|
|
2931
|
-
type: "session.turn.open";
|
|
2932
|
-
properties: {
|
|
2933
|
-
sessionID: string;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
export type EventSessionTurnClose = {
|
|
2937
|
-
id: string;
|
|
2938
|
-
type: "session.turn.close";
|
|
2939
|
-
properties: {
|
|
2940
|
-
sessionID: string;
|
|
2941
|
-
parentID?: string;
|
|
2942
|
-
reason: "completed" | "error" | "interrupted";
|
|
2943
|
-
};
|
|
2944
|
-
};
|
|
2945
2973
|
export type EventSandboxStatusChanged = {
|
|
2946
2974
|
id: string;
|
|
2947
2975
|
type: "sandbox.status.changed";
|
|
@@ -3036,14 +3064,6 @@ export type EventKilocodeNotebookCancelled = {
|
|
|
3036
3064
|
reason: "cancelled" | "disposed" | "timeout";
|
|
3037
3065
|
};
|
|
3038
3066
|
};
|
|
3039
|
-
export type EventLspClientDiagnostics = {
|
|
3040
|
-
id: string;
|
|
3041
|
-
type: "lsp.client.diagnostics";
|
|
3042
|
-
properties: {
|
|
3043
|
-
serverID: string;
|
|
3044
|
-
path: string;
|
|
3045
|
-
};
|
|
3046
|
-
};
|
|
3047
3067
|
export type EventKiloSessionsRemoteStatusChanged = {
|
|
3048
3068
|
id: string;
|
|
3049
3069
|
type: "kilo-sessions.remote-status-changed";
|
|
@@ -3052,6 +3072,14 @@ export type EventKiloSessionsRemoteStatusChanged = {
|
|
|
3052
3072
|
connected: boolean;
|
|
3053
3073
|
};
|
|
3054
3074
|
};
|
|
3075
|
+
export type EventLspClientDiagnostics = {
|
|
3076
|
+
id: string;
|
|
3077
|
+
type: "lsp.client.diagnostics";
|
|
3078
|
+
properties: {
|
|
3079
|
+
serverID: string;
|
|
3080
|
+
path: string;
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
3055
3083
|
export type EventMemoryStatus = {
|
|
3056
3084
|
id: string;
|
|
3057
3085
|
type: "memory.status";
|
|
@@ -3193,53 +3221,6 @@ export type EventGlobalConfigUpdated = {
|
|
|
3193
3221
|
[key: string]: unknown;
|
|
3194
3222
|
};
|
|
3195
3223
|
};
|
|
3196
|
-
export type CredentialOAuth = {
|
|
3197
|
-
type: "oauth";
|
|
3198
|
-
refresh: string;
|
|
3199
|
-
access: string;
|
|
3200
|
-
expires: number;
|
|
3201
|
-
metadata?: {
|
|
3202
|
-
[key: string]: string;
|
|
3203
|
-
};
|
|
3204
|
-
};
|
|
3205
|
-
export type CredentialKey = {
|
|
3206
|
-
type: "key";
|
|
3207
|
-
key: string;
|
|
3208
|
-
metadata?: {
|
|
3209
|
-
[key: string]: string;
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
export type CredentialValue = CredentialOAuth | CredentialKey;
|
|
3213
|
-
export type CredentialInfo = {
|
|
3214
|
-
id: string;
|
|
3215
|
-
connectorID: string;
|
|
3216
|
-
methodID: string;
|
|
3217
|
-
label: string;
|
|
3218
|
-
value: CredentialValue;
|
|
3219
|
-
};
|
|
3220
|
-
export type EventCredentialAdded = {
|
|
3221
|
-
id: string;
|
|
3222
|
-
type: "credential.added";
|
|
3223
|
-
properties: {
|
|
3224
|
-
credential: CredentialInfo;
|
|
3225
|
-
};
|
|
3226
|
-
};
|
|
3227
|
-
export type EventCredentialRemoved = {
|
|
3228
|
-
id: string;
|
|
3229
|
-
type: "credential.removed";
|
|
3230
|
-
properties: {
|
|
3231
|
-
credential: CredentialInfo;
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
export type EventCredentialSwitched = {
|
|
3235
|
-
id: string;
|
|
3236
|
-
type: "credential.switched";
|
|
3237
|
-
properties: {
|
|
3238
|
-
connectorID: string;
|
|
3239
|
-
from?: string;
|
|
3240
|
-
to?: string;
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
3224
|
export type EventPluginAdded = {
|
|
3244
3225
|
id: string;
|
|
3245
3226
|
type: "plugin.added";
|
|
@@ -3247,104 +3228,18 @@ export type EventPluginAdded = {
|
|
|
3247
3228
|
id: string;
|
|
3248
3229
|
};
|
|
3249
3230
|
};
|
|
3250
|
-
export type
|
|
3231
|
+
export type EventIntegrationUpdated = {
|
|
3251
3232
|
id: string;
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
api: {
|
|
3256
|
-
id: string;
|
|
3257
|
-
type: "aisdk";
|
|
3258
|
-
package: string;
|
|
3259
|
-
url?: string;
|
|
3260
|
-
settings?: {
|
|
3261
|
-
[key: string]: unknown;
|
|
3262
|
-
};
|
|
3263
|
-
} | {
|
|
3264
|
-
id: string;
|
|
3265
|
-
type: "native";
|
|
3266
|
-
url?: string;
|
|
3267
|
-
settings: {
|
|
3268
|
-
[key: string]: unknown;
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
capabilities: {
|
|
3272
|
-
tools: boolean;
|
|
3273
|
-
input: Array<string>;
|
|
3274
|
-
output: Array<string>;
|
|
3275
|
-
};
|
|
3276
|
-
request: {
|
|
3277
|
-
headers: {
|
|
3278
|
-
[key: string]: string;
|
|
3279
|
-
};
|
|
3280
|
-
body: {
|
|
3281
|
-
[key: string]: unknown;
|
|
3282
|
-
};
|
|
3283
|
-
generation?: {
|
|
3284
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3285
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3286
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3287
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3288
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3289
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3290
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3291
|
-
stop?: Array<string>;
|
|
3292
|
-
};
|
|
3293
|
-
options?: {
|
|
3294
|
-
[key: string]: unknown;
|
|
3295
|
-
};
|
|
3296
|
-
variant?: string;
|
|
3297
|
-
};
|
|
3298
|
-
variants: Array<{
|
|
3299
|
-
id: string;
|
|
3300
|
-
headers: {
|
|
3301
|
-
[key: string]: string;
|
|
3302
|
-
};
|
|
3303
|
-
body: {
|
|
3304
|
-
[key: string]: unknown;
|
|
3305
|
-
};
|
|
3306
|
-
generation?: {
|
|
3307
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3308
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3309
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3310
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3311
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3312
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3313
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3314
|
-
stop?: Array<string>;
|
|
3315
|
-
};
|
|
3316
|
-
options?: {
|
|
3317
|
-
[key: string]: unknown;
|
|
3318
|
-
};
|
|
3319
|
-
}>;
|
|
3320
|
-
time: {
|
|
3321
|
-
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3322
|
-
};
|
|
3323
|
-
cost: Array<{
|
|
3324
|
-
tier?: {
|
|
3325
|
-
type: "context";
|
|
3326
|
-
size: number;
|
|
3327
|
-
};
|
|
3328
|
-
input: number;
|
|
3329
|
-
output: number;
|
|
3330
|
-
cache: {
|
|
3331
|
-
read: number;
|
|
3332
|
-
write: number;
|
|
3333
|
-
};
|
|
3334
|
-
}>;
|
|
3335
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3336
|
-
enabled: boolean;
|
|
3337
|
-
limit: {
|
|
3338
|
-
context: number;
|
|
3339
|
-
input?: number;
|
|
3340
|
-
output: number;
|
|
3233
|
+
type: "integration.updated";
|
|
3234
|
+
properties: {
|
|
3235
|
+
[key: string]: unknown;
|
|
3341
3236
|
};
|
|
3342
3237
|
};
|
|
3343
|
-
export type
|
|
3238
|
+
export type EventCatalogUpdated = {
|
|
3344
3239
|
id: string;
|
|
3345
|
-
type: "catalog.
|
|
3240
|
+
type: "catalog.updated";
|
|
3346
3241
|
properties: {
|
|
3347
|
-
|
|
3242
|
+
[key: string]: unknown;
|
|
3348
3243
|
};
|
|
3349
3244
|
};
|
|
3350
3245
|
export type EventSessionCreated = {
|
|
@@ -3972,13 +3867,6 @@ export type EventReferenceUpdated = {
|
|
|
3972
3867
|
[key: string]: unknown;
|
|
3973
3868
|
};
|
|
3974
3869
|
};
|
|
3975
|
-
export type EventConnectorUpdated = {
|
|
3976
|
-
id: string;
|
|
3977
|
-
type: "connector.updated";
|
|
3978
|
-
properties: {
|
|
3979
|
-
[key: string]: unknown;
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
3870
|
export type PermissionV2Source = {
|
|
3983
3871
|
type: "tool";
|
|
3984
3872
|
messageID: string;
|
|
@@ -4009,6 +3897,13 @@ export type EventPermissionV2Replied = {
|
|
|
4009
3897
|
reply: PermissionV2Reply;
|
|
4010
3898
|
};
|
|
4011
3899
|
};
|
|
3900
|
+
export type EventProjectDirectoriesUpdated = {
|
|
3901
|
+
id: string;
|
|
3902
|
+
type: "project.directories.updated";
|
|
3903
|
+
properties: {
|
|
3904
|
+
projectID: string;
|
|
3905
|
+
};
|
|
3906
|
+
};
|
|
4012
3907
|
export type EventFileEdited = {
|
|
4013
3908
|
id: string;
|
|
4014
3909
|
type: "file.edited";
|
|
@@ -4154,13 +4049,6 @@ export type EventCommandExecuted = {
|
|
|
4154
4049
|
messageID: string;
|
|
4155
4050
|
};
|
|
4156
4051
|
};
|
|
4157
|
-
export type EventProjectDirectoriesUpdated = {
|
|
4158
|
-
id: string;
|
|
4159
|
-
type: "project.directories.updated";
|
|
4160
|
-
properties: {
|
|
4161
|
-
projectID: string;
|
|
4162
|
-
};
|
|
4163
|
-
};
|
|
4164
4052
|
export type EventProjectUpdated = {
|
|
4165
4053
|
id: string;
|
|
4166
4054
|
type: "project.updated";
|
|
@@ -4188,18 +4076,18 @@ export type EventProjectUpdated = {
|
|
|
4188
4076
|
sandboxes: Array<string>;
|
|
4189
4077
|
};
|
|
4190
4078
|
};
|
|
4191
|
-
export type
|
|
4079
|
+
export type EventVcsBranchUpdated = {
|
|
4192
4080
|
id: string;
|
|
4193
|
-
type: "
|
|
4081
|
+
type: "vcs.branch.updated";
|
|
4194
4082
|
properties: {
|
|
4195
|
-
|
|
4083
|
+
branch?: string;
|
|
4196
4084
|
};
|
|
4197
4085
|
};
|
|
4198
|
-
export type
|
|
4086
|
+
export type EventLspUpdated = {
|
|
4199
4087
|
id: string;
|
|
4200
|
-
type: "
|
|
4088
|
+
type: "lsp.updated";
|
|
4201
4089
|
properties: {
|
|
4202
|
-
|
|
4090
|
+
[key: string]: unknown;
|
|
4203
4091
|
};
|
|
4204
4092
|
};
|
|
4205
4093
|
export type EventWorkspaceReady = {
|
|
@@ -4856,11 +4744,8 @@ export type ConfigV2ExperimentalPolicy = {
|
|
|
4856
4744
|
};
|
|
4857
4745
|
export type ProjectDirectories = Array<{
|
|
4858
4746
|
directory: string;
|
|
4859
|
-
|
|
4747
|
+
strategy?: string;
|
|
4860
4748
|
}>;
|
|
4861
|
-
export type ProjectCopyCopy = {
|
|
4862
|
-
directory: string;
|
|
4863
|
-
};
|
|
4864
4749
|
export type LocationInfo = {
|
|
4865
4750
|
directory: string;
|
|
4866
4751
|
workspaceID?: string;
|
|
@@ -5140,23 +5025,13 @@ export type SessionMessageCompaction = {
|
|
|
5140
5025
|
};
|
|
5141
5026
|
};
|
|
5142
5027
|
export type SessionMessage = SessionMessageAgentSwitched | SessionMessageModelSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
5143
|
-
export type
|
|
5028
|
+
export type ModelV2Info = {
|
|
5144
5029
|
id: string;
|
|
5030
|
+
providerID: string;
|
|
5031
|
+
family?: string;
|
|
5145
5032
|
name: string;
|
|
5146
|
-
enabled: false | {
|
|
5147
|
-
via: "env";
|
|
5148
|
-
name: string;
|
|
5149
|
-
} | {
|
|
5150
|
-
via: "credential";
|
|
5151
|
-
credentialID: string;
|
|
5152
|
-
} | {
|
|
5153
|
-
via: "custom";
|
|
5154
|
-
data: {
|
|
5155
|
-
[key: string]: unknown;
|
|
5156
|
-
};
|
|
5157
|
-
};
|
|
5158
|
-
env: Array<string>;
|
|
5159
5033
|
api: {
|
|
5034
|
+
id: string;
|
|
5160
5035
|
type: "aisdk";
|
|
5161
5036
|
package: string;
|
|
5162
5037
|
url?: string;
|
|
@@ -5164,12 +5039,18 @@ export type ProviderV2Info = {
|
|
|
5164
5039
|
[key: string]: unknown;
|
|
5165
5040
|
};
|
|
5166
5041
|
} | {
|
|
5042
|
+
id: string;
|
|
5167
5043
|
type: "native";
|
|
5168
5044
|
url?: string;
|
|
5169
5045
|
settings: {
|
|
5170
5046
|
[key: string]: unknown;
|
|
5171
5047
|
};
|
|
5172
5048
|
};
|
|
5049
|
+
capabilities: {
|
|
5050
|
+
tools: boolean;
|
|
5051
|
+
input: Array<string>;
|
|
5052
|
+
output: Array<string>;
|
|
5053
|
+
};
|
|
5173
5054
|
request: {
|
|
5174
5055
|
headers: {
|
|
5175
5056
|
[key: string]: string;
|
|
@@ -5177,21 +5058,106 @@ export type ProviderV2Info = {
|
|
|
5177
5058
|
body: {
|
|
5178
5059
|
[key: string]: unknown;
|
|
5179
5060
|
};
|
|
5180
|
-
|
|
5061
|
+
generation?: {
|
|
5062
|
+
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5063
|
+
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5064
|
+
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5065
|
+
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5066
|
+
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5067
|
+
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5068
|
+
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5069
|
+
stop?: Array<string>;
|
|
5070
|
+
};
|
|
5071
|
+
options?: {
|
|
5072
|
+
[key: string]: unknown;
|
|
5073
|
+
};
|
|
5074
|
+
variant?: string;
|
|
5075
|
+
};
|
|
5076
|
+
variants: Array<{
|
|
5077
|
+
id: string;
|
|
5078
|
+
headers: {
|
|
5079
|
+
[key: string]: string;
|
|
5080
|
+
};
|
|
5081
|
+
body: {
|
|
5082
|
+
[key: string]: unknown;
|
|
5083
|
+
};
|
|
5084
|
+
generation?: {
|
|
5085
|
+
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5086
|
+
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5087
|
+
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5088
|
+
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5089
|
+
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5090
|
+
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5091
|
+
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5092
|
+
stop?: Array<string>;
|
|
5093
|
+
};
|
|
5094
|
+
options?: {
|
|
5095
|
+
[key: string]: unknown;
|
|
5096
|
+
};
|
|
5097
|
+
}>;
|
|
5098
|
+
time: {
|
|
5099
|
+
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5100
|
+
};
|
|
5101
|
+
cost: Array<{
|
|
5102
|
+
tier?: {
|
|
5103
|
+
type: "context";
|
|
5104
|
+
size: number;
|
|
5105
|
+
};
|
|
5106
|
+
input: number;
|
|
5107
|
+
output: number;
|
|
5108
|
+
cache: {
|
|
5109
|
+
read: number;
|
|
5110
|
+
write: number;
|
|
5111
|
+
};
|
|
5112
|
+
}>;
|
|
5113
|
+
status: "alpha" | "beta" | "deprecated" | "active";
|
|
5114
|
+
enabled: boolean;
|
|
5115
|
+
limit: {
|
|
5116
|
+
context: number;
|
|
5117
|
+
input?: number;
|
|
5118
|
+
output: number;
|
|
5119
|
+
};
|
|
5120
|
+
};
|
|
5121
|
+
export type ProviderV2Info = {
|
|
5122
|
+
id: string;
|
|
5123
|
+
name: string;
|
|
5124
|
+
disabled?: boolean;
|
|
5125
|
+
api: {
|
|
5126
|
+
type: "aisdk";
|
|
5127
|
+
package: string;
|
|
5128
|
+
url?: string;
|
|
5129
|
+
settings?: {
|
|
5130
|
+
[key: string]: unknown;
|
|
5131
|
+
};
|
|
5132
|
+
} | {
|
|
5133
|
+
type: "native";
|
|
5134
|
+
url?: string;
|
|
5135
|
+
settings: {
|
|
5136
|
+
[key: string]: unknown;
|
|
5137
|
+
};
|
|
5138
|
+
};
|
|
5139
|
+
request: {
|
|
5140
|
+
headers: {
|
|
5141
|
+
[key: string]: string;
|
|
5142
|
+
};
|
|
5143
|
+
body: {
|
|
5144
|
+
[key: string]: unknown;
|
|
5145
|
+
};
|
|
5146
|
+
};
|
|
5181
5147
|
};
|
|
5182
|
-
export type
|
|
5148
|
+
export type IntegrationWhen = {
|
|
5183
5149
|
key: string;
|
|
5184
5150
|
op: "eq" | "neq";
|
|
5185
5151
|
value: string;
|
|
5186
5152
|
};
|
|
5187
|
-
export type
|
|
5153
|
+
export type IntegrationTextPrompt = {
|
|
5188
5154
|
type: "text";
|
|
5189
5155
|
key: string;
|
|
5190
5156
|
message: string;
|
|
5191
5157
|
placeholder?: string;
|
|
5192
|
-
when?:
|
|
5158
|
+
when?: IntegrationWhen;
|
|
5193
5159
|
};
|
|
5194
|
-
export type
|
|
5160
|
+
export type IntegrationSelectPrompt = {
|
|
5195
5161
|
type: "select";
|
|
5196
5162
|
key: string;
|
|
5197
5163
|
message: string;
|
|
@@ -5200,26 +5166,39 @@ export type ConnectorSelectPrompt = {
|
|
|
5200
5166
|
value: string;
|
|
5201
5167
|
hint?: string;
|
|
5202
5168
|
}>;
|
|
5203
|
-
when?:
|
|
5169
|
+
when?: IntegrationWhen;
|
|
5204
5170
|
};
|
|
5205
|
-
export type
|
|
5171
|
+
export type IntegrationOAuthMethod = {
|
|
5206
5172
|
id: string;
|
|
5207
5173
|
type: "oauth";
|
|
5208
5174
|
label: string;
|
|
5209
|
-
prompts?: Array<
|
|
5175
|
+
prompts?: Array<IntegrationTextPrompt | IntegrationSelectPrompt>;
|
|
5210
5176
|
};
|
|
5211
|
-
export type
|
|
5212
|
-
id: string;
|
|
5177
|
+
export type IntegrationKeyMethod = {
|
|
5213
5178
|
type: "key";
|
|
5179
|
+
label?: string;
|
|
5180
|
+
};
|
|
5181
|
+
export type IntegrationEnvMethod = {
|
|
5182
|
+
type: "env";
|
|
5183
|
+
names: Array<string>;
|
|
5184
|
+
};
|
|
5185
|
+
export type ConnectionCredentialInfo = {
|
|
5186
|
+
type: "credential";
|
|
5187
|
+
id: string;
|
|
5214
5188
|
label: string;
|
|
5215
|
-
prompts?: Array<ConnectorTextPrompt | ConnectorSelectPrompt>;
|
|
5216
5189
|
};
|
|
5217
|
-
export type
|
|
5190
|
+
export type ConnectionEnvInfo = {
|
|
5191
|
+
type: "env";
|
|
5192
|
+
name: string;
|
|
5193
|
+
};
|
|
5194
|
+
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
5195
|
+
export type IntegrationInfo = {
|
|
5218
5196
|
id: string;
|
|
5219
5197
|
name: string;
|
|
5220
|
-
methods: Array<
|
|
5198
|
+
methods: Array<IntegrationOAuthMethod | IntegrationKeyMethod | IntegrationEnvMethod>;
|
|
5199
|
+
connections: Array<ConnectionInfo>;
|
|
5221
5200
|
};
|
|
5222
|
-
export type
|
|
5201
|
+
export type IntegrationAttempt = {
|
|
5223
5202
|
attemptID: string;
|
|
5224
5203
|
url: string;
|
|
5225
5204
|
instructions: string;
|
|
@@ -5305,6 +5284,9 @@ export type ReferenceInfo = {
|
|
|
5305
5284
|
hidden?: boolean;
|
|
5306
5285
|
source: ReferenceLocalSource | ReferenceGitSource;
|
|
5307
5286
|
};
|
|
5287
|
+
export type ProjectCopyCopy = {
|
|
5288
|
+
directory: string;
|
|
5289
|
+
};
|
|
5308
5290
|
export type EventMemoryStatus1 = {
|
|
5309
5291
|
id: string;
|
|
5310
5292
|
type: "memory.status";
|
|
@@ -5413,99 +5395,6 @@ export type EventMemoryError1 = {
|
|
|
5413
5395
|
};
|
|
5414
5396
|
};
|
|
5415
5397
|
};
|
|
5416
|
-
export type ModelV2Info1 = {
|
|
5417
|
-
id: string;
|
|
5418
|
-
providerID: string;
|
|
5419
|
-
family?: string;
|
|
5420
|
-
name: string;
|
|
5421
|
-
api: {
|
|
5422
|
-
id: string;
|
|
5423
|
-
type: "aisdk";
|
|
5424
|
-
package: string;
|
|
5425
|
-
url?: string;
|
|
5426
|
-
settings?: {
|
|
5427
|
-
[key: string]: unknown;
|
|
5428
|
-
};
|
|
5429
|
-
} | {
|
|
5430
|
-
id: string;
|
|
5431
|
-
type: "native";
|
|
5432
|
-
url?: string;
|
|
5433
|
-
settings: {
|
|
5434
|
-
[key: string]: unknown;
|
|
5435
|
-
};
|
|
5436
|
-
};
|
|
5437
|
-
capabilities: {
|
|
5438
|
-
tools: boolean;
|
|
5439
|
-
input: Array<string>;
|
|
5440
|
-
output: Array<string>;
|
|
5441
|
-
};
|
|
5442
|
-
request: {
|
|
5443
|
-
headers: {
|
|
5444
|
-
[key: string]: string;
|
|
5445
|
-
};
|
|
5446
|
-
body: {
|
|
5447
|
-
[key: string]: unknown;
|
|
5448
|
-
};
|
|
5449
|
-
generation?: {
|
|
5450
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5451
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5452
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5453
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5454
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5455
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5456
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5457
|
-
stop?: Array<string>;
|
|
5458
|
-
};
|
|
5459
|
-
options?: {
|
|
5460
|
-
[key: string]: unknown;
|
|
5461
|
-
};
|
|
5462
|
-
variant?: string;
|
|
5463
|
-
};
|
|
5464
|
-
variants: Array<{
|
|
5465
|
-
id: string;
|
|
5466
|
-
headers: {
|
|
5467
|
-
[key: string]: string;
|
|
5468
|
-
};
|
|
5469
|
-
body: {
|
|
5470
|
-
[key: string]: unknown;
|
|
5471
|
-
};
|
|
5472
|
-
generation?: {
|
|
5473
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5474
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5475
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5476
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5477
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5478
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5479
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5480
|
-
stop?: Array<string>;
|
|
5481
|
-
};
|
|
5482
|
-
options?: {
|
|
5483
|
-
[key: string]: unknown;
|
|
5484
|
-
};
|
|
5485
|
-
}>;
|
|
5486
|
-
time: {
|
|
5487
|
-
released: number | "NaN" | "Infinity" | "-Infinity";
|
|
5488
|
-
};
|
|
5489
|
-
cost: Array<{
|
|
5490
|
-
tier?: {
|
|
5491
|
-
type: "context";
|
|
5492
|
-
size: number;
|
|
5493
|
-
};
|
|
5494
|
-
input: number;
|
|
5495
|
-
output: number;
|
|
5496
|
-
cache: {
|
|
5497
|
-
read: number;
|
|
5498
|
-
write: number;
|
|
5499
|
-
};
|
|
5500
|
-
}>;
|
|
5501
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
5502
|
-
enabled: boolean;
|
|
5503
|
-
limit: {
|
|
5504
|
-
context: number;
|
|
5505
|
-
input?: number;
|
|
5506
|
-
output: number;
|
|
5507
|
-
};
|
|
5508
|
-
};
|
|
5509
5398
|
export type EventTuiToastShow1 = {
|
|
5510
5399
|
id: string;
|
|
5511
5400
|
type: "tui.toast.show";
|
|
@@ -5878,6 +5767,29 @@ export type ConfigProvidersResponses = {
|
|
|
5878
5767
|
};
|
|
5879
5768
|
};
|
|
5880
5769
|
export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
|
|
5770
|
+
export type ExperimentalCapabilitiesGetData = {
|
|
5771
|
+
body?: never;
|
|
5772
|
+
path?: never;
|
|
5773
|
+
query?: {
|
|
5774
|
+
directory?: string;
|
|
5775
|
+
workspace?: string;
|
|
5776
|
+
};
|
|
5777
|
+
url: "/experimental/capabilities";
|
|
5778
|
+
};
|
|
5779
|
+
export type ExperimentalCapabilitiesGetErrors = {
|
|
5780
|
+
/**
|
|
5781
|
+
* Bad request
|
|
5782
|
+
*/
|
|
5783
|
+
400: BadRequestError;
|
|
5784
|
+
};
|
|
5785
|
+
export type ExperimentalCapabilitiesGetError = ExperimentalCapabilitiesGetErrors[keyof ExperimentalCapabilitiesGetErrors];
|
|
5786
|
+
export type ExperimentalCapabilitiesGetResponses = {
|
|
5787
|
+
/**
|
|
5788
|
+
* Experimental capabilities
|
|
5789
|
+
*/
|
|
5790
|
+
200: ExperimentalCapabilities;
|
|
5791
|
+
};
|
|
5792
|
+
export type ExperimentalCapabilitiesGetResponse = ExperimentalCapabilitiesGetResponses[keyof ExperimentalCapabilitiesGetResponses];
|
|
5881
5793
|
export type ExperimentalConsoleGetData = {
|
|
5882
5794
|
body?: never;
|
|
5883
5795
|
path?: never;
|
|
@@ -7074,87 +6986,35 @@ export type ProjectDirectoriesResponses = {
|
|
|
7074
6986
|
200: ProjectDirectories;
|
|
7075
6987
|
};
|
|
7076
6988
|
export type ProjectDirectoriesResponse = ProjectDirectoriesResponses[keyof ProjectDirectoriesResponses];
|
|
7077
|
-
export type
|
|
7078
|
-
body?: {
|
|
7079
|
-
directory: string;
|
|
7080
|
-
force: boolean;
|
|
7081
|
-
};
|
|
7082
|
-
path: {
|
|
7083
|
-
projectID: string;
|
|
7084
|
-
};
|
|
7085
|
-
query?: {
|
|
7086
|
-
workspace?: string;
|
|
7087
|
-
};
|
|
7088
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7089
|
-
};
|
|
7090
|
-
export type ExperimentalProjectCopyRemoveErrors = {
|
|
7091
|
-
/**
|
|
7092
|
-
* ProjectCopyError | InvalidRequestError
|
|
7093
|
-
*/
|
|
7094
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7095
|
-
};
|
|
7096
|
-
export type ExperimentalProjectCopyRemoveError = ExperimentalProjectCopyRemoveErrors[keyof ExperimentalProjectCopyRemoveErrors];
|
|
7097
|
-
export type ExperimentalProjectCopyRemoveResponses = {
|
|
7098
|
-
/**
|
|
7099
|
-
* Project copy removed
|
|
7100
|
-
*/
|
|
7101
|
-
204: void;
|
|
7102
|
-
};
|
|
7103
|
-
export type ExperimentalProjectCopyRemoveResponse = ExperimentalProjectCopyRemoveResponses[keyof ExperimentalProjectCopyRemoveResponses];
|
|
7104
|
-
export type ExperimentalProjectCopyCreateData = {
|
|
6989
|
+
export type ExperimentalProjectCopyGenerateNameData = {
|
|
7105
6990
|
body?: {
|
|
7106
|
-
strategy: "git_worktree";
|
|
7107
|
-
directory: string;
|
|
7108
|
-
name?: string;
|
|
7109
6991
|
context?: string;
|
|
7110
6992
|
};
|
|
7111
6993
|
path: {
|
|
7112
6994
|
projectID: string;
|
|
7113
6995
|
};
|
|
7114
|
-
query?: {
|
|
7115
|
-
workspace?: string;
|
|
7116
|
-
};
|
|
7117
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7118
|
-
};
|
|
7119
|
-
export type ExperimentalProjectCopyCreateErrors = {
|
|
7120
|
-
/**
|
|
7121
|
-
* ProjectCopyError | InvalidRequestError
|
|
7122
|
-
*/
|
|
7123
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7124
|
-
};
|
|
7125
|
-
export type ExperimentalProjectCopyCreateError = ExperimentalProjectCopyCreateErrors[keyof ExperimentalProjectCopyCreateErrors];
|
|
7126
|
-
export type ExperimentalProjectCopyCreateResponses = {
|
|
7127
|
-
/**
|
|
7128
|
-
* Project copy created
|
|
7129
|
-
*/
|
|
7130
|
-
200: ProjectCopyCopy;
|
|
7131
|
-
};
|
|
7132
|
-
export type ExperimentalProjectCopyCreateResponse = ExperimentalProjectCopyCreateResponses[keyof ExperimentalProjectCopyCreateResponses];
|
|
7133
|
-
export type ExperimentalProjectCopyRefreshData = {
|
|
7134
|
-
body?: never;
|
|
7135
|
-
path: {
|
|
7136
|
-
projectID: string;
|
|
7137
|
-
};
|
|
7138
6996
|
query?: {
|
|
7139
6997
|
directory?: string;
|
|
7140
6998
|
workspace?: string;
|
|
7141
6999
|
};
|
|
7142
|
-
url: "/experimental/project/{projectID}/copy/
|
|
7000
|
+
url: "/experimental/project/{projectID}/copy/generate-name";
|
|
7143
7001
|
};
|
|
7144
|
-
export type
|
|
7002
|
+
export type ExperimentalProjectCopyGenerateNameErrors = {
|
|
7145
7003
|
/**
|
|
7146
|
-
*
|
|
7004
|
+
* Bad request
|
|
7147
7005
|
*/
|
|
7148
|
-
400:
|
|
7006
|
+
400: BadRequestError;
|
|
7149
7007
|
};
|
|
7150
|
-
export type
|
|
7151
|
-
export type
|
|
7008
|
+
export type ExperimentalProjectCopyGenerateNameError = ExperimentalProjectCopyGenerateNameErrors[keyof ExperimentalProjectCopyGenerateNameErrors];
|
|
7009
|
+
export type ExperimentalProjectCopyGenerateNameResponses = {
|
|
7152
7010
|
/**
|
|
7153
|
-
*
|
|
7011
|
+
* Success
|
|
7154
7012
|
*/
|
|
7155
|
-
|
|
7013
|
+
200: {
|
|
7014
|
+
name: string;
|
|
7015
|
+
};
|
|
7156
7016
|
};
|
|
7157
|
-
export type
|
|
7017
|
+
export type ExperimentalProjectCopyGenerateNameResponse = ExperimentalProjectCopyGenerateNameResponses[keyof ExperimentalProjectCopyGenerateNameResponses];
|
|
7158
7018
|
export type PtyShellsData = {
|
|
7159
7019
|
body?: never;
|
|
7160
7020
|
path?: never;
|
|
@@ -12850,7 +12710,7 @@ export type V2ProviderGetResponses = {
|
|
|
12850
12710
|
};
|
|
12851
12711
|
};
|
|
12852
12712
|
export type V2ProviderGetResponse = V2ProviderGetResponses[keyof V2ProviderGetResponses];
|
|
12853
|
-
export type
|
|
12713
|
+
export type V2IntegrationListData = {
|
|
12854
12714
|
body?: never;
|
|
12855
12715
|
path?: never;
|
|
12856
12716
|
query?: {
|
|
@@ -12859,9 +12719,9 @@ export type V2ConnectorListData = {
|
|
|
12859
12719
|
workspace?: string;
|
|
12860
12720
|
};
|
|
12861
12721
|
};
|
|
12862
|
-
url: "/api/
|
|
12722
|
+
url: "/api/integration";
|
|
12863
12723
|
};
|
|
12864
|
-
export type
|
|
12724
|
+
export type V2IntegrationListErrors = {
|
|
12865
12725
|
/**
|
|
12866
12726
|
* InvalidRequestError
|
|
12867
12727
|
*/
|
|
@@ -12871,21 +12731,21 @@ export type V2ConnectorListErrors = {
|
|
|
12871
12731
|
*/
|
|
12872
12732
|
401: UnauthorizedError;
|
|
12873
12733
|
};
|
|
12874
|
-
export type
|
|
12875
|
-
export type
|
|
12734
|
+
export type V2IntegrationListError = V2IntegrationListErrors[keyof V2IntegrationListErrors];
|
|
12735
|
+
export type V2IntegrationListResponses = {
|
|
12876
12736
|
/**
|
|
12877
12737
|
* Success
|
|
12878
12738
|
*/
|
|
12879
12739
|
200: {
|
|
12880
12740
|
location: LocationInfo;
|
|
12881
|
-
data: Array<
|
|
12741
|
+
data: Array<IntegrationInfo>;
|
|
12882
12742
|
};
|
|
12883
12743
|
};
|
|
12884
|
-
export type
|
|
12885
|
-
export type
|
|
12744
|
+
export type V2IntegrationListResponse = V2IntegrationListResponses[keyof V2IntegrationListResponses];
|
|
12745
|
+
export type V2IntegrationGetData = {
|
|
12886
12746
|
body?: never;
|
|
12887
12747
|
path: {
|
|
12888
|
-
|
|
12748
|
+
integrationID: string;
|
|
12889
12749
|
};
|
|
12890
12750
|
query?: {
|
|
12891
12751
|
location?: {
|
|
@@ -12893,9 +12753,9 @@ export type V2ConnectorGetData = {
|
|
|
12893
12753
|
workspace?: string;
|
|
12894
12754
|
};
|
|
12895
12755
|
};
|
|
12896
|
-
url: "/api/
|
|
12756
|
+
url: "/api/integration/{integrationID}";
|
|
12897
12757
|
};
|
|
12898
|
-
export type
|
|
12758
|
+
export type V2IntegrationGetErrors = {
|
|
12899
12759
|
/**
|
|
12900
12760
|
* InvalidRequestError
|
|
12901
12761
|
*/
|
|
@@ -12905,28 +12765,24 @@ export type V2ConnectorGetErrors = {
|
|
|
12905
12765
|
*/
|
|
12906
12766
|
401: UnauthorizedError;
|
|
12907
12767
|
};
|
|
12908
|
-
export type
|
|
12909
|
-
export type
|
|
12768
|
+
export type V2IntegrationGetError = V2IntegrationGetErrors[keyof V2IntegrationGetErrors];
|
|
12769
|
+
export type V2IntegrationGetResponses = {
|
|
12910
12770
|
/**
|
|
12911
12771
|
* Success
|
|
12912
12772
|
*/
|
|
12913
12773
|
200: {
|
|
12914
12774
|
location: LocationInfo;
|
|
12915
|
-
data:
|
|
12775
|
+
data: IntegrationInfo;
|
|
12916
12776
|
};
|
|
12917
12777
|
};
|
|
12918
|
-
export type
|
|
12919
|
-
export type
|
|
12778
|
+
export type V2IntegrationGetResponse = V2IntegrationGetResponses[keyof V2IntegrationGetResponses];
|
|
12779
|
+
export type V2IntegrationConnectKeyData = {
|
|
12920
12780
|
body: {
|
|
12921
|
-
methodID: string;
|
|
12922
12781
|
key: string;
|
|
12923
|
-
inputs: {
|
|
12924
|
-
[key: string]: string;
|
|
12925
|
-
};
|
|
12926
12782
|
label?: string;
|
|
12927
12783
|
};
|
|
12928
12784
|
path: {
|
|
12929
|
-
|
|
12785
|
+
integrationID: string;
|
|
12930
12786
|
};
|
|
12931
12787
|
query?: {
|
|
12932
12788
|
location?: {
|
|
@@ -12934,9 +12790,9 @@ export type V2ConnectorConnectKeyData = {
|
|
|
12934
12790
|
workspace?: string;
|
|
12935
12791
|
};
|
|
12936
12792
|
};
|
|
12937
|
-
url: "/api/
|
|
12793
|
+
url: "/api/integration/{integrationID}/connect/key";
|
|
12938
12794
|
};
|
|
12939
|
-
export type
|
|
12795
|
+
export type V2IntegrationConnectKeyErrors = {
|
|
12940
12796
|
/**
|
|
12941
12797
|
* InvalidRequestError
|
|
12942
12798
|
*/
|
|
@@ -12946,15 +12802,15 @@ export type V2ConnectorConnectKeyErrors = {
|
|
|
12946
12802
|
*/
|
|
12947
12803
|
401: UnauthorizedError;
|
|
12948
12804
|
};
|
|
12949
|
-
export type
|
|
12950
|
-
export type
|
|
12805
|
+
export type V2IntegrationConnectKeyError = V2IntegrationConnectKeyErrors[keyof V2IntegrationConnectKeyErrors];
|
|
12806
|
+
export type V2IntegrationConnectKeyResponses = {
|
|
12951
12807
|
/**
|
|
12952
12808
|
* <No Content>
|
|
12953
12809
|
*/
|
|
12954
12810
|
204: void;
|
|
12955
12811
|
};
|
|
12956
|
-
export type
|
|
12957
|
-
export type
|
|
12812
|
+
export type V2IntegrationConnectKeyResponse = V2IntegrationConnectKeyResponses[keyof V2IntegrationConnectKeyResponses];
|
|
12813
|
+
export type V2IntegrationConnectOauthData = {
|
|
12958
12814
|
body: {
|
|
12959
12815
|
methodID: string;
|
|
12960
12816
|
inputs: {
|
|
@@ -12963,7 +12819,7 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12963
12819
|
label?: string;
|
|
12964
12820
|
};
|
|
12965
12821
|
path: {
|
|
12966
|
-
|
|
12822
|
+
integrationID: string;
|
|
12967
12823
|
};
|
|
12968
12824
|
query?: {
|
|
12969
12825
|
location?: {
|
|
@@ -12971,9 +12827,9 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12971
12827
|
workspace?: string;
|
|
12972
12828
|
};
|
|
12973
12829
|
};
|
|
12974
|
-
url: "/api/
|
|
12830
|
+
url: "/api/integration/{integrationID}/connect/oauth";
|
|
12975
12831
|
};
|
|
12976
|
-
export type
|
|
12832
|
+
export type V2IntegrationConnectOauthErrors = {
|
|
12977
12833
|
/**
|
|
12978
12834
|
* InvalidRequestError
|
|
12979
12835
|
*/
|
|
@@ -12983,18 +12839,18 @@ export type V2ConnectorConnectOauthBeginErrors = {
|
|
|
12983
12839
|
*/
|
|
12984
12840
|
401: UnauthorizedError;
|
|
12985
12841
|
};
|
|
12986
|
-
export type
|
|
12987
|
-
export type
|
|
12842
|
+
export type V2IntegrationConnectOauthError = V2IntegrationConnectOauthErrors[keyof V2IntegrationConnectOauthErrors];
|
|
12843
|
+
export type V2IntegrationConnectOauthResponses = {
|
|
12988
12844
|
/**
|
|
12989
12845
|
* Success
|
|
12990
12846
|
*/
|
|
12991
12847
|
200: {
|
|
12992
12848
|
location: LocationInfo;
|
|
12993
|
-
data:
|
|
12849
|
+
data: IntegrationAttempt;
|
|
12994
12850
|
};
|
|
12995
12851
|
};
|
|
12996
|
-
export type
|
|
12997
|
-
export type
|
|
12852
|
+
export type V2IntegrationConnectOauthResponse = V2IntegrationConnectOauthResponses[keyof V2IntegrationConnectOauthResponses];
|
|
12853
|
+
export type V2IntegrationAttemptCancelData = {
|
|
12998
12854
|
body?: never;
|
|
12999
12855
|
path: {
|
|
13000
12856
|
attemptID: string;
|
|
@@ -13005,9 +12861,9 @@ export type V2ConnectorConnectOauthCancelData = {
|
|
|
13005
12861
|
workspace?: string;
|
|
13006
12862
|
};
|
|
13007
12863
|
};
|
|
13008
|
-
url: "/api/
|
|
12864
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13009
12865
|
};
|
|
13010
|
-
export type
|
|
12866
|
+
export type V2IntegrationAttemptCancelErrors = {
|
|
13011
12867
|
/**
|
|
13012
12868
|
* InvalidRequestError
|
|
13013
12869
|
*/
|
|
@@ -13017,15 +12873,15 @@ export type V2ConnectorConnectOauthCancelErrors = {
|
|
|
13017
12873
|
*/
|
|
13018
12874
|
401: UnauthorizedError;
|
|
13019
12875
|
};
|
|
13020
|
-
export type
|
|
13021
|
-
export type
|
|
12876
|
+
export type V2IntegrationAttemptCancelError = V2IntegrationAttemptCancelErrors[keyof V2IntegrationAttemptCancelErrors];
|
|
12877
|
+
export type V2IntegrationAttemptCancelResponses = {
|
|
13022
12878
|
/**
|
|
13023
12879
|
* <No Content>
|
|
13024
12880
|
*/
|
|
13025
12881
|
204: void;
|
|
13026
12882
|
};
|
|
13027
|
-
export type
|
|
13028
|
-
export type
|
|
12883
|
+
export type V2IntegrationAttemptCancelResponse = V2IntegrationAttemptCancelResponses[keyof V2IntegrationAttemptCancelResponses];
|
|
12884
|
+
export type V2IntegrationAttemptStatusData = {
|
|
13029
12885
|
body?: never;
|
|
13030
12886
|
path: {
|
|
13031
12887
|
attemptID: string;
|
|
@@ -13036,9 +12892,9 @@ export type V2ConnectorConnectOauthStatusData = {
|
|
|
13036
12892
|
workspace?: string;
|
|
13037
12893
|
};
|
|
13038
12894
|
};
|
|
13039
|
-
url: "/api/
|
|
12895
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13040
12896
|
};
|
|
13041
|
-
export type
|
|
12897
|
+
export type V2IntegrationAttemptStatusErrors = {
|
|
13042
12898
|
/**
|
|
13043
12899
|
* InvalidRequestError
|
|
13044
12900
|
*/
|
|
@@ -13048,8 +12904,8 @@ export type V2ConnectorConnectOauthStatusErrors = {
|
|
|
13048
12904
|
*/
|
|
13049
12905
|
401: UnauthorizedError;
|
|
13050
12906
|
};
|
|
13051
|
-
export type
|
|
13052
|
-
export type
|
|
12907
|
+
export type V2IntegrationAttemptStatusError = V2IntegrationAttemptStatusErrors[keyof V2IntegrationAttemptStatusErrors];
|
|
12908
|
+
export type V2IntegrationAttemptStatusResponses = {
|
|
13053
12909
|
/**
|
|
13054
12910
|
* Success
|
|
13055
12911
|
*/
|
|
@@ -13083,8 +12939,8 @@ export type V2ConnectorConnectOauthStatusResponses = {
|
|
|
13083
12939
|
};
|
|
13084
12940
|
};
|
|
13085
12941
|
};
|
|
13086
|
-
export type
|
|
13087
|
-
export type
|
|
12942
|
+
export type V2IntegrationAttemptStatusResponse = V2IntegrationAttemptStatusResponses[keyof V2IntegrationAttemptStatusResponses];
|
|
12943
|
+
export type V2IntegrationAttemptCompleteData = {
|
|
13088
12944
|
body: {
|
|
13089
12945
|
code?: string;
|
|
13090
12946
|
};
|
|
@@ -13097,9 +12953,9 @@ export type V2ConnectorConnectOauthCompleteData = {
|
|
|
13097
12953
|
workspace?: string;
|
|
13098
12954
|
};
|
|
13099
12955
|
};
|
|
13100
|
-
url: "/api/
|
|
12956
|
+
url: "/api/integration/attempt/{attemptID}/complete";
|
|
13101
12957
|
};
|
|
13102
|
-
export type
|
|
12958
|
+
export type V2IntegrationAttemptCompleteErrors = {
|
|
13103
12959
|
/**
|
|
13104
12960
|
* InvalidRequestError
|
|
13105
12961
|
*/
|
|
@@ -13109,26 +12965,28 @@ export type V2ConnectorConnectOauthCompleteErrors = {
|
|
|
13109
12965
|
*/
|
|
13110
12966
|
401: UnauthorizedError;
|
|
13111
12967
|
};
|
|
13112
|
-
export type
|
|
13113
|
-
export type
|
|
12968
|
+
export type V2IntegrationAttemptCompleteError = V2IntegrationAttemptCompleteErrors[keyof V2IntegrationAttemptCompleteErrors];
|
|
12969
|
+
export type V2IntegrationAttemptCompleteResponses = {
|
|
13114
12970
|
/**
|
|
13115
12971
|
* <No Content>
|
|
13116
12972
|
*/
|
|
13117
12973
|
204: void;
|
|
13118
12974
|
};
|
|
13119
|
-
export type
|
|
13120
|
-
export type
|
|
12975
|
+
export type V2IntegrationAttemptCompleteResponse = V2IntegrationAttemptCompleteResponses[keyof V2IntegrationAttemptCompleteResponses];
|
|
12976
|
+
export type V2CredentialRemoveData = {
|
|
13121
12977
|
body?: never;
|
|
13122
|
-
path
|
|
12978
|
+
path: {
|
|
12979
|
+
credentialID: string;
|
|
12980
|
+
};
|
|
13123
12981
|
query?: {
|
|
13124
12982
|
location?: {
|
|
13125
12983
|
directory?: string;
|
|
13126
12984
|
workspace?: string;
|
|
13127
12985
|
};
|
|
13128
12986
|
};
|
|
13129
|
-
url: "/api/
|
|
12987
|
+
url: "/api/credential/{credentialID}";
|
|
13130
12988
|
};
|
|
13131
|
-
export type
|
|
12989
|
+
export type V2CredentialRemoveErrors = {
|
|
13132
12990
|
/**
|
|
13133
12991
|
* InvalidRequestError
|
|
13134
12992
|
*/
|
|
@@ -13138,15 +12996,77 @@ export type V2PermissionRequestListErrors = {
|
|
|
13138
12996
|
*/
|
|
13139
12997
|
401: UnauthorizedError;
|
|
13140
12998
|
};
|
|
13141
|
-
export type
|
|
13142
|
-
export type
|
|
12999
|
+
export type V2CredentialRemoveError = V2CredentialRemoveErrors[keyof V2CredentialRemoveErrors];
|
|
13000
|
+
export type V2CredentialRemoveResponses = {
|
|
13143
13001
|
/**
|
|
13144
|
-
*
|
|
13002
|
+
* <No Content>
|
|
13145
13003
|
*/
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13004
|
+
204: void;
|
|
13005
|
+
};
|
|
13006
|
+
export type V2CredentialRemoveResponse = V2CredentialRemoveResponses[keyof V2CredentialRemoveResponses];
|
|
13007
|
+
export type V2CredentialUpdateData = {
|
|
13008
|
+
body: {
|
|
13009
|
+
label: string;
|
|
13010
|
+
};
|
|
13011
|
+
path: {
|
|
13012
|
+
credentialID: string;
|
|
13013
|
+
};
|
|
13014
|
+
query?: {
|
|
13015
|
+
location?: {
|
|
13016
|
+
directory?: string;
|
|
13017
|
+
workspace?: string;
|
|
13018
|
+
};
|
|
13019
|
+
};
|
|
13020
|
+
url: "/api/credential/{credentialID}";
|
|
13021
|
+
};
|
|
13022
|
+
export type V2CredentialUpdateErrors = {
|
|
13023
|
+
/**
|
|
13024
|
+
* InvalidRequestError
|
|
13025
|
+
*/
|
|
13026
|
+
400: InvalidRequestError;
|
|
13027
|
+
/**
|
|
13028
|
+
* UnauthorizedError
|
|
13029
|
+
*/
|
|
13030
|
+
401: UnauthorizedError;
|
|
13031
|
+
};
|
|
13032
|
+
export type V2CredentialUpdateError = V2CredentialUpdateErrors[keyof V2CredentialUpdateErrors];
|
|
13033
|
+
export type V2CredentialUpdateResponses = {
|
|
13034
|
+
/**
|
|
13035
|
+
* <No Content>
|
|
13036
|
+
*/
|
|
13037
|
+
204: void;
|
|
13038
|
+
};
|
|
13039
|
+
export type V2CredentialUpdateResponse = V2CredentialUpdateResponses[keyof V2CredentialUpdateResponses];
|
|
13040
|
+
export type V2PermissionRequestListData = {
|
|
13041
|
+
body?: never;
|
|
13042
|
+
path?: never;
|
|
13043
|
+
query?: {
|
|
13044
|
+
location?: {
|
|
13045
|
+
directory?: string;
|
|
13046
|
+
workspace?: string;
|
|
13047
|
+
};
|
|
13048
|
+
};
|
|
13049
|
+
url: "/api/permission/request";
|
|
13050
|
+
};
|
|
13051
|
+
export type V2PermissionRequestListErrors = {
|
|
13052
|
+
/**
|
|
13053
|
+
* InvalidRequestError
|
|
13054
|
+
*/
|
|
13055
|
+
400: InvalidRequestError;
|
|
13056
|
+
/**
|
|
13057
|
+
* UnauthorizedError
|
|
13058
|
+
*/
|
|
13059
|
+
401: UnauthorizedError;
|
|
13060
|
+
};
|
|
13061
|
+
export type V2PermissionRequestListError = V2PermissionRequestListErrors[keyof V2PermissionRequestListErrors];
|
|
13062
|
+
export type V2PermissionRequestListResponses = {
|
|
13063
|
+
/**
|
|
13064
|
+
* Success
|
|
13065
|
+
*/
|
|
13066
|
+
200: {
|
|
13067
|
+
location: LocationInfo;
|
|
13068
|
+
data: Array<PermissionV2Request>;
|
|
13069
|
+
};
|
|
13150
13070
|
};
|
|
13151
13071
|
export type V2PermissionRequestListResponse = V2PermissionRequestListResponses[keyof V2PermissionRequestListResponses];
|
|
13152
13072
|
export type V2PermissionSavedListData = {
|
|
@@ -13460,6 +13380,280 @@ export type V2EventSubscribeResponses = {
|
|
|
13460
13380
|
200: string;
|
|
13461
13381
|
};
|
|
13462
13382
|
export type V2EventSubscribeResponse = V2EventSubscribeResponses[keyof V2EventSubscribeResponses];
|
|
13383
|
+
export type V2PtyListData = {
|
|
13384
|
+
body?: never;
|
|
13385
|
+
path?: never;
|
|
13386
|
+
query?: {
|
|
13387
|
+
location?: {
|
|
13388
|
+
directory?: string;
|
|
13389
|
+
workspace?: string;
|
|
13390
|
+
};
|
|
13391
|
+
};
|
|
13392
|
+
url: "/api/pty";
|
|
13393
|
+
};
|
|
13394
|
+
export type V2PtyListErrors = {
|
|
13395
|
+
/**
|
|
13396
|
+
* InvalidRequestError
|
|
13397
|
+
*/
|
|
13398
|
+
400: InvalidRequestError;
|
|
13399
|
+
/**
|
|
13400
|
+
* UnauthorizedError
|
|
13401
|
+
*/
|
|
13402
|
+
401: UnauthorizedError;
|
|
13403
|
+
};
|
|
13404
|
+
export type V2PtyListError = V2PtyListErrors[keyof V2PtyListErrors];
|
|
13405
|
+
export type V2PtyListResponses = {
|
|
13406
|
+
/**
|
|
13407
|
+
* Success
|
|
13408
|
+
*/
|
|
13409
|
+
200: {
|
|
13410
|
+
location: LocationInfo;
|
|
13411
|
+
data: Array<Pty>;
|
|
13412
|
+
};
|
|
13413
|
+
};
|
|
13414
|
+
export type V2PtyListResponse = V2PtyListResponses[keyof V2PtyListResponses];
|
|
13415
|
+
export type V2PtyCreateData = {
|
|
13416
|
+
body: {
|
|
13417
|
+
command?: string;
|
|
13418
|
+
args?: Array<string>;
|
|
13419
|
+
cwd?: string;
|
|
13420
|
+
title?: string;
|
|
13421
|
+
env?: {
|
|
13422
|
+
[key: string]: string;
|
|
13423
|
+
};
|
|
13424
|
+
};
|
|
13425
|
+
path?: never;
|
|
13426
|
+
query?: {
|
|
13427
|
+
location?: {
|
|
13428
|
+
directory?: string;
|
|
13429
|
+
workspace?: string;
|
|
13430
|
+
};
|
|
13431
|
+
};
|
|
13432
|
+
url: "/api/pty";
|
|
13433
|
+
};
|
|
13434
|
+
export type V2PtyCreateErrors = {
|
|
13435
|
+
/**
|
|
13436
|
+
* InvalidRequestError
|
|
13437
|
+
*/
|
|
13438
|
+
400: InvalidRequestError;
|
|
13439
|
+
/**
|
|
13440
|
+
* UnauthorizedError
|
|
13441
|
+
*/
|
|
13442
|
+
401: UnauthorizedError;
|
|
13443
|
+
};
|
|
13444
|
+
export type V2PtyCreateError = V2PtyCreateErrors[keyof V2PtyCreateErrors];
|
|
13445
|
+
export type V2PtyCreateResponses = {
|
|
13446
|
+
/**
|
|
13447
|
+
* Success
|
|
13448
|
+
*/
|
|
13449
|
+
200: {
|
|
13450
|
+
location: LocationInfo;
|
|
13451
|
+
data: Pty;
|
|
13452
|
+
};
|
|
13453
|
+
};
|
|
13454
|
+
export type V2PtyCreateResponse = V2PtyCreateResponses[keyof V2PtyCreateResponses];
|
|
13455
|
+
export type V2PtyRemoveData = {
|
|
13456
|
+
body?: never;
|
|
13457
|
+
path: {
|
|
13458
|
+
ptyID: string;
|
|
13459
|
+
};
|
|
13460
|
+
query?: {
|
|
13461
|
+
location?: {
|
|
13462
|
+
directory?: string;
|
|
13463
|
+
workspace?: string;
|
|
13464
|
+
};
|
|
13465
|
+
};
|
|
13466
|
+
url: "/api/pty/{ptyID}";
|
|
13467
|
+
};
|
|
13468
|
+
export type V2PtyRemoveErrors = {
|
|
13469
|
+
/**
|
|
13470
|
+
* InvalidRequestError
|
|
13471
|
+
*/
|
|
13472
|
+
400: InvalidRequestError;
|
|
13473
|
+
/**
|
|
13474
|
+
* UnauthorizedError
|
|
13475
|
+
*/
|
|
13476
|
+
401: UnauthorizedError;
|
|
13477
|
+
/**
|
|
13478
|
+
* PtyNotFoundError
|
|
13479
|
+
*/
|
|
13480
|
+
404: PtyNotFoundError;
|
|
13481
|
+
};
|
|
13482
|
+
export type V2PtyRemoveError = V2PtyRemoveErrors[keyof V2PtyRemoveErrors];
|
|
13483
|
+
export type V2PtyRemoveResponses = {
|
|
13484
|
+
/**
|
|
13485
|
+
* <No Content>
|
|
13486
|
+
*/
|
|
13487
|
+
204: void;
|
|
13488
|
+
};
|
|
13489
|
+
export type V2PtyRemoveResponse = V2PtyRemoveResponses[keyof V2PtyRemoveResponses];
|
|
13490
|
+
export type V2PtyGetData = {
|
|
13491
|
+
body?: never;
|
|
13492
|
+
path: {
|
|
13493
|
+
ptyID: string;
|
|
13494
|
+
};
|
|
13495
|
+
query?: {
|
|
13496
|
+
location?: {
|
|
13497
|
+
directory?: string;
|
|
13498
|
+
workspace?: string;
|
|
13499
|
+
};
|
|
13500
|
+
};
|
|
13501
|
+
url: "/api/pty/{ptyID}";
|
|
13502
|
+
};
|
|
13503
|
+
export type V2PtyGetErrors = {
|
|
13504
|
+
/**
|
|
13505
|
+
* InvalidRequestError
|
|
13506
|
+
*/
|
|
13507
|
+
400: InvalidRequestError;
|
|
13508
|
+
/**
|
|
13509
|
+
* UnauthorizedError
|
|
13510
|
+
*/
|
|
13511
|
+
401: UnauthorizedError;
|
|
13512
|
+
/**
|
|
13513
|
+
* PtyNotFoundError
|
|
13514
|
+
*/
|
|
13515
|
+
404: PtyNotFoundError;
|
|
13516
|
+
};
|
|
13517
|
+
export type V2PtyGetError = V2PtyGetErrors[keyof V2PtyGetErrors];
|
|
13518
|
+
export type V2PtyGetResponses = {
|
|
13519
|
+
/**
|
|
13520
|
+
* Success
|
|
13521
|
+
*/
|
|
13522
|
+
200: {
|
|
13523
|
+
location: LocationInfo;
|
|
13524
|
+
data: Pty;
|
|
13525
|
+
};
|
|
13526
|
+
};
|
|
13527
|
+
export type V2PtyGetResponse = V2PtyGetResponses[keyof V2PtyGetResponses];
|
|
13528
|
+
export type V2PtyUpdateData = {
|
|
13529
|
+
body: {
|
|
13530
|
+
title?: string;
|
|
13531
|
+
sessionID?: string;
|
|
13532
|
+
size?: {
|
|
13533
|
+
rows: number;
|
|
13534
|
+
cols: number;
|
|
13535
|
+
};
|
|
13536
|
+
};
|
|
13537
|
+
path: {
|
|
13538
|
+
ptyID: string;
|
|
13539
|
+
};
|
|
13540
|
+
query?: {
|
|
13541
|
+
location?: {
|
|
13542
|
+
directory?: string;
|
|
13543
|
+
workspace?: string;
|
|
13544
|
+
};
|
|
13545
|
+
};
|
|
13546
|
+
url: "/api/pty/{ptyID}";
|
|
13547
|
+
};
|
|
13548
|
+
export type V2PtyUpdateErrors = {
|
|
13549
|
+
/**
|
|
13550
|
+
* InvalidRequestError
|
|
13551
|
+
*/
|
|
13552
|
+
400: InvalidRequestError;
|
|
13553
|
+
/**
|
|
13554
|
+
* UnauthorizedError
|
|
13555
|
+
*/
|
|
13556
|
+
401: UnauthorizedError;
|
|
13557
|
+
/**
|
|
13558
|
+
* PtyNotFoundError
|
|
13559
|
+
*/
|
|
13560
|
+
404: PtyNotFoundError;
|
|
13561
|
+
};
|
|
13562
|
+
export type V2PtyUpdateError = V2PtyUpdateErrors[keyof V2PtyUpdateErrors];
|
|
13563
|
+
export type V2PtyUpdateResponses = {
|
|
13564
|
+
/**
|
|
13565
|
+
* Success
|
|
13566
|
+
*/
|
|
13567
|
+
200: {
|
|
13568
|
+
location: LocationInfo;
|
|
13569
|
+
data: Pty;
|
|
13570
|
+
};
|
|
13571
|
+
};
|
|
13572
|
+
export type V2PtyUpdateResponse = V2PtyUpdateResponses[keyof V2PtyUpdateResponses];
|
|
13573
|
+
export type V2PtyConnectTokenData = {
|
|
13574
|
+
body?: never;
|
|
13575
|
+
path: {
|
|
13576
|
+
ptyID: string;
|
|
13577
|
+
};
|
|
13578
|
+
query?: {
|
|
13579
|
+
location?: {
|
|
13580
|
+
directory?: string;
|
|
13581
|
+
workspace?: string;
|
|
13582
|
+
};
|
|
13583
|
+
};
|
|
13584
|
+
url: "/api/pty/{ptyID}/connect-token";
|
|
13585
|
+
};
|
|
13586
|
+
export type V2PtyConnectTokenErrors = {
|
|
13587
|
+
/**
|
|
13588
|
+
* InvalidRequestError
|
|
13589
|
+
*/
|
|
13590
|
+
400: InvalidRequestError;
|
|
13591
|
+
/**
|
|
13592
|
+
* UnauthorizedError
|
|
13593
|
+
*/
|
|
13594
|
+
401: UnauthorizedError;
|
|
13595
|
+
/**
|
|
13596
|
+
* ForbiddenError
|
|
13597
|
+
*/
|
|
13598
|
+
403: ForbiddenError;
|
|
13599
|
+
/**
|
|
13600
|
+
* PtyNotFoundError
|
|
13601
|
+
*/
|
|
13602
|
+
404: PtyNotFoundError;
|
|
13603
|
+
};
|
|
13604
|
+
export type V2PtyConnectTokenError = V2PtyConnectTokenErrors[keyof V2PtyConnectTokenErrors];
|
|
13605
|
+
export type V2PtyConnectTokenResponses = {
|
|
13606
|
+
/**
|
|
13607
|
+
* Success
|
|
13608
|
+
*/
|
|
13609
|
+
200: {
|
|
13610
|
+
location: LocationInfo;
|
|
13611
|
+
data: {
|
|
13612
|
+
ticket: string;
|
|
13613
|
+
expires_in: number;
|
|
13614
|
+
};
|
|
13615
|
+
};
|
|
13616
|
+
};
|
|
13617
|
+
export type V2PtyConnectTokenResponse = V2PtyConnectTokenResponses[keyof V2PtyConnectTokenResponses];
|
|
13618
|
+
export type V2PtyConnectData = {
|
|
13619
|
+
body?: never;
|
|
13620
|
+
path: {
|
|
13621
|
+
ptyID: string;
|
|
13622
|
+
};
|
|
13623
|
+
query?: {
|
|
13624
|
+
"location[directory]"?: string;
|
|
13625
|
+
"location[workspace]"?: string;
|
|
13626
|
+
cursor?: string;
|
|
13627
|
+
ticket?: string;
|
|
13628
|
+
};
|
|
13629
|
+
url: "/api/pty/{ptyID}/connect";
|
|
13630
|
+
};
|
|
13631
|
+
export type V2PtyConnectErrors = {
|
|
13632
|
+
/**
|
|
13633
|
+
* InvalidRequestError
|
|
13634
|
+
*/
|
|
13635
|
+
400: InvalidRequestError;
|
|
13636
|
+
/**
|
|
13637
|
+
* UnauthorizedError
|
|
13638
|
+
*/
|
|
13639
|
+
401: UnauthorizedError;
|
|
13640
|
+
/**
|
|
13641
|
+
* ForbiddenError
|
|
13642
|
+
*/
|
|
13643
|
+
403: ForbiddenError;
|
|
13644
|
+
/**
|
|
13645
|
+
* PtyNotFoundError
|
|
13646
|
+
*/
|
|
13647
|
+
404: PtyNotFoundError;
|
|
13648
|
+
};
|
|
13649
|
+
export type V2PtyConnectError = V2PtyConnectErrors[keyof V2PtyConnectErrors];
|
|
13650
|
+
export type V2PtyConnectResponses = {
|
|
13651
|
+
/**
|
|
13652
|
+
* Success
|
|
13653
|
+
*/
|
|
13654
|
+
200: boolean;
|
|
13655
|
+
};
|
|
13656
|
+
export type V2PtyConnectResponse = V2PtyConnectResponses[keyof V2PtyConnectResponses];
|
|
13463
13657
|
export type V2QuestionRequestListData = {
|
|
13464
13658
|
body?: never;
|
|
13465
13659
|
path?: never;
|
|
@@ -13618,6 +13812,94 @@ export type V2ReferenceListResponses = {
|
|
|
13618
13812
|
};
|
|
13619
13813
|
};
|
|
13620
13814
|
export type V2ReferenceListResponse = V2ReferenceListResponses[keyof V2ReferenceListResponses];
|
|
13815
|
+
export type V2ProjectCopyRemoveData = {
|
|
13816
|
+
body?: {
|
|
13817
|
+
directory: string;
|
|
13818
|
+
force: boolean;
|
|
13819
|
+
};
|
|
13820
|
+
path: {
|
|
13821
|
+
projectID: string;
|
|
13822
|
+
};
|
|
13823
|
+
query?: {
|
|
13824
|
+
location?: {
|
|
13825
|
+
directory?: string;
|
|
13826
|
+
workspace?: string;
|
|
13827
|
+
};
|
|
13828
|
+
};
|
|
13829
|
+
url: "/experimental/project/{projectID}/copy";
|
|
13830
|
+
};
|
|
13831
|
+
export type V2ProjectCopyRemoveErrors = {
|
|
13832
|
+
/**
|
|
13833
|
+
* ProjectCopyError | InvalidRequestError
|
|
13834
|
+
*/
|
|
13835
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13836
|
+
};
|
|
13837
|
+
export type V2ProjectCopyRemoveError = V2ProjectCopyRemoveErrors[keyof V2ProjectCopyRemoveErrors];
|
|
13838
|
+
export type V2ProjectCopyRemoveResponses = {
|
|
13839
|
+
/**
|
|
13840
|
+
* <No Content>
|
|
13841
|
+
*/
|
|
13842
|
+
204: void;
|
|
13843
|
+
};
|
|
13844
|
+
export type V2ProjectCopyRemoveResponse = V2ProjectCopyRemoveResponses[keyof V2ProjectCopyRemoveResponses];
|
|
13845
|
+
export type V2ProjectCopyCreateData = {
|
|
13846
|
+
body?: {
|
|
13847
|
+
strategy: string;
|
|
13848
|
+
directory: string;
|
|
13849
|
+
name?: string;
|
|
13850
|
+
};
|
|
13851
|
+
path: {
|
|
13852
|
+
projectID: string;
|
|
13853
|
+
};
|
|
13854
|
+
query?: {
|
|
13855
|
+
location?: {
|
|
13856
|
+
directory?: string;
|
|
13857
|
+
workspace?: string;
|
|
13858
|
+
};
|
|
13859
|
+
};
|
|
13860
|
+
url: "/experimental/project/{projectID}/copy";
|
|
13861
|
+
};
|
|
13862
|
+
export type V2ProjectCopyCreateErrors = {
|
|
13863
|
+
/**
|
|
13864
|
+
* ProjectCopyError | InvalidRequestError
|
|
13865
|
+
*/
|
|
13866
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13867
|
+
};
|
|
13868
|
+
export type V2ProjectCopyCreateError = V2ProjectCopyCreateErrors[keyof V2ProjectCopyCreateErrors];
|
|
13869
|
+
export type V2ProjectCopyCreateResponses = {
|
|
13870
|
+
/**
|
|
13871
|
+
* ProjectCopy.Copy
|
|
13872
|
+
*/
|
|
13873
|
+
200: ProjectCopyCopy;
|
|
13874
|
+
};
|
|
13875
|
+
export type V2ProjectCopyCreateResponse = V2ProjectCopyCreateResponses[keyof V2ProjectCopyCreateResponses];
|
|
13876
|
+
export type V2ProjectCopyRefreshData = {
|
|
13877
|
+
body?: never;
|
|
13878
|
+
path: {
|
|
13879
|
+
projectID: string;
|
|
13880
|
+
};
|
|
13881
|
+
query?: {
|
|
13882
|
+
location?: {
|
|
13883
|
+
directory?: string;
|
|
13884
|
+
workspace?: string;
|
|
13885
|
+
};
|
|
13886
|
+
};
|
|
13887
|
+
url: "/experimental/project/{projectID}/copy/refresh";
|
|
13888
|
+
};
|
|
13889
|
+
export type V2ProjectCopyRefreshErrors = {
|
|
13890
|
+
/**
|
|
13891
|
+
* ProjectCopyError | InvalidRequestError
|
|
13892
|
+
*/
|
|
13893
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13894
|
+
};
|
|
13895
|
+
export type V2ProjectCopyRefreshError = V2ProjectCopyRefreshErrors[keyof V2ProjectCopyRefreshErrors];
|
|
13896
|
+
export type V2ProjectCopyRefreshResponses = {
|
|
13897
|
+
/**
|
|
13898
|
+
* <No Content>
|
|
13899
|
+
*/
|
|
13900
|
+
204: void;
|
|
13901
|
+
};
|
|
13902
|
+
export type V2ProjectCopyRefreshResponse = V2ProjectCopyRefreshResponses[keyof V2ProjectCopyRefreshResponses];
|
|
13621
13903
|
export type PtyConnectData = {
|
|
13622
13904
|
body?: never;
|
|
13623
13905
|
path: {
|