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

Function bundleAgentRows

internal/cli/bundle.go:629–641  ·  view source on GitHub ↗
(items []BundleAgentRecord)

Source from the content-addressed store, hash-verified

627}
628
629func bundleAgentRows(items []BundleAgentRecord) [][]string {
630 rows := make([][]string, 0, len(items))
631 for _, item := range items {
632 rows = append(rows, []string{
633 stringOrDash(item.Name),
634 stringOrDash(item.Provider),
635 stringOrDash(item.Model),
636 formatBool(item.HasSoul),
637 formatBool(item.HasHeartbeat),
638 })
639 }
640 return rows
641}
642
643func bundleInventoryRows(items []BundleInventoryRecord) [][]string {
644 rows := make([][]string, 0, len(items))

Callers 2

bundleActivationBundleFunction · 0.85
bundleAgentsTableFunction · 0.85

Calls 3

appendFunction · 0.85
stringOrDashFunction · 0.85
formatBoolFunction · 0.85

Tested by

no test coverage detected