craft-hub / AgentTaskRecord
Interface: AgentTaskRecord
Defined in: packages/craft-hub/src/types.ts:519
Persisted external agent task record.
Properties
actionId?
optionalactionId?:"improve-project-config"
Defined in: packages/craft-hub/src/types.ts:524
actionResult?
optionalactionResult?:AgentActionResult
Defined in: packages/craft-hub/src/types.ts:525
capabilityId?
optionalcapabilityId?:string
Defined in: packages/craft-hub/src/types.ts:523
Capability that originated this task, when launched from a capability detail.
error?
optionalerror?:string
Defined in: packages/craft-hub/src/types.ts:539
externalThreadId?
optionalexternalThreadId?:string
Defined in: packages/craft-hub/src/types.ts:530
finalResponse?
optionalfinalResponse?:string
Defined in: packages/craft-hub/src/types.ts:538
finishedAt?
optionalfinishedAt?:string
Defined in: packages/craft-hub/src/types.ts:533
id
id:
string
Defined in: packages/craft-hub/src/types.ts:520
output?
optionaloutput?:string
Defined in: packages/craft-hub/src/types.ts:536
Local, human-readable progress emitted by the task provider.
outputTruncated?
optionaloutputTruncated?:boolean
Defined in: packages/craft-hub/src/types.ts:537
parentTaskId?
optionalparentTaskId?:string
Defined in: packages/craft-hub/src/types.ts:531
primaryProjectId
primaryProjectId:
string
Defined in: packages/craft-hub/src/types.ts:528
projectIds
projectIds:
string[]
Defined in: packages/craft-hub/src/types.ts:527
prompt
prompt:
string
Defined in: packages/craft-hub/src/types.ts:529
provider
provider:
string
Defined in: packages/craft-hub/src/types.ts:521
startedAt
startedAt:
string
Defined in: packages/craft-hub/src/types.ts:532
status
status:
"running"|"completed"|"cancelled"|"failed"
Defined in: packages/craft-hub/src/types.ts:534
workspaceId?
optionalworkspaceId?:string
Defined in: packages/craft-hub/src/types.ts:526