Skip to content

Defined in: react/src/state.ts:111

A new conversation that has no session yet. open is set by openDraft and cleared by selectSession/commitDraft/closeDraft; with no active session the store is a draft too.

Property Type Description Defined in
open boolean - react/src/state.ts:112
runtimeId? string - react/src/state.ts:113
sessionId? string A session commitDraft already created but could not finish (applying the draft settings failed); a retry reuses it instead of creating another. react/src/state.ts:119
settings object - react/src/state.ts:114
settings.effort? "low" | "medium" | "high" | "xhigh" | "max" - protocol/dist/index.d.ts:142
settings.model? string - protocol/dist/index.d.ts:141
settings.permissionMode "default" | "acceptEdits" | "plan" | "auto" | "bypassPermissions" - protocol/dist/index.d.ts:149