补齐游戏创作智能体本地Run控制

新增 agent run 状态、停止、重试和恢复命令
把 run 生命周期写入 trace、activity、output 和 context bundle
补齐聊天入口、测试覆盖和实施计划文档
This commit is contained in:
AIGameCreator App
2026-06-26 21:55:31 +08:00
parent 5de4916956
commit afd699a060
8 changed files with 622 additions and 3 deletions
@@ -18,6 +18,10 @@ export const GAME_CREATION_APP_COMMANDS = [
{ id: 'project.status', permission: 'auto' },
{ id: 'task.list', permission: 'auto' },
{ id: 'agent.trace_read', permission: 'auto' },
{ id: 'agent.run_status', permission: 'auto' },
{ id: 'agent.kill', permission: 'confirm' },
{ id: 'agent.retry', permission: 'confirm' },
{ id: 'agent.resume', permission: 'confirm' },
{ id: 'agent.capabilities', permission: 'auto' },
{ id: 'agent.audit', permission: 'auto' },
{ id: 'llm.config_check', permission: 'auto' },
@@ -88,6 +92,7 @@ export const GAME_CREATION_AGENT_CAPABILITIES = [
title: '组内角色协作',
},
{ id: 'quality-review', area: 'agent-runtime', title: '质量评审' },
{ id: 'run-lifecycle', area: 'agent-runtime', title: 'Run 生命周期控制' },
{
id: 'repair-loop-carryover',
area: 'agent-runtime',
@@ -433,6 +438,7 @@ export interface GameCreationAgentRunTrace {
runId: string;
commandId: string;
status: string;
lifecycleStatus?: string | null;
passes: number;
maxPasses: number;
toolCallCount: number;