Skip to content

craft-hub / AgentTaskRecord

Interface: AgentTaskRecord

Defined in: packages/craft-hub/src/types.ts:519

Persisted external agent task record.

Properties

actionId?

optional actionId?: "improve-project-config"

Defined in: packages/craft-hub/src/types.ts:524


actionResult?

optional actionResult?: AgentActionResult

Defined in: packages/craft-hub/src/types.ts:525


capabilityId?

optional capabilityId?: string

Defined in: packages/craft-hub/src/types.ts:523

Capability that originated this task, when launched from a capability detail.


error?

optional error?: string

Defined in: packages/craft-hub/src/types.ts:539


externalThreadId?

optional externalThreadId?: string

Defined in: packages/craft-hub/src/types.ts:530


finalResponse?

optional finalResponse?: string

Defined in: packages/craft-hub/src/types.ts:538


finishedAt?

optional finishedAt?: string

Defined in: packages/craft-hub/src/types.ts:533


id

id: string

Defined in: packages/craft-hub/src/types.ts:520


output?

optional output?: string

Defined in: packages/craft-hub/src/types.ts:536

Local, human-readable progress emitted by the task provider.


outputTruncated?

optional outputTruncated?: boolean

Defined in: packages/craft-hub/src/types.ts:537


parentTaskId?

optional parentTaskId?: 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?

optional workspaceId?: string

Defined in: packages/craft-hub/src/types.ts:526

Released under the MIT License.