(profile *TaskExecutionProfileRecord)
| 3275 | } |
| 3276 | |
| 3277 | func taskExecutionProfileBundle(profile *TaskExecutionProfileRecord) outputBundle { |
| 3278 | return outputBundle{ |
| 3279 | jsonValue: *profile, |
| 3280 | human: func() (string, error) { |
| 3281 | return renderHumanSection("Task Execution Profile", []keyValue{ |
| 3282 | {Label: taskTaskIDValue, Value: stringOrDash(profile.TaskID)}, |
| 3283 | {Label: "Coordinator", Value: stringOrDash(string(profile.Coordinator.Mode))}, |
| 3284 | {Label: "Worker", Value: stringOrDash(string(profile.Worker.Mode))}, |
| 3285 | {Label: "Worker Agent", Value: stringOrDash(profile.Worker.AgentName)}, |
| 3286 | {Label: "Worker Provider", Value: stringOrDash(profile.Worker.Provider)}, |
| 3287 | {Label: "Worker Model", Value: stringOrDash(profile.Worker.Model)}, |
| 3288 | {Label: "Review Agent", Value: stringOrDash(profile.Review.AgentName)}, |
| 3289 | {Label: taskSandboxValue, Value: stringOrDash(string(profile.Sandbox.Mode))}, |
| 3290 | {Label: "Sandbox Ref", Value: stringOrDash(profile.Sandbox.SandboxRef)}, |
| 3291 | {Label: "Runtime", Value: stringOrDash(string(profile.Runtime.Mode))}, |
| 3292 | {Label: taskUpdatedValue, Value: stringOrDash(formatTime(profile.UpdatedAt))}, |
| 3293 | }), nil |
| 3294 | }, |
| 3295 | toon: func() (string, error) { |
| 3296 | return renderJSONPreview(profile) |
| 3297 | }, |
| 3298 | } |
| 3299 | } |
| 3300 | |
| 3301 | func taskBridgeNotificationSubscriptionBundle( |
| 3302 | subscription *TaskBridgeNotificationSubscriptionRecord, |
no test coverage detected