You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d9c8ff2
Browse filesBrowse the repository at this point in the historyBrowse files
perf(adapter): prefilter JSONL lines with a shared multi-marker LinePrefilter
Adopt the `LinePrefilter` helper (originally proposed in #1326) so the
typed `jsonl::records` path can prefilter on multiple markers with AND/OR
semantics instead of a single substring. `records` now takes
`Option<&LinePrefilter>`.
This restores the precise prefilters that single-marker filtering had to
drop:
- pi: require both `"usage"` and `"message"` (was `"usage"` only)
- kimi: require both `"StatusUpdate"` and `"token_usage"` (was
`"token_usage"` only)
- openclaw: admit any of `"model_change"` / `"model-snapshot"` / `"usage"`
(previously had no prefilter at all)
- qwen / copilot: unchanged markers, now via LinePrefilter
`LinePrefilter` builds the `memmem` needles once and reuses them across
every line. Output remains byte-for-byte identical (verified against
ccusage@latest for all agents with local logs). Supersedes #1326 by folding
its prefilter into the typed-parsing refactor.
0 commit comments