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

Function taskInspectEventToonRows

internal/cli/task.go:3966–3979  ·  view source on GitHub ↗
(items []contract.TaskInspectEventPayload)

Source from the content-addressed store, hash-verified

3964}
3965
3966func taskInspectEventToonRows(items []contract.TaskInspectEventPayload) [][]string {
3967 rows := make([][]string, 0, len(items))
3968 for _, item := range items {
3969 rows = append(rows, []string{
3970 item.ID,
3971 item.Type,
3972 item.RunID,
3973 item.Outcome,
3974 item.Summary,
3975 formatTime(item.Timestamp),
3976 })
3977 }
3978 return rows
3979}
3980
3981func taskInspectCurrentRunID(run *contract.TaskInspectRunPayload) string {
3982 if run == nil {

Callers 1

renderTaskInspectToonFunction · 0.85

Calls 2

appendFunction · 0.85
formatTimeFunction · 0.85

Tested by

no test coverage detected