Sessions

works.iterative.claude.zio.Sessions
See theSessions companion trait
object Sessions

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sessions.type

Members list

Value members

Concrete methods

def make(open: SessionOptions => ZIO[Scope, CLIError, Session]): ZIO[Scope, Nothing, Sessions]

A holder over the given way of opening a session.

A holder over the given way of opening a session.

How a session is opened is the caller's — which archive it mirrors to, which executable it runs, what it is allowed to do — so none of that is decided here. What is decided here is that a session opened this way outlives the effect that opened it, and is let go of when this holder is.

Attributes