craft-hub / StartAgentTaskOptions
Interface: StartAgentTaskOptions
Defined in: packages/craft-hub/src/agent-tasks.ts:28
Optional work to perform after an agent task completes.
Properties
onCompleted?
optionalonCompleted?: (result,task) =>Promise<AgentActionResult>
Defined in: packages/craft-hub/src/agent-tasks.ts:29
Parameters
result
task
Returns
Promise<AgentActionResult>
resumeTaskId?
optionalresumeTaskId?:string
Defined in: packages/craft-hub/src/agent-tasks.ts:35
Resume a finished task through a provider that supports its original external thread.
taskId?
optionaltaskId?:string
Defined in: packages/craft-hub/src/agent-tasks.ts:31
Host-owned idempotency identity. It is not accepted from ordinary task HTTP input.
worktreePath?
optionalworktreePath?:string
Defined in: packages/craft-hub/src/agent-tasks.ts:33
Host-prepared Git worktree belonging to the trusted primary repository.