refactor: remove macOS caffeinate sleep prevention functionality

This commit is contained in:
weishu
2025-12-17 15:59:50 +08:00
parent 502b63c236
commit a696cafdd4
7 changed files with 0 additions and 172 deletions
-4
View File
@@ -26,7 +26,6 @@ import type { CodexSessionConfig } from './types';
import { notifyDaemonSessionStarted } from "@/daemon/controlClient";
import { registerKillSessionHandler } from "@/claude/registerKillSessionHandler";
import { delay } from "@/utils/time";
import { stopCaffeinate } from "@/utils/caffeinate";
type ReadyEventOptions = {
pending: unknown;
@@ -271,9 +270,6 @@ export async function runCodex(opts: {
await session.close();
}
// Stop caffeinate
stopCaffeinate();
// Stop Happy MCP server
happyServer.stop();