feat(assistant): unify confirmed memory capture

This commit is contained in:
2026-07-20 02:30:06 +08:00
parent 46a6156d8c
commit 0a5fc9a463
32 changed files with 949 additions and 242 deletions
+6 -2
View File
@@ -14,9 +14,13 @@ test('问师傅为文字、媒体和数据工具请求携带同一短期会话
});
test('问师傅支持显式新对话、版本回写和受控原文件或视频卡', async () => {
const page = await read('../src/pages/user/sop/index.vue');
const [page, header] = await Promise.all([
read('../src/pages/user/sop/index.vue'),
read('../src/components/chat/AskSourceHeader.vue')
]);
assert.match(page, /@click="startNewConversation">新对话/);
assert.match(page, /@new-conversation="startNewConversation"/);
assert.match(header, /@click="emit\('newConversation'\)">新对话/);
assert.match(page, /const contextVersion = ref\(0\)/);
assert.match(page, /applyConversationState\(nextResult\)/);
assert.match(page, /authenticatedFileUrl\(resource\.contentUrl\)/);