Merge remote-tracking branch 'origin/master' into structured-output-subagent-seam
# Conflicts: # docs/config-catalog.md
This commit is contained in:
@@ -51,6 +51,8 @@ export const Config: z<Config> = z.object({
|
||||
* empty — i.e. fresh — child). The result is contiguous from seq 0 (the live
|
||||
* log keeps `seq === index`), so it is a valid session seed; the in-flight,
|
||||
* unbalanced turn is dropped so the invariants replay accepts it.
|
||||
* @param parent - the agent whose session log to slice.
|
||||
* @returns the seed events, contiguous from seq 0; empty when no turn has completed.
|
||||
*/
|
||||
export function completedTurnPrefix(parent: Agent): SessionEvent[] {
|
||||
const events = parent.session.events
|
||||
|
||||
Reference in New Issue
Block a user