Add per-feature Cursor channel toggles for admin and runtime.
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
Expose page/data/scheduled-task/chat-bridge switches in the智趣体验通道 config so Tang can roll out Cursor paths independently with DeepSeek fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -63,6 +63,7 @@ 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';
|
||||
@@ -283,6 +284,7 @@ let memoryV2ConfigService = null;
|
||||
let skillRuntimeConfigService = null;
|
||||
let systemDisclosurePolicyService = null;
|
||||
let agentCodeRunPolicyService = null;
|
||||
let harnessRuntimeService = null;
|
||||
let wechatCursorExecutorPolicyService = null;
|
||||
let wechatScheduleLlmConfigService = null;
|
||||
let wechatScheduledTaskManageLlmConfigService = null;
|
||||
@@ -338,6 +340,7 @@ async function bootstrapUserAuth() {
|
||||
try {
|
||||
if (!isDatabaseConfigured()) return false;
|
||||
const pool = createDbPool();
|
||||
harnessRuntimeService = createHarnessRuntimeService({ pool, env: process.env });
|
||||
const domainServices =
|
||||
await bootstrapPortalDomainServices({
|
||||
pool,
|
||||
@@ -517,6 +520,7 @@ async function bootstrapUserAuth() {
|
||||
conversationMemoryService,
|
||||
memoryV2,
|
||||
systemDisclosurePolicyService,
|
||||
wechatCursorExecutorPolicyService,
|
||||
mindSpaceAssets,
|
||||
getWorkspacePublicationDelivery: () =>
|
||||
mindSpaceWorkspacePublicationDelivery,
|
||||
@@ -789,6 +793,7 @@ attachPortalRuntimeRoutes(api, {
|
||||
getEpisodicMemoryService: () => episodicMemoryService,
|
||||
getAgentRunGateway: () => agentRunGateway,
|
||||
getCodeRunPolicyService: () => agentCodeRunPolicyService,
|
||||
getHarnessRuntimeService: () => harnessRuntimeService,
|
||||
env: process.env,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user