mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 18:30:39 +09:00
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:
parent
78fe49a3ea
commit
af44f45c31
5 changed files with 212 additions and 89 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue