Skip to main content

session_id

Function session_id 

Source
pub fn session_id() -> String
Expand description

Get the current session identifier.

Returns the parent process ID as a string, providing a stable identifier for all commands run within the same AI agent session.