SessionProcess

works.iterative.claude.direct.internal.cli.SessionProcess

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def start(executablePath: String, options: SessionOptions)(using logger: Logger, ox: Ox): Session

Starts a CLI process for the given options and returns a ready Session.

Starts a CLI process for the given options and returns a ready Session.

The factory:

  1. Builds CLI args from SessionOptions
  2. Starts the process with stdin/stdout pipes
  3. Forks stderr capture in the background
  4. Reads initial stdout lines to extract the session_id from the init SystemMessage (up to a reasonable number of lines)
  5. Returns the constructed SessionProcess

Attributes