Skip to content

CreateSessionInput

Defined in: src/types.ts:95

optional auto?: boolean

Defined in: src/types.ts:105

True when this session is auto-spawned by the drain queue (default false). The persisted issueNumber is NOT an input here — the service derives it from issueRef.number, so an attached issue is mapped for drain dedupe automatically.


optional autopilotEnabled?: boolean | null

Defined in: src/types.ts:109

Per-task autopilot override; absent/null → inherit repo default.


baseBranch: string

Defined in: src/types.ts:97


images: string[]

Defined in: src/types.ts:100


optional issueRef?: IssueRef

Defined in: src/types.ts:101


optional mergeTrainPrs?: number[]

Defined in: src/types.ts:115

PR numbers selected for this TRAIN session; absent → null.


model: string | null

Defined in: src/types.ts:99


optional planGateEnabled?: boolean | null

Defined in: src/types.ts:107

Per-task plan-gate override; absent → inherit repo default.


prompt: string

Defined in: src/types.ts:98


repoPath: string

Defined in: src/types.ts:96


optional research?: boolean

Defined in: src/types.ts:113

Research task kind; absent → false.


optional sandboxProfile?: SandboxProfile | null

Defined in: src/types.ts:111

Per-spawn sandbox profile override; absent → inherit repo default.