MCPcopy Create free account
hub / github.com/tiann/hapi / handleSwitchRequest

Method handleSwitchRequest

cli/src/codex/codexRemoteLauncher.ts:272–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270 }
271
272 private async handleSwitchRequest(): Promise<void> {
273 this.exitReason = 'switch';
274 this.shouldExit = true;
275 await this.handleAbort();
276 }
277
278 public async launch(): Promise<RemoteLauncherExitReason> {
279 if (this.session.codexArgs && this.session.codexArgs.length > 0) {

Callers 1

runMainLoopMethod · 0.95

Calls 1

handleAbortMethod · 0.95

Tested by

no test coverage detected