Repository navigation
cli: conversation list prints a table - #3070
Merged
Merged
Conversation
`polis conversation list` now prints a table by default: topic, a shortened description, the conversation link and its newest report link (with "+N" when there are more). Report links come from one GET /api/v3/reports read, which returns every report of the caller's conversations. That read is best effort: if it fails, the table still prints with the report column empty and one warning on stderr. Links use the selected site's origin and are never shortened; user text has control and invisible formatting characters removed. `--json` output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
colinmegill
force-pushed
the
cli-conversation-table
branch
from
October 16, 2026 01:57
e8b6a4b to
afd2f77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Observable change:
polis conversation listwithout--jsonprints a table (topic, shortened description, conversation link, newest report link with a "+N" count) instead of pretty-printed JSON.--jsonis unchanged.Report links come from a single
GET /api/v3/reports(no parameters), which returns every report of the caller's conversations. That read is best effort: on failure the table still prints, the report column is empty, one line goes to stderr, and the exit code stays 0. Links are built from the selected site's origin and never truncated; topic and description have control and invisible formatting characters removed. No new dependencies. Tests:bash scripts/test-polis-cli.sh(fmt, clippy -D warnings, 239 tests).🤖 Generated with Claude Code