Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/memory / / PartialContextLocalePack

Interface: PartialContextLocalePack

Defined in: packages/memory/src/context-engine/locale-packs/types.ts:123

Builder used by application code that wants to ship a custom locale pack. The builder freezes every input so the pack can be safely reused across multiple Memory instances without accidental mutation.

Partial packs are accepted: any field omitted falls back to the English default at compose time, with a one-time WARN per locale per missing surface (the safety guarantee is preserved even when an operator installs a partial locale pack).

Stable

Properties

PropertyModifierTypeDefined in
autoRecallTriggers?readonlyPartial<AutoRecallTriggers>packages/memory/src/context-engine/locale-packs/types.ts:126
baseTemplate?readonlyPartial<BaseTemplateFragments>packages/memory/src/context-engine/locale-packs/types.ts:125
compactionSummaryTemplate?readonlyPartial<CompactionSummaryTemplate>packages/memory/src/context-engine/locale-packs/types.ts:128
idreadonlystringpackages/memory/src/context-engine/locale-packs/types.ts:124
inboundSanitizationPreamble?readonlyPartial<InboundSanitizationPreamble>packages/memory/src/context-engine/locale-packs/types.ts:127