| 1 | //! Tool system modules and re-exports. |
| 2 | |
| 3 | // Tools run inside the TUI alt-screen runtime. Raw `print!` / `eprintln!` |
| 4 | // inside this module tree leaks into ratatui's diff-renderer buffer and |
| 5 | // produces the "scroll demon" regression (#1085 / v0.8.27 follow-up). |
| 6 | // Route status/error reporting through `tracing::*` instead — the |
| 7 | // `runtime_log` subscriber captures it to `~/.deepseek/logs/`. |
| 8 | #![deny(clippy::print_stdout)] |
| 9 | #![deny(clippy::print_stderr)] |
| 10 | |
| 11 | pub mod apply_patch; |
| 12 | pub mod approval_cache; |
| 13 | pub mod arg_repair; |
| 14 | pub mod automation; |
| 15 | pub mod canonical_action; |
| 16 | pub mod cargo_failure_summary; |
| 17 | pub mod dev_server_readiness; |
| 18 | pub mod diagnostics; |
| 19 | pub mod diff_format; |
| 20 | pub mod dynamic; |
| 21 | pub mod execution_envelope; |
| 22 | pub mod file; |
| 23 | pub mod file_search; |
| 24 | pub mod finance; |
| 25 | |
| 26 | pub mod fetch_url; |
| 27 | pub mod file_tool; |
| 28 | pub mod fim; |
| 29 | pub mod git; |
| 30 | pub mod git_history; |
| 31 | pub mod git_tool; |
| 32 | pub mod github; |
| 33 | pub mod goal; |
| 34 | pub mod handle; |
| 35 | pub mod harness; |
| 36 | pub mod image_ocr; |
| 37 | pub mod js_execution; |
| 38 | pub mod large_output_router; |
| 39 | pub mod lsp; |
| 40 | pub mod mcp_registry; |
| 41 | pub mod native_memory; |
| 42 | pub mod notify; |
| 43 | pub mod pandoc; |
| 44 | mod pdf; |
| 45 | pub mod plan; |
| 46 | pub mod plugin; |
| 47 | pub mod project; |
| 48 | pub mod registry; |
| 49 | pub mod remember; |
| 50 | mod resource_admission; |
| 51 | pub mod revert_turn; |
| 52 | pub mod review; |
| 53 | pub mod rlm; |
| 54 | pub mod run_tool; |
| 55 | pub mod runtime_mcp; |
| 56 | pub mod schema_canonicalize; |
| 57 | pub mod schema_sanitize; |
| 58 | pub mod search; |
| 59 | pub mod send_later; |
| 60 | pub mod shell; |
| 61 | mod shell_output; |
| 62 | pub mod skill; |
| 63 | pub mod spec; |
| 64 | pub mod speech; |
| 65 | pub mod subagent; |
| 66 | pub mod tasks; |
| 67 | #[cfg(not(target_env = "ohos"))] |
| 68 | pub mod terminal_session; |
| 69 | pub mod test_runner; |
| 70 | pub mod todo; |
| 71 | pub mod tool_call_budget; |
| 72 | pub mod tool_result_retrieval; |
| 73 | pub mod truncate; |
| 74 | pub mod user_input; |
| 75 | pub mod validate_data; |
| 76 | pub mod verifier; |
| 77 | pub mod verify; |
| 78 | pub mod web; |
| 79 | pub mod web_run; |
| 80 | pub mod web_search; |
| 81 | pub mod web_tool; |
| 82 | pub mod workflow; |
| 83 | pub mod workflow_plan_approval; |
| 84 | pub mod workflow_trigger; |
| 85 | |
| 86 | pub use registry::{AgentToolSurfaceOptions, ToolRegistry, ToolRegistryBuilder}; |
| 87 | pub use review::ReviewOutput; |
| 88 | pub use spec::ToolContext; |
| 89 | pub use user_input::UserInputResponse; |
| 90 |