Merge remote-tracking branch 'origin/master' into codex/dsh-badge-plugin

# Conflicts:
#	docs/event-producer-consumer.md
This commit is contained in:
Turtle
2026-08-06 18:58:51 +08:00
236 changed files with 7058 additions and 1229 deletions

View File

@@ -32,8 +32,7 @@ try {
}
const decision = await agentEvents(ctx, agent).waterfall(
'agent/pre-step',
[],
{ turn: 1, step: 1, signal: new AbortController().signal },
{ messages: [], turn: 1, step: 1, signal: new AbortController().signal },
() => Promise.resolve({ kind: 'enter' as const, messages: [] }),
)
const catalog = decision.kind === 'enter'