Commit 46a000e
feat(conversation): add conversation list command (#35)
* docs(thread): document group IDs in --notify help text
`tdc thread reply/create --notify` already accepts custom group IDs
(partitioned via resolveNotifyIds → groups), but the help text only
mentioned "user IDs". Since Comms group IDs are non-numeric base58
strings that look nothing like user IDs, the capability was effectively
undiscoverable from --help. Mention groups in both option descriptions
and add a group-notify example to the reply command's existing example
block (alongside --close / --file).
No behaviour change.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs(skill): sync SKILL_CONTENT --notify examples with group support
Per AGENTS.md, src/lib/skills/content.ts must track command-description and
example changes. The reply/create --notify examples said "users" only; make
them mention groups and add a group-notify example (base58 group ID next to a
numeric user ID). Regenerated skills/comms-cli/SKILL.md via `sync:skill`;
check:skill-sync passes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(conversation): add conversation list command
List DMs and group conversations filtered by participant, name, or kind.
Reuses the existing plumbing: getAllConversations becomes
getConversationsByState(state), and listConversationsWithUser becomes the
shared renderConversationList. Defaults to active conversations; --state
opts into archived. SKILL_CONTENT and README updated, SKILL.md regenerated.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(conversation): address list review feedback
Three doistbot P2s on the conversation list command:
- Resolve --participant against the full roster (includeRemoved) so a
participant who has left the workspace still matches; the renderer already
shows removed participants, and archived DMs often include them.
- Resolve participants and fetch conversations concurrently (Promise.all)
rather than sequentially — they're independent once the workspace is known.
- Skip the workspace-wide user-map fetch for --json/--ndjson without --full,
where participantNames are filtered back out anyway (also speeds up
conversation with machine output, which shares the renderer).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 336ed4a commit 46a000e
10 files changed
Lines changed: 608 additions & 12 deletions
File tree
- skills/comms-cli
- src
- commands/conversation
- lib
- skills
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
| |||
430 | 438 | | |
431 | 439 | | |
432 | 440 | | |
| 441 | + | |
433 | 442 | | |
434 | 443 | | |
435 | 444 | | |
| |||
0 commit comments