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

Function newAgentHeartbeatCommand

internal/cli/authored_context.go:324–338  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

322}
323
324func 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
340func newAgentHeartbeatInspectCommand(deps commandDeps) *cobra.Command {
341 cmd := &cobra.Command{

Callers 1

newAgentCommandFunction · 0.85

Tested by

no test coverage detected