Skip to main content

Module harness_kernel

Module harness_kernel 

Source

Re-exports§

pub use crate::core::agent::hash_utils::hash_tool_definitions;
pub use crate::core::agent::hash_utils::hash_value;
pub use crate::core::agent::hash_utils::low_signal_attempt_key;
pub use crate::core::agent::hash_utils::stable_system_prefix_hash;
pub use crate::core::agent::request_plan::HarnessRequestPlan;
pub use crate::core::agent::request_plan::HarnessRequestPlanInput;
pub use crate::core::agent::request_plan::build_harness_request_plan;
pub use crate::core::agent::result_reducers::project_model_tool_result;
pub use crate::core::agent::result_reducers::reduce_tool_result;
pub use crate::core::agent::result_reducers::strip_tui_display_fields;
pub use crate::core::agent::tool_batching::FallbackRecommendation;
pub use crate::core::agent::tool_batching::FallbackStep;
pub use crate::core::agent::tool_batching::PreparedToolBatch;
pub use crate::core::agent::tool_batching::PreparedToolBatchKind;
pub use crate::core::agent::tool_batching::PreparedToolCall;
pub use crate::core::agent::tool_batching::is_parallel_safe_tool_batch;
pub use crate::core::agent::tool_catalog::SessionToolCatalogSnapshot;

Functions§

command_is_safe
filter_tool_definitions_for_mode
filter_tool_definitions_for_mode_with_stability
looks_like_grep_style_command
should_expose_tool_in_mode
should_expose_tool_in_stable_catalog
Whether a tool is on the wire in a cache-stable catalog (union of planning and execution exposure). Used when prompt_cache.stable_tool_catalog_across_modes is enabled so planning toggles do not rewrite the tool array.