This PR updates the ENGINE_MODE enum in env.ts and modifies index.ts to conditionally initialize either the server or worker based on the ENGINE_MODE value.
Detailed summary
Updated ENGINE_MODE enum values in env.ts
Modified index.ts to conditionally initialize server or worker based on ENGINE_MODE
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
PR-Codex overview
This PR updates the
ENGINE_MODE
enum inenv.ts
and modifiesindex.ts
to conditionally initialize either the server or worker based on theENGINE_MODE
value.Detailed summary
ENGINE_MODE
enum values inenv.ts
index.ts
to conditionally initialize server or worker based onENGINE_MODE