feat(cursor): wire executor through portal, admin, and wechat routes

Register cursor in LLM executor bindings, route page/code tasks through
cursor runtime selection, and bootstrap wechat cursor policy services.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-27 09:33:47 +08:00
parent a29e1ec5c8
commit ad6dcc283f
17 changed files with 343 additions and 16 deletions
+3
View File
@@ -212,6 +212,9 @@ test('buildAutoChatSkillPrefix enables publish for page generation requests', ()
test('isPageGenerationIntent matches implicit travel guide page requests', () => {
assert.equal(isPageGenerationIntent('苏州攻略页面'), true);
assert.equal(isPageGenerationIntent('帮我看看苏州攻略,1日攻略,做一个页面'), true);
assert.equal(isPageGenerationIntent('做一个睡前故事页面'), true);
assert.equal(isPageGenerationIntent('在页面再加几首唐诗'), true);
assert.equal(isPageGenerationIntent('把 bedtime-story.html 再改一下'), true);
assert.equal(isPageGenerationIntent('你好'), false);
});