99// Generated from types/actions.ts — do not edit
1010// Run `npm run generate` to regenerate.
1111
12- import { ActionType , type IStateAction , type IRootAgentsChangedAction , type IRootActiveSessionsChangedAction , type ISessionReadyAction , type ISessionCreationFailedAction , type ISessionTurnStartedAction , type ISessionDeltaAction , type ISessionResponsePartAction , type ISessionToolCallStartAction , type ISessionToolCallDeltaAction , type ISessionToolCallReadyAction , type ISessionToolCallConfirmedAction , type ISessionToolCallCompleteAction , type ISessionToolCallResultConfirmedAction , type ISessionTurnCompleteAction , type ISessionTurnCancelledAction , type ISessionErrorAction , type ISessionTitleChangedAction , type ISessionUsageAction , type ISessionReasoningAction , type ISessionModelChangedAction , type ISessionServerToolsChangedAction , type ISessionActiveClientChangedAction , type ISessionActiveClientToolsChangedAction , type ISessionPendingMessageSetAction , type ISessionPendingMessageRemovedAction , type ISessionQueuedMessagesReorderedAction , type ISessionCustomizationsChangedAction , type ISessionCustomizationToggledAction } from './actions.js' ;
12+ import { ActionType , type IStateAction , type IRootAgentsChangedAction , type IRootActiveSessionsChangedAction , type ISessionReadyAction , type ISessionCreationFailedAction , type ISessionTurnStartedAction , type ISessionDeltaAction , type ISessionResponsePartAction , type ISessionToolCallStartAction , type ISessionToolCallDeltaAction , type ISessionToolCallReadyAction , type ISessionToolCallConfirmedAction , type ISessionToolCallCompleteAction , type ISessionToolCallResultConfirmedAction , type ISessionTurnCompleteAction , type ISessionTurnCancelledAction , type ISessionErrorAction , type ISessionTitleChangedAction , type ISessionUsageAction , type ISessionReasoningAction , type ISessionModelChangedAction , type ISessionServerToolsChangedAction , type ISessionActiveClientChangedAction , type ISessionActiveClientToolsChangedAction , type ISessionPendingMessageSetAction , type ISessionPendingMessageRemovedAction , type ISessionQueuedMessagesReorderedAction , type ISessionCustomizationsChangedAction , type ISessionCustomizationToggledAction , type ISessionTruncatedAction } from './actions.js' ;
1313
1414
1515// ─── Root vs Session Action Unions ───────────────────────────────────────────
@@ -48,6 +48,7 @@ export type ISessionAction =
4848 | ISessionQueuedMessagesReorderedAction
4949 | ISessionCustomizationsChangedAction
5050 | ISessionCustomizationToggledAction
51+ | ISessionTruncatedAction
5152 ;
5253
5354/** Union of session actions that clients may dispatch. */
@@ -65,6 +66,7 @@ export type IClientSessionAction =
6566 | ISessionPendingMessageRemovedAction
6667 | ISessionQueuedMessagesReorderedAction
6768 | ISessionCustomizationToggledAction
69+ | ISessionTruncatedAction
6870 ;
6971
7072/** Union of session actions that only the server may produce. */
@@ -119,4 +121,5 @@ export const IS_CLIENT_DISPATCHABLE: { readonly [K in IStateAction['type']]: boo
119121 [ ActionType . SessionQueuedMessagesReordered ] : true ,
120122 [ ActionType . SessionCustomizationsChanged ] : false ,
121123 [ ActionType . SessionCustomizationToggled ] : true ,
124+ [ ActionType . SessionTruncated ] : true ,
122125} ;
0 commit comments