feat(wechat): add intent router and Cursor executor admin controls

Expose WeChat routing policy and Cursor experience channel settings in md.tkmind.cn with matching admin-api routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-26 21:56:15 +08:00
parent 80c2091baf
commit 70433a3dcd
7 changed files with 626 additions and 0 deletions
+31
View File
@@ -346,6 +346,37 @@ export type WechatIntentRouterRuntimeState = {
config: WechatIntentRouterAdminConfig;
};
export type WechatCursorExecutorAdminConfig = {
enabled: boolean;
userAllowlist: string[];
intentAllowlist: string[];
fallbackToDeepseek: boolean;
meta?: {
notes?: string;
};
};
export type WechatCursorExecutorAdminConfigState = {
config: WechatCursorExecutorAdminConfig;
updatedAt?: number | null;
updatedBy?: string | null;
source?: string;
};
export type WechatCursorExecutorRuntimeState = {
source: string;
updatedAt: number | null;
updatedBy: string | null;
config: WechatCursorExecutorAdminConfig;
policy: {
enabled: boolean;
userAllowlist: string[];
intentAllowlist: string[];
fallbackToDeepseek: boolean;
source?: string;
};
};
export type MindSpaceSeoGeoConfig = {
enabled: boolean;
seo: {