ConversationSummary
Defined in: packages/core/src/history/historyStore.ts:164
GS2-19 — a conversation-grained listing row: the conversation’s metadata plus the aggregate of
its turns (how many, the timespan they cover, and a preview of the last one). This is the
top-level unit gth history list shows, in place of isolated per-turn rows.
Properties
Section titled “Properties”command?
Section titled “command?”
optionalcommand?:string
Defined in: packages/core/src/history/historyStore.ts:174
firstTs?
Section titled “firstTs?”
optionalfirstTs?:string
Defined in: packages/core/src/history/historyStore.ts:179
Timestamp of the first / last turn, when any turns exist.
id:
number
Defined in: packages/core/src/history/historyStore.ts:165
lastPrompt?
Section titled “lastPrompt?”
optionallastPrompt?:string
Defined in: packages/core/src/history/historyStore.ts:182
Prompt / response of the most recent turn (a one-line preview source).
lastResponse?
Section titled “lastResponse?”
optionallastResponse?:string
Defined in: packages/core/src/history/historyStore.ts:183
lastTs?
Section titled “lastTs?”
optionallastTs?:string
Defined in: packages/core/src/history/historyStore.ts:180
model?
Section titled “model?”
optionalmodel?:string
Defined in: packages/core/src/history/historyStore.ts:175
origin?
Section titled “origin?”
optionalorigin?:string
Defined in: packages/core/src/history/historyStore.ts:200
GS2-106 — the fan-out surface that started the run (batch, eval, gth-batch, workflow);
absent for a direct run and for any row written before the column existed.
project?
Section titled “project?”
optionalproject?:string
Defined in: packages/core/src/history/historyStore.ts:173
The conversation’s PROJECT ROOT as recorded when it was opened — see ConversationMeta.project for what that value is and, just as importantly, what it is not. A surface rendering it must name it as the project root; it is not where the session was.
runId?
Section titled “runId?”
optionalrunId?:string
Defined in: packages/core/src/history/historyStore.ts:195
GS2-106 — the conversation’s stable run id, minted when the row was created. Absent for a row written before run ids existed; those stay addressable by id.
startedTs
Section titled “startedTs”startedTs:
string
Defined in: packages/core/src/history/historyStore.ts:167
When the conversation was opened.
threadId?
Section titled “threadId?”
optionalthreadId?:string
Defined in: packages/core/src/history/historyStore.ts:190
GS2-20 — the LangGraph thread this conversation’s checkpoint lives under, when it has one. Absent for a conversation recorded without a checkpointer — any pre-GS2-20 row, a single-shot run recorded before GS2-106 or whose store would not open — and for one whose link was cut after a checkpoint write failed.
turnCount
Section titled “turnCount”turnCount:
number
Defined in: packages/core/src/history/historyStore.ts:177
Number of turns recorded under this conversation (0 for a conversation with no turns).