(name: &str, description: &str)
| 70 | } |
| 71 | |
| 72 | fn script_spec(name: &str, description: &str) -> ToolSpec { |
| 73 | ToolSpec::Script(crate::config::ScriptToolSpec { |
| 74 | name: name.to_string(), |
| 75 | description: description.to_string(), |
| 76 | path: std::path::PathBuf::from("scripts/x.js"), |
| 77 | allowed_tools: None, |
| 78 | limits: crate::config::ScriptToolLimits::default(), |
| 79 | }) |
| 80 | } |
| 81 | |
| 82 | #[tokio::test] |
| 83 | async fn install_registers_script_tool_visibly() { |
no outgoing calls
no test coverage detected