改写回合推演技能合同,并接上画面工作流库。

旧产物名仍能读到,避免改名后上下文对不上。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-14 08:29:28 +08:00
co-authored by Cursor
parent e4c3141be5
commit bc77bc4a3c
42 changed files with 1153 additions and 628 deletions
+7
View File
@@ -3,6 +3,7 @@
* 新库:实现 formatForPrompt,在本文件 register。
*/
import { formatImageWorkflowCatalogForPrompt } from "../image-workflow/catalog.js";
import { formatPreferenceCatalogForPrompt } from "../preference/catalog.js";
import { formatStylePackCatalogForPrompt } from "../style-pack/catalog.js";
@@ -74,6 +75,12 @@ registerLibrary({
formatForPrompt: formatPreferenceCatalogForPrompt,
});
registerLibrary({
id: "image-workflows",
label: "工作流库",
formatForPrompt: formatImageWorkflowCatalogForPrompt,
});
/**
* 从模块列表收集绑定的库 id(去重、保序)。
* 对话落盘:通常传入 intake≠recipe 的模块。