Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/memory / / BlockDefinition
Interface: BlockDefinition
Defined in: packages/memory/src/tiers/working-memory.ts:41
Frozen block definition returned by defineBlock. Re-used by the agent runtime / context engine to know which blocks should be compiled into the system prompt every step.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
charLimit | readonly | number | packages/memory/src/tiers/working-memory.ts:45 |
defaultValue? | readonly | string | packages/memory/src/tiers/working-memory.ts:48 |
description? | readonly | string | packages/memory/src/tiers/working-memory.ts:43 |
label | readonly | string | packages/memory/src/tiers/working-memory.ts:42 |
overflowPolicy | readonly | "truncate" | "reject" | packages/memory/src/tiers/working-memory.ts:49 |
readOnly | readonly | boolean | packages/memory/src/tiers/working-memory.ts:47 |
schema? | readonly | ZodLikeSchema<unknown, unknown> | packages/memory/src/tiers/working-memory.ts:44 |
sensitivity | readonly | Sensitivity | packages/memory/src/tiers/working-memory.ts:46 |
tags? | readonly | readonly string[] | packages/memory/src/tiers/working-memory.ts:50 |