Pi session APIs: host-session helpers plus server-owned BEAM sessions.
Summary
Functions
Returns active model-facing tools from the active pi host session. Prefer Pi.Host.active_tools/1.
Appends a custom entry to the active pi host session. Prefer Pi.Host.append_entry/3.
Cancels active work in a BEAM session.
Creates a child BEAM session linked to a parent session id.
Completes the current BEAM session messages through its LLM backend.
Detaches the caller from semantic state updates from a BEAM session.
Emits a structured event into a BEAM session without changing its status.
Returns compact project/runtime metadata from the active pi host session. Prefer Pi.Host.info/1.
Returns all active BEAM session states.
Looks up an active BEAM session by id.
Reruns a BEAM session from its latest user message.
Runs a prompt through a BEAM session's LLM backend.
Sends a custom message entry to the active pi host session. Prefer Pi.Host.send_message/3.
Returns renderer-neutral snapshots for active BEAM sessions.
Starts a server-owned BEAM session process.
Returns one BEAM session state.
Subscribes the caller to semantic state updates from a BEAM session.
Functions
Returns active model-facing tools from the active pi host session. Prefer Pi.Host.active_tools/1.
Appends a custom entry to the active pi host session. Prefer Pi.Host.append_entry/3.
Cancels active work in a BEAM session.
Creates a child BEAM session linked to a parent session id.
Completes the current BEAM session messages through its LLM backend.
Detaches the caller from semantic state updates from a BEAM session.
Emits a structured event into a BEAM session without changing its status.
Returns compact project/runtime metadata from the active pi host session. Prefer Pi.Host.info/1.
Returns all active BEAM session states.
Looks up an active BEAM session by id.
Reruns a BEAM session from its latest user message.
Runs a prompt through a BEAM session's LLM backend.
Sends a custom message entry to the active pi host session. Prefer Pi.Host.send_message/3.
Returns renderer-neutral snapshots for active BEAM sessions.
Starts a server-owned BEAM session process.
Returns one BEAM session state.
Subscribes the caller to semantic state updates from a BEAM session.