mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-22 11:45:52 +00:00
fd1f94babf
Previously, toggling AI Commands in the Agents view would show a pending state and wait for the agent to confirm the change (up to 2 minutes). If the agent was slow to report or the WebSocket update was missed, the toggle would appear stuck. Now, UpdateHostAgentConfig also updates the Host model in state immediately, providing instant UI feedback. The agent will still receive the config on its next report, but users see the change right away. Added SetHostCommandsEnabled function to models.State for this purpose.