Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmitDebugEvent ¶
EmitDebugEvent writes a JSON-line describing an operational lifecycle event keyed by `type`. Used for things that are NOT conversation messages (e.g. compaction triggers, token-threshold crossings).
No-op unless debug is enabled (see package docs).
func EmitDebugMessage ¶
EmitDebugMessage writes a JSON line shaped like a conversation message but flagged hidden and tagged with kind, so observers can see internally injected messages such as system reminders apart from real turns. It is a no-op unless debug is enabled.
func SetDebugEnabledForTest ¶
func SetDebugEnabledForTest(enabled bool) func()
SetDebugEnabledForTest forces the debug gate to a specific value, bypassing the global-logger probe. Returns a restore function. Test-only.
Types ¶
This section is empty.