feat: add orchestrator admin action interval and integrate game engine dependency

This commit is contained in:
2026-01-03 16:35:48 +00:00
parent 822acebca0
commit 020028fc74
7 changed files with 343 additions and 147 deletions
+12
View File
@@ -19,6 +19,7 @@ export interface GatewayApiConfig {
orchestratorReconcileIntervalMs: number;
orchestratorScheduleIntervalMs: number;
orchestratorBuildIntervalMs: number;
orchestratorAdminIntervalMs: number;
workspaceRootHint: string;
worktreeRoot: string;
}
@@ -30,6 +31,7 @@ export interface GatewayOrchestratorConfig {
orchestratorReconcileIntervalMs: number;
orchestratorScheduleIntervalMs: number;
orchestratorBuildIntervalMs: number;
orchestratorAdminIntervalMs: number;
workspaceRootHint: string;
worktreeRoot: string;
}
@@ -120,6 +122,11 @@ export const resolveGatewayApiConfigFromEnv = (
10000,
'GATEWAY_ORCHESTRATOR_BUILD_MS'
),
orchestratorAdminIntervalMs: parseNumber(
env.GATEWAY_ORCHESTRATOR_ADMIN_MS,
5000,
'GATEWAY_ORCHESTRATOR_ADMIN_MS'
),
workspaceRootHint: env.GATEWAY_WORKSPACE_ROOT ?? process.cwd(),
worktreeRoot:
env.GATEWAY_WORKTREE_ROOT ??
@@ -154,6 +161,11 @@ export const resolveGatewayOrchestratorConfigFromEnv = (
10000,
'GATEWAY_ORCHESTRATOR_BUILD_MS'
),
orchestratorAdminIntervalMs: parseNumber(
env.GATEWAY_ORCHESTRATOR_ADMIN_MS,
5000,
'GATEWAY_ORCHESTRATOR_ADMIN_MS'
),
workspaceRootHint: env.GATEWAY_WORKSPACE_ROOT ?? process.cwd(),
worktreeRoot:
env.GATEWAY_WORKTREE_ROOT ??