mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-04 07:57:28 +08:00
add trigger audit stats and expose background trigger visibility
This commit is contained in:
@@ -85,5 +85,10 @@ func statusCmd() {
|
||||
fmt.Printf("Heartbeat Last Log: %s\n", lines[len(lines)-1])
|
||||
}
|
||||
}
|
||||
|
||||
triggerStats := filepath.Join(workspace, "memory", "trigger-stats.json")
|
||||
if data, err := os.ReadFile(triggerStats); err == nil {
|
||||
fmt.Printf("Trigger Stats: %s\n", strings.TrimSpace(string(data)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user