Refine agent runs spec and fix Companies page layout

Add run log store as sixth component with pluggable storage adapter.
Rename wakeup triggers (ping→on_demand, add automation). Clarify
lightweight event timeline vs full-log storage separation. Fix
Companies page loading/error state layout shift.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-17 11:14:06 -06:00
parent d912670f72
commit 774d74bcba
2 changed files with 139 additions and 48 deletions

View File

@@ -115,8 +115,10 @@ export function Companies() {
</CardContent>
</Card>
{loading && <p className="text-sm text-muted-foreground">Loading companies...</p>}
{error && <p className="text-sm text-destructive">{error.message}</p>}
<div className="h-6">
{loading && <p className="text-sm text-muted-foreground">Loading companies...</p>}
{error && <p className="text-sm text-destructive">{error.message}</p>}
</div>
<div className="grid gap-3">
{companies.map((company) => {
@@ -127,7 +129,7 @@ export function Companies() {
<button
key={company.id}
onClick={() => setSelectedCompanyId(company.id)}
className={`text-left bg-card border rounded-lg p-4 transition-colors ${
className={`group text-left bg-card border rounded-lg p-4 transition-colors ${
selected ? "border-primary ring-1 ring-primary" : "border-border hover:border-muted-foreground/30"
}`}
>