BlueGit

ict rusty-teams

Files

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

lib.rs

lib.rs 855 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, kill_process_invocation,
14 open_session_invocation, resume_invocation, supports_resume, version_check_invocation,
15 wsl_path,
16};
17pub use parse::{OutputParser, RunEvent, parse_line};
18pub use profile::{AgentProfile, Environment, OutputFormat};
19pub use runner::{RunOutcome, RunStatus, RunUpdate, probe, run, run_stop_invocation};
20pub use settings::{AgentSettings, SETTINGS_KEY, SettingsProblem};
21pub use template::{UnknownPlaceholder, Values, placeholders_in, render, split_command};
22
23pub fn new_session_id() -> String {
24 uuid::Uuid::new_v4().to_string()
25}