craft-hub / AgentTaskRecord
Interface: AgentTaskRecord
Defined in: packages/craft-hub/src/types.ts:678
Persisted external agent task record.
Properties
actionId?
optionalactionId?:"improve-project-config"
Defined in: packages/craft-hub/src/types.ts:683
actionResult?
optionalactionResult?:AgentActionResult
Defined in: packages/craft-hub/src/types.ts:684
capabilityId?
optionalcapabilityId?:string
Defined in: packages/craft-hub/src/types.ts:682
Capability that originated this task, when launched from a capability detail.
error?
optionalerror?:string
Defined in: packages/craft-hub/src/types.ts:702
executionDirectory?
optionalexecutionDirectory?:string
Defined in: packages/craft-hub/src/types.ts:693
Host-verified directory used by the original agent execution.
externalThreadId?
optionalexternalThreadId?:string
Defined in: packages/craft-hub/src/types.ts:691
finalResponse?
optionalfinalResponse?:string
Defined in: packages/craft-hub/src/types.ts:701
finishedAt?
optionalfinishedAt?:string
Defined in: packages/craft-hub/src/types.ts:696
id
id:
string
Defined in: packages/craft-hub/src/types.ts:679
output?
optionaloutput?:string
Defined in: packages/craft-hub/src/types.ts:699
Local, human-readable progress emitted by the task provider.
outputTruncated?
optionaloutputTruncated?:boolean
Defined in: packages/craft-hub/src/types.ts:700
parentTaskId?
optionalparentTaskId?:string
Defined in: packages/craft-hub/src/types.ts:694
primaryProjectId
primaryProjectId:
string
Defined in: packages/craft-hub/src/types.ts:687
primaryProjectRelativePath?
optionalprimaryProjectRelativePath?:string
Defined in: packages/craft-hub/src/types.ts:689
Project-relative package selected as the task working directory.
projectIds
projectIds:
string[]
Defined in: packages/craft-hub/src/types.ts:686
prompt
prompt:
string
Defined in: packages/craft-hub/src/types.ts:690
provider
provider:
string
Defined in: packages/craft-hub/src/types.ts:680
startedAt
startedAt:
string
Defined in: packages/craft-hub/src/types.ts:695
status
status:
"cancelled"|"running"|"completed"|"failed"
Defined in: packages/craft-hub/src/types.ts:697
workspaceId?
optionalworkspaceId?:string
Defined in: packages/craft-hub/src/types.ts:685