@ericsanchezok/synergy-sdk 1.1.25 → 1.1.27
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/gen/types.gen.d.ts +96 -53
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1660,6 +1660,14 @@ export type PermissionRule = {
|
|
|
1660
1660
|
action: PermissionAction;
|
|
1661
1661
|
};
|
|
1662
1662
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
1663
|
+
export type SessionInteractionMode = "interactive" | "unattended";
|
|
1664
|
+
export type SessionInteraction = {
|
|
1665
|
+
mode: SessionInteractionMode;
|
|
1666
|
+
/**
|
|
1667
|
+
* Why this interaction mode applies, e.g. 'agenda' or 'channel:feishu'
|
|
1668
|
+
*/
|
|
1669
|
+
source?: string;
|
|
1670
|
+
};
|
|
1663
1671
|
export type Session = {
|
|
1664
1672
|
id: string;
|
|
1665
1673
|
scope: SessionScope;
|
|
@@ -1682,6 +1690,7 @@ export type Session = {
|
|
|
1682
1690
|
pinned?: number;
|
|
1683
1691
|
permission?: PermissionRuleset;
|
|
1684
1692
|
pendingReply?: boolean;
|
|
1693
|
+
interaction?: SessionInteraction;
|
|
1685
1694
|
agenda?: {
|
|
1686
1695
|
itemID: string;
|
|
1687
1696
|
};
|
|
@@ -2709,13 +2718,6 @@ export type EventScopeRemoved = {
|
|
|
2709
2718
|
id: string;
|
|
2710
2719
|
};
|
|
2711
2720
|
};
|
|
2712
|
-
export type EventRuntimeReloaded = {
|
|
2713
|
-
type: "runtime.reloaded";
|
|
2714
|
-
properties: {
|
|
2715
|
-
executed: Array<RuntimeReloadTarget>;
|
|
2716
|
-
cascaded: Array<RuntimeReloadTarget>;
|
|
2717
|
-
};
|
|
2718
|
-
};
|
|
2719
2721
|
export type EventConfigUpdated = {
|
|
2720
2722
|
type: "config.updated";
|
|
2721
2723
|
properties: {
|
|
@@ -2854,6 +2856,51 @@ export type EventNoteDeleted = {
|
|
|
2854
2856
|
scopeID: string;
|
|
2855
2857
|
};
|
|
2856
2858
|
};
|
|
2859
|
+
export type EventSessionCreated = {
|
|
2860
|
+
type: "session.created";
|
|
2861
|
+
properties: {
|
|
2862
|
+
info: Session;
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
export type EventSessionUpdated = {
|
|
2866
|
+
type: "session.updated";
|
|
2867
|
+
properties: {
|
|
2868
|
+
info: Session;
|
|
2869
|
+
};
|
|
2870
|
+
};
|
|
2871
|
+
export type EventSessionDeleted = {
|
|
2872
|
+
type: "session.deleted";
|
|
2873
|
+
properties: {
|
|
2874
|
+
info: Session;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
export type EventSessionDiff = {
|
|
2878
|
+
type: "session.diff";
|
|
2879
|
+
properties: {
|
|
2880
|
+
sessionID: string;
|
|
2881
|
+
diff: Array<FileDiff>;
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
export type EventSessionError = {
|
|
2885
|
+
type: "session.error";
|
|
2886
|
+
properties: {
|
|
2887
|
+
sessionID?: string;
|
|
2888
|
+
error?: unknown;
|
|
2889
|
+
};
|
|
2890
|
+
};
|
|
2891
|
+
export type EventSessionStatus = {
|
|
2892
|
+
type: "session.status";
|
|
2893
|
+
properties: {
|
|
2894
|
+
sessionID: string;
|
|
2895
|
+
status: SessionStatus;
|
|
2896
|
+
};
|
|
2897
|
+
};
|
|
2898
|
+
export type EventSessionIdle = {
|
|
2899
|
+
type: "session.idle";
|
|
2900
|
+
properties: {
|
|
2901
|
+
sessionID: string;
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2857
2904
|
export type EventQuestionAsked = {
|
|
2858
2905
|
type: "question.asked";
|
|
2859
2906
|
properties: QuestionRequest;
|
|
@@ -2873,6 +2920,13 @@ export type EventQuestionRejected = {
|
|
|
2873
2920
|
requestID: string;
|
|
2874
2921
|
};
|
|
2875
2922
|
};
|
|
2923
|
+
export type EventRuntimeReloaded = {
|
|
2924
|
+
type: "runtime.reloaded";
|
|
2925
|
+
properties: {
|
|
2926
|
+
executed: Array<RuntimeReloadTarget>;
|
|
2927
|
+
cascaded: Array<RuntimeReloadTarget>;
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2876
2930
|
export type EventMessageUpdated = {
|
|
2877
2931
|
type: "message.updated";
|
|
2878
2932
|
properties: {
|
|
@@ -2901,51 +2955,6 @@ export type EventMessagePartRemoved = {
|
|
|
2901
2955
|
partID: string;
|
|
2902
2956
|
};
|
|
2903
2957
|
};
|
|
2904
|
-
export type EventSessionCreated = {
|
|
2905
|
-
type: "session.created";
|
|
2906
|
-
properties: {
|
|
2907
|
-
info: Session;
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
export type EventSessionUpdated = {
|
|
2911
|
-
type: "session.updated";
|
|
2912
|
-
properties: {
|
|
2913
|
-
info: Session;
|
|
2914
|
-
};
|
|
2915
|
-
};
|
|
2916
|
-
export type EventSessionDeleted = {
|
|
2917
|
-
type: "session.deleted";
|
|
2918
|
-
properties: {
|
|
2919
|
-
info: Session;
|
|
2920
|
-
};
|
|
2921
|
-
};
|
|
2922
|
-
export type EventSessionDiff = {
|
|
2923
|
-
type: "session.diff";
|
|
2924
|
-
properties: {
|
|
2925
|
-
sessionID: string;
|
|
2926
|
-
diff: Array<FileDiff>;
|
|
2927
|
-
};
|
|
2928
|
-
};
|
|
2929
|
-
export type EventSessionError = {
|
|
2930
|
-
type: "session.error";
|
|
2931
|
-
properties: {
|
|
2932
|
-
sessionID?: string;
|
|
2933
|
-
error?: unknown;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
export type EventSessionStatus = {
|
|
2937
|
-
type: "session.status";
|
|
2938
|
-
properties: {
|
|
2939
|
-
sessionID: string;
|
|
2940
|
-
status: SessionStatus;
|
|
2941
|
-
};
|
|
2942
|
-
};
|
|
2943
|
-
export type EventSessionIdle = {
|
|
2944
|
-
type: "session.idle";
|
|
2945
|
-
properties: {
|
|
2946
|
-
sessionID: string;
|
|
2947
|
-
};
|
|
2948
|
-
};
|
|
2949
2958
|
export type EventTodoUpdated = {
|
|
2950
2959
|
type: "todo.updated";
|
|
2951
2960
|
properties: {
|
|
@@ -3142,6 +3151,40 @@ export type EventPtyDeleted = {
|
|
|
3142
3151
|
id: string;
|
|
3143
3152
|
};
|
|
3144
3153
|
};
|
|
3154
|
+
export type EventChannelCommandExecuted = {
|
|
3155
|
+
type: "channel.command.executed";
|
|
3156
|
+
properties: {
|
|
3157
|
+
name: string;
|
|
3158
|
+
channelType: string;
|
|
3159
|
+
accountId: string;
|
|
3160
|
+
chatId: string;
|
|
3161
|
+
userId?: string;
|
|
3162
|
+
};
|
|
3163
|
+
};
|
|
3164
|
+
export type EventChannelConnected = {
|
|
3165
|
+
type: "channel.connected";
|
|
3166
|
+
properties: {
|
|
3167
|
+
channelType: string;
|
|
3168
|
+
accountId: string;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
export type EventChannelDisconnected = {
|
|
3172
|
+
type: "channel.disconnected";
|
|
3173
|
+
properties: {
|
|
3174
|
+
channelType: string;
|
|
3175
|
+
accountId: string;
|
|
3176
|
+
reason?: string;
|
|
3177
|
+
};
|
|
3178
|
+
};
|
|
3179
|
+
export type EventChannelMessageReceived = {
|
|
3180
|
+
type: "channel.message.received";
|
|
3181
|
+
properties: {
|
|
3182
|
+
channelType: string;
|
|
3183
|
+
accountId: string;
|
|
3184
|
+
chatId: string;
|
|
3185
|
+
text: string;
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3145
3188
|
export type EventServerConnected = {
|
|
3146
3189
|
type: "server.connected";
|
|
3147
3190
|
properties: {
|
|
@@ -3154,7 +3197,7 @@ export type EventGlobalDisposed = {
|
|
|
3154
3197
|
[key: string]: unknown;
|
|
3155
3198
|
};
|
|
3156
3199
|
};
|
|
3157
|
-
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved |
|
|
3200
|
+
export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved | EventConfigUpdated | EventConfigSetActivated | EventServerInstanceDisposed | EventFileEdited | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventCommandExecuted | EventVcsBranchUpdated | EventPermissionAsked | EventPermissionReplied | EventPermissionAllowAllChanged | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventRuntimeReloaded | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventTodoUpdated | EventDagUpdated | EventHolosProfileUpdated | EventAppPush | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosContactConfigUpdated | EventHolosQueueEnqueued | EventHolosQueueDelivered | EventHolosQueueExpired | EventHolosFriendRequestCreated | EventHolosFriendRequestUpdated | EventHolosFriendRequestRemoved | EventHolosConnected | EventHolosPresence | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventFeedbackUpdated | EventFeedbackRemoved | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventServerConnected | EventGlobalDisposed;
|
|
3158
3201
|
export type GlobalHealthData = {
|
|
3159
3202
|
body?: never;
|
|
3160
3203
|
path?: never;
|