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
refactor(cli): generalize message role output filtering #318
A local --user-only query/output flag makes one role projection special even though the underlying need is broader: users should be able to project conversation output by any canonical message role, and the storage/streaming paths should share that model.
Scope
Replace the bespoke user-only output surface with a composable message-role filter.
Keep --dialogue-only as a shorthand for user + assistant dialogue output.
Normalize provider role aliases consistently at CLI, in-memory projection, storage streaming, and semantic facts.
Remove arbitrary domain helpers where a generic role projection is sufficient.
Acceptance Criteria
CLI exposes a repeatable/comma-separated generic role filter instead of --user-only.
Explicit role filters supersede --dialogue-only when both are supplied.
Streamed output pushes role filtering into SQL instead of buffering full conversations unnecessarily.
Markdown and JSONL stream headers expose the effective role projection.
Unit tests cover CLI parsing, output routing, projection laws, storage streaming, and role-count stats.
Activity
refactor(cli): generalize message role filtering (#320)
refactor(cli): generalize message role filtering (#320)
refactor(cli): generalize message role filtering (#320)
refactor(cli): generalize message role filtering (#320)
chore(deps): bump pytest-benchmark from 5.2.3 to 5.3.0 (#4492)