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

Method handleSwitchFromUi

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

Source from the content-addressed store, hash-verified

263 }
264
265 private async handleSwitchFromUi(): Promise<void> {
266 logger.debug('[codex-remote]: Switching to local mode via double space');
267 this.exitReason = 'switch';
268 this.shouldExit = true;
269 await this.handleAbort();
270 }
271
272 private async handleSwitchRequest(): Promise<void> {
273 this.exitReason = 'switch';

Callers 1

launchMethod · 0.95

Calls 2

handleAbortMethod · 0.95
debugMethod · 0.80

Tested by

no test coverage detected