Understand the difference between agent_status and agent_alive?
mainIn v0.11.0, Sagents separates the state of the conversation from the state of the underlying process to ensure durability of user prompts during inactivity:
agent_status: Represents what the conversation is waiting on. This remains:interruptedas long as a user owes an answer, regardless of whether a process is currently running.agent_alive?: Represents whether a process is backing this session right now.
This separation allows Sagents.Session.resume/4 to start an agent with a user's answer already in hand if no process was running, preventing the UI from losing the prompt.