Skip to main content

Module sources

Module sources 

Source
Expand description

Well-known source labels used by the runtime and first-party plugins.

The source field on TokenLedgerEntry and ChildUsage events is a free-form string; the runtime does not interpret the value. Plugins may use additional labels of their own.

Constants§

CHILD
Default fallback when no usage_source is set on a child session.
COMPACTION
Rolling-history compaction passes.
OBSERVER
Async observational-memory observer runs.
REFLECTOR
Async observational-memory reflector runs.
SUBAGENT
Spawned subagent sessions.
TURN
Parent’s own LLM calls.