MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / patchLivePane

Method patchLivePane

apps/kimi-code/src/tui/kimi-tui.ts:1385–1390  ·  view source on GitHub ↗
(patch: Partial<LivePaneState>)

Source from the content-addressed store, hash-verified

1383 }
1384
1385 patchLivePane(patch: Partial<LivePaneState>): void {
1386 if (!hasPatchChanges(this.state.livePane, patch)) return;
1387 Object.assign(this.state.livePane, patch);
1388 this.updateActivityPane();
1389 this.state.ui.requestRender();
1390 }
1391
1392 resetLivePane(): void {
1393 this.state.livePane = { ...INITIAL_LIVE_PANE };

Callers 5

beginSessionRequestMethod · 0.95
showApprovalPanelMethod · 0.95
hideApprovalPanelMethod · 0.95
showQuestionDialogMethod · 0.95
hideQuestionDialogMethod · 0.95

Calls 3

updateActivityPaneMethod · 0.95
hasPatchChangesFunction · 0.90
requestRenderMethod · 0.65

Tested by

no test coverage detected