Skip to main content

discover_custom_tools

Function discover_custom_tools 

Source
pub fn discover_custom_tools(working_dir: &Path) -> Vec<CustomTool>
Expand description

Discover custom tools from standard directories.

Scans these directories for *.tool.json manifest files:

  • <working_dir>/.opendev/tools/
  • <working_dir>/.opencode/tool/

Returns a list of (manifest, base_dir) tuples for each valid tool found.