Skip to content

API Interface DialogueMemory

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: DialogueMemory

Defined in: src/plugins/audio/runtime/dialogue/memory.ts:10

Audio.dialogue.memory(): plain JSON. Times are seconds since (so ≥ 0), relative to when it was taken.

Properties

events

events: Record<string, {
  history: string[];
  since: number | null;
}>;

Defined in: src/plugins/audio/runtime/dialogue/memory.ts:12

Per event: seconds since it last spoke, and its last spoken line keys (newest last, at most 8).


lines

lines: Record<string, number>;

Defined in: src/plugins/audio/runtime/dialogue/memory.ts:14

Per line key: seconds since it was last said by an event.


once

once: string[];

Defined in: src/plugins/audio/runtime/dialogue/memory.ts:16

Line keys with once that were said (never again this session).

Clone this wiki locally