mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Several emitState() calls were missing a preceding touchUpdatedAt(), causing agent state updates to be silently dropped by the bootstrap dedup logic in session.ts (which drops updates where updateUpdatedAt <= snapshotUpdatedAt). This caused two user-visible bugs: - Permission mode switches not reflected in UI until next message - Agent stuck showing "running" when it had transitioned to idle Added touchUpdatedAt() to: setAgentMode, setAgentModel, setAgentThinkingOption, setLabels, streamAgent.finalize, replacement error fallback, and cancelAgentRun permission clear.