[taskboard] add direct host dispatch targets
This commit is contained in:
@@ -21,7 +21,13 @@ const COLUMNS: TaskStatus[] = ["Backlog", "Todo", "In Progress", "Review", "Done
|
||||
const PRIORITIES: TaskPriority[] = ["Low", "Medium", "High", "Critical"];
|
||||
|
||||
function familyVariant(family: string | null) {
|
||||
return family === "zeroclaw" ? "success" : "default";
|
||||
if (family === "zeroclaw") {
|
||||
return "success";
|
||||
}
|
||||
if (family === "direct") {
|
||||
return "warning";
|
||||
}
|
||||
return "default";
|
||||
}
|
||||
|
||||
function dispatchVariant(state: TaskRecord["dispatch_state"]) {
|
||||
@@ -159,7 +165,7 @@ export function TasksClient({
|
||||
<CardHeader>
|
||||
<CardTitle>Unified Task Intake</CardTitle>
|
||||
<CardDescription>
|
||||
Create typed tasks, apply dispatch templates, and route work to OpenClaw or ZeroClaw.
|
||||
Create typed tasks, apply dispatch templates, and route work to OpenClaw, ZeroClaw, or direct host targets.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -286,7 +292,7 @@ export function TasksClient({
|
||||
<CardHeader>
|
||||
<CardTitle>Recent Dispatch Activity</CardTitle>
|
||||
<CardDescription>
|
||||
Latest control-plane events across both families.
|
||||
Latest control-plane events across all configured task families.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="grid gap-3 lg:grid-cols-3">
|
||||
|
||||
Reference in New Issue
Block a user