oracular / IntentEvent
Interface: IntentEvent
Defined in: types.ts:241
What the app feeds to observe. Any event name is accepted; only names that appear in some intent's signals or as its outcome change evidence, every event extends the episode.
Example
ts
observe(state, { name: 'pricing.viewed', at: Date.now(), props: { plan: 'pro' } });Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
at | number | Timestamp. Every duration in the config uses the same unit (milliseconds recommended). | types.ts:244 |
name | string | - | types.ts:242 |
props? | Record<string, unknown> | Accepted and ignored in 0.1; never stored. | types.ts:246 |