Skip to content
Merged
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 @@ -150,6 +150,7 @@ export abstract class RuntimeConstructionServices {
protected abstract getValidatedExplicitWorktreeIdSelector(
selector: string | undefined
): string | null
abstract getExplicitSessionWorktreeIdSelector(selector: string | undefined): string | null
protected abstract buildResolvedWorktreeFromId(worktreeId: string): ResolvedWorktree | null
protected abstract listKnownResolvedWorktreesForExplicitTarget(
targetWorktreeId: string,
Expand Down
2 changes: 1 addition & 1 deletion src/main/runtime/construction/runtime-service-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export abstract class OrcaRuntimeWithStopRequestedPtyIds extends OrcaRuntimeWith
protected readonly terminalList = new RuntimeTerminalList({
getGraphEpoch: () => (this.graphStatus === 'ready' ? this.rendererGraphEpoch : null),
assertGraphEpoch: (epoch) => this.assertStableReadyGraph(epoch),
getExplicitWorktreeId: (selector) => this.getValidatedExplicitWorktreeIdSelector(selector),
getExplicitWorktreeId: (selector) => this.getExplicitSessionWorktreeIdSelector(selector),
getResolvedCache: () => this.resolvedWorktrees.peek(),
buildWorktreeFromId: (worktreeId) => this.buildResolvedWorktreeFromId(worktreeId),
resolveWorktree: (selector) => this.resolveWorktreeSelector(selector),
Expand Down
Loading
Loading