Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/server / / DeliveryCommentaryConfig

Interface: DeliveryCommentaryConfig

Defined in: packages/server/src/commentary/types.ts:117

Public configuration accepted by the WS / SSE / REST event- emission sanitizer. Shape mirrors the per-server WsConfig.commentarySanitization field documented in the runtime spec.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
applyToEvents?readonlyreadonly string[]Whitelist of event.type literals to sanitize. The default covers the user-visible commentary surface (text.delta plus the two tool-result variants); operators extend the list as their UI rendering boundary expands.packages/server/src/commentary/types.ts:125
patterns?readonlyreadonly DeliveryCommentaryPattern[]-packages/server/src/commentary/types.ts:126
policy?readonlyDeliveryCommentaryPolicy-packages/server/src/commentary/types.ts:118
sink?readonlyDeliveryCommentarySink-packages/server/src/commentary/types.ts:129
wrapClose?readonlystring-packages/server/src/commentary/types.ts:128
wrapOpen?readonlystring-packages/server/src/commentary/types.ts:127