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

Function agentTaskLeaseBundle

internal/cli/task.go:3101–3111  ·  view source on GitHub ↗
(record AgentTaskLeaseRecord)

Source from the content-addressed store, hash-verified

3099}
3100
3101func agentTaskLeaseBundle(record AgentTaskLeaseRecord) outputBundle {
3102 return outputBundle{
3103 jsonValue: record,
3104 human: func() (string, error) {
3105 return renderJSONPreview(record)
3106 },
3107 toon: func() (string, error) {
3108 return renderJSONPreview(record)
3109 },
3110 }
3111}
3112
3113func taskBundle(item *TaskRecord) outputBundle {
3114 return outputBundle{

Callers 3

newTaskHeartbeatCommandFunction · 0.85
newTaskCompleteCommandFunction · 0.85

Calls 1

renderJSONPreviewFunction · 0.85

Tested by

no test coverage detected