Skip to main content

handle_shell_output

Function handle_shell_output 

Source
pub(super) async fn handle_shell_output(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<ShellOutputRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/shell/output - the cleaned output of a job that was given Vault secrets, to the agent whose pane started it (spec section 7.1). Any other job has no kept output, and another agent’s pane is refused.