refactor(core): simplify session fork event

This commit is contained in:
Dax Raad 2026-06-29 16:16:13 -04:00
commit ff4cab03c1
5 changed files with 40 additions and 52 deletions

View file

@ -799,12 +799,7 @@ export type SessionsHistoryOutput = {
readonly timestamp: number
readonly sessionID: string
readonly parentID: string
readonly slug: string
readonly title: string
readonly agent?: string
readonly model?: { readonly id: string; readonly providerID: string; readonly variant?: string }
readonly messageID?: string
readonly copiedSeq: number
}
}
| {
@ -1283,12 +1278,7 @@ export type SessionsEventsOutput =
readonly timestamp: number
readonly sessionID: string
readonly parentID: string
readonly slug: string
readonly title: string
readonly agent?: string
readonly model?: { readonly id: string; readonly providerID: string; readonly variant?: string }
readonly messageID?: string
readonly copiedSeq: number
}
}
| {