@ericsanchezok/synergy-sdk 0.0.0-dev-202602051239 → 0.0.0-dev-202602060744

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, Auth as Auth2, AuthSetErrors, AuthSetResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, ProjectCurrentResponses, 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, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, 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, SubtaskPartInput, 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, WorktreeListResponses } from "./types.gen.js";
2
+ import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelDisconnectResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, ProjectCurrentResponses, 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, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, 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, WorktreeListResponses } 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
@@ -404,34 +404,6 @@ export declare class Session extends HeyApiClient {
404
404
  sessionID: string;
405
405
  directory?: string;
406
406
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
407
- /**
408
- * Unshare session
409
- *
410
- * Remove the shareable link for a session, making it private again.
411
- */
412
- unshare<ThrowOnError extends boolean = false>(parameters: {
413
- sessionID: string;
414
- directory?: string;
415
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
416
- /**
417
- * Share session
418
- *
419
- * Create a shareable link for a session, allowing others to view the conversation.
420
- */
421
- share<ThrowOnError extends boolean = false>(parameters: {
422
- sessionID: string;
423
- directory?: string;
424
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
425
- /**
426
- * Get session diff
427
- *
428
- * Get all file changes (diffs) made during this session.
429
- */
430
- diff<ThrowOnError extends boolean = false>(parameters: {
431
- sessionID: string;
432
- directory?: string;
433
- messageID?: string;
434
- }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
435
407
  /**
436
408
  * Summarize session
437
409
  *
@@ -479,6 +451,15 @@ export declare class Session extends HeyApiClient {
479
451
  variant?: string;
480
452
  parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
481
453
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
454
+ /**
455
+ * Get session diff
456
+ *
457
+ * Get all file changes (diffs) made during this session.
458
+ */
459
+ diff<ThrowOnError extends boolean = false>(parameters: {
460
+ sessionID: string;
461
+ directory?: string;
462
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, SessionDiffErrors, ThrowOnError, "fields">;
482
463
  /**
483
464
  * Get message
484
465
  *
@@ -916,6 +897,26 @@ export declare class Mcp extends HeyApiClient {
916
897
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
917
898
  auth: Auth;
918
899
  }
900
+ export declare class Channel extends HeyApiClient {
901
+ /**
902
+ * Get channel status
903
+ *
904
+ * Get the status of all messaging channel connections
905
+ */
906
+ status<ThrowOnError extends boolean = false>(parameters?: {
907
+ directory?: string;
908
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelStatusResponses, unknown, ThrowOnError, "fields">;
909
+ /**
910
+ * Disconnect channel account
911
+ *
912
+ * Disconnect a specific channel account
913
+ */
914
+ disconnect<ThrowOnError extends boolean = false>(parameters: {
915
+ channelType: string;
916
+ accountId: string;
917
+ directory?: string;
918
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ChannelDisconnectResponses, unknown, ThrowOnError, "fields">;
919
+ }
919
920
  export declare class Resource extends HeyApiClient {
920
921
  /**
921
922
  * Get MCP resources
@@ -1104,6 +1105,7 @@ export declare class SynergyClient extends HeyApiClient {
1104
1105
  file: File;
1105
1106
  app: App;
1106
1107
  mcp: Mcp;
1108
+ channel: Channel;
1107
1109
  experimental: Experimental;
1108
1110
  lsp: Lsp;
1109
1111
  formatter: Formatter;
@@ -787,67 +787,6 @@ export class Session extends HeyApiClient {
787
787
  ...params,
788
788
  });
789
789
  }
790
- /**
791
- * Unshare session
792
- *
793
- * Remove the shareable link for a session, making it private again.
794
- */
795
- unshare(parameters, options) {
796
- const params = buildClientParams([parameters], [
797
- {
798
- args: [
799
- { in: "path", key: "sessionID" },
800
- { in: "query", key: "directory" },
801
- ],
802
- },
803
- ]);
804
- return (options?.client ?? this.client).delete({
805
- url: "/session/{sessionID}/share",
806
- ...options,
807
- ...params,
808
- });
809
- }
810
- /**
811
- * Share session
812
- *
813
- * Create a shareable link for a session, allowing others to view the conversation.
814
- */
815
- share(parameters, options) {
816
- const params = buildClientParams([parameters], [
817
- {
818
- args: [
819
- { in: "path", key: "sessionID" },
820
- { in: "query", key: "directory" },
821
- ],
822
- },
823
- ]);
824
- return (options?.client ?? this.client).post({
825
- url: "/session/{sessionID}/share",
826
- ...options,
827
- ...params,
828
- });
829
- }
830
- /**
831
- * Get session diff
832
- *
833
- * Get all file changes (diffs) made during this session.
834
- */
835
- diff(parameters, options) {
836
- const params = buildClientParams([parameters], [
837
- {
838
- args: [
839
- { in: "path", key: "sessionID" },
840
- { in: "query", key: "directory" },
841
- { in: "query", key: "messageID" },
842
- ],
843
- },
844
- ]);
845
- return (options?.client ?? this.client).get({
846
- url: "/session/{sessionID}/diff",
847
- ...options,
848
- ...params,
849
- });
850
- }
851
790
  /**
852
791
  * Summarize session
853
792
  *
@@ -931,6 +870,26 @@ export class Session extends HeyApiClient {
931
870
  },
932
871
  });
933
872
  }
873
+ /**
874
+ * Get session diff
875
+ *
876
+ * Get all file changes (diffs) made during this session.
877
+ */
878
+ diff(parameters, options) {
879
+ const params = buildClientParams([parameters], [
880
+ {
881
+ args: [
882
+ { in: "path", key: "sessionID" },
883
+ { in: "query", key: "directory" },
884
+ ],
885
+ },
886
+ ]);
887
+ return (options?.client ?? this.client).get({
888
+ url: "/session/{sessionID}/diff",
889
+ ...options,
890
+ ...params,
891
+ });
892
+ }
934
893
  /**
935
894
  * Get message
936
895
  *
@@ -1811,6 +1770,42 @@ export class Mcp extends HeyApiClient {
1811
1770
  }
1812
1771
  auth = new Auth({ client: this.client });
1813
1772
  }
1773
+ export class Channel extends HeyApiClient {
1774
+ /**
1775
+ * Get channel status
1776
+ *
1777
+ * Get the status of all messaging channel connections
1778
+ */
1779
+ status(parameters, options) {
1780
+ const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
1781
+ return (options?.client ?? this.client).get({
1782
+ url: "/channel",
1783
+ ...options,
1784
+ ...params,
1785
+ });
1786
+ }
1787
+ /**
1788
+ * Disconnect channel account
1789
+ *
1790
+ * Disconnect a specific channel account
1791
+ */
1792
+ disconnect(parameters, options) {
1793
+ const params = buildClientParams([parameters], [
1794
+ {
1795
+ args: [
1796
+ { in: "path", key: "channelType" },
1797
+ { in: "path", key: "accountId" },
1798
+ { in: "query", key: "directory" },
1799
+ ],
1800
+ },
1801
+ ]);
1802
+ return (options?.client ?? this.client).post({
1803
+ url: "/channel/{channelType}/{accountId}/disconnect",
1804
+ ...options,
1805
+ ...params,
1806
+ });
1807
+ }
1808
+ }
1814
1809
  export class Resource extends HeyApiClient {
1815
1810
  /**
1816
1811
  * Get MCP resources
@@ -2136,6 +2131,7 @@ export class SynergyClient extends HeyApiClient {
2136
2131
  file = new File({ client: this.client });
2137
2132
  app = new App({ client: this.client });
2138
2133
  mcp = new Mcp({ client: this.client });
2134
+ channel = new Channel({ client: this.client });
2139
2135
  experimental = new Experimental({ client: this.client });
2140
2136
  lsp = new Lsp({ client: this.client });
2141
2137
  formatter = new Formatter({ client: this.client });
@@ -599,7 +599,7 @@ export type EventTuiPromptAppend = {
599
599
  export type EventTuiCommandExecute = {
600
600
  type: "tui.command.execute";
601
601
  properties: {
602
- command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
602
+ command: "session.list" | "session.new" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
603
603
  };
604
604
  };
605
605
  export type EventTuiToastShow = {
@@ -656,9 +656,6 @@ export type Session = {
656
656
  files: number;
657
657
  diffs?: Array<FileDiff>;
658
658
  };
659
- share?: {
660
- url: string;
661
- };
662
659
  title: string;
663
660
  version: string;
664
661
  time: {
@@ -872,14 +869,6 @@ export type KeybindsConfig = {
872
869
  * Rename session
873
870
  */
874
871
  session_rename?: string;
875
- /**
876
- * Share current session
877
- */
878
- session_share?: string;
879
- /**
880
- * Unshare current session
881
- */
882
- session_unshare?: string;
883
872
  /**
884
873
  * Interrupt current session
885
874
  */
@@ -1409,6 +1398,51 @@ export type McpRemoteConfig = {
1409
1398
  */
1410
1399
  timeout?: number;
1411
1400
  };
1401
+ export type ChannelFeishuAccountConfig = {
1402
+ enabled?: boolean;
1403
+ /**
1404
+ * Feishu app ID
1405
+ */
1406
+ appId: string;
1407
+ /**
1408
+ * Feishu app secret
1409
+ */
1410
+ appSecret: string;
1411
+ /**
1412
+ * Feishu domain (feishu for China, lark for international)
1413
+ */
1414
+ domain?: "feishu" | "lark";
1415
+ /**
1416
+ * Allow direct messages
1417
+ */
1418
+ allowDM?: boolean;
1419
+ /**
1420
+ * Allow group messages
1421
+ */
1422
+ allowGroup?: boolean;
1423
+ /**
1424
+ * Require @mention in group chats
1425
+ */
1426
+ requireMention?: boolean;
1427
+ /**
1428
+ * Enable streaming card updates
1429
+ */
1430
+ streaming?: boolean;
1431
+ };
1432
+ export type ChannelFeishuConfig = {
1433
+ type: "feishu";
1434
+ accounts: {
1435
+ [key: string]: ChannelFeishuAccountConfig;
1436
+ };
1437
+ /**
1438
+ * Default domain for all accounts
1439
+ */
1440
+ domain?: "feishu" | "lark";
1441
+ /**
1442
+ * Default streaming setting for all accounts
1443
+ */
1444
+ streaming?: boolean;
1445
+ };
1412
1446
  /**
1413
1447
  * @deprecated Always uses stretch layout.
1414
1448
  */
@@ -1503,14 +1537,6 @@ export type Config = {
1503
1537
  };
1504
1538
  plugin?: Array<string>;
1505
1539
  snapshot?: boolean;
1506
- /**
1507
- * Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing
1508
- */
1509
- share?: "manual" | "auto" | "disabled";
1510
- /**
1511
- * @deprecated Use 'share' field instead. Share newly created sessions automatically
1512
- */
1513
- autoshare?: boolean;
1514
1540
  /**
1515
1541
  * Automatically update to the latest version. Set to true to auto-update, false to disable, or 'notify' to show update notifications
1516
1542
  */
@@ -1574,6 +1600,12 @@ export type Config = {
1574
1600
  enabled: boolean;
1575
1601
  };
1576
1602
  };
1603
+ /**
1604
+ * Channel configurations for messaging platform integrations (Feishu, Slack, etc.)
1605
+ */
1606
+ channel?: {
1607
+ [key: string]: ChannelFeishuConfig;
1608
+ };
1577
1609
  formatter?: false | {
1578
1610
  [key: string]: {
1579
1611
  disabled?: boolean;
@@ -1927,6 +1959,18 @@ export type McpStatusNeedsClientRegistration = {
1927
1959
  error: string;
1928
1960
  };
1929
1961
  export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth | McpStatusNeedsClientRegistration;
1962
+ export type ChannelStatus = {
1963
+ status: "connected";
1964
+ } | {
1965
+ status: "connecting";
1966
+ } | {
1967
+ status: "disconnected";
1968
+ } | {
1969
+ status: "disabled";
1970
+ } | {
1971
+ status: "failed";
1972
+ error: string;
1973
+ };
1930
1974
  export type McpResource = {
1931
1975
  name: string;
1932
1976
  uri: string;
@@ -2719,94 +2763,6 @@ export type SessionAbortResponses = {
2719
2763
  200: boolean;
2720
2764
  };
2721
2765
  export type SessionAbortResponse = SessionAbortResponses[keyof SessionAbortResponses];
2722
- export type SessionUnshareData = {
2723
- body?: never;
2724
- path: {
2725
- sessionID: string;
2726
- };
2727
- query?: {
2728
- directory?: string;
2729
- };
2730
- url: "/session/{sessionID}/share";
2731
- };
2732
- export type SessionUnshareErrors = {
2733
- /**
2734
- * Bad request
2735
- */
2736
- 400: BadRequestError;
2737
- /**
2738
- * Not found
2739
- */
2740
- 404: NotFoundError;
2741
- };
2742
- export type SessionUnshareError = SessionUnshareErrors[keyof SessionUnshareErrors];
2743
- export type SessionUnshareResponses = {
2744
- /**
2745
- * Successfully unshared session
2746
- */
2747
- 200: Session;
2748
- };
2749
- export type SessionUnshareResponse = SessionUnshareResponses[keyof SessionUnshareResponses];
2750
- export type SessionShareData = {
2751
- body?: never;
2752
- path: {
2753
- sessionID: string;
2754
- };
2755
- query?: {
2756
- directory?: string;
2757
- };
2758
- url: "/session/{sessionID}/share";
2759
- };
2760
- export type SessionShareErrors = {
2761
- /**
2762
- * Bad request
2763
- */
2764
- 400: BadRequestError;
2765
- /**
2766
- * Not found
2767
- */
2768
- 404: NotFoundError;
2769
- };
2770
- export type SessionShareError = SessionShareErrors[keyof SessionShareErrors];
2771
- export type SessionShareResponses = {
2772
- /**
2773
- * Successfully shared session
2774
- */
2775
- 200: Session;
2776
- };
2777
- export type SessionShareResponse = SessionShareResponses[keyof SessionShareResponses];
2778
- export type SessionDiffData = {
2779
- body?: never;
2780
- path: {
2781
- /**
2782
- * Session ID
2783
- */
2784
- sessionID: string;
2785
- };
2786
- query?: {
2787
- directory?: string;
2788
- messageID?: string;
2789
- };
2790
- url: "/session/{sessionID}/diff";
2791
- };
2792
- export type SessionDiffErrors = {
2793
- /**
2794
- * Bad request
2795
- */
2796
- 400: BadRequestError;
2797
- /**
2798
- * Not found
2799
- */
2800
- 404: NotFoundError;
2801
- };
2802
- export type SessionDiffError = SessionDiffErrors[keyof SessionDiffErrors];
2803
- export type SessionDiffResponses = {
2804
- /**
2805
- * List of diffs
2806
- */
2807
- 200: Array<FileDiff>;
2808
- };
2809
- export type SessionDiffResponse = SessionDiffResponses[keyof SessionDiffResponses];
2810
2766
  export type SessionSummarizeData = {
2811
2767
  body?: {
2812
2768
  providerID: string;
@@ -2931,6 +2887,37 @@ export type SessionPromptResponses = {
2931
2887
  };
2932
2888
  };
2933
2889
  export type SessionPromptResponse = SessionPromptResponses[keyof SessionPromptResponses];
2890
+ export type SessionDiffData = {
2891
+ body?: never;
2892
+ path: {
2893
+ /**
2894
+ * Session ID
2895
+ */
2896
+ sessionID: string;
2897
+ };
2898
+ query?: {
2899
+ directory?: string;
2900
+ };
2901
+ url: "/session/{sessionID}/diff";
2902
+ };
2903
+ export type SessionDiffErrors = {
2904
+ /**
2905
+ * Bad request
2906
+ */
2907
+ 400: BadRequestError;
2908
+ /**
2909
+ * Not found
2910
+ */
2911
+ 404: NotFoundError;
2912
+ };
2913
+ export type SessionDiffError = SessionDiffErrors[keyof SessionDiffErrors];
2914
+ export type SessionDiffResponses = {
2915
+ /**
2916
+ * List of diffs
2917
+ */
2918
+ 200: Array<FileDiff>;
2919
+ };
2920
+ export type SessionDiffResponse = SessionDiffResponses[keyof SessionDiffResponses];
2934
2921
  export type SessionMessageData = {
2935
2922
  body?: never;
2936
2923
  path: {
@@ -4218,6 +4205,43 @@ export type McpDisconnectResponses = {
4218
4205
  200: boolean;
4219
4206
  };
4220
4207
  export type McpDisconnectResponse = McpDisconnectResponses[keyof McpDisconnectResponses];
4208
+ export type ChannelStatusData = {
4209
+ body?: never;
4210
+ path?: never;
4211
+ query?: {
4212
+ directory?: string;
4213
+ };
4214
+ url: "/channel";
4215
+ };
4216
+ export type ChannelStatusResponses = {
4217
+ /**
4218
+ * Channel status
4219
+ */
4220
+ 200: {
4221
+ [key: string]: ChannelStatus;
4222
+ };
4223
+ };
4224
+ export type ChannelStatusResponse = ChannelStatusResponses[keyof ChannelStatusResponses];
4225
+ export type ChannelDisconnectData = {
4226
+ body?: never;
4227
+ path: {
4228
+ channelType: string;
4229
+ accountId: string;
4230
+ };
4231
+ query?: {
4232
+ directory?: string;
4233
+ };
4234
+ url: "/channel/{channelType}/{accountId}/disconnect";
4235
+ };
4236
+ export type ChannelDisconnectResponses = {
4237
+ /**
4238
+ * Channel disconnected
4239
+ */
4240
+ 200: {
4241
+ success: true;
4242
+ };
4243
+ };
4244
+ export type ChannelDisconnectResponse = ChannelDisconnectResponses[keyof ChannelDisconnectResponses];
4221
4245
  export type ExperimentalResourceListData = {
4222
4246
  body?: never;
4223
4247
  path?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-sdk",
4
- "version": "0.0.0-dev-202602051239",
4
+ "version": "0.0.0-dev-202602060744",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -43,10 +43,10 @@
43
43
  ],
44
44
  "devDependencies": {
45
45
  "@hey-api/openapi-ts": "0.88.1",
46
- "@tsconfig/node22": "catalog:",
47
- "@types/node": "catalog:",
48
- "typescript": "catalog:",
49
- "@typescript/native-preview": "catalog:"
46
+ "@tsconfig/node22": "22.0.2",
47
+ "@types/node": "22.13.9",
48
+ "typescript": "5.8.2",
49
+ "@typescript/native-preview": "7.0.0-dev.20251207.1"
50
50
  },
51
51
  "dependencies": {},
52
52
  "publishConfig": {