(deps commandDeps)
| 322 | } |
| 323 | |
| 324 | func newAgentHeartbeatCommand(deps commandDeps) *cobra.Command { |
| 325 | cmd := &cobra.Command{ |
| 326 | Use: authoredContextHeartbeatKey, |
| 327 | Short: "Inspect and manage agent HEARTBEAT.md files", |
| 328 | } |
| 329 | cmd.AddCommand(newAgentHeartbeatInspectCommand(deps)) |
| 330 | cmd.AddCommand(newAgentHeartbeatValidateCommand(deps)) |
| 331 | cmd.AddCommand(newAgentHeartbeatWriteCommand(deps)) |
| 332 | cmd.AddCommand(newAgentHeartbeatDeleteCommand(deps)) |
| 333 | cmd.AddCommand(newAgentHeartbeatHistoryCommand(deps)) |
| 334 | cmd.AddCommand(newAgentHeartbeatRollbackCommand(deps)) |
| 335 | cmd.AddCommand(newAgentHeartbeatStatusCommand(deps)) |
| 336 | cmd.AddCommand(newAgentHeartbeatWakeCommand(deps)) |
| 337 | return cmd |
| 338 | } |
| 339 | |
| 340 | func newAgentHeartbeatInspectCommand(deps commandDeps) *cobra.Command { |
| 341 | cmd := &cobra.Command{ |
no test coverage detected