co-mono/pi-mono.code-workspace
Mario Zechner 2b0aa5ed8e Fix agent event ordering: update state before emitting events
Previously, Agent.emit() was called before state was updated (e.g., appendMessage).
This meant event handlers saw stale state - when message_end fired,
agent.state.messages didn't include the message yet.

Now state is updated first, then events are emitted, so handlers see
consistent state that matches the event.
2025-12-09 14:33:39 +01:00

9 lines
No EOL
82 B
Text

{
"folders": [
{
"name": "pi-mono",
"path": "."
}
],
"settings": {}
}