Skip to content

cli: conversation list prints a table - #3070

Merged
colinmegill merged 1 commit into
edgefrom
cli-conversation-table
Oct 16, 2026
Merged

colinmegill merged 1 commit into
edgefrom
cli-conversation-table

Conversation

@colinmegill

Copy link
Copy Markdown
Member

Observable change: polis conversation list without --json prints a table (topic, shortened description, conversation link, newest report link with a "+N" count) instead of pretty-printed JSON. --json is 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

`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
colinmegill force-pushed the cli-conversation-table branch from e8b6a4b to afd2f77 Compare October 16, 2026 01:57
@colinmegill
colinmegill merged commit 7195a1a into edge Oct 16, 2026
18 checks passed
@colinmegill
colinmegill deleted the cli-conversation-table branch October 16, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant