BlueGit

ict rusty-teams

Files

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

lib.rs

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