feat(wechat): add subscribe morning reminder, plaza welcome, and LLM fallback

Enable daily morning greeting on reply 1 (with custom time, modify, and cancel),
random greeting delivery, M发现 in subscribe welcome, and optional LLM parsing when
rules miss. Also fix WeChat MP draft/config error passthrough and add Tang E2E scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-10 17:32:10 +08:00
parent 78b7d546c2
commit e42417bd6e
25 changed files with 2443 additions and 9 deletions
+3
View File
@@ -37,6 +37,7 @@ import { createAgentCodeRunAdminConfigService } from './agent-code-run-admin-con
import { createWechatCursorExecutorAdminConfigService } from './wechat-cursor-executor-admin-config.mjs';
import { createMindSearchConfigService } from './mindsearch-config.mjs';
import { createWechatScheduleLlmConfigService } from './wechat-schedule-llm-config.mjs';
import { createWechatSubscribeMorningLlmConfigService } from './wechat-subscribe-morning-llm-config.mjs';
import { createWechatIntentRouterConfigService } from './wechat-intent-router-config.mjs';
import { createPlazaPostService, formatPostRow } from './plaza-posts.mjs';
import { createPlazaInteractionService } from './plaza-interactions.mjs';
@@ -153,6 +154,7 @@ export async function createAdminServices(env = {}) {
const agentCodeRunPolicyService = createAgentCodeRunAdminConfigService(pool, { env: process.env });
const wechatCursorExecutorPolicyService = createWechatCursorExecutorAdminConfigService(pool);
const wechatScheduleLlmConfigService = createWechatScheduleLlmConfigService(pool);
const wechatSubscribeMorningLlmConfigService = createWechatSubscribeMorningLlmConfigService(pool);
const wechatIntentRouterConfigService = createWechatIntentRouterConfigService(pool);
const adminSystemTestService = createAdminSystemTestService({
pool,
@@ -202,6 +204,7 @@ export async function createAdminServices(env = {}) {
agentCodeRunPolicyService,
wechatCursorExecutorPolicyService,
wechatScheduleLlmConfigService,
wechatSubscribeMorningLlmConfigService,
wechatIntentRouterConfigService,
adminSystemTestService,
plazaPosts,