Separate WeChat chat, page refine, and task flows with explicit routing.
Memind CI / Test, build, and release guards (push) Successful in 4m40s
Memind CI / Test, build, and release guards (push) Successful in 4m40s
Add channel prefixes, pin edit targets in Cursor prompts, and force fresh sessions for page refine URLs so DeepSeek/Goose chat history does not pollute page tasks. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
isPageDataIntent,
|
||||
} from '../../chat-skills.mjs';
|
||||
import { buildWechatPageImageInstruction } from '../image-generation-policy.mjs';
|
||||
import { buildPageRefineTargetPromptBlock } from '../page-refine-target.mjs';
|
||||
|
||||
/**
|
||||
* Service-account-only page generation prompt. Does not use H5 buildAutoChatSkillPrefix.
|
||||
@@ -52,6 +53,7 @@ export function buildPageGenerateAgentPrompt(
|
||||
const coverExample = imageBlock
|
||||
? '<本轮 generate_image 返回的 asset.htmlSrc>'
|
||||
: 'assets/hero.jpg';
|
||||
const pageRefineBlock = buildPageRefineTargetPromptBlock(topic);
|
||||
const pageDataBlock = pageDataTask
|
||||
? [
|
||||
'【Page Data 强制要求】这不是静态展示页。',
|
||||
@@ -72,6 +74,7 @@ export function buildPageGenerateAgentPrompt(
|
||||
imageBlock,
|
||||
immediateContextBlock,
|
||||
carriedSessionBlock,
|
||||
pageRefineBlock,
|
||||
pageDataBlock,
|
||||
'步骤(必须全部完成):',
|
||||
pageDataTask
|
||||
|
||||
Reference in New Issue
Block a user