diff --git a/server.mjs b/server.mjs index 8fcfc63..357ad9a 100644 --- a/server.mjs +++ b/server.mjs @@ -63,7 +63,6 @@ import { resolveRequestOrigin, } from './server/portal-publication-shell.mjs'; import { attachPortalRuntimeRoutes } from './server/portal-runtime-routes.mjs'; -import { createHarnessRuntimeService } from './services/harness/runtime.mjs'; import { attachPortalStaticDeliveryRoutes } from './server/portal-static-delivery-routes.mjs'; import { createPortalWorkspacePublicationDelivery } from './server/portal-workspace-publication-delivery.mjs'; import { attachPortalSeoDiscoveryRoutes } from './server/portal-seo-discovery-routes.mjs'; @@ -284,7 +283,6 @@ let memoryV2ConfigService = null; let skillRuntimeConfigService = null; let systemDisclosurePolicyService = null; let agentCodeRunPolicyService = null; -let harnessRuntimeService = null; let wechatCursorExecutorPolicyService = null; let wechatScheduleLlmConfigService = null; let wechatScheduledTaskManageLlmConfigService = null; @@ -340,7 +338,6 @@ async function bootstrapUserAuth() { try { if (!isDatabaseConfigured()) return false; const pool = createDbPool(); - harnessRuntimeService = createHarnessRuntimeService({ pool, env: process.env }); const domainServices = await bootstrapPortalDomainServices({ pool, @@ -793,7 +790,6 @@ attachPortalRuntimeRoutes(api, { getEpisodicMemoryService: () => episodicMemoryService, getAgentRunGateway: () => agentRunGateway, getCodeRunPolicyService: () => agentCodeRunPolicyService, - getHarnessRuntimeService: () => harnessRuntimeService, env: process.env, });