feat(server): run the background service on macOS via launchd (#6286)

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Fable 5 authored and GitHub committed 2026-08-19 01:04:51 -07:00
1 parent 7441b36926
commit 2aa5f095fc
11 files changed
+531 -78

No files matched your search

+8
View File
@@ -51,4 +51,12 @@ export const HostProcessArguments = Context.Reference<ReadonlyArray<string>>(
},
);
/** Undefined on platforms without POSIX uids (Windows). */
export const HostProcessUserId = Context.Reference<number | undefined>(
"@t3tools/shared/hostProcess/HostProcessUserId",
{
defaultValue: () => process.getuid?.(),
},
);
export const isHostWindows = Effect.map(HostProcessPlatform, (platform) => platform === "win32");