diff --git a/apps/server/src/providerManager.ts b/apps/server/src/providerManager.ts index 0b2d11cc0e..532f32f7fa 100644 --- a/apps/server/src/providerManager.ts +++ b/apps/server/src/providerManager.ts @@ -433,9 +433,6 @@ export class ProviderManager extends EventEmitter { .listSessions() .find((candidate) => candidate.sessionId === sessionId); const candidateCwds = session?.cwd ? [session.cwd] : [process.cwd()]; - if (candidateCwds.length === 0) { - return null; - } await this.withFilesystemLock(sessionId, async () => { const currentCwd = this.sessionCheckpointCwds.get(sessionId); diff --git a/apps/web/src/components/DiffPanel.tsx b/apps/web/src/components/DiffPanel.tsx index 2d030d21fc..37a4369a56 100644 --- a/apps/web/src/components/DiffPanel.tsx +++ b/apps/web/src/components/DiffPanel.tsx @@ -147,7 +147,7 @@ export default function DiffPanel({ mode = "inline" }: DiffPanelProps) { const conversationCheckpointDiff = selectedTurn ? undefined : activeCheckpointDiffQuery.data?.diff; - const isLoadingCheckpointDiff = activeCheckpointDiffQuery.isPending; + const isLoadingCheckpointDiff = activeCheckpointDiffQuery.isLoading; const checkpointDiffError = activeCheckpointDiffQuery.error instanceof Error ? activeCheckpointDiffQuery.error.message