feat: includes history events in panel

This commit is contained in:
Simon
2026-01-15 21:48:14 +08:00
parent 42130d6f1d
commit eab9cf64e8
4 changed files with 22 additions and 2 deletions

View File

@@ -184,6 +184,7 @@ export class PageAgent extends EventTarget {
*/
pushObservation(content: string): void {
this.history.push({ type: 'observation', content })
this.panel.update({ type: 'observation', content })
}
async execute(task: string): Promise<ExecutionResult> {