Skip to main content

update

Function update 

Source
pub fn update(
    project_root: &Path,
    number: u64,
    agent: &str,
    session_id: &str,
    summary: &str,
    usage: Option<UsageV1>,
) -> Result<TaskAckV1, CloudError>
Expand description

Report one short summary on the claimed task number. When the claim lapsed while the agent worked (Cloud: stale claim), the task is claimed again for it and the summary sent once more; another agent’s claim refuses that.