Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ export class ChangesetSessionCoordinator extends Disposable {
*/
onSessionGitStateChanged(sessionStr: string): void {
this._logService.debug(`[ChangesetSessionCoordinator] Git state changed for ${sessionStr}; refreshing static changesets. hasWorkingDirectory=${!!this._configurationService.getEffectiveWorkingDirectory(sessionStr)}`);
this._triggerSessionRefresh(sessionStr);
this._triggerBranchRefresh(sessionStr);
this._triggerUncommittedRefresh(sessionStr);
this._triggerSessionRefresh(sessionStr);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ export class AgentHostChangesetService extends Disposable implements IAgentHostC
// Get session checkpoints
const latestTurnId = this._stateManager.getSessionState(session)?.turns.at(-1)?.id;
if (!latestTurnId) {
return undefined;
return [];
}

const sessionUri = URI.parse(session);
Expand Down
Loading