839051f532
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Failing after 1m50s
Project CI / Backend tests (pull_request) Failing after 24s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 1m47s
Project CI / Repository checks (pull_request) Failing after 21s
Project CI / Frontend tests (pull_request) Successful in 2m38s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Failing after 3m41s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m23s
Project CI / Native shell tests (pull_request) Successful in 6m20s
- 删除 agent/runtime_driver、runtime_protocol、runtime_tools、runtime_actions、runtime_state、runtime_adapter、context_compaction、collaboration、delegation、goal 等自建 Runtime 执行面及专属测试与 fixture - CliCommand 收敛为 LlmStatus | EnvironmentCheck | PreviewServe,删除 --agent-run / --agent-task / --agent-goal-* / --agent-resume / --agent-context-compact 等 CLI 与 Tauri 命令白名单条目 - 外部 Runner 收缩为编辑器桥 RPC 与 runner.attach_gui_owner + GUI owner 参与锁 / watchdog,保留 --agent-runner - 前端删除 AgentRuntime* / AgentGoal* 状态与命令调用链,移除 agent-runtime real-e2e / steer / smoke / llm-transient-fault 脚本与对应 CI job - 内置工具错误收口为 typed error,抽取 agent/tool/error.rs 共享错误供各工具复用 - 新增 agent/redaction.rs、runtime_models.rs、json_sidecar.rs、task_lock.rs、process_identity.rs、art_manifest.rs、design_session.rs、direct_events.rs - 同步更新 ADR、decision-log、Runtime V1.1、App 实施计划、本地开发运维、pitfalls 与 CI 脚本
42 lines
1.8 KiB
Rust
42 lines
1.8 KiB
Rust
mod client;
|
||
mod dispatch;
|
||
mod endpoint;
|
||
mod protocol;
|
||
mod server;
|
||
mod state;
|
||
|
||
// TODO(retire-runner): 独立 `--agent-runner` 进程现在只剩两件事还在服役:托管 Unity /
|
||
// Godot / Cocos 编辑器桥的 RPC(`*.editor.rpc` / `*.editor.ack` /
|
||
// `*.editor.mark_uncertain`),以及把 manifest 失效 relay 回 GUI(`runner.attach_gui_owner`
|
||
// + GUI owner 参与锁 / watchdog)。旧 Agent Runtime 的后台执行、CLI(`--runner-status` /
|
||
// `--runner-shutdown-if-idle`)与项目 execution-owner 语义都已随该栈删除。等编辑器执行收进
|
||
// GUI 进程(需要重做回执确认、不确定执行 fence、并发与总期限语义,并处理 Windows 作业
|
||
// 对象与阻塞隔离)之后,`--agent-runner` 模式、GUI owner 参与锁、endpoint / 协议与
|
||
// watchdog 可以整体退役。
|
||
|
||
#[cfg(not(test))]
|
||
pub(crate) use client::{
|
||
attach_external_agent_runner_gui_owner, configure_external_agent_runner,
|
||
hold_external_agent_runner_gui_participant_lock, shutdown_external_agent_runner_for_gui_exit,
|
||
};
|
||
pub(crate) use client::{
|
||
call_external_managed_editor, disconnect_external_managed_editor_project,
|
||
mark_external_editor_uncertain,
|
||
};
|
||
pub(crate) use endpoint::external_agent_runner_is_server_process;
|
||
pub(crate) use endpoint::external_agent_runner_process_start_identity;
|
||
#[cfg(windows)]
|
||
pub(crate) use endpoint::validate_windows_regular_file_handle;
|
||
#[allow(unused_imports)]
|
||
pub(crate) use protocol::EXTERNAL_AGENT_RUNNER_PROTOCOL_VERSION;
|
||
pub(crate) use server::bind_loopback_listener_with_linux_fallback;
|
||
#[cfg(not(test))]
|
||
pub(crate) use server::run_external_agent_runner_server;
|
||
|
||
#[cfg(test)]
|
||
mod tests;
|
||
|
||
pub(crate) use client::{
|
||
clear_external_agent_runner_platform_session, install_external_agent_runner_platform_session,
|
||
};
|