Function
load-session
Resume a previous session, replaying its history. The agent
will emit history session-updates via a synthetic startup
prompt-turn BEFORE this call returns — currently exposed by
the host calling prompt(...) on the returned session with an
empty prompt; subject to refinement.
load-session: async func(req: load-session-request) -> result<tuple<session, load-session-response>, error>;