Skip to main content

Interface: Ticket

Defined in: packages/orchestration/src/types.ts:64

Extends​

Properties​

acceptance?​

optional acceptance?: string[]

Defined in: packages/orchestration/src/types.ts:46

How the caller will judge the work done, one check per entry.

Inherited from​

TicketConfig.acceptance


activeRunId?​

optional activeRunId?: string

Defined in: packages/orchestration/src/types.ts:72

The run holding the ticket: in progress, or paused on a question.


assignee?​

optional assignee?: string

Defined in: packages/orchestration/src/types.ts:53

Unset, the scheduler can auto-assign.

Inherited from​

TicketConfig.assignee


brief?​

optional brief?: TicketBrief

Defined in: packages/orchestration/src/types.ts:44

The structured brief, when the work was delegated with one.

Inherited from​

TicketConfig.brief


budget?​

optional budget?: object

Defined in: packages/orchestration/src/types.ts:50

Spend ceiling for this ticket's runs, checked while they run.

usd?​

optional usd?: number

Inherited from​

TicketConfig.budget


createdAt​

createdAt: number

Defined in: packages/orchestration/src/types.ts:69


deadline?​

optional deadline?: Date

Defined in: packages/orchestration/src/types.ts:59

Inherited from​

TicketConfig.deadline


deliverableSchema?​

optional deliverableSchema?: Record<string, unknown>

Defined in: packages/orchestration/src/types.ts:48

JSON Schema the deliverable must match.

Inherited from​

TicketConfig.deliverableSchema


dependsOn?​

optional dependsOn?: string[]

Defined in: packages/orchestration/src/types.ts:55

Tickets that must be done first.

Inherited from​

TicketConfig.dependsOn


description​

description: string

Defined in: packages/orchestration/src/types.ts:42

The worker's input. A ticket created from a brief carries the rendered brief here (see renderTicketBrief), so workers that read only description still get all of it.

Inherited from​

TicketConfig.description


error?​

optional error?: string

Defined in: packages/orchestration/src/types.ts:76

Set when failed.


groupChatId?​

optional groupChatId?: string

Defined in: packages/orchestration/src/types.ts:61

For filtering Realtime subscriptions; set by the host, not the model.

Inherited from​

TicketConfig.groupChatId


id​

id: string

Defined in: packages/orchestration/src/types.ts:67


metadata?​

optional metadata?: Record<string, unknown>

Defined in: packages/orchestration/src/types.ts:56

Inherited from​

TicketConfig.metadata


priority?​

optional priority?: "critical" | "high" | "medium" | "low"

Defined in: packages/orchestration/src/types.ts:51

Inherited from​

TicketConfig.priority


questions?​

optional questions?: HumanQuestion[]

Defined in: packages/orchestration/src/types.ts:66

Durable questions; only done resolves dependencies, never needs_input.


result?​

optional result?: unknown

Defined in: packages/orchestration/src/types.ts:74

Set when done.


status​

status: "needs_input" | "backlog" | "queued" | "in_progress" | "review" | "done" | "failed" | "cancelled"

Defined in: packages/orchestration/src/types.ts:68


tags?​

optional tags?: string[]

Defined in: packages/orchestration/src/types.ts:58

For filtering and capability matching.

Inherited from​

TicketConfig.tags


title​

title: string

Defined in: packages/orchestration/src/types.ts:36

Inherited from​

TicketConfig.title


updatedAt​

updatedAt: number

Defined in: packages/orchestration/src/types.ts:70