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

Method handleExitFromUi

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

Source from the content-addressed store, hash-verified

256 }
257
258 private async handleExitFromUi(): Promise<void> {
259 logger.debug('[codex-remote]: Exiting agent via Ctrl-C');
260 this.exitReason = 'exit';
261 this.shouldExit = true;
262 await this.handleAbort();
263 }
264
265 private async handleSwitchFromUi(): Promise<void> {
266 logger.debug('[codex-remote]: Switching to local mode via double space');

Callers 1

launchMethod · 0.95

Calls 2

handleAbortMethod · 0.95
debugMethod · 0.80

Tested by

no test coverage detected