BlueGit

ict rusty-teams

Files

rusty-teams / crates / agents / src / lib.rs

lib.rs

lib.rs 769 B Download Raw
1mod action;
2mod context;
3mod invocation;
4mod parse;
5mod profile;
6mod runner;
7mod settings;
8mod template;
9
10pub use action::AgentAction;
11pub use context::{MessageContext, ThreadMessage, build_prompt};
12pub use invocation::{
13 Invocation, InvocationError, McpEndpoint, RunPlan, build_invocation, open_session_invocation,
14 version_check_invocation, wsl_path,
15};
16pub use parse::{OutputParser, RunEvent, parse_line};
17pub use profile::{AgentProfile, Environment, OutputFormat};
18pub use runner::{RunOutcome, RunStatus, RunUpdate, probe, run};
19pub use settings::{AgentSettings, SETTINGS_KEY, SettingsProblem};
20pub use template::{UnknownPlaceholder, Values, placeholders_in, render, split_command};
21
22pub fn new_session_id() -> String {
23 uuid::Uuid::new_v4().to_string()
24}