feat: task lane persistence + sidebar cleanup #121

Merged
chihlasm merged 49 commits from feat/task-lane-persistence into main 2026-03-29 16:59:41 +00:00
Showing only changes of commit 564d88e90f - Show all commits

View File

@@ -27,8 +27,8 @@ export interface UseFlowPilotSession {
// Actions
startSession: (intake: AISessionCreateRequest) => Promise<void>
respondToStep: (response: StepResponseRequest) => Promise<void>
resolveSession: (data: ResolveSessionRequest) => Promise<SessionDocumentation>
escalateSession: (data: EscalateSessionRequest) => Promise<SessionDocumentation>
resolveSession: (data: ResolveSessionRequest) => Promise<SessionDocumentation | null>
escalateSession: (data: EscalateSessionRequest) => Promise<SessionDocumentation | null>
pauseSession: () => Promise<void>
resumeOwnSession: () => Promise<void>
abandonSession: () => Promise<void>
@@ -134,7 +134,7 @@ export function useFlowPilotSession(): UseFlowPilotSession {
}
}, [session])
const resolveSession = useCallback(async (data: ResolveSessionRequest): Promise<SessionDocumentation> => {
const resolveSession = useCallback(async (data: ResolveSessionRequest): Promise<SessionDocumentation | null> => {
if (!session) throw new Error('No active session')
setIsProcessing(true)
try {
@@ -156,7 +156,7 @@ export function useFlowPilotSession(): UseFlowPilotSession {
}
}, [session])
const escalateSession = useCallback(async (data: EscalateSessionRequest): Promise<SessionDocumentation> => {
const escalateSession = useCallback(async (data: EscalateSessionRequest): Promise<SessionDocumentation | null> => {
if (!session) throw new Error('No active session')
setIsProcessing(true)
try {