Files
gabrielvidalandClaude Opus 5.5 7386c955a0 fix(scripts): schema-drift runs again — _real_model re-exported, canary counts messages, id keys folded
- the parse/ split dropped _real_model from the conversations barrel, so the
  canary crashed on its first file;
- the canary compared assistantTurns with raw usage records, but Claude Code
  writes one record per content block: it now counts distinct messages, as the
  parser does (36 false alarms in 40 files → 0 in 200);
- Claude Code 2.1.32x maps keyed by tool_use id (wireToolInputs,
  wireIngestContext) made every call a new path, and the api-request* records
  carry whole requests: id keys fold to <id>, those records are walked two
  levels deep (32,156 'new' paths → 333);
- --update now adds to the baseline instead of replacing it; the baseline is
  refreshed from 370 transcripts (Claude Code 2.1.325–2.1.330).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:33:33 +01:00

8 lines
419 B
Python

"""conversations: see the parse/ package — this barrel keeps the flat
``import conversations`` spelling the rest of the backend uses."""
from .parse import * # noqa: F401,F403
from .pricing import * # noqa: F401,F403
from .parse import (_HELD_RE, _PROJECT_RE, _absorbed_followup, _bin5, # noqa: F401
_held_label, _iter_records, _real_model,
_relayed_message, _unwrap_inbox)