Repository navigation
Description
Summary
The CLI added a new infer conversations show <session-id> subcommand (inference-gateway/cli#554, closes inference-gateway/cli#547). It prints a saved conversation's entries chronologically and works against every storage backend (jsonl, sqlite, postgres, redis, memory) by going through the storage layer rather than reading files directly.
The docs site does not document this command. The current "Conversation Management" section in cli.md is also out of date: it shows the command group as singular conversation and lists conversation list/show/export/delete, but the real command group is plural infer conversations, and the implemented subcommands today are list and the new show.
User-facing behavior to document:
infer conversations show <session-id>- prints entries chronologically with role, timestamp, content, and tool_call_id (for tool results).--include-hidden(default off) - surfaces internally injected entries persisted as hidden: system reminders, plan-approval prompts, drained background-task results, and the synthetic verify message injected byinfer agent.--format text|json-text(default) is human readable;jsonemits one JSON object per line (NDJSON) for piping intojq, matching theinfer agentstdout shape.- Session id resolution mirrors
infer agent --session-id: a literal UUID is used as-is, while any other value is treated as a session group key and resolved to that group's current session id (registering the group if it is new). This means you can show by group name such aschannel-telegram-12345.
Affected pages:
cli.md, the "Conversation Management" section (the "Commands" block). Correct the command group name to pluralinfer conversations, document the real subcommands, add theshowflags, and align or remove references to subcommands that do not exist in the CLI today (for exampleexport/delete).
Suggested examples to add:
# List conversations to find a session id
infer conversations list
# Show a conversation's entries (hidden entries omitted by default)
infer conversations show 12345678-1234-1234-1234-123456789abc
# Show by session group name (for example a channel group key)
infer conversations show channel-telegram-12345
# Include hidden entries such as system reminders
infer conversations show <session-id> --include-hidden
# One JSON object per line for piping into jq
infer conversations show <session-id> --format json | jq .Source: inference-gateway/cli#547 and inference-gateway/cli#554. In-repo CLI docs were already updated in that PR (README.md and docs/commands-reference.md); this ticket tracks the docs site (inference-gateway/docs).
Acceptance Criteria
-
cli.mddocumentsinfer conversations show <session-id>with the--include-hiddenand--format text|jsonflags. - The "Conversation Management" section uses the correct plural
infer conversationscommand group and lists only subcommands that exist (list,show). - Session id resolution behavior (UUID passthrough plus session group key lookup) is documented.
- Example commands render and are accurate.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon May 29, 2026
@claude Can you document it? use /maintainer
claude commentedon May 29, 2026
Claude finished @edenreich's task in 4m 9s —— View job •
claude/issue-87-20260529-1631• Create PR ➔Documenting
infer conversations showDone. Pushed commit
c9c2888toclaude/issue-87-20260529-1631.cli.mdConversation Management sectioncli.md:infer conversationscommand grouplistandshowsubcommands--include-hiddenand--format text|jsonflagsexport/deletereferences (incl. cost-tracking example)npm run lint:mdcleannpm run format:checkcleannpm run buildsucceedsSummary of changes (
cli.md)Conversation Management section rewritten to match the actual CLI:
JSONLto the storage-backends list and noted backend-agnostic inspection via the storage layer.conversation list/show/export/deleteblock with realinfer conversations listandinfer conversations show <session-id>examples, including--include-hidden,--format text|json, and resolution by session group name (e.g.channel-telegram-12345).Cost Tracking - View Costs example: swapped the stale
infer conversation export <conversation-id>line forinfer conversations show <session-id>(text and--format json | jqvariants).Command summary table:
infer conversation <subcommand>->infer conversations <subcommand>with(list, show)callout. Prettier re-aligned the table widths.Acceptance criteria
cli.mddocumentsinfer conversations show <session-id>with--include-hiddenand--format text|json.infer conversationsgroup and lists onlylistandshow.npm run build).| Branch: claude/issue-87-20260529-1631
docs(cli): document infer conversations show subcommand
docs(cli): document infer conversations show subcommand (#88)