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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user