docs: CR-4 — Message-Schema-Tabelle um ttl/source/data ergaenzt
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,9 @@ v0.1 ships the data layer only:
|
|||||||
| `tags` | string[] | caller (required) | Non-empty; drives routing |
|
| `tags` | string[] | caller (required) | Non-empty; drives routing |
|
||||||
| `text` | string | caller (required) | Human-readable message body |
|
| `text` | string | caller (required) | Human-readable message body |
|
||||||
| `severity` | string | caller / auto | `"info"` / `"warn"` / `"error"`; defaults to `"info"` |
|
| `severity` | string | caller / auto | `"info"` / `"warn"` / `"error"`; defaults to `"info"` |
|
||||||
|
| `ttl` | number / nil | caller (optional) | Display timeout in seconds; toast mode falls back to channel/display default if unset |
|
||||||
|
| `source` | any / nil | caller (optional) | Optional source reference (e.g. originating entity) |
|
||||||
|
| `data` | table / nil | caller (optional) | Structured key/value payload; detail mode renders `msg.data.*` |
|
||||||
| `id` | number | auto | Monotonically increasing |
|
| `id` | number | auto | Monotonically increasing |
|
||||||
| `timestamp` | number / nil | auto | `engine.time.now()` if available |
|
| `timestamp` | number / nil | auto | `engine.time.now()` if available |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user