Repository navigation
Description
Summary
Currently infer conversations exposes only list. To inspect the contents of a saved conversation — including hidden messages like the system_reminder entries persisted with Hidden: true — users have to drop down to the raw storage backend (e.g. grep '\"hidden\":true' .infer/conversations/<uuid>.jsonl | jq .). This is undiscoverable and only works for the jsonl backend; users on sqlite, postgres, or redis have no in-CLI way to view a session at all.
A show <id> subcommand would make conversation inspection first-class and storage-backend-agnostic by going through domain.ConversationRepository rather than touching files directly.
Proposed behavior
infer conversations show <session-id>— prints conversation entries chronologically with role, timestamp, and content.--include-hiddenflag (default off) to surface internally-injected messages likesystem_reminder, plan-approval prompts, drained background-task results, and the syntheticverifyMsgfrominfer agent.--format json|textflag —textis human-friendly default;jsonemits one entry per line for piping intojq/ log scrapers (parity with theinfer agentstdout shape).- Resolve the id through the same path
infer agent --session-iduses (literal UUIDs pass through, non-UUID inputs hit the rollover manager / group keys) so users can show by group name too.
Why now
The feat/add-system-reminders-to-agent-mode branch makes hidden system_reminder injections a routine occurrence; without show, there is no first-class way to verify reminders are firing on non-jsonl backends. Also unblocks debugging plan-mode persistence and channel-routed approval flows, which both rely on hidden entries.
Acceptance Criteria
-
infer conversations show <session-id>prints entries chronologically (role, timestamp, content, tool_call_id when present). - Works against every configured storage backend (
jsonl,sqlite,postgres,redis,memory) viadomain.ConversationRepository, not by reading files directly. -
--include-hiddenflag controls whetherHidden: trueentries are emitted (default: off). -
--format jsonemits one JSON object per line;--format text(default) is human-readable. - Subcommand registered in
cmd/conversations.goalongsideconversationsListCmd. - Session id resolution mirrors
infer agent --session-id(UUID passthrough + rollover-manager group key lookup). - Tests cover hidden-vs-shown filtering and the json/text format split.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
docs(cli): document infer conversations show subcommand
docs(cli): document infer conversations show subcommand (#88)
chore(release): 🔖 0.6.46 [skip ci]
feat: add 'infer conversations show <id>' subcommand (#547) (#554)
chore(release): 0.115.0 [skip ci]
inference-gateway-releaser commentedon May 29, 2026
🎉 This issue has been resolved in version 0.115.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀