(record AgentTaskLeaseRecord)
| 3099 | } |
| 3100 | |
| 3101 | func 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 | |
| 3113 | func taskBundle(item *TaskRecord) outputBundle { |
| 3114 | return outputBundle{ |
no test coverage detected