Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit bb5ee6c

Browse files
committed
fix: add activeTerminalSessions to initial state in ExtensionStateContext and test mock
1 parent 1071717 commit bb5ee6c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/webview/__tests__/ClineProvider.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ describe("ClineProvider", () => {
587587
taskSyncEnabled: false,
588588
featureRoomoteControlEnabled: false,
589589
checkpointTimeout: DEFAULT_CHECKPOINT_TIMEOUT_SECONDS,
590+
activeTerminalSessions: 0,
590591
}
591592

592593
const message: ExtensionMessage = {

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
270270
openRouterImageGenerationSelectedModel: "",
271271
includeCurrentTime: true,
272272
includeCurrentCost: true,
273+
activeTerminalSessions: 0,
273274
})
274275

275276
const [didHydrateState, setDidHydrateState] = useState(false)

0 commit comments

Comments
 (0)