完善配方驱动的创作编排

为可重复技能补充参数校验与展示,统一配方、编排器和执行单元术语。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
moran
2026-07-30 17:59:20 +08:00
parent e670a5129c
commit 6392af54b4
49 changed files with 1671 additions and 626 deletions

View File

@@ -21,10 +21,10 @@ describe("display-labels", () => {
it("maps creation unit ids", () => {
expect(displayWorkerLabel("phase:core")).toBe("单位 · 核心");
expect(displayWorkerLabel("fixed:interaction")).toBe("能 · 交互范式");
expect(displayWorkerLabel("fixed:interaction")).toBe("能 · 交互范式");
expect(displayWorkerLabel("fixed:aesthetics-interaction")).toBe(
"能 · 美学纲领与交互范式",
"能 · 美学纲领与交互范式",
);
expect(displayWorkerLabel("worker:narrator")).toBe("演员 · 叙事转述");
expect(displayWorkerLabel("worker:narrator")).toBe("执行单元 · 叙事转述");
});
});