fix(mindspace): edit_file 落盘、Finish 聊天 merge 与回归守卫
- finish-sync 支持 edit_file 覆盖 public HTML - Finish 同步 merge 本地流式消息,剥离 agent 内部前缀 - 新增 verify:mindspace-publish-guards 与 AGENTS.md 跨工具说明 - 发版脚本接入回归门禁;103 runtime 发布含备份回退 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,3 +57,11 @@ test('buildAutoChatSkillPrefix enables web for news-like queries', () => {
|
||||
assert.equal(buildAutoChatSkillPrefix('帮我总结一下这段话', ['web', 'search']), '');
|
||||
assert.equal(buildAutoChatSkillPrefix('帮我搜索今天热点新闻', ['search']), '');
|
||||
});
|
||||
|
||||
test('buildAutoChatSkillPrefix enables publish for page generation requests', () => {
|
||||
const prefix = buildAutoChatSkillPrefix('帮我做一个 Hello 糖的 H5 页面', ['static-page-publish']);
|
||||
assert.match(prefix, /static-page-publish/);
|
||||
assert.match(prefix, /write_file\/edit_file/);
|
||||
assert.match(prefix, /禁止只给本地路径/);
|
||||
assert.equal(buildAutoChatSkillPrefix('帮我做一个 Hello 糖的 H5 页面', []), '');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user