Skip to content

Emit context compaction event to NDJSON #26

Description

@byapparov

Phase 1 — Surface existing bus events

session.compacted fires on the internal bus when context is compressed but never reaches NDJSON. Consumers don't know when context was compressed, what was lost, or how close to the limit the session is.

This matters for debugging agent behavior degradation mid-session.

Low effort — event already exists on the bus, just needs wiring in run.ts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions