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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user