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

Method beginSessionRequest

apps/kimi-code/src/tui/kimi-tui.ts:1179–1194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1177 }
1178
1179 beginSessionRequest(): void {
1180 this.streamingUI.setTurnId(undefined);
1181 this.streamingUI.resetLiveText();
1182 this.streamingUI.resetToolUi();
1183 this.streamingUI.resetToolCallState();
1184
1185 this.patchLivePane({
1186 mode: 'waiting',
1187 pendingApproval: null,
1188 pendingQuestion: null,
1189 });
1190 this.setAppState({
1191 streamingPhase: 'waiting',
1192 streamingStartTime: Date.now(),
1193 });
1194 }
1195
1196 failSessionRequest(message: string): void {
1197 this.setAppState({ streamingPhase: 'idle' });

Callers 3

sendMessageInternalMethod · 0.95
sendSkillActivationMethod · 0.95
activatePluginCommandMethod · 0.95

Calls 7

patchLivePaneMethod · 0.95
setAppStateMethod · 0.95
setTurnIdMethod · 0.80
resetLiveTextMethod · 0.80
resetToolUiMethod · 0.80
resetToolCallStateMethod · 0.80
nowMethod · 0.65

Tested by

no test coverage detected