Skip to content

readConversationGrantsSafe

readConversationGrantsSafe(config, conversationId): string | null

Defined in: packages/core/src/history/recordSession.ts:275

GS2-20 — the stored approval-grants document of one conversation, as the opaque JSON string the approvals layer wrote (core/approvals/conversationGrants.ts owns the format), or null when there is none. Governed by the same switch as everything else here. Fail-soft, never throws.

HistoryConfigView

number

string | null