mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: remove macOS caffeinate sleep prevention functionality
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user