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

@ -100,12 +100,7 @@ export const Forked = Event.define({
schema: {
...Base,
parentID: SessionID,
slug: Schema.String,
title: Schema.String,
agent: Schema.String.pipe(optional),
model: Model.Ref.pipe(optional),
messageID: SessionMessage.ID.pipe(optional),
copiedSeq: NonNegativeInt,
},
})
export type Forked = typeof Forked.Type