fix: remove unused props from FlowPilotSession after action bar removal

canResolve, canEscalate, onResolve, onEscalate, onPause, onAbandon are
now handled at the page level in FlowPilotSessionPage header. Remove
from component interface to fix TS6133 build errors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-23 12:45:20 +00:00
parent 0ec59276c7
commit 483653f5fc
2 changed files with 0 additions and 23 deletions

View File

@@ -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<SessionDocumentation>
onEscalate: (data: EscalateSessionRequest) => Promise<SessionDocumentation>
onPause?: () => Promise<void>
onResume?: () => Promise<void>
onAbandon?: () => Promise<void>
onRate: (rating: number) => void
onReloadSession?: () => Promise<void>
onGenerateStatusUpdate?: (audience: StatusUpdateAudience, length: StatusUpdateLength, context: StatusUpdateContext) => Promise<StatusUpdateResponse>
@@ -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,

View File

@@ -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 })}