feat: add stepIndex to history events

This commit is contained in:
Simon
2026-01-21 16:59:22 +08:00
parent 6944bedf85
commit 81807e17ca
4 changed files with 14 additions and 9 deletions

View File

@@ -263,6 +263,7 @@ export class PageAgentCore extends EventTarget {
this.history.push({
type: 'step',
stepIndex: step,
reflection,
action,
usage: result.usage,