Skip to main content

context_harness/
agents.rs

1//! Deprecated compatibility names for the pre-profile prompt API.
2//!
3//! Executable local agents live in [`crate::agent_resource`] and
4//! [`crate::agent_runtime`]. Reusable MCP prompt personas now use the canonical
5//! [`crate::profiles`] API.
6
7#![allow(unused_imports)]
8
9#[deprecated(note = "use profiles::Profile")]
10pub use crate::profiles::Profile as Agent;
11#[deprecated(note = "use profiles::ProfileArgument")]
12pub use crate::profiles::ProfileArgument as AgentArgument;
13#[deprecated(note = "use profiles::ProfileInfo")]
14pub use crate::profiles::ProfileInfo as AgentInfo;
15#[deprecated(note = "use profiles::ProfilePrompt")]
16pub use crate::profiles::ProfilePrompt as AgentPrompt;
17#[deprecated(note = "use profiles::ProfileRegistry")]
18pub use crate::profiles::ProfileRegistry as AgentRegistry;
19pub use crate::profiles::PromptMessage;
20#[deprecated(note = "use profiles::TomlProfile")]
21pub use crate::profiles::TomlProfile as TomlAgent;