MCPcopy Create free account
hub / github.com/compozy/agh / networkDirectsBundle

Function networkDirectsBundle

internal/cli/network.go:1512–1540  ·  view source on GitHub ↗
(directs []NetworkDirectRoomRecord)

Source from the content-addressed store, hash-verified

1510}
1511
1512func networkDirectsBundle(directs []NetworkDirectRoomRecord) outputBundle {
1513 return listBundle(
1514 contract.NetworkDirectRoomsResponse{Directs: directs},
1515 directs,
1516 "Network Direct Rooms",
1517 []string{
1518 "Direct",
1519 "Peer A",
1520 "Peer B",
1521 networkMessagesValue,
1522 networkOpenWorkValue,
1523 networkLastActivityValue,
1524 toolOperatorPreviewValue,
1525 },
1526 "network_directs",
1527 []string{
1528 networkChannelKey,
1529 networkDirectIDKey,
1530 "peer_a",
1531 "peer_b",
1532 networkMessageCountKey,
1533 networkOpenWorkCountKey,
1534 networkLastActivityAtKey,
1535 networkLastMessagePreviewKey,
1536 },
1537 networkDirectHumanRow,
1538 networkDirectToonRow,
1539 )
1540}
1541
1542func networkDirectBundle(direct NetworkDirectRoomRecord) outputBundle {
1543 return outputBundle{

Callers 1

Calls 1

listBundleFunction · 0.85

Tested by

no test coverage detected