引入游玩回合与开场收口,抽出可替换 agent 司机并支持运行中止;完善预设洞位、世界书拼装与试跑,并打磨会话运行时与 Web 交互。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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: "待选定",
|
||||
|
||||
Reference in New Issue
Block a user