Files
MyAiDesk/nomifun-tauri/crates/backend/nomifun-ai-agent/tests/acp_module_surface.rs
T
freedak f7a720204a Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
2026-07-04 19:20:46 +08:00

29 lines
1.2 KiB
Rust

//! Compile-only smoke test for `manager::acp` public surface.
//!
//! During the Stage 1 refactor (splitting `manager/acp/agent.rs` into smaller
//! submodules), this file pins the set of type names that must remain
//! reachable through `nomifun_ai_agent::manager::acp`. It proves nothing about
//! behaviour — only that the rename/move did not accidentally drop a public
//! export. Behavioural correctness is guarded by the byte-level diff of the
//! moved function bodies and by the stage's new targeted tests.
#![allow(dead_code, unused_imports)]
use nomifun_ai_agent::manager::acp::{
AcpSession, AcpSessionEvent, CatalogForwarder, PermissionRouter, ReconcileAction,
};
use nomifun_ai_agent::shared_kernel::PersistedSessionState;
fn _surface_probe() {
let _ = std::any::type_name::<AcpSession>();
let _ = std::any::type_name::<AcpSessionEvent>();
let _ = std::any::type_name::<CatalogForwarder>();
let _ = std::any::type_name::<PermissionRouter>();
let _ = std::any::type_name::<PersistedSessionState>();
let _ = std::any::type_name::<ReconcileAction>();
}
#[test]
fn public_surface_compiles() {
// The real assertion is that this file compiled at all.
}