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

Function networkMessagesBundle

internal/cli/network.go:1582–1618  ·  view source on GitHub ↗
(jsonValue any, messages []NetworkConversationMessageRecord)

Source from the content-addressed store, hash-verified

1580}
1581
1582func networkMessagesBundle(jsonValue any, messages []NetworkConversationMessageRecord) outputBundle {
1583 return listBundle(
1584 jsonValue,
1585 messages,
1586 "Network Messages",
1587 []string{
1588 networkMessageValue,
1589 networkSurfaceValue,
1590 taskThreadValue,
1591 "Direct",
1592 networkKindValue,
1593 "Direction",
1594 networkFromValue,
1595 "To",
1596 "Work",
1597 networkTimestampValue,
1598 toolOperatorPreviewValue,
1599 },
1600 "network_messages",
1601 []string{
1602 networkMessageIDKey,
1603 networkChannelKey,
1604 networkSurfaceKey,
1605 networkThreadIDKey,
1606 networkDirectIDKey,
1607 networkKindKey,
1608 "direction",
1609 "peer_from",
1610 "peer_to",
1611 networkWorkIDKey,
1612 networkTimestampKey,
1613 "preview_text",
1614 },
1615 networkMessageHumanRow,
1616 networkMessageToonRow,
1617 )
1618}
1619
1620func networkWorkBundle(work NetworkWorkRecord) outputBundle {
1621 return outputBundle{

Callers 2

Calls 1

listBundleFunction · 0.85

Tested by

no test coverage detected