pub struct ShellSessionStartParams {
pub shell: Option<String>,
pub cwd: Option<PathBuf>,
pub env: Vec<(String, String)>,
pub rules: Vec<RuleDefinition>,
pub bucket_config: Option<BucketConfig>,
pub tag: Option<String>,
}Expand description
shell_session_start request.
shell is the interpreter override (None -> the daemon’s default
login shell); argv[0] is NOT a user-chosen interpreter on this lane (it
is assembled by the daemon), so the argv shell-interpreter guard is
intentionally skipped here and the SessionStart cap gates instead.
Fields§
§shell: Option<String>Interpreter override. None -> the daemon’s default login shell.
cwd: Option<PathBuf>Initial working directory for the session shell. None inherits
the daemon’s cwd (the policy gate still applies on containment
profiles).
env: Vec<(String, String)>Environment overlay applied to the session shell. Bounded by
MAX_SESSION_ENV_ITEMS. Empty = inherit unchanged.
rules: Vec<RuleDefinition>Optional inline rules bound to the session bucket so the session’s combed output emits structured signals. Empty = the daemon’s empty sifter (only lifecycle events appear).
bucket_config: Option<BucketConfig>Bucket configuration override (max_events / TTL). Defaults applied
if None.
tag: Option<String>Optional per-bucket tag for subscription routing.
Trait Implementations§
Source§impl Clone for ShellSessionStartParams
impl Clone for ShellSessionStartParams
Source§fn clone(&self) -> ShellSessionStartParams
fn clone(&self) -> ShellSessionStartParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more