MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / Event

Struct Event

internal/debug/debug.go:34–42  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

32// request event leaves it zero; the response sets it to the request's ID.
33// Pair() walks the link in either direction.
34type 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
44const (
45 ringCapacity = 500

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected