Event is one entry in the debug log. Message is the one-line summary shown in the panel; Payload is the optional long-form content (request JSON, full tool output, before/after transcripts) inspected via debug show . CorrelatedID links a response back to the request that produced it. The reques
| 32 | // request event leaves it zero; the response sets it to the request's ID. |
| 33 | // Pair() walks the link in either direction. |
| 34 | type Event struct { |
| 35 | ID uint64 |
| 36 | CorrelatedID uint64 // 0 when no pair; otherwise the matching event's ID |
| 37 | Time time.Time |
| 38 | Source string // "provider", "tool", "compact", "subagent", … |
| 39 | Level Level |
| 40 | Message string |
| 41 | Payload string // optional; empty when there's nothing extra to inspect |
| 42 | } |
| 43 | |
| 44 | const ( |
| 45 | ringCapacity = 500 |
nothing calls this directly
no outgoing calls
no test coverage detected