works.iterative.claude.zio.Sessions
See theSessions companion object
trait Sessions
The sessions a host has started and still holds.
A session is a running process, and a process outlives the request that started it: whoever asked for it has to be able to come back to it — after a reload, from a second tab — and reach the same agent rather than a new one. That is the whole of what this is for. Nothing about the conversation is kept here; the transcript is the CLI's own file, and this holds only what a file cannot be: the live process, by name.
Every session held is let go of when the holder's scope closes, so a host that stops leaves no agent running behind it.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article