| 1 | pub const REQUEST_USER_INPUT_NAME: &str = "request_user_input"; |
| 2 | |
| 3 | pub const TOOL_SEARCH_NAME: &str = "tool_search"; |
| 4 | |
| 5 | pub const TERMINAL_RUN_NAME: &str = "terminal_run"; |
| 6 | pub const TERMINAL_SEND_NAME: &str = "terminal_send"; |
| 7 | pub const TERMINAL_WAIT_NAME: &str = "terminal_wait"; |
| 8 | pub const TERMINAL_CANCEL_NAME: &str = "terminal_cancel"; |
| 9 | pub const TERMINAL_RESET_NAME: &str = "terminal_reset"; |
| 10 | |
| 11 | pub fn is_tool_search_tool(name: &str) -> bool { |
| 12 | name == TOOL_SEARCH_NAME |
| 13 | } |
| 14 | |
| 15 | /// Sentinel phrase the TUI matches on to recognise a current-format truncated |
| 16 | /// preview. It must stay a literal substring of every footer variant. |
| 17 | pub const SPILLOVER_RECOVERY_HINT: &str = "omitted range recovery:"; |
| 18 |