GraphReFlyTS

API Reference

assertAgenticMemoryRecordChangeFrame()

Asserts that a value is an agentic memory record change frame.

Import

import { assertAgenticMemoryRecordChangeFrame } from "@graphrefly/ts/adapters";

Signature

function assertAgenticMemoryRecordChangeFrame(value: unknown): AgenticMemoryRecordChangeFrame<TJson>

Parameters

ParameterTypeDescription
valueunknownUnknown value to check or decode.

Returns

The narrowed, validated value.

Example

import { assertAgenticMemoryRecordChangeFrame } from "@graphrefly/ts/adapters";

Source

packages/ts/src/adapters/agentic-memory-storage.ts