@kilocode/sdk 7.1.23 → 7.2.1-rc.202604092126

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.
@@ -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, 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
@@ -63,6 +63,26 @@ export declare class Global extends HeyApiClient {
63
63
  private _config?;
64
64
  get config(): Config;
65
65
  }
66
+ export declare class Remote extends HeyApiClient {
67
+ /**
68
+ * Enable remote connection
69
+ *
70
+ * Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
71
+ */
72
+ enable<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteEnableResponses, unknown, ThrowOnError, "fields">;
73
+ /**
74
+ * Disable remote connection
75
+ *
76
+ * Close the remote WebSocket connection to UserConnectionDO.
77
+ */
78
+ disable<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteDisableResponses, unknown, ThrowOnError, "fields">;
79
+ /**
80
+ * Get remote connection status
81
+ *
82
+ * Get the current state of the remote WebSocket connection.
83
+ */
84
+ status<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteStatusResponses, unknown, ThrowOnError, "fields">;
85
+ }
66
86
  export declare class Auth extends HeyApiClient {
67
87
  /**
68
88
  * Remove auth credentials
@@ -225,6 +245,15 @@ export declare class Config2 extends HeyApiClient {
225
245
  workspace?: string;
226
246
  config?: Config3;
227
247
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
248
+ /**
249
+ * Get config warnings
250
+ *
251
+ * Get warnings generated during config loading (e.g., invalid JSON, schema errors).
252
+ */
253
+ warnings<ThrowOnError extends boolean = false>(parameters?: {
254
+ directory?: string;
255
+ workspace?: string;
256
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigWarningsResponses, unknown, ThrowOnError, "fields">;
228
257
  /**
229
258
  * List config providers
230
259
  *
@@ -300,6 +329,8 @@ export declare class Session extends HeyApiClient {
300
329
  list<ThrowOnError extends boolean = false>(parameters?: {
301
330
  directory?: string;
302
331
  workspace?: string;
332
+ projectID?: string;
333
+ worktrees?: boolean;
303
334
  roots?: boolean;
304
335
  start?: number;
305
336
  cursor?: number;
@@ -723,14 +754,15 @@ export declare class Session2 extends HeyApiClient {
723
754
  workspace?: string;
724
755
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnrevertResponses, SessionUnrevertErrors, ThrowOnError, "fields">;
725
756
  /**
726
- * Set viewed session
757
+ * Set viewed sessions
727
758
  *
728
- * Notify the server which session the user is currently viewing, or clear it.
759
+ * Notify the server which sessions the user is currently viewing, or clear all.
729
760
  */
730
761
  viewed<ThrowOnError extends boolean = false>(parameters?: {
731
762
  directory?: string;
732
763
  workspace?: string;
733
- sessionID?: string;
764
+ focused?: Array<string>;
765
+ open?: Array<string>;
734
766
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionViewedResponses, unknown, ThrowOnError, "fields">;
735
767
  }
736
768
  export declare class Part extends HeyApiClient {
@@ -804,6 +836,18 @@ export declare class Permission extends HeyApiClient {
804
836
  directory?: string;
805
837
  workspace?: string;
806
838
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
839
+ /**
840
+ * Allow everything
841
+ *
842
+ * Enable or disable allowing all permissions without prompts.
843
+ */
844
+ allowEverything<ThrowOnError extends boolean = false>(parameters?: {
845
+ directory?: string;
846
+ workspace?: string;
847
+ enable?: boolean;
848
+ requestID?: string;
849
+ sessionID?: string;
850
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionAllowEverythingResponses, PermissionAllowEverythingErrors, ThrowOnError, "fields">;
807
851
  }
808
852
  export declare class Question extends HeyApiClient {
809
853
  /**
@@ -837,6 +881,37 @@ export declare class Question extends HeyApiClient {
837
881
  workspace?: string;
838
882
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
839
883
  }
884
+ export declare class Network extends HeyApiClient {
885
+ /**
886
+ * List pending network waits
887
+ *
888
+ * Get all pending network reconnect requests across all sessions.
889
+ */
890
+ list<ThrowOnError extends boolean = false>(parameters?: {
891
+ directory?: string;
892
+ workspace?: string;
893
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
894
+ /**
895
+ * Resume after network wait
896
+ *
897
+ * Resume a pending session after reconnecting network-dependent services.
898
+ */
899
+ reply<ThrowOnError extends boolean = false>(parameters: {
900
+ requestID: string;
901
+ directory?: string;
902
+ workspace?: string;
903
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
904
+ /**
905
+ * Reject network resume request
906
+ *
907
+ * Stop a pending session instead of resuming after network reconnect.
908
+ */
909
+ reject<ThrowOnError extends boolean = false>(parameters: {
910
+ requestID: string;
911
+ directory?: string;
912
+ workspace?: string;
913
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkRejectResponses, NetworkRejectErrors, ThrowOnError, "fields">;
914
+ }
840
915
  export declare class Oauth extends HeyApiClient {
841
916
  /**
842
917
  * OAuth authorize
@@ -899,35 +974,6 @@ export declare class Telemetry extends HeyApiClient {
899
974
  };
900
975
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetryCaptureResponses, TelemetryCaptureErrors, ThrowOnError, "fields">;
901
976
  }
902
- export declare class Remote extends HeyApiClient {
903
- /**
904
- * Enable remote connection
905
- *
906
- * Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
907
- */
908
- enable<ThrowOnError extends boolean = false>(parameters?: {
909
- directory?: string;
910
- workspace?: string;
911
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteEnableResponses, unknown, ThrowOnError, "fields">;
912
- /**
913
- * Disable remote connection
914
- *
915
- * Close the remote WebSocket connection to UserConnectionDO.
916
- */
917
- disable<ThrowOnError extends boolean = false>(parameters?: {
918
- directory?: string;
919
- workspace?: string;
920
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteDisableResponses, unknown, ThrowOnError, "fields">;
921
- /**
922
- * Get remote connection status
923
- *
924
- * Get the current state of the remote WebSocket connection.
925
- */
926
- status<ThrowOnError extends boolean = false>(parameters?: {
927
- directory?: string;
928
- workspace?: string;
929
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteStatusResponses, unknown, ThrowOnError, "fields">;
930
- }
931
977
  export declare class CommitMessage extends HeyApiClient {
932
978
  /**
933
979
  * Generate commit message
@@ -1708,6 +1754,8 @@ export declare class KiloClient extends HeyApiClient {
1708
1754
  });
1709
1755
  private _global?;
1710
1756
  get global(): Global;
1757
+ private _remote?;
1758
+ get remote(): Remote;
1711
1759
  private _auth?;
1712
1760
  get auth(): Auth;
1713
1761
  private _project?;
@@ -1730,12 +1778,12 @@ export declare class KiloClient extends HeyApiClient {
1730
1778
  get permission(): Permission;
1731
1779
  private _question?;
1732
1780
  get question(): Question;
1781
+ private _network?;
1782
+ get network(): Network;
1733
1783
  private _provider?;
1734
1784
  get provider(): Provider;
1735
1785
  private _telemetry?;
1736
1786
  get telemetry(): Telemetry;
1737
- private _remote?;
1738
- get remote(): Remote;
1739
1787
  private _commitMessage?;
1740
1788
  get commitMessage(): CommitMessage;
1741
1789
  private _enhancePrompt?;
@@ -91,6 +91,41 @@ export class Global extends HeyApiClient {
91
91
  return (this._config ??= new Config({ client: this.client }));
92
92
  }
93
93
  }
94
+ export class Remote extends HeyApiClient {
95
+ /**
96
+ * Enable remote connection
97
+ *
98
+ * Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
99
+ */
100
+ enable(options) {
101
+ return (options?.client ?? this.client).post({
102
+ url: "/remote/enable",
103
+ ...options,
104
+ });
105
+ }
106
+ /**
107
+ * Disable remote connection
108
+ *
109
+ * Close the remote WebSocket connection to UserConnectionDO.
110
+ */
111
+ disable(options) {
112
+ return (options?.client ?? this.client).post({
113
+ url: "/remote/disable",
114
+ ...options,
115
+ });
116
+ }
117
+ /**
118
+ * Get remote connection status
119
+ *
120
+ * Get the current state of the remote WebSocket connection.
121
+ */
122
+ status(options) {
123
+ return (options?.client ?? this.client).get({
124
+ url: "/remote/status",
125
+ ...options,
126
+ });
127
+ }
128
+ }
94
129
  export class Auth extends HeyApiClient {
95
130
  /**
96
131
  * Remove auth credentials
@@ -412,6 +447,26 @@ export class Config2 extends HeyApiClient {
412
447
  },
413
448
  });
414
449
  }
450
+ /**
451
+ * Get config warnings
452
+ *
453
+ * Get warnings generated during config loading (e.g., invalid JSON, schema errors).
454
+ */
455
+ warnings(parameters, options) {
456
+ const params = buildClientParams([parameters], [
457
+ {
458
+ args: [
459
+ { in: "query", key: "directory" },
460
+ { in: "query", key: "workspace" },
461
+ ],
462
+ },
463
+ ]);
464
+ return (options?.client ?? this.client).get({
465
+ url: "/config/warnings",
466
+ ...options,
467
+ ...params,
468
+ });
469
+ }
415
470
  /**
416
471
  * List config providers
417
472
  *
@@ -561,6 +616,8 @@ export class Session extends HeyApiClient {
561
616
  args: [
562
617
  { in: "query", key: "directory" },
563
618
  { in: "query", key: "workspace" },
619
+ { in: "query", key: "projectID" },
620
+ { in: "query", key: "worktrees" },
564
621
  { in: "query", key: "roots" },
565
622
  { in: "query", key: "start" },
566
623
  { in: "query", key: "cursor" },
@@ -1383,9 +1440,9 @@ export class Session2 extends HeyApiClient {
1383
1440
  });
1384
1441
  }
1385
1442
  /**
1386
- * Set viewed session
1443
+ * Set viewed sessions
1387
1444
  *
1388
- * Notify the server which session the user is currently viewing, or clear it.
1445
+ * Notify the server which sessions the user is currently viewing, or clear all.
1389
1446
  */
1390
1447
  viewed(parameters, options) {
1391
1448
  const params = buildClientParams([parameters], [
@@ -1393,7 +1450,8 @@ export class Session2 extends HeyApiClient {
1393
1450
  args: [
1394
1451
  { in: "query", key: "directory" },
1395
1452
  { in: "query", key: "workspace" },
1396
- { in: "body", key: "sessionID" },
1453
+ { in: "body", key: "focused" },
1454
+ { in: "body", key: "open" },
1397
1455
  ],
1398
1456
  },
1399
1457
  ]);
@@ -1566,6 +1624,34 @@ export class Permission extends HeyApiClient {
1566
1624
  ...params,
1567
1625
  });
1568
1626
  }
1627
+ /**
1628
+ * Allow everything
1629
+ *
1630
+ * Enable or disable allowing all permissions without prompts.
1631
+ */
1632
+ allowEverything(parameters, options) {
1633
+ const params = buildClientParams([parameters], [
1634
+ {
1635
+ args: [
1636
+ { in: "query", key: "directory" },
1637
+ { in: "query", key: "workspace" },
1638
+ { in: "body", key: "enable" },
1639
+ { in: "body", key: "requestID" },
1640
+ { in: "body", key: "sessionID" },
1641
+ ],
1642
+ },
1643
+ ]);
1644
+ return (options?.client ?? this.client).post({
1645
+ url: "/permission/allow-everything",
1646
+ ...options,
1647
+ ...params,
1648
+ headers: {
1649
+ "Content-Type": "application/json",
1650
+ ...options?.headers,
1651
+ ...params.headers,
1652
+ },
1653
+ });
1654
+ }
1569
1655
  }
1570
1656
  export class Question extends HeyApiClient {
1571
1657
  /**
@@ -1637,6 +1723,70 @@ export class Question extends HeyApiClient {
1637
1723
  });
1638
1724
  }
1639
1725
  }
1726
+ export class Network extends HeyApiClient {
1727
+ /**
1728
+ * List pending network waits
1729
+ *
1730
+ * Get all pending network reconnect requests across all sessions.
1731
+ */
1732
+ list(parameters, options) {
1733
+ const params = buildClientParams([parameters], [
1734
+ {
1735
+ args: [
1736
+ { in: "query", key: "directory" },
1737
+ { in: "query", key: "workspace" },
1738
+ ],
1739
+ },
1740
+ ]);
1741
+ return (options?.client ?? this.client).get({
1742
+ url: "/network",
1743
+ ...options,
1744
+ ...params,
1745
+ });
1746
+ }
1747
+ /**
1748
+ * Resume after network wait
1749
+ *
1750
+ * Resume a pending session after reconnecting network-dependent services.
1751
+ */
1752
+ reply(parameters, options) {
1753
+ const params = buildClientParams([parameters], [
1754
+ {
1755
+ args: [
1756
+ { in: "path", key: "requestID" },
1757
+ { in: "query", key: "directory" },
1758
+ { in: "query", key: "workspace" },
1759
+ ],
1760
+ },
1761
+ ]);
1762
+ return (options?.client ?? this.client).post({
1763
+ url: "/network/{requestID}/reply",
1764
+ ...options,
1765
+ ...params,
1766
+ });
1767
+ }
1768
+ /**
1769
+ * Reject network resume request
1770
+ *
1771
+ * Stop a pending session instead of resuming after network reconnect.
1772
+ */
1773
+ reject(parameters, options) {
1774
+ const params = buildClientParams([parameters], [
1775
+ {
1776
+ args: [
1777
+ { in: "path", key: "requestID" },
1778
+ { in: "query", key: "directory" },
1779
+ { in: "query", key: "workspace" },
1780
+ ],
1781
+ },
1782
+ ]);
1783
+ return (options?.client ?? this.client).post({
1784
+ url: "/network/{requestID}/reject",
1785
+ ...options,
1786
+ ...params,
1787
+ });
1788
+ }
1789
+ }
1640
1790
  export class Oauth extends HeyApiClient {
1641
1791
  /**
1642
1792
  * OAuth authorize
@@ -1769,68 +1919,6 @@ export class Telemetry extends HeyApiClient {
1769
1919
  });
1770
1920
  }
1771
1921
  }
1772
- export class Remote extends HeyApiClient {
1773
- /**
1774
- * Enable remote connection
1775
- *
1776
- * Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
1777
- */
1778
- enable(parameters, options) {
1779
- const params = buildClientParams([parameters], [
1780
- {
1781
- args: [
1782
- { in: "query", key: "directory" },
1783
- { in: "query", key: "workspace" },
1784
- ],
1785
- },
1786
- ]);
1787
- return (options?.client ?? this.client).post({
1788
- url: "/remote/enable",
1789
- ...options,
1790
- ...params,
1791
- });
1792
- }
1793
- /**
1794
- * Disable remote connection
1795
- *
1796
- * Close the remote WebSocket connection to UserConnectionDO.
1797
- */
1798
- disable(parameters, options) {
1799
- const params = buildClientParams([parameters], [
1800
- {
1801
- args: [
1802
- { in: "query", key: "directory" },
1803
- { in: "query", key: "workspace" },
1804
- ],
1805
- },
1806
- ]);
1807
- return (options?.client ?? this.client).post({
1808
- url: "/remote/disable",
1809
- ...options,
1810
- ...params,
1811
- });
1812
- }
1813
- /**
1814
- * Get remote connection status
1815
- *
1816
- * Get the current state of the remote WebSocket connection.
1817
- */
1818
- status(parameters, options) {
1819
- const params = buildClientParams([parameters], [
1820
- {
1821
- args: [
1822
- { in: "query", key: "directory" },
1823
- { in: "query", key: "workspace" },
1824
- ],
1825
- },
1826
- ]);
1827
- return (options?.client ?? this.client).get({
1828
- url: "/remote/status",
1829
- ...options,
1830
- ...params,
1831
- });
1832
- }
1833
- }
1834
1922
  export class CommitMessage extends HeyApiClient {
1835
1923
  /**
1836
1924
  * Generate commit message
@@ -3203,6 +3291,10 @@ export class KiloClient extends HeyApiClient {
3203
3291
  get global() {
3204
3292
  return (this._global ??= new Global({ client: this.client }));
3205
3293
  }
3294
+ _remote;
3295
+ get remote() {
3296
+ return (this._remote ??= new Remote({ client: this.client }));
3297
+ }
3206
3298
  _auth;
3207
3299
  get auth() {
3208
3300
  return (this._auth ??= new Auth({ client: this.client }));
@@ -3247,6 +3339,10 @@ export class KiloClient extends HeyApiClient {
3247
3339
  get question() {
3248
3340
  return (this._question ??= new Question({ client: this.client }));
3249
3341
  }
3342
+ _network;
3343
+ get network() {
3344
+ return (this._network ??= new Network({ client: this.client }));
3345
+ }
3250
3346
  _provider;
3251
3347
  get provider() {
3252
3348
  return (this._provider ??= new Provider({ client: this.client }));
@@ -3255,10 +3351,6 @@ export class KiloClient extends HeyApiClient {
3255
3351
  get telemetry() {
3256
3352
  return (this._telemetry ??= new Telemetry({ client: this.client }));
3257
3353
  }
3258
- _remote;
3259
- get remote() {
3260
- return (this._remote ??= new Remote({ client: this.client }));
3261
- }
3262
3354
  _commitMessage;
3263
3355
  get commitMessage() {
3264
3356
  return (this._commitMessage ??= new CommitMessage({ 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 Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartDelta | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventFileWatcherUpdated | EventTodoUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionTurnOpen | EventSessionTurnClose | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
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,7 +1081,7 @@ export type ProviderConfig = {
1036
1081
  */
1037
1082
  setCacheKey?: boolean;
1038
1083
  /**
1039
- * Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
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
  [key: string]: unknown | string | boolean | number | false | undefined;
@@ -1513,6 +1558,7 @@ export type GlobalSession = {
1513
1558
  diff?: string;
1514
1559
  };
1515
1560
  project: ProjectSummary | null;
1561
+ worktreeName?: string;
1516
1562
  };
1517
1563
  export type McpResource = {
1518
1564
  name: string;
@@ -1763,6 +1809,54 @@ export type GlobalDisposeResponses = {
1763
1809
  200: boolean;
1764
1810
  };
1765
1811
  export type GlobalDisposeResponse = GlobalDisposeResponses[keyof GlobalDisposeResponses];
1812
+ export type RemoteEnableData = {
1813
+ body?: never;
1814
+ path?: never;
1815
+ query?: never;
1816
+ url: "/remote/enable";
1817
+ };
1818
+ export type RemoteEnableResponses = {
1819
+ /**
1820
+ * Remote connection enabled
1821
+ */
1822
+ 200: {
1823
+ enabled: boolean;
1824
+ connected: boolean;
1825
+ };
1826
+ };
1827
+ export type RemoteEnableResponse = RemoteEnableResponses[keyof RemoteEnableResponses];
1828
+ export type RemoteDisableData = {
1829
+ body?: never;
1830
+ path?: never;
1831
+ query?: never;
1832
+ url: "/remote/disable";
1833
+ };
1834
+ export type RemoteDisableResponses = {
1835
+ /**
1836
+ * Remote connection disabled
1837
+ */
1838
+ 200: {
1839
+ enabled: boolean;
1840
+ connected: boolean;
1841
+ };
1842
+ };
1843
+ export type RemoteDisableResponse = RemoteDisableResponses[keyof RemoteDisableResponses];
1844
+ export type RemoteStatusData = {
1845
+ body?: never;
1846
+ path?: never;
1847
+ query?: never;
1848
+ url: "/remote/status";
1849
+ };
1850
+ export type RemoteStatusResponses = {
1851
+ /**
1852
+ * Remote connection status
1853
+ */
1854
+ 200: {
1855
+ enabled: boolean;
1856
+ connected: boolean;
1857
+ };
1858
+ };
1859
+ export type RemoteStatusResponse = RemoteStatusResponses[keyof RemoteStatusResponses];
1766
1860
  export type AuthRemoveData = {
1767
1861
  body?: never;
1768
1862
  path: {
@@ -2089,6 +2183,26 @@ export type ConfigUpdateResponses = {
2089
2183
  200: Config;
2090
2184
  };
2091
2185
  export type ConfigUpdateResponse = ConfigUpdateResponses[keyof ConfigUpdateResponses];
2186
+ export type ConfigWarningsData = {
2187
+ body?: never;
2188
+ path?: never;
2189
+ query?: {
2190
+ directory?: string;
2191
+ workspace?: string;
2192
+ };
2193
+ url: "/config/warnings";
2194
+ };
2195
+ export type ConfigWarningsResponses = {
2196
+ /**
2197
+ * Config warnings
2198
+ */
2199
+ 200: Array<{
2200
+ path: string;
2201
+ message: string;
2202
+ detail?: string;
2203
+ }>;
2204
+ };
2205
+ export type ConfigWarningsResponse = ConfigWarningsResponses[keyof ConfigWarningsResponses];
2092
2206
  export type ConfigProvidersData = {
2093
2207
  body?: never;
2094
2208
  path?: never;
@@ -2406,6 +2520,14 @@ export type ExperimentalSessionListData = {
2406
2520
  */
2407
2521
  directory?: string;
2408
2522
  workspace?: string;
2523
+ /**
2524
+ * Filter sessions by project ID
2525
+ */
2526
+ projectID?: string;
2527
+ /**
2528
+ * Restrict sessions to the current repo worktree family or current directory
2529
+ */
2530
+ worktrees?: boolean;
2409
2531
  /**
2410
2532
  * Only return root sessions (no parentID)
2411
2533
  */
@@ -3387,7 +3509,8 @@ export type PermissionRespondResponses = {
3387
3509
  export type PermissionRespondResponse = PermissionRespondResponses[keyof PermissionRespondResponses];
3388
3510
  export type SessionViewedData = {
3389
3511
  body?: {
3390
- sessionID?: string;
3512
+ focused?: Array<string>;
3513
+ open?: Array<string>;
3391
3514
  };
3392
3515
  path?: never;
3393
3516
  query?: {
@@ -3398,7 +3521,7 @@ export type SessionViewedData = {
3398
3521
  };
3399
3522
  export type SessionViewedResponses = {
3400
3523
  /**
3401
- * Viewed session updated
3524
+ * Viewed sessions updated
3402
3525
  */
3403
3526
  200: boolean;
3404
3527
  };
@@ -3483,6 +3606,37 @@ export type PermissionListResponses = {
3483
3606
  200: Array<PermissionRequest>;
3484
3607
  };
3485
3608
  export type PermissionListResponse = PermissionListResponses[keyof PermissionListResponses];
3609
+ export type PermissionAllowEverythingData = {
3610
+ body?: {
3611
+ enable: boolean;
3612
+ requestID?: string;
3613
+ sessionID?: string;
3614
+ };
3615
+ path?: never;
3616
+ query?: {
3617
+ directory?: string;
3618
+ workspace?: string;
3619
+ };
3620
+ url: "/permission/allow-everything";
3621
+ };
3622
+ export type PermissionAllowEverythingErrors = {
3623
+ /**
3624
+ * Bad request
3625
+ */
3626
+ 400: BadRequestError;
3627
+ /**
3628
+ * Not found
3629
+ */
3630
+ 404: NotFoundError;
3631
+ };
3632
+ export type PermissionAllowEverythingError = PermissionAllowEverythingErrors[keyof PermissionAllowEverythingErrors];
3633
+ export type PermissionAllowEverythingResponses = {
3634
+ /**
3635
+ * Success
3636
+ */
3637
+ 200: boolean;
3638
+ };
3639
+ export type PermissionAllowEverythingResponse = PermissionAllowEverythingResponses[keyof PermissionAllowEverythingResponses];
3486
3640
  export type QuestionListData = {
3487
3641
  body?: never;
3488
3642
  path?: never;
@@ -3562,6 +3716,80 @@ export type QuestionRejectResponses = {
3562
3716
  200: boolean;
3563
3717
  };
3564
3718
  export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
3719
+ export type NetworkListData = {
3720
+ body?: never;
3721
+ path?: never;
3722
+ query?: {
3723
+ directory?: string;
3724
+ workspace?: string;
3725
+ };
3726
+ url: "/network";
3727
+ };
3728
+ export type NetworkListResponses = {
3729
+ /**
3730
+ * List of pending network reconnect requests
3731
+ */
3732
+ 200: Array<SessionNetworkWait>;
3733
+ };
3734
+ export type NetworkListResponse = NetworkListResponses[keyof NetworkListResponses];
3735
+ export type NetworkReplyData = {
3736
+ body?: never;
3737
+ path: {
3738
+ requestID: string;
3739
+ };
3740
+ query?: {
3741
+ directory?: string;
3742
+ workspace?: string;
3743
+ };
3744
+ url: "/network/{requestID}/reply";
3745
+ };
3746
+ export type NetworkReplyErrors = {
3747
+ /**
3748
+ * Bad request
3749
+ */
3750
+ 400: BadRequestError;
3751
+ /**
3752
+ * Not found
3753
+ */
3754
+ 404: NotFoundError;
3755
+ };
3756
+ export type NetworkReplyError = NetworkReplyErrors[keyof NetworkReplyErrors];
3757
+ export type NetworkReplyResponses = {
3758
+ /**
3759
+ * Network wait resumed successfully
3760
+ */
3761
+ 200: boolean;
3762
+ };
3763
+ export type NetworkReplyResponse = NetworkReplyResponses[keyof NetworkReplyResponses];
3764
+ export type NetworkRejectData = {
3765
+ body?: never;
3766
+ path: {
3767
+ requestID: string;
3768
+ };
3769
+ query?: {
3770
+ directory?: string;
3771
+ workspace?: string;
3772
+ };
3773
+ url: "/network/{requestID}/reject";
3774
+ };
3775
+ export type NetworkRejectErrors = {
3776
+ /**
3777
+ * Bad request
3778
+ */
3779
+ 400: BadRequestError;
3780
+ /**
3781
+ * Not found
3782
+ */
3783
+ 404: NotFoundError;
3784
+ };
3785
+ export type NetworkRejectError = NetworkRejectErrors[keyof NetworkRejectErrors];
3786
+ export type NetworkRejectResponses = {
3787
+ /**
3788
+ * Network wait rejected successfully
3789
+ */
3790
+ 200: boolean;
3791
+ };
3792
+ export type NetworkRejectResponse = NetworkRejectResponses[keyof NetworkRejectResponses];
3565
3793
  export type ProviderListData = {
3566
3794
  body?: never;
3567
3795
  path?: never;
@@ -3769,63 +3997,6 @@ export type TelemetryCaptureResponses = {
3769
3997
  200: boolean;
3770
3998
  };
3771
3999
  export type TelemetryCaptureResponse = TelemetryCaptureResponses[keyof TelemetryCaptureResponses];
3772
- export type RemoteEnableData = {
3773
- body?: never;
3774
- path?: never;
3775
- query?: {
3776
- directory?: string;
3777
- workspace?: string;
3778
- };
3779
- url: "/remote/enable";
3780
- };
3781
- export type RemoteEnableResponses = {
3782
- /**
3783
- * Remote connection enabled
3784
- */
3785
- 200: {
3786
- enabled: boolean;
3787
- connected: boolean;
3788
- };
3789
- };
3790
- export type RemoteEnableResponse = RemoteEnableResponses[keyof RemoteEnableResponses];
3791
- export type RemoteDisableData = {
3792
- body?: never;
3793
- path?: never;
3794
- query?: {
3795
- directory?: string;
3796
- workspace?: string;
3797
- };
3798
- url: "/remote/disable";
3799
- };
3800
- export type RemoteDisableResponses = {
3801
- /**
3802
- * Remote connection disabled
3803
- */
3804
- 200: {
3805
- enabled: boolean;
3806
- connected: boolean;
3807
- };
3808
- };
3809
- export type RemoteDisableResponse = RemoteDisableResponses[keyof RemoteDisableResponses];
3810
- export type RemoteStatusData = {
3811
- body?: never;
3812
- path?: never;
3813
- query?: {
3814
- directory?: string;
3815
- workspace?: string;
3816
- };
3817
- url: "/remote/status";
3818
- };
3819
- export type RemoteStatusResponses = {
3820
- /**
3821
- * Remote connection status
3822
- */
3823
- 200: {
3824
- enabled: boolean;
3825
- connected: boolean;
3826
- };
3827
- };
3828
- export type RemoteStatusResponse = RemoteStatusResponses[keyof RemoteStatusResponses];
3829
4000
  export type CommitMessageGenerateData = {
3830
4001
  body?: {
3831
4002
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kilocode/sdk",
4
- "version": "7.1.23",
4
+ "version": "7.2.1-rc.202604092126",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {