BlueGit

ict rusty-teams

Files

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

lib.rs

lib.rs 1.3 KiB Download Raw
1mod action;
2mod context;
3mod desktop_sessions;
4mod inbox;
5mod invocation;
6mod parse;
7mod profile;
8mod runner;
9mod sessions;
10mod settings;
11mod template;
12
13pub use action::AgentAction;
14pub use context::{MessageContext, ThreadMessage, build_prompt, build_session_prompt};
15pub use desktop_sessions::{DesktopSession, desktop_sessions};
16pub use inbox::{DeliveryError, deliver, inbox_frame};
17pub use invocation::{
18 Invocation, InvocationError, McpEndpoint, RunPlan, build_invocation, kill_process_invocation,
19 linux_path, open_session_invocation, resume_invocation, supports_resume,
20 version_check_invocation, wsl_path, wsl_stop_invocation, wsl_unc_distro,
21};
22pub use parse::{OutputParser, RunEvent, parse_line};
23pub use profile::{AgentProfile, Environment, OutputFormat};
24pub use runner::{
25 RunOutcome, RunStatus, RunUpdate, probe, run, run_stop_invocation, run_stop_invocation_within,
26};
27pub use sessions::{
28 ExternalSession, RunningSession, encode_project_dir, live_session_names, resolve_project_dir,
29 running_sessions, scan_external_sessions,
30};
31pub use settings::{AgentSettings, RECENT_WORKING_DIR_LIMIT, SETTINGS_KEY, SettingsProblem};
32pub use template::{UnknownPlaceholder, Values, placeholders_in, render, split_command};
33
34pub fn new_session_id() -> String {
35 uuid::Uuid::new_v4().to_string()
36}