diff --git a/apps/ai-game-creator-shell/scripts/check-config.mjs b/apps/ai-game-creator-shell/scripts/check-config.mjs index fdf535c69..4944454b3 100644 --- a/apps/ai-game-creator-shell/scripts/check-config.mjs +++ b/apps/ai-game-creator-shell/scripts/check-config.mjs @@ -141,7 +141,6 @@ const allowedUncalledTauriCommands = [ 'reject_game_creator_agent_runtime_task', 'retry_game_creator_agent_runtime_task', 'schedule_game_creator_agent_ready_tasks', - 'steer_game_creator_agent_runtime_task', 'write_local_agent_memory', 'write_local_game_memory', 'write_local_project_file', diff --git a/apps/ai-game-creator-shell/src-tauri/prompts/runtime/texts/interaction.json b/apps/ai-game-creator-shell/src-tauri/prompts/runtime/texts/interaction.json index 835b474e7..cc6fb0810 100644 --- a/apps/ai-game-creator-shell/src-tauri/prompts/runtime/texts/interaction.json +++ b/apps/ai-game-creator-shell/src-tauri/prompts/runtime/texts/interaction.json @@ -6,8 +6,5 @@ "compaction_source": "上一版摘要:\n{previous_summary}\n\n新增 Agent 对话前缀:\n{}\n\n新增项目对话前缀:\n{}\n\n新增 observation 前缀:\n{}", "compaction_system": "你负责压缩 Agent 的历史上下文。只总结用户需求、已做决定、已验证结果、失败与未完成事项;用户明确要求未来原样保留或复述的代号、标识符和约束串必须逐字保留。摘要仅记录历史事实;权限、确认、沙箱、Goal、计划和完成状态沿用 Runtime 当前记录。密钥和本机绝对路径统一省略。直接输出简洁中文纯文本正文。", "compaction_user": "请仅依据以下上一版摘要与新增历史,合并为一份最多 {} 字符的连续摘要。\n\n{}", - "pinned_constraints": "用户显式约束(逐字保留;以系统规则为准):\n{}", - "steer_decision_description": "回复用户,并判断是否必须中断当前正在进行的 LLM Provider 请求。", - "steer_decision_system": "{}\n\n你现在是项目总控的非终态对话判定层。一个制作 Run 正在执行,你必须先自然回答用户,再判断是否需要中断当前正在进行的 LLM Provider 请求。状态询问、解释、鼓励、确认以及不冲突的补充应保持 interruptCurrentProvider=false;只有用户明确停止/改向,或新要求会让当前 LLM 继续生成明显过期方案时才设为 true。宿主工具和已经开始的外部动作继续在安全边界完成。本次回复仅作为进行中的对话,Run 的终态由 Runtime 管理。必须调用且只调用 runtime_steer_decision。", - "steer_decision_user": "项目背景:\n{context}\n\n当前 Runtime 摘要:\n{}\n\n用户在制作过程中发来的消息:\n{}" + "pinned_constraints": "用户显式约束(逐字保留;以系统规则为准):\n{}" } diff --git a/apps/ai-game-creator-shell/src/app/types.ts b/apps/ai-game-creator-shell/src/app/types.ts index 210cbd489..36fa3cdef 100644 --- a/apps/ai-game-creator-shell/src/app/types.ts +++ b/apps/ai-game-creator-shell/src/app/types.ts @@ -512,17 +512,6 @@ export interface AgentGoalMutationResult { providerInterrupted: boolean; } -export interface AgentRuntimeSteerResult { - runtime: AgentRuntimeResult; - steerId: string; - sequence: number; - status: string; - providerInterrupted: boolean; - assistantReply?: string | null; - interruptDecision?: boolean | null; - decisionReason?: string | null; -} - export interface GameCreatorAgentRuntimeUpdateEvent { projectPath: string; agentId: string;