Skip to main content

handle_work_claim_with_bulletins

Function handle_work_claim_with_bulletins 

Source
pub(crate) async fn handle_work_claim_with_bulletins(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<ClaimRequest>,
) -> (StatusCode, Json<Value>)
Expand description

POST /agentmux/work/claim (Tasks claim), with the bulletins the claimer has not seen added to the answer. Only a token-proven claimer gets them: the claim route itself takes a name on trust.