diff --git a/frontend/src/components/flowpilot/FlowPilotSession.tsx b/frontend/src/components/flowpilot/FlowPilotSession.tsx index 1369006d..0f19c5fc 100644 --- a/frontend/src/components/flowpilot/FlowPilotSession.tsx +++ b/frontend/src/components/flowpilot/FlowPilotSession.tsx @@ -4,8 +4,6 @@ import type { AISessionDetail, AISessionStepResponse, StepResponseRequest, - ResolveSessionRequest, - EscalateSessionRequest, SessionDocumentation, StatusUpdateAudience, StatusUpdateLength, @@ -29,18 +27,12 @@ interface FlowPilotSessionProps { allSteps: AISessionStepResponse[] currentStep: AISessionStepResponse | null isProcessing: boolean - canResolve: boolean - canEscalate: boolean documentation: SessionDocumentation | null psaPushStatus?: string | null psaPushError?: string | null memberMappingWarning?: string | null onRespond: (response: StepResponseRequest) => void - onResolve: (data: ResolveSessionRequest) => Promise - onEscalate: (data: EscalateSessionRequest) => Promise - onPause?: () => Promise onResume?: () => Promise - onAbandon?: () => Promise onRate: (rating: number) => void onReloadSession?: () => Promise onGenerateStatusUpdate?: (audience: StatusUpdateAudience, length: StatusUpdateLength, context: StatusUpdateContext) => Promise @@ -51,18 +43,12 @@ export function FlowPilotSession({ allSteps, currentStep, isProcessing, - canResolve, - canEscalate, documentation, psaPushStatus, psaPushError, memberMappingWarning, onRespond, - onResolve, - onEscalate, - onPause, onResume, - onAbandon, onRate, onReloadSession, onGenerateStatusUpdate, diff --git a/frontend/src/pages/FlowPilotSessionPage.tsx b/frontend/src/pages/FlowPilotSessionPage.tsx index 20fb30a7..a94c1c62 100644 --- a/frontend/src/pages/FlowPilotSessionPage.tsx +++ b/frontend/src/pages/FlowPilotSessionPage.tsx @@ -366,21 +366,12 @@ export default function FlowPilotSessionPage() { allSteps={fp.allSteps} currentStep={fp.currentStep} isProcessing={fp.isProcessing} - canResolve={fp.canResolve} - canEscalate={fp.canEscalate} documentation={fp.documentation} psaPushStatus={fp.psaPushStatus} psaPushError={fp.psaPushError} memberMappingWarning={fp.memberMappingWarning} onRespond={fp.respondToStep} - onResolve={fp.resolveSession} - onEscalate={fp.escalateSession} - onPause={fp.pauseSession} onResume={fp.resumeOwnSession} - onAbandon={async () => { - await fp.abandonSession() - navigate('/sessions') - }} onRate={fp.rateSession} onReloadSession={() => fp.loadSession(fp.session!.id)} onGenerateStatusUpdate={(audience, length, context) => fp.generateStatusUpdate({ audience, length, context })}