@kilocode/sdk 7.2.1 → 7.2.4
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 +53 -4
- package/dist/v2/gen/sdk.gen.js +103 -3
- package/dist/v2/gen/types.gen.d.ts +216 -105
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, KiloClawChatCredentialsResponses, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionViewedResponses, SubtaskPartInput, TelemetryCaptureErrors, TelemetryCaptureResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, KiloClawChatCredentialsResponses, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionViewedResponses, SubtaskPartInput, TelemetryCaptureErrors, TelemetryCaptureResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -309,6 +309,8 @@ export declare class Session extends HeyApiClient {
|
|
|
309
309
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
310
310
|
directory?: string;
|
|
311
311
|
workspace?: string;
|
|
312
|
+
projectID?: string;
|
|
313
|
+
worktrees?: boolean;
|
|
312
314
|
roots?: boolean;
|
|
313
315
|
start?: number;
|
|
314
316
|
cursor?: number;
|
|
@@ -434,6 +436,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
434
436
|
title?: string;
|
|
435
437
|
permission?: PermissionRuleset;
|
|
436
438
|
platform?: string;
|
|
439
|
+
workspaceID?: string;
|
|
437
440
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionCreateResponses, SessionCreateErrors, ThrowOnError, "fields">;
|
|
438
441
|
/**
|
|
439
442
|
* Get session status
|
|
@@ -732,14 +735,15 @@ export declare class Session2 extends HeyApiClient {
|
|
|
732
735
|
workspace?: string;
|
|
733
736
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
|
|
734
737
|
/**
|
|
735
|
-
* Set viewed
|
|
738
|
+
* Set viewed sessions
|
|
736
739
|
*
|
|
737
|
-
* Notify the server which
|
|
740
|
+
* Notify the server which sessions the user is currently viewing, or clear all.
|
|
738
741
|
*/
|
|
739
742
|
viewed<ThrowOnError extends boolean = false>(parameters?: {
|
|
740
743
|
directory?: string;
|
|
741
744
|
workspace?: string;
|
|
742
|
-
|
|
745
|
+
focused?: Array<string>;
|
|
746
|
+
open?: Array<string>;
|
|
743
747
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionViewedResponses, unknown, ThrowOnError, "fields">;
|
|
744
748
|
}
|
|
745
749
|
export declare class Part extends HeyApiClient {
|
|
@@ -813,6 +817,18 @@ export declare class Permission extends HeyApiClient {
|
|
|
813
817
|
directory?: string;
|
|
814
818
|
workspace?: string;
|
|
815
819
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
|
|
820
|
+
/**
|
|
821
|
+
* Allow everything
|
|
822
|
+
*
|
|
823
|
+
* Enable or disable allowing all permissions without prompts.
|
|
824
|
+
*/
|
|
825
|
+
allowEverything<ThrowOnError extends boolean = false>(parameters?: {
|
|
826
|
+
directory?: string;
|
|
827
|
+
workspace?: string;
|
|
828
|
+
enable?: boolean;
|
|
829
|
+
requestID?: string;
|
|
830
|
+
sessionID?: string;
|
|
831
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionAllowEverythingResponses, PermissionAllowEverythingErrors, ThrowOnError, "fields">;
|
|
816
832
|
}
|
|
817
833
|
export declare class Question extends HeyApiClient {
|
|
818
834
|
/**
|
|
@@ -846,6 +862,37 @@ export declare class Question extends HeyApiClient {
|
|
|
846
862
|
workspace?: string;
|
|
847
863
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
|
|
848
864
|
}
|
|
865
|
+
export declare class Network extends HeyApiClient {
|
|
866
|
+
/**
|
|
867
|
+
* List pending network waits
|
|
868
|
+
*
|
|
869
|
+
* Get all pending network reconnect requests across all sessions.
|
|
870
|
+
*/
|
|
871
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
872
|
+
directory?: string;
|
|
873
|
+
workspace?: string;
|
|
874
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
|
|
875
|
+
/**
|
|
876
|
+
* Resume after network wait
|
|
877
|
+
*
|
|
878
|
+
* Resume a pending session after reconnecting network-dependent services.
|
|
879
|
+
*/
|
|
880
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
881
|
+
requestID: string;
|
|
882
|
+
directory?: string;
|
|
883
|
+
workspace?: string;
|
|
884
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
|
|
885
|
+
/**
|
|
886
|
+
* Reject network resume request
|
|
887
|
+
*
|
|
888
|
+
* Stop a pending session instead of resuming after network reconnect.
|
|
889
|
+
*/
|
|
890
|
+
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
891
|
+
requestID: string;
|
|
892
|
+
directory?: string;
|
|
893
|
+
workspace?: string;
|
|
894
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkRejectResponses, NetworkRejectErrors, ThrowOnError, "fields">;
|
|
895
|
+
}
|
|
849
896
|
export declare class Oauth extends HeyApiClient {
|
|
850
897
|
/**
|
|
851
898
|
* OAuth authorize
|
|
@@ -1739,6 +1786,8 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
1739
1786
|
get permission(): Permission;
|
|
1740
1787
|
private _question?;
|
|
1741
1788
|
get question(): Question;
|
|
1789
|
+
private _network?;
|
|
1790
|
+
get network(): Network;
|
|
1742
1791
|
private _provider?;
|
|
1743
1792
|
get provider(): Provider;
|
|
1744
1793
|
private _telemetry?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -581,6 +581,8 @@ export class Session extends HeyApiClient {
|
|
|
581
581
|
args: [
|
|
582
582
|
{ in: "query", key: "directory" },
|
|
583
583
|
{ in: "query", key: "workspace" },
|
|
584
|
+
{ in: "query", key: "projectID" },
|
|
585
|
+
{ in: "query", key: "worktrees" },
|
|
584
586
|
{ in: "query", key: "roots" },
|
|
585
587
|
{ in: "query", key: "start" },
|
|
586
588
|
{ in: "query", key: "cursor" },
|
|
@@ -837,6 +839,7 @@ export class Session2 extends HeyApiClient {
|
|
|
837
839
|
{ in: "body", key: "title" },
|
|
838
840
|
{ in: "body", key: "permission" },
|
|
839
841
|
{ in: "body", key: "platform" },
|
|
842
|
+
{ in: "body", key: "workspaceID" },
|
|
840
843
|
],
|
|
841
844
|
},
|
|
842
845
|
]);
|
|
@@ -1403,9 +1406,9 @@ export class Session2 extends HeyApiClient {
|
|
|
1403
1406
|
});
|
|
1404
1407
|
}
|
|
1405
1408
|
/**
|
|
1406
|
-
* Set viewed
|
|
1409
|
+
* Set viewed sessions
|
|
1407
1410
|
*
|
|
1408
|
-
* Notify the server which
|
|
1411
|
+
* Notify the server which sessions the user is currently viewing, or clear all.
|
|
1409
1412
|
*/
|
|
1410
1413
|
viewed(parameters, options) {
|
|
1411
1414
|
const params = buildClientParams([parameters], [
|
|
@@ -1413,7 +1416,8 @@ export class Session2 extends HeyApiClient {
|
|
|
1413
1416
|
args: [
|
|
1414
1417
|
{ in: "query", key: "directory" },
|
|
1415
1418
|
{ in: "query", key: "workspace" },
|
|
1416
|
-
{ in: "body", key: "
|
|
1419
|
+
{ in: "body", key: "focused" },
|
|
1420
|
+
{ in: "body", key: "open" },
|
|
1417
1421
|
],
|
|
1418
1422
|
},
|
|
1419
1423
|
]);
|
|
@@ -1586,6 +1590,34 @@ export class Permission extends HeyApiClient {
|
|
|
1586
1590
|
...params,
|
|
1587
1591
|
});
|
|
1588
1592
|
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Allow everything
|
|
1595
|
+
*
|
|
1596
|
+
* Enable or disable allowing all permissions without prompts.
|
|
1597
|
+
*/
|
|
1598
|
+
allowEverything(parameters, options) {
|
|
1599
|
+
const params = buildClientParams([parameters], [
|
|
1600
|
+
{
|
|
1601
|
+
args: [
|
|
1602
|
+
{ in: "query", key: "directory" },
|
|
1603
|
+
{ in: "query", key: "workspace" },
|
|
1604
|
+
{ in: "body", key: "enable" },
|
|
1605
|
+
{ in: "body", key: "requestID" },
|
|
1606
|
+
{ in: "body", key: "sessionID" },
|
|
1607
|
+
],
|
|
1608
|
+
},
|
|
1609
|
+
]);
|
|
1610
|
+
return (options?.client ?? this.client).post({
|
|
1611
|
+
url: "/permission/allow-everything",
|
|
1612
|
+
...options,
|
|
1613
|
+
...params,
|
|
1614
|
+
headers: {
|
|
1615
|
+
"Content-Type": "application/json",
|
|
1616
|
+
...options?.headers,
|
|
1617
|
+
...params.headers,
|
|
1618
|
+
},
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1589
1621
|
}
|
|
1590
1622
|
export class Question extends HeyApiClient {
|
|
1591
1623
|
/**
|
|
@@ -1657,6 +1689,70 @@ export class Question extends HeyApiClient {
|
|
|
1657
1689
|
});
|
|
1658
1690
|
}
|
|
1659
1691
|
}
|
|
1692
|
+
export class Network extends HeyApiClient {
|
|
1693
|
+
/**
|
|
1694
|
+
* List pending network waits
|
|
1695
|
+
*
|
|
1696
|
+
* Get all pending network reconnect requests across all sessions.
|
|
1697
|
+
*/
|
|
1698
|
+
list(parameters, options) {
|
|
1699
|
+
const params = buildClientParams([parameters], [
|
|
1700
|
+
{
|
|
1701
|
+
args: [
|
|
1702
|
+
{ in: "query", key: "directory" },
|
|
1703
|
+
{ in: "query", key: "workspace" },
|
|
1704
|
+
],
|
|
1705
|
+
},
|
|
1706
|
+
]);
|
|
1707
|
+
return (options?.client ?? this.client).get({
|
|
1708
|
+
url: "/network",
|
|
1709
|
+
...options,
|
|
1710
|
+
...params,
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
* Resume after network wait
|
|
1715
|
+
*
|
|
1716
|
+
* Resume a pending session after reconnecting network-dependent services.
|
|
1717
|
+
*/
|
|
1718
|
+
reply(parameters, options) {
|
|
1719
|
+
const params = buildClientParams([parameters], [
|
|
1720
|
+
{
|
|
1721
|
+
args: [
|
|
1722
|
+
{ in: "path", key: "requestID" },
|
|
1723
|
+
{ in: "query", key: "directory" },
|
|
1724
|
+
{ in: "query", key: "workspace" },
|
|
1725
|
+
],
|
|
1726
|
+
},
|
|
1727
|
+
]);
|
|
1728
|
+
return (options?.client ?? this.client).post({
|
|
1729
|
+
url: "/network/{requestID}/reply",
|
|
1730
|
+
...options,
|
|
1731
|
+
...params,
|
|
1732
|
+
});
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* Reject network resume request
|
|
1736
|
+
*
|
|
1737
|
+
* Stop a pending session instead of resuming after network reconnect.
|
|
1738
|
+
*/
|
|
1739
|
+
reject(parameters, options) {
|
|
1740
|
+
const params = buildClientParams([parameters], [
|
|
1741
|
+
{
|
|
1742
|
+
args: [
|
|
1743
|
+
{ in: "path", key: "requestID" },
|
|
1744
|
+
{ in: "query", key: "directory" },
|
|
1745
|
+
{ in: "query", key: "workspace" },
|
|
1746
|
+
],
|
|
1747
|
+
},
|
|
1748
|
+
]);
|
|
1749
|
+
return (options?.client ?? this.client).post({
|
|
1750
|
+
url: "/network/{requestID}/reject",
|
|
1751
|
+
...options,
|
|
1752
|
+
...params,
|
|
1753
|
+
});
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1660
1756
|
export class Oauth extends HeyApiClient {
|
|
1661
1757
|
/**
|
|
1662
1758
|
* OAuth authorize
|
|
@@ -3267,6 +3363,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
3267
3363
|
get question() {
|
|
3268
3364
|
return (this._question ??= new Question({ client: this.client }));
|
|
3269
3365
|
}
|
|
3366
|
+
_network;
|
|
3367
|
+
get network() {
|
|
3368
|
+
return (this._network ??= new Network({ client: this.client }));
|
|
3369
|
+
}
|
|
3270
3370
|
_provider;
|
|
3271
3371
|
get provider() {
|
|
3272
3372
|
return (this._provider ??= new Provider({ client: this.client }));
|
|
@@ -83,6 +83,86 @@ export type EventFileEdited = {
|
|
|
83
83
|
file: string;
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
+
export type EventTuiPromptAppend = {
|
|
87
|
+
type: "tui.prompt.append";
|
|
88
|
+
properties: {
|
|
89
|
+
text: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export type EventTuiCommandExecute = {
|
|
93
|
+
type: "tui.command.execute";
|
|
94
|
+
properties: {
|
|
95
|
+
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
export type EventTuiToastShow = {
|
|
99
|
+
type: "tui.toast.show";
|
|
100
|
+
properties: {
|
|
101
|
+
title?: string;
|
|
102
|
+
message: string;
|
|
103
|
+
variant: "info" | "success" | "warning" | "error";
|
|
104
|
+
/**
|
|
105
|
+
* Duration in milliseconds
|
|
106
|
+
*/
|
|
107
|
+
duration?: number;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export type EventTuiSessionSelect = {
|
|
111
|
+
type: "tui.session.select";
|
|
112
|
+
properties: {
|
|
113
|
+
/**
|
|
114
|
+
* Session ID to navigate to
|
|
115
|
+
*/
|
|
116
|
+
sessionID: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export type EventMcpToolsChanged = {
|
|
120
|
+
type: "mcp.tools.changed";
|
|
121
|
+
properties: {
|
|
122
|
+
server: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export type EventMcpBrowserOpenFailed = {
|
|
126
|
+
type: "mcp.browser.open.failed";
|
|
127
|
+
properties: {
|
|
128
|
+
mcpName: string;
|
|
129
|
+
url: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export type SessionNetworkWait = {
|
|
133
|
+
id: string;
|
|
134
|
+
sessionID: string;
|
|
135
|
+
message: string;
|
|
136
|
+
restored: boolean;
|
|
137
|
+
time: {
|
|
138
|
+
created: number;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
export type EventSessionNetworkAsked = {
|
|
142
|
+
type: "session.network.asked";
|
|
143
|
+
properties: SessionNetworkWait;
|
|
144
|
+
};
|
|
145
|
+
export type EventSessionNetworkReplied = {
|
|
146
|
+
type: "session.network.replied";
|
|
147
|
+
properties: {
|
|
148
|
+
sessionID: string;
|
|
149
|
+
requestID: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
export type EventSessionNetworkRejected = {
|
|
153
|
+
type: "session.network.rejected";
|
|
154
|
+
properties: {
|
|
155
|
+
sessionID: string;
|
|
156
|
+
requestID: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
export type EventSessionNetworkRestored = {
|
|
160
|
+
type: "session.network.restored";
|
|
161
|
+
properties: {
|
|
162
|
+
sessionID: string;
|
|
163
|
+
requestID: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
86
166
|
export type OutputFormatText = {
|
|
87
167
|
type: "text";
|
|
88
168
|
};
|
|
@@ -520,6 +600,10 @@ export type SessionStatus = {
|
|
|
520
600
|
next: number;
|
|
521
601
|
} | {
|
|
522
602
|
type: "busy";
|
|
603
|
+
} | {
|
|
604
|
+
type: "offline";
|
|
605
|
+
requestID: string;
|
|
606
|
+
message: string;
|
|
523
607
|
};
|
|
524
608
|
export type EventSessionStatus = {
|
|
525
609
|
type: "session.status";
|
|
@@ -636,52 +720,6 @@ export type EventTodoUpdated = {
|
|
|
636
720
|
todos: Array<Todo>;
|
|
637
721
|
};
|
|
638
722
|
};
|
|
639
|
-
export type EventTuiPromptAppend = {
|
|
640
|
-
type: "tui.prompt.append";
|
|
641
|
-
properties: {
|
|
642
|
-
text: string;
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
export type EventTuiCommandExecute = {
|
|
646
|
-
type: "tui.command.execute";
|
|
647
|
-
properties: {
|
|
648
|
-
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
export type EventTuiToastShow = {
|
|
652
|
-
type: "tui.toast.show";
|
|
653
|
-
properties: {
|
|
654
|
-
title?: string;
|
|
655
|
-
message: string;
|
|
656
|
-
variant: "info" | "success" | "warning" | "error";
|
|
657
|
-
/**
|
|
658
|
-
* Duration in milliseconds
|
|
659
|
-
*/
|
|
660
|
-
duration?: number;
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
export type EventTuiSessionSelect = {
|
|
664
|
-
type: "tui.session.select";
|
|
665
|
-
properties: {
|
|
666
|
-
/**
|
|
667
|
-
* Session ID to navigate to
|
|
668
|
-
*/
|
|
669
|
-
sessionID: string;
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
export type EventMcpToolsChanged = {
|
|
673
|
-
type: "mcp.tools.changed";
|
|
674
|
-
properties: {
|
|
675
|
-
server: string;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
export type EventMcpBrowserOpenFailed = {
|
|
679
|
-
type: "mcp.browser.open.failed";
|
|
680
|
-
properties: {
|
|
681
|
-
mcpName: string;
|
|
682
|
-
url: string;
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
723
|
export type EventCommandExecuted = {
|
|
686
724
|
type: "command.executed";
|
|
687
725
|
properties: {
|
|
@@ -845,7 +883,14 @@ export type EventWorktreeFailed = {
|
|
|
845
883
|
message: string;
|
|
846
884
|
};
|
|
847
885
|
};
|
|
848
|
-
export type
|
|
886
|
+
export type EventKiloSessionsRemoteStatusChanged = {
|
|
887
|
+
type: "kilo-sessions.remote-status-changed";
|
|
888
|
+
properties: {
|
|
889
|
+
enabled: boolean;
|
|
890
|
+
connected: boolean;
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartDelta | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionTurnOpen | EventSessionTurnClose | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed | EventKiloSessionsRemoteStatusChanged;
|
|
849
894
|
export type GlobalEvent = {
|
|
850
895
|
directory: string;
|
|
851
896
|
payload: Event;
|
|
@@ -1036,10 +1081,14 @@ export type ProviderConfig = {
|
|
|
1036
1081
|
*/
|
|
1037
1082
|
setCacheKey?: boolean;
|
|
1038
1083
|
/**
|
|
1039
|
-
* Timeout in milliseconds for requests to this provider. Default is
|
|
1084
|
+
* Timeout in milliseconds for requests to this provider. Default is 120000 (2 minutes). Set to false to disable timeout.
|
|
1040
1085
|
*/
|
|
1041
1086
|
timeout?: number | false;
|
|
1042
|
-
|
|
1087
|
+
/**
|
|
1088
|
+
* Timeout in milliseconds between streamed SSE chunks for this provider. If no chunk arrives within this window, the request is aborted.
|
|
1089
|
+
*/
|
|
1090
|
+
chunkTimeout?: number;
|
|
1091
|
+
[key: string]: unknown | string | boolean | number | false | number | undefined;
|
|
1043
1092
|
};
|
|
1044
1093
|
};
|
|
1045
1094
|
export type McpLocalConfig = {
|
|
@@ -1513,6 +1562,7 @@ export type GlobalSession = {
|
|
|
1513
1562
|
diff?: string;
|
|
1514
1563
|
};
|
|
1515
1564
|
project: ProjectSummary | null;
|
|
1565
|
+
worktreeName?: string;
|
|
1516
1566
|
};
|
|
1517
1567
|
export type McpResource = {
|
|
1518
1568
|
name: string;
|
|
@@ -2426,6 +2476,14 @@ export type ExperimentalSessionListData = {
|
|
|
2426
2476
|
*/
|
|
2427
2477
|
directory?: string;
|
|
2428
2478
|
workspace?: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* Filter sessions by project ID
|
|
2481
|
+
*/
|
|
2482
|
+
projectID?: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* Restrict sessions to the current repo worktree family or current directory
|
|
2485
|
+
*/
|
|
2486
|
+
worktrees?: boolean;
|
|
2429
2487
|
/**
|
|
2430
2488
|
* Only return root sessions (no parentID)
|
|
2431
2489
|
*/
|
|
@@ -2519,6 +2577,7 @@ export type SessionCreateData = {
|
|
|
2519
2577
|
title?: string;
|
|
2520
2578
|
permission?: PermissionRuleset;
|
|
2521
2579
|
platform?: string;
|
|
2580
|
+
workspaceID?: string;
|
|
2522
2581
|
};
|
|
2523
2582
|
path?: never;
|
|
2524
2583
|
query?: {
|
|
@@ -2690,9 +2749,6 @@ export type SessionChildrenResponse = SessionChildrenResponses[keyof SessionChil
|
|
|
2690
2749
|
export type SessionTodoData = {
|
|
2691
2750
|
body?: never;
|
|
2692
2751
|
path: {
|
|
2693
|
-
/**
|
|
2694
|
-
* Session ID
|
|
2695
|
-
*/
|
|
2696
2752
|
sessionID: string;
|
|
2697
2753
|
};
|
|
2698
2754
|
query?: {
|
|
@@ -2726,9 +2782,6 @@ export type SessionInitData = {
|
|
|
2726
2782
|
messageID: string;
|
|
2727
2783
|
};
|
|
2728
2784
|
path: {
|
|
2729
|
-
/**
|
|
2730
|
-
* Session ID
|
|
2731
|
-
*/
|
|
2732
2785
|
sessionID: string;
|
|
2733
2786
|
};
|
|
2734
2787
|
query?: {
|
|
@@ -2888,9 +2941,6 @@ export type SessionSummarizeData = {
|
|
|
2888
2941
|
auto?: boolean;
|
|
2889
2942
|
};
|
|
2890
2943
|
path: {
|
|
2891
|
-
/**
|
|
2892
|
-
* Session ID
|
|
2893
|
-
*/
|
|
2894
2944
|
sessionID: string;
|
|
2895
2945
|
};
|
|
2896
2946
|
query?: {
|
|
@@ -2920,9 +2970,6 @@ export type SessionSummarizeResponse = SessionSummarizeResponses[keyof SessionSu
|
|
|
2920
2970
|
export type SessionMessagesData = {
|
|
2921
2971
|
body?: never;
|
|
2922
2972
|
path: {
|
|
2923
|
-
/**
|
|
2924
|
-
* Session ID
|
|
2925
|
-
*/
|
|
2926
2973
|
sessionID: string;
|
|
2927
2974
|
};
|
|
2928
2975
|
query?: {
|
|
@@ -2980,9 +3027,6 @@ export type SessionPromptData = {
|
|
|
2980
3027
|
parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
2981
3028
|
};
|
|
2982
3029
|
path: {
|
|
2983
|
-
/**
|
|
2984
|
-
* Session ID
|
|
2985
|
-
*/
|
|
2986
3030
|
sessionID: string;
|
|
2987
3031
|
};
|
|
2988
3032
|
query?: {
|
|
@@ -3015,13 +3059,7 @@ export type SessionPromptResponse = SessionPromptResponses[keyof SessionPromptRe
|
|
|
3015
3059
|
export type SessionDeleteMessageData = {
|
|
3016
3060
|
body?: never;
|
|
3017
3061
|
path: {
|
|
3018
|
-
/**
|
|
3019
|
-
* Session ID
|
|
3020
|
-
*/
|
|
3021
3062
|
sessionID: string;
|
|
3022
|
-
/**
|
|
3023
|
-
* Message ID
|
|
3024
|
-
*/
|
|
3025
3063
|
messageID: string;
|
|
3026
3064
|
};
|
|
3027
3065
|
query?: {
|
|
@@ -3051,13 +3089,7 @@ export type SessionDeleteMessageResponse = SessionDeleteMessageResponses[keyof S
|
|
|
3051
3089
|
export type SessionMessageData = {
|
|
3052
3090
|
body?: never;
|
|
3053
3091
|
path: {
|
|
3054
|
-
/**
|
|
3055
|
-
* Session ID
|
|
3056
|
-
*/
|
|
3057
3092
|
sessionID: string;
|
|
3058
|
-
/**
|
|
3059
|
-
* Message ID
|
|
3060
|
-
*/
|
|
3061
3093
|
messageID: string;
|
|
3062
3094
|
};
|
|
3063
3095
|
query?: {
|
|
@@ -3090,17 +3122,8 @@ export type SessionMessageResponse = SessionMessageResponses[keyof SessionMessag
|
|
|
3090
3122
|
export type PartDeleteData = {
|
|
3091
3123
|
body?: never;
|
|
3092
3124
|
path: {
|
|
3093
|
-
/**
|
|
3094
|
-
* Session ID
|
|
3095
|
-
*/
|
|
3096
3125
|
sessionID: string;
|
|
3097
|
-
/**
|
|
3098
|
-
* Message ID
|
|
3099
|
-
*/
|
|
3100
3126
|
messageID: string;
|
|
3101
|
-
/**
|
|
3102
|
-
* Part ID
|
|
3103
|
-
*/
|
|
3104
3127
|
partID: string;
|
|
3105
3128
|
};
|
|
3106
3129
|
query?: {
|
|
@@ -3130,17 +3153,8 @@ export type PartDeleteResponse = PartDeleteResponses[keyof PartDeleteResponses];
|
|
|
3130
3153
|
export type PartUpdateData = {
|
|
3131
3154
|
body?: Part;
|
|
3132
3155
|
path: {
|
|
3133
|
-
/**
|
|
3134
|
-
* Session ID
|
|
3135
|
-
*/
|
|
3136
3156
|
sessionID: string;
|
|
3137
|
-
/**
|
|
3138
|
-
* Message ID
|
|
3139
|
-
*/
|
|
3140
3157
|
messageID: string;
|
|
3141
|
-
/**
|
|
3142
|
-
* Part ID
|
|
3143
|
-
*/
|
|
3144
3158
|
partID: string;
|
|
3145
3159
|
};
|
|
3146
3160
|
query?: {
|
|
@@ -3194,9 +3208,6 @@ export type SessionPromptAsyncData = {
|
|
|
3194
3208
|
parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
3195
3209
|
};
|
|
3196
3210
|
path: {
|
|
3197
|
-
/**
|
|
3198
|
-
* Session ID
|
|
3199
|
-
*/
|
|
3200
3211
|
sessionID: string;
|
|
3201
3212
|
};
|
|
3202
3213
|
query?: {
|
|
@@ -3241,9 +3252,6 @@ export type SessionCommandData = {
|
|
|
3241
3252
|
}>;
|
|
3242
3253
|
};
|
|
3243
3254
|
path: {
|
|
3244
|
-
/**
|
|
3245
|
-
* Session ID
|
|
3246
|
-
*/
|
|
3247
3255
|
sessionID: string;
|
|
3248
3256
|
};
|
|
3249
3257
|
query?: {
|
|
@@ -3283,9 +3291,6 @@ export type SessionShellData = {
|
|
|
3283
3291
|
command: string;
|
|
3284
3292
|
};
|
|
3285
3293
|
path: {
|
|
3286
|
-
/**
|
|
3287
|
-
* Session ID
|
|
3288
|
-
*/
|
|
3289
3294
|
sessionID: string;
|
|
3290
3295
|
};
|
|
3291
3296
|
query?: {
|
|
@@ -3407,7 +3412,8 @@ export type PermissionRespondResponses = {
|
|
|
3407
3412
|
export type PermissionRespondResponse = PermissionRespondResponses[keyof PermissionRespondResponses];
|
|
3408
3413
|
export type SessionViewedData = {
|
|
3409
3414
|
body?: {
|
|
3410
|
-
|
|
3415
|
+
focused?: Array<string>;
|
|
3416
|
+
open?: Array<string>;
|
|
3411
3417
|
};
|
|
3412
3418
|
path?: never;
|
|
3413
3419
|
query?: {
|
|
@@ -3418,7 +3424,7 @@ export type SessionViewedData = {
|
|
|
3418
3424
|
};
|
|
3419
3425
|
export type SessionViewedResponses = {
|
|
3420
3426
|
/**
|
|
3421
|
-
* Viewed
|
|
3427
|
+
* Viewed sessions updated
|
|
3422
3428
|
*/
|
|
3423
3429
|
200: boolean;
|
|
3424
3430
|
};
|
|
@@ -3503,6 +3509,37 @@ export type PermissionListResponses = {
|
|
|
3503
3509
|
200: Array<PermissionRequest>;
|
|
3504
3510
|
};
|
|
3505
3511
|
export type PermissionListResponse = PermissionListResponses[keyof PermissionListResponses];
|
|
3512
|
+
export type PermissionAllowEverythingData = {
|
|
3513
|
+
body?: {
|
|
3514
|
+
enable: boolean;
|
|
3515
|
+
requestID?: string;
|
|
3516
|
+
sessionID?: string;
|
|
3517
|
+
};
|
|
3518
|
+
path?: never;
|
|
3519
|
+
query?: {
|
|
3520
|
+
directory?: string;
|
|
3521
|
+
workspace?: string;
|
|
3522
|
+
};
|
|
3523
|
+
url: "/permission/allow-everything";
|
|
3524
|
+
};
|
|
3525
|
+
export type PermissionAllowEverythingErrors = {
|
|
3526
|
+
/**
|
|
3527
|
+
* Bad request
|
|
3528
|
+
*/
|
|
3529
|
+
400: BadRequestError;
|
|
3530
|
+
/**
|
|
3531
|
+
* Not found
|
|
3532
|
+
*/
|
|
3533
|
+
404: NotFoundError;
|
|
3534
|
+
};
|
|
3535
|
+
export type PermissionAllowEverythingError = PermissionAllowEverythingErrors[keyof PermissionAllowEverythingErrors];
|
|
3536
|
+
export type PermissionAllowEverythingResponses = {
|
|
3537
|
+
/**
|
|
3538
|
+
* Success
|
|
3539
|
+
*/
|
|
3540
|
+
200: boolean;
|
|
3541
|
+
};
|
|
3542
|
+
export type PermissionAllowEverythingResponse = PermissionAllowEverythingResponses[keyof PermissionAllowEverythingResponses];
|
|
3506
3543
|
export type QuestionListData = {
|
|
3507
3544
|
body?: never;
|
|
3508
3545
|
path?: never;
|
|
@@ -3582,6 +3619,80 @@ export type QuestionRejectResponses = {
|
|
|
3582
3619
|
200: boolean;
|
|
3583
3620
|
};
|
|
3584
3621
|
export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
|
|
3622
|
+
export type NetworkListData = {
|
|
3623
|
+
body?: never;
|
|
3624
|
+
path?: never;
|
|
3625
|
+
query?: {
|
|
3626
|
+
directory?: string;
|
|
3627
|
+
workspace?: string;
|
|
3628
|
+
};
|
|
3629
|
+
url: "/network";
|
|
3630
|
+
};
|
|
3631
|
+
export type NetworkListResponses = {
|
|
3632
|
+
/**
|
|
3633
|
+
* List of pending network reconnect requests
|
|
3634
|
+
*/
|
|
3635
|
+
200: Array<SessionNetworkWait>;
|
|
3636
|
+
};
|
|
3637
|
+
export type NetworkListResponse = NetworkListResponses[keyof NetworkListResponses];
|
|
3638
|
+
export type NetworkReplyData = {
|
|
3639
|
+
body?: never;
|
|
3640
|
+
path: {
|
|
3641
|
+
requestID: string;
|
|
3642
|
+
};
|
|
3643
|
+
query?: {
|
|
3644
|
+
directory?: string;
|
|
3645
|
+
workspace?: string;
|
|
3646
|
+
};
|
|
3647
|
+
url: "/network/{requestID}/reply";
|
|
3648
|
+
};
|
|
3649
|
+
export type NetworkReplyErrors = {
|
|
3650
|
+
/**
|
|
3651
|
+
* Bad request
|
|
3652
|
+
*/
|
|
3653
|
+
400: BadRequestError;
|
|
3654
|
+
/**
|
|
3655
|
+
* Not found
|
|
3656
|
+
*/
|
|
3657
|
+
404: NotFoundError;
|
|
3658
|
+
};
|
|
3659
|
+
export type NetworkReplyError = NetworkReplyErrors[keyof NetworkReplyErrors];
|
|
3660
|
+
export type NetworkReplyResponses = {
|
|
3661
|
+
/**
|
|
3662
|
+
* Network wait resumed successfully
|
|
3663
|
+
*/
|
|
3664
|
+
200: boolean;
|
|
3665
|
+
};
|
|
3666
|
+
export type NetworkReplyResponse = NetworkReplyResponses[keyof NetworkReplyResponses];
|
|
3667
|
+
export type NetworkRejectData = {
|
|
3668
|
+
body?: never;
|
|
3669
|
+
path: {
|
|
3670
|
+
requestID: string;
|
|
3671
|
+
};
|
|
3672
|
+
query?: {
|
|
3673
|
+
directory?: string;
|
|
3674
|
+
workspace?: string;
|
|
3675
|
+
};
|
|
3676
|
+
url: "/network/{requestID}/reject";
|
|
3677
|
+
};
|
|
3678
|
+
export type NetworkRejectErrors = {
|
|
3679
|
+
/**
|
|
3680
|
+
* Bad request
|
|
3681
|
+
*/
|
|
3682
|
+
400: BadRequestError;
|
|
3683
|
+
/**
|
|
3684
|
+
* Not found
|
|
3685
|
+
*/
|
|
3686
|
+
404: NotFoundError;
|
|
3687
|
+
};
|
|
3688
|
+
export type NetworkRejectError = NetworkRejectErrors[keyof NetworkRejectErrors];
|
|
3689
|
+
export type NetworkRejectResponses = {
|
|
3690
|
+
/**
|
|
3691
|
+
* Network wait rejected successfully
|
|
3692
|
+
*/
|
|
3693
|
+
200: boolean;
|
|
3694
|
+
};
|
|
3695
|
+
export type NetworkRejectResponse = NetworkRejectResponses[keyof NetworkRejectResponses];
|
|
3585
3696
|
export type ProviderListData = {
|
|
3586
3697
|
body?: never;
|
|
3587
3698
|
path?: never;
|