Skip to main content

cwd_state_key

Function cwd_state_key 

Source
fn cwd_state_key(env: &HashMap<String, String>, agent_id: &str) -> String
Expand description

The key bashwrap names an agent’s cwd state file by: the block’s AGENTMUX_INSTANCE_SLUG, else its AGENTMUX_AGENT_ID, else the registered agent id; sanitized the way bashwrap does.