refactor(agent-loop): simplify message machine
This commit is contained in:
@@ -32,7 +32,7 @@ async function seedInterruptedSession(root: string, cwd: string): Promise<string
|
||||
delegationDepth: 0,
|
||||
}
|
||||
const events: SessionEvent[] = [
|
||||
{ type: 'turn/start', seq: 0, time: 10, data: { turn: 1, trigger: { kind: 'message', source: { kind: 'user' } } } },
|
||||
{ type: 'turn/start', seq: 0, time: 10, data: { turn: 1 } },
|
||||
{ type: 'user/message', seq: 1, time: 11, data: createUserMessage({
|
||||
content: [{ type: 'text', text: 'Perform one side-effecting remote mutation.' }], source: { kind: 'user' },
|
||||
}), surfaceOp: 'append' },
|
||||
|
||||
Reference in New Issue
Block a user