新建作品改为直接进入对话落盘,按本局创作方案写能力,并把楼层呈现和零层卡分开。
输入栏同时可以按分组切换模型。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -108,4 +108,21 @@ describe("play-aux view", () => {
|
||||
expect(dorm?.persona?.name).toBe("李宗");
|
||||
expect(gate?.persona?.name).toBe("阿泽");
|
||||
});
|
||||
|
||||
it("lists proliferated zero-layer openings for play swipe", () => {
|
||||
const board = new Blackboard();
|
||||
board.write({
|
||||
tag: "设计.0层开场白与初态#dorm",
|
||||
content: "@玩家推开宿舍门。",
|
||||
source: "agent",
|
||||
});
|
||||
board.write({
|
||||
tag: "设计.0层开场白与初态#gate",
|
||||
content: "@玩家停在闸机前。",
|
||||
source: "agent",
|
||||
});
|
||||
const view = buildPlayAuxView(board, { [SLOT_OPENING_SELECTED_INDEX]: 1 });
|
||||
expect(view.openings.map((o) => o.slot).sort()).toEqual(["dorm", "gate"]);
|
||||
expect(view.selectedOpeningIndex).toBe(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user