引入游玩回合与开场收口,抽出可替换 agent 司机并支持运行中止;完善预设洞位、世界书拼装与试跑,并打磨会话运行时与 Web 交互。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-24 01:13:48 +08:00
co-authored by Cursor
parent ec474cb946
commit b82da4c5a5
95 changed files with 6781 additions and 1344 deletions
+5 -2
View File
@@ -146,10 +146,13 @@ export type ReviewComposerCopy = {
*/
export function reviewComposerCopy(
workerId: string | undefined | null,
opts?: { hasQuestions?: boolean },
opts?: { hasQuestions?: boolean; outputTags?: readonly string[] },
): ReviewComposerCopy {
const hasQuestions = Boolean(opts?.hasQuestions);
const id = (workerId ?? "").trim();
const openingReview =
id === "opening-generator" ||
(opts?.outputTags ?? []).includes("设计.开场白与开场变量");
if (id === "design-flow") {
return {
@@ -169,7 +172,7 @@ export function reviewComposerCopy(
};
}
if (id === "opening-generator") {
if (id === "opening-generator" || openingReview) {
return {
chip: "开场",
kicker: "待选定",