Skip to main content

Crate whycodes_core

Crate whycodes_core 

Source

Re-exports§

pub use edit_trailer::edit_trailer;
pub use edit_trailer::parse_edit_trailers;
pub use error::Error;
pub use error::ErrorKind;
pub use error::Result;
pub use error::TransportError;
pub use file_claims::ClaimResult;
pub use file_claims::ConflictListener;
pub use file_claims::FileClaim;
pub use file_claims::FileClaimRegistry;
pub use file_claims::FileConflictEvent;
pub use file_claims::FileStaleEvent;
pub use file_claims::StaleListener;
pub use network::NetworkPolicy;
pub use panel::PanelSink;
pub use panel::PanelUpdate;
pub use paths::SCRATCH_GITIGNORE;
pub use paths::config_dir;
pub use paths::config_file;
pub use paths::create_scratch_dir;
pub use paths::data_dir;
pub use paths::display_path;
pub use paths::instance_root;
pub use paths::legacy_instance_roots;
pub use paths::project_dir;
pub use paths::project_rule_dirs;
pub use paths::project_scratch_dir;
pub use paths::user_home;
pub use paths::whycodes_home;
pub use sandbox::SandboxFallback;
pub use sandbox::SandboxMode;
pub use sandbox::SandboxSettings;
pub use swarm_hub::SwarmHub;
pub use swarm_hub::SwarmMessage;
pub use swarm_hub::SwarmMessageListener;
pub use todo::TodoItem;
pub use todo::TodoList;
pub use todo::TodoSink;
pub use todo::TodoStatus;
pub use todo::all_terminal;
pub use todo::apply_todo_update;
pub use todo::apply_todowrite_args;
pub use todo::has_open;
pub use todo::load_todos;
pub use todo::progress_line;
pub use todo::save_todos;
pub use todo::terminal_count;
pub use todo::todo_warnings;
pub use todo::todos_path;
pub use tool::Tool;
pub use tool::ToolContext;
pub use tool::ToolFuture;
pub use types::ApprovalMode;
pub use types::fallback_tool_call_id;

Modules§

edit_trailer
Machine-readable line counts at the end of a file-mutating tool result.
error
file_claims
File ownership claims for concurrent swarm agents.
harmony
GPT-5 Harmony protocol leak detection and replay escaping.
logging
Logging: always-on JSONL, optional file log, crash reports.
network
Outbound network allowlist / denylist for HTTP tools.
panel
Agent-writable side-panel updates.
paths
User-visible WhyCodes directories.
process_memory
Keep resident memory close to what the process actually uses.
sandbox
Leaf sandbox policy types used by crate::ToolContext and the sandbox runtime.
secret_env
Strip provider credentials from child-process environments.
swarm_hub
In-process mailbox for swarm workers (DM + broadcast).
todo
Session todo list (sticky TUI panel).
tokens
Token estimation — single source for session and llm (issue #52 C2).
tool
types