Isolate Cursor executor to admin-configured whitelist channel for H5 and WeChat.
Memind CI / Test, build, and release guards (push) Failing after 4m22s
Memind CI / Test, build, and release guards (push) Failing after 4m22s
Non-allowlisted users stay on the existing Goose/DeepSeek path; only memindadm whitelist users enter the TKMind Cursor channel on selected intents and channels. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,8 +27,9 @@ export function resolvePreferredCodeExecutor(env = process.env) {
|
||||
}
|
||||
|
||||
export function cursorPageTasksDefaultEnabled(env = process.env) {
|
||||
// 已废弃:页面任务是否走 Cursor 由 memindadm「智趣体验通道」白名单控制,不再靠此 env 全员开启。
|
||||
if (!cursorExecutorEnabled(env)) return false;
|
||||
return envFlag(env.MEMIND_CURSOR_PAGE_TASKS_DEFAULT, true);
|
||||
return envFlag(env.MEMIND_CURSOR_PAGE_TASKS_DEFAULT, false);
|
||||
}
|
||||
|
||||
/** @deprecated 普通 Agent 编排不再默认走 Cursor;仅页面/问卷/Excel 等代码任务使用 enforcePageGenerationCursorRuntime */
|
||||
|
||||
Reference in New Issue
Block a user