Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/chat/ApprovalRequestCard.tsx,app/src/components/chat/FlowApp

Steven Enamakel885c8bde879e
diff --git a/app/src/components/chat/ApprovalRequestCard.tsx b/app/src/components/chat/ApprovalRequestCard.tsx
index 0ef704c87e..b10cafa12a 100644
--- a/app/src/components/chat/ApprovalRequestCard.tsx
+++ b/app/src/components/chat/ApprovalRequestCard.tsx
@@ -85,7 +85,9 @@ const ApprovalRequestCard: React.FC<Props> = ({ threadId, approval }) => {
</span>
</p>
- {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
+ {errorMsg && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>
+ )}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/chat/FlowApprovalRequestCard.tsx b/app/src/components/chat/FlowApprovalRequestCard.tsx
index 5059710c3e..ff79098296 100644
--- a/app/src/components/chat/FlowApprovalRequestCard.tsx
+++ b/app/src/components/chat/FlowApprovalRequestCard.tsx
@@ -110,7 +110,9 @@ export const FlowApprovalRequestCard: React.FC<Props> = ({ request, onResolved }
<span className="font-mono text-amber-950 dark:text-amber-100">{request.flow_id}</span>
</p>
- {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
+ {errorMsg && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>
+ )}
</>
}
actions={actions}
diff --git a/app/src/components/chat/WorkflowProposalCard.tsx b/app/src/components/chat/WorkflowProposalCard.tsx
index 5527c8e600..e2329a54a2 100644
--- a/app/src/components/chat/WorkflowProposalCard.tsx
+++ b/app/src/components/chat/WorkflowProposalCard.tsx
@@ -376,7 +376,9 @@ const WorkflowProposalCard: React.FC<Props> = ({ threadId, proposal, onSaved })
</p>
)}
- {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
+ {errorMsg && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>
+ )}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/flows/FlowPreauthorizationCard.tsx b/app/src/components/flows/FlowPreauthorizationCard.tsx
index c71e5b4e8d..ecc40cca65 100644
--- a/app/src/components/flows/FlowPreauthorizationCard.tsx
+++ b/app/src/components/flows/FlowPreauthorizationCard.tsx
@@ -82,9 +82,7 @@ export const FlowPreauthorizationCard: React.FC<Props> = ({
{entry.kind === 'approvable' ? '✅' : entry.kind === 'blocked' ? '⛔' : '⚠️'}
</span>
<span className="min-w-0 flex-1">
- <span className="block wrap-break-word text-content">
- {entry.label}
- </span>
+ <span className="block wrap-break-word text-content">{entry.label}</span>
{hint && <span className="block text-xs text-content-secondary">{hint}</span>}
</span>
</li>
@@ -92,7 +90,9 @@ export const FlowPreauthorizationCard: React.FC<Props> = ({
})}
</ul>
- {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
+ {errorMsg && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>
+ )}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/flows/SuggestedWorkflows.tsx b/app/src/components/flows/SuggestedWorkflows.tsx
index 434454da62..45bde1dfdf 100644
--- a/app/src/components/flows/SuggestedWorkflows.tsx
+++ b/app/src/components/flows/SuggestedWorkflows.tsx
@@ -273,7 +273,9 @@ export default function SuggestedWorkflows() {
</div>
{error && (
- <p className="mt-2 text-xs text-coral-600 dark:text-coral-400" data-testid="flow-suggestions-error">
+ <p
+ className="mt-2 text-xs text-coral-600 dark:text-coral-400"
+ data-testid="flow-suggestions-error">
{error}
</p>
)}
diff --git a/app/src/components/flows/WorkflowCopilotPanel.tsx b/app/src/components/flows/WorkflowCopilotPanel.tsx
index 9055fd4f24..cbd77b4460 100644
--- a/app/src/components/flows/WorkflowCopilotPanel.tsx
+++ b/app/src/components/flows/WorkflowCopilotPanel.tsx
@@ -544,7 +544,9 @@ export default function WorkflowCopilotPanel({
<div className="space-y-3 border-t border-line px-3 py-2.5">
{error && (
- <p className="text-xs text-coral-600 dark:text-coral-400" data-testid="workflow-copilot-error">
+ <p
+ className="text-xs text-coral-600 dark:text-coral-400"
+ data-testid="workflow-copilot-error">
{error === 'offline' ? t('flows.copilot.offline') : t('flows.copilot.error')}
</p>
)}
@@ -614,7 +616,9 @@ export default function WorkflowCopilotPanel({
</Button>
</div>
{acceptState === 'idle' && enableError && (
- <p className="mt-2 text-xs text-coral-600 dark:text-coral-400" data-testid="workflow-copilot-enable-error">
+ <p
+ className="mt-2 text-xs text-coral-600 dark:text-coral-400"
+ data-testid="workflow-copilot-enable-error">
{t('flows.copilot.enableError')}
</p>
)}
diff --git a/app/src/components/notifications/FlowApprovalCard.tsx b/app/src/components/notifications/FlowApprovalCard.tsx
index 2e56f66b0b..dda7c3a87a 100644
--- a/app/src/components/notifications/FlowApprovalCard.tsx
+++ b/app/src/components/notifications/FlowApprovalCard.tsx
@@ -180,7 +180,9 @@ const FlowApprovalCard = ({ notification: n }: Props) => {
</p>
)}
- {error && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">{`⚠ ${error}`}</p>}
+ {error && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">{`⚠ ${error}`}</p>
+ )}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/features/conversations/components/PlanReviewCard.tsx b/app/src/features/conversations/components/PlanReviewCard.tsx
index 2e14ce240e..688a7c2bd4 100644
--- a/app/src/features/conversations/components/PlanReviewCard.tsx
+++ b/app/src/features/conversations/components/PlanReviewCard.tsx
@@ -93,7 +93,9 @@ export const PlanReviewCard: React.FC<Props> = ({ threadId, review }) => {
</ol>
)}
- {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
+ {errorMsg && (
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>
+ )}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/features/conversations/components/ThreadTodoStrip.tsx b/app/src/features/conversations/components/ThreadTodoStrip.tsx
index f60261cc5e..cd8249ab01 100644
--- a/app/src/features/conversations/components/ThreadTodoStrip.tsx
+++ b/app/src/features/conversations/components/ThreadTodoStrip.tsx
@@ -143,7 +143,9 @@ export const ThreadTodoStrip: React.FC<Props> = ({
{card.status === 'blocked' && card.blocker?.trim() && (
// Surface why a step is stuck + what's needed next, matching
// the todo-tool guidance to set `blocked` with a `blocker`.
- <span className="min-w-0 text-[11px] text-coral-600/80 dark:text-coral-300/80">{card.blocker.trim()}</span>
+ <span className="min-w-0 text-[11px] text-coral-600/80 dark:text-coral-300/80">
+ {card.blocker.trim()}
+ </span>
)}
</span>
{card.sessionThreadId && onViewSession && (