mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 17:04:49 +00:00
Add skipConversationRestore for before_branch hooks (#286)
This commit is contained in:
parent
4492a3f304
commit
2953a9d8d4
3 changed files with 14 additions and 2 deletions
|
|
@ -323,6 +323,8 @@ export interface ToolResultEventResult {
|
|||
export interface SessionEventResult {
|
||||
/** If true, cancel the pending action (switch, clear, or branch) */
|
||||
cancel?: boolean;
|
||||
/** If true (for before_branch only), skip restoring conversation to branch point while still creating the branched session file */
|
||||
skipConversationRestore?: boolean;
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue