opal (llmsession)

The session.* OPAL tasks over the session store and the runner.

In the namespace octomy::llmsession.

Detailed description

They live apart from libllmsession, so that the sessions part links no OPAL.

Classes

Class What it is
SessionAdoptTask Session.adopt: takes a Claude Code session of a closed terminal into the store, from its folder, its id or its transcript (trove-parts §TPN-7)
SessionClaimTask Session.claim: takes the lease of a session (trove-parts §TPN-6)
SessionCloseTask Session.close: stops the process and closes the session
SessionEventsTask Session.events: the cursor read of §TPD-8, with an optional wait for the first new event
SessionExportTask Session.export: stops the session here and gives the command that resumes it in a terminal (trove-parts §TPN-7)
SessionGetTask Session.get: the record of one session (trove-parts §TPN-2)
SessionInterruptTask Session.interrupt: stops the current turn. The next message resumes the session
SessionListTask Session.list: the session records that match a filter, the most recently active first
SessionReleaseTask Session.release: gives the lease back
SessionRenewTask Session.renew: extends the lease that the holder has
SessionSendTask Session.send: one message. During a turn it starts the next turn, in order
SessionStartTask Session.start: a new session in a folder or a worktree, with the profile of its kind (trove-parts §TPN-5)
SessionTask Session.* OPAL task family: list, read and follow sessions, start them, send to them, interrupt and close them, and hold their leases (trove-parts §TPO-3)
In this section