Improve heartbeat-run CLI and agent detail UI

Rework heartbeat-run command with better error handling and output
formatting. Improve AgentConfigForm field layout. Add CSS for agent
run timeline. Enhance AgentDetail page with runtime status section.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-17 21:12:31 -06:00
parent 78fe49a3ea
commit af44f45c31
5 changed files with 212 additions and 89 deletions

View File

@@ -165,11 +165,12 @@ export function AgentConfigForm(props: AgentConfigFormProps) {
{/* ---- Adapter type ---- */}
<div className={cn("px-4 py-2.5", isCreate ? "border-t border-border" : "border-b border-border")}>
<Field label="Adapter" hint={help.adapterType}>
{isCreate ? (
<AdapterTypeDropdown value={adapterType} onChange={(t) => set!({ adapterType: t })} />
) : (
<div className="text-sm font-mono px-2.5 py-1.5">{adapterLabels[adapterType] ?? adapterType}</div>
)}
<AdapterTypeDropdown
value={adapterType}
onChange={(t) =>
isCreate ? set!({ adapterType: t }) : props.onSave({ adapterType: t })
}
/>
</Field>
</div>