CreateSessionInput
Defined in: src/types.ts:95
Properties
Section titled “Properties”
optionalauto?: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.
autopilotEnabled?
Section titled “autopilotEnabled?”
optionalautopilotEnabled?:boolean|null
Defined in: src/types.ts:109
Per-task autopilot override; absent/null → inherit repo default.
baseBranch
Section titled “baseBranch”baseBranch:
string
Defined in: src/types.ts:97
images
Section titled “images”images:
string[]
Defined in: src/types.ts:100
issueRef?
Section titled “issueRef?”
optionalissueRef?:IssueRef
Defined in: src/types.ts:101
mergeTrainPrs?
Section titled “mergeTrainPrs?”
optionalmergeTrainPrs?: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
planGateEnabled?
Section titled “planGateEnabled?”
optionalplanGateEnabled?:boolean|null
Defined in: src/types.ts:107
Per-task plan-gate override; absent → inherit repo default.
prompt
Section titled “prompt”prompt:
string
Defined in: src/types.ts:98
repoPath
Section titled “repoPath”repoPath:
string
Defined in: src/types.ts:96
research?
Section titled “research?”
optionalresearch?:boolean
Defined in: src/types.ts:113
Research task kind; absent → false.
sandboxProfile?
Section titled “sandboxProfile?”
optionalsandboxProfile?:SandboxProfile|null
Defined in: src/types.ts:111
Per-spawn sandbox profile override; absent → inherit repo default.