@gobi-ai/cli 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,7 +419,17 @@ export function registerAstraCommand(program) {
419
419
  const lines = [];
420
420
  for (const s of items) {
421
421
  const title = s.title || "(no title)";
422
- lines.push(`- [${s.id}] "${title}" (mode: ${s.mode}, last activity: ${s.lastMessageAt})`);
422
+ const members = s.members || [];
423
+ const memberCount = s.memberCount ?? 0;
424
+ let memberInfo = "";
425
+ if (members.length > 0) {
426
+ const names = members.map((m) => m.vaultName || m.name || "Unknown");
427
+ const overflow = memberCount - members.length - 1; // -1 for "me"
428
+ memberInfo = ` | with: ${names.join(", ")}`;
429
+ if (overflow > 0)
430
+ memberInfo += ` +${overflow} more`;
431
+ }
432
+ lines.push(`- [${s.id}] "${title}" (mode: ${s.mode}, last activity: ${s.lastMessageAt})${memberInfo}`);
423
433
  }
424
434
  console.log(`Sessions (${items.length} of ${total}):\n` + lines.join("\n"));
425
435
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobi-ai/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI client for the Gobi collaborative knowledge platform",
5
5
  "license": "MIT",
6
6
  "type": "module",