diff options
Diffstat (limited to 'makima/frontend/src/components/directives/DirectiveContractsTab.tsx')
| -rw-r--r-- | makima/frontend/src/components/directives/DirectiveContractsTab.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/makima/frontend/src/components/directives/DirectiveContractsTab.tsx b/makima/frontend/src/components/directives/DirectiveContractsTab.tsx index 59ebfc8..28da117 100644 --- a/makima/frontend/src/components/directives/DirectiveContractsTab.tsx +++ b/makima/frontend/src/components/directives/DirectiveContractsTab.tsx @@ -100,6 +100,23 @@ export function DirectiveContractsTab({ label: step.name, }); } + // Show monitoring/evaluation contracts + if (step.monitoringContractId) { + contracts.push({ + summary: { + id: step.monitoringContractId, + name: `${step.name} - Evaluation`, + contractType: "monitoring", + status: step.status === "evaluating" ? "active" : "completed", + phase: "plan", + taskCount: 1, + tasksDone: step.status === "evaluating" ? 0 : 1, + tasksRunning: step.status === "evaluating" ? 1 : 0, + tasksFailed: 0, + }, + label: `${step.name} eval`, + }); + } } } |
