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