72a6d635da
新增独立 Tauri 壳 apps/ai-game-creator-shell,只保留聊天入口,正式用户窗口不承载游戏预览画面,开发模式通过独立窗口展示任务、文件、记忆、预览和日志 新增游戏创作专业组与种子任务图契约,覆盖策划/美术/程序/数值/音乐/运营 6 组下 15 个组内角色 新增共享契约本地项目 manifest、内置命令权限枚举、run trace schema 和 ready-task 选择器 扩展平台 LLM 支持流式请求,增加 GENARRATIVE_GAME_CREATOR_LLM_STREAM 开关 新增 AI 游戏创作 App 的聊天命令集:/help /capabilities /audit /project /llm-status /status /files /assets /read /tasks /trace /smoke /run /preview /preview-status /preview-open /preview-stop /memory /remember /forget-memory /canvas /sync-canvas-project /import-canvas-asset /import-canvas-export 新增本地项目初始化、权限 gate(pending/confirm/cancel)、文件上传、受限命令白名单 game.static_smoke 和本地 HTTP 预览 新增 Planner / 6 组角色 agent / Generator / Evaluator / ArtifactWriter / Playtest 文件驱动 loop,最多 3 轮返工,结构化 repairRoutes 新增实时 run trace 写入 .agent/run.latest.json 与 .agent/runs/,包含 taskGraph、passPlans 和步级 toolCalls 新增短期/长期记忆 memory/session.md 和 memory/project.md,支持聊天读取/追加/覆盖/删除 新增画板对接:canvas.project_open、canvas.project_sync、canvas.asset_import、canvas.export_import 新增 npm run ai-game-creator-shell:check 开发验收入口,覆盖 typecheck、单元测试、端到端 smoke 新增 check:native-shells 静态守门:release 只登记 main 聊天窗口,CSP 禁止内嵌预览,开发窗口只在 debug 下打开,用户侧预览命令必须调用 open_local_game_preview
32 lines
1.2 KiB
Rust
32 lines
1.2 KiB
Rust
pub mod apimart_gpt5_adapter;
|
|
pub mod callbacks;
|
|
pub mod error;
|
|
pub mod function_agent;
|
|
pub mod game_creation;
|
|
pub mod langchain_adapter;
|
|
pub mod output_parser;
|
|
pub mod puzzle_phase1_agent;
|
|
pub mod tool_registry;
|
|
|
|
pub use apimart_gpt5_adapter::{
|
|
CREATIVE_AGENT_GPT5_MODEL, Gpt5ResponsesAgentClient, build_gpt5_multimodal_request,
|
|
};
|
|
pub use callbacks::{
|
|
CreativeAgentCallbackEvent, CreativeAgentCallbackKind, CreativeAgentCallbacks,
|
|
};
|
|
pub use error::PlatformAgentError;
|
|
pub use function_agent::FunctionAgentLimits;
|
|
pub use game_creation::{
|
|
GAME_CREATION_AGENT_GROUPS, GameCreationAgentGroup, GameCreationAgentPassPlan,
|
|
GameCreationAgentRepairRoute, GameCreationTask, GameCreationTaskGraph, GameCreationTaskStatus,
|
|
build_game_creation_seed_task_graph, extract_game_creation_evaluator_issues,
|
|
extract_game_creation_evaluator_repair_routes, plan_game_creation_agent_pass,
|
|
route_game_creation_repair_issues, select_ready_game_creation_tasks,
|
|
};
|
|
pub use langchain_adapter::LangChainRustAdapter;
|
|
pub use puzzle_phase1_agent::{
|
|
CreativeAgentExecutor, MockLangChainRustAgentExecutor, PuzzlePhase1AgentInput,
|
|
PuzzlePhase1AgentOutput,
|
|
};
|
|
pub use tool_registry::{CreativeAgentTool, CreativeAgentToolRegistry, ToolExecutionBudget};
|